...
Request Method | ID | Action | Resulting Function | Permission Required | URL Example | Notes | Example Response |
---|---|---|---|---|---|---|---|
GET | n | collection | groups::read | /groups | Returns a list of groups. | ||
GET | y | read | groups::read | /groups/{id} | Returns a groups details. | ||
PATCH | y | update | groups::update | /groups/{id} | Update an attribute of a groups entry. | ||
POST | n | create | groups::create | /groups | Insert a new groups entry. | ||
DELETE | y | delete | groups::delete | /groups/{id} | Delete a groups entry. | ||
POST | n | import | import | groups::create | /groups/import | Import multiple groups using a CSV. |
Web Application Routes
In addition to the above, when access Open-AudIT using a web browser.
Request Method | ID | Action | Resulting Function | Permission Required | URL Example | Notes |
---|---|---|---|---|---|---|
GET | n | create | create_form | groups::create | /groups/create | Displays a standard web form for submission to POST /scriptsgroups. |
GET | y | update | update_form | groups::update | /groups/{id}/update | Show the script group details with the option to update attributes using PATCH to /groups/{id} |
GET | n | import | import_form | groups::create | /groups/import | Displays a standard web form for submission to POST /groups/import. |