Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: -Added response examples.

...

Request Method
ID
Action
Resulting Function
URL Example
Notes
Example Response
GETn collection/locationsReturns a list of locations.locations_collection.json
GETy read/locations/{id}Returns a location's details.locations_read.json
PATCHy update/locations/{id}Update an attribute of a locations entry.locations_patch.json
POSTn create/locationsInsert a new locations entry.locations_create.json
DELETEy delete/locations/{id}Delete a locations entry.locations_delete.json

Web Application Routes

Request Method
ID
Action
Resulting Function
URL Example
Notes
GETncreatecreate_form/locations/createDisplays a standard web form for submission to POST /locations.
GETyupdateupdate_form/locations/{id}/updateShow the networks details with the option to update attributes using PATCH to /locations/{id}

...