Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The API routes below are usable from both a JSON Restful API and the web interface. The Web application routes are specifically designed to be called from the web interface (a browser).

API Routes

Request Method
ID
Action
Resulting Function
Permission Required
URL Example
Notes
Example Response
POSTn
createusers::create/usersInsert a new user entry.users_create.json
GETy
readusers::read/users/{id}Returns a user details.users_read.json
PATCHy
updateusers::update/users/{id}Update an attribute of a user entry.users_update.json
DELETEy
deleteusers::delete/users/{id}Delete a user entry.users_delete.json
GETn
collectionusers::read/usersReturns a list of users.users_collection.json

Web Application Routes

Request Method
ID
Action
Resulting Function
Permission Required
URL Example
Notes
GETncreatecreate_formusers::create/users/createDisplays a standard web form for submission to POST /users.
GETyupdateupdate_formusers::update/users/{id}/updateShow the user details with the option to update attributes using PATCH to /users/{id}