...
Request Method | ID | Action | Resulting Function | Required Permission | URL Example | Notes | Example Response |
---|---|---|---|---|---|---|---|
GET | n | collection | locations::read | /locations | Returns a list of locations. | locations_collection.json | |
GET | y | read | locations::read | /locations/{id} | Returns a location's details. | locations_read.json | |
PATCH | y | update | locations::update | /locations/{id} | Update an attribute of a locations entry. | locations_patch.json | |
POST | n | create | locations::create | /locations | Insert a new locations entry. | locations_create.json | |
DELETE | y | delete | locations::delete | /locations/{id} | Delete a locations entry. | locations_delete.json |
...
Request Method | ID | Action | Resulting Function | Required Permission | URL Example | Notes |
---|---|---|---|---|---|---|
GET | n | create | create_form | locations::create | /locations/create | Displays a standard web form for submission to POST /locations. |
GET | y | update | update_form | locations::update | /locations/{id}/update | Show the networks details with the option to update attributes using PATCH to /locations/{id} |
...