Skip to content

Resource endpoint

OrdiNeu edited this page Feb 5, 2020 · 2 revisions

Every resource is accessible at a URL mirroring its path in the repository Standard HTTP verbs are supported: GET to retrieve, PUT to store/update, DELETE to delete…

Extra selectors can be appended to the URL to request different processing or formats

  • /Forms/X -> HTML view
  • /Forms/X.json -> JSON view of the current node only
  • /Forms/X.3.json -> JSON view of the current and up to 3 levels of descendants
  • /Forms/X.infinity.json -> JSON view of the node and all its descendants
  • /Forms/X.deep.json -> JSON view of the node and all its descendants, including dereferencing references
Clone this wiki locally