/**
   * Overrides RestfulExampleArticlesResource::publicFieldsInfo().
   */
  public function publicFieldsInfo() {
    $public_fields = parent::publicFieldsInfo();

    $public_fields['body'] = array(
      'property' => 'body',
      'sub_property' => 'value',
    );

    return $public_fields;
  }
 /**
  * Overrides RestfulExampleArticlesResource::publicFieldsInfo().
  */
 public function publicFieldsInfo() {
   $public_fields = parent::publicFieldsInfo();
   unset($public_fields['self']);
   return $public_fields;
 }