mod_restΒΆ

Makes models accessible using a RESTful interface.

Currently there are endpoints implemented for resources only, at the following URLs:

/rest/rsc/:id
/rest/rsc/:format:id

format can be one of json for JSON encoding or bert for BERT.

The controller accepts GET, PUT and DELETE requests.

  • GET returns the dump of the resource
  • PUT updates the resource with the information provided
  • DELETE removes the resource.

All of these methods use the standard Zotonic authentication checks.

Previous topic

mod_oembed

Next topic

mod_search

Versions

Actions