Content/node service
GET /api/ezp/<version>/content/node/<node id> returns one node: its metadata, links to its fields, and on request its locations, its fields and its rendered view. Policy: content/read on the node.
Options
- ResponseGroups=Metadata,Locations,Fields: Metadata is the default.
- OutputFormat=xhtml: adds renderedOutput, the node rendered with its rest view mode in rest_pagelayout.tpl.
Example
This call works anonymously on this documentation site, which allows reading through the API; on a site with the default settings send a credential.
curl -s https://doc.exponential.earth/api/ezp/v1/content/node/9359
{"metadata":{"objectName":"Features","classIdentifier":"exp_doc_page",
"datePublished":1715393535,"dateModified":1756448349,
"objectRemoteId":"staticimport-doc-html-381534dae9afb9296df7ee4f1d86bb43",
"objectId":9358,"nodeId":9359,"nodeRemoteId":"b17d48b94b8f87ab4ea5d6d2aa23086a",
"fullUrl":"https://doc.exponential.earth/exponential/6/technical-manual/features"},
"links":{"title":"https://doc.exponential.earth/api/ezp/content/node/9359/field/title", ...}}
(Shortened; dates are Unix timestamps.)
Contributors
- Geir Arne Waaler Maintainer
- Xiongjie Chen Maintainer
- Graham Brookins Updated Maintainer
Comments
Add a comment