Caution: This documentation is for eZ Publish legacy, from version 3.x to 5.x.
For 5.x documentation covering Platform see eZ Documentation Center, for difference between legacy and Platform see 5.x Architecture overview.

Content/fields service

HTTP request for object fields

GET /[api]/ezp/v1/content/object/<objectId>/fields HTTP/1.1
Host: api.example.no

or

GET /[api]/ezp/v1/content/node/<nodeId>/fields HTTP/1.1
Host: api.example.no
Parameters

ID: numeric. Either node or object ID, depending on the resource used

Response Groups

FieldValues (default) Value for all the fields of the given object/node

  • fields/<fieldidentifier>
    • type (data_type_string)
    • identifier (attribute identifier)
    • value (string representation of data)
    • id (content attribute ID)
    • classattribute_id

Metadata: Metadata for the requested object/node (type, date, etc):

  • classIdentifier
  • objectName
  • datePublished
  • dateModified
  • objectRemoteID
  • nodeRemoteId (if node requested)
  • nodeID (if node requested)
  • fullURL (if node requested)
  • objectid

Geir Arne Waaler (25/01/2011 11:24 am)

Geir Arne Waaler (02/11/2011 12:59 pm)

Xiongjie Chen, Geir Arne Waaler


Comments

There are no comments.