...
Request Method | ID | Action | Resulting Function | URL Example | Notes | Example Response |
---|---|---|---|---|---|---|
GET | n | collection | /scripts | Returns a list of scripts. | script_collection.json | |
GET | y | read | /scripts/{id} | Returns a scripts details. | script_read.json | |
PATCH | y | update | /scripts/{id} | Update an attribute of a scripts entry. | script_patch.json | |
POST | n | create | /scripts | Insert a new scripts entry. | scripts_create.json | |
DELETE | y | delete | /scripts/{id} | Delete a script entry. | scripts_delete.json |
Web Application Routes
Request Method | ID | Action | Resulting Function | URL Example | Notes |
---|---|---|---|---|---|
GET | n | create | create_form | /scripts/create | Displays a standard web form for submission to POST /scripts. |
GET | y | update | update_form | /scripts/{id}/update | Show the script details with the option to update attributes using PATCH to /scripts/{id} |
GET | y | download | download | /scripts/{id}/download | Download a complete audit script based on the script entry. |
...