Child pages
  • Networks (pre v2)

Versions Compared

Key

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

...

IMPORTANT - The network name should be a slash subnet addrress address like 192.168.1.0/24. No spaces between the slash and numbers. It should be a valid subnet address. This string is what is tested against when using Blessed Subnets.

...

You can access the /networks collection using the normal Open-AudIT JSON based API. Just like any other collection. Please see the API documentation for further details.

API Routes

Request Method
ID
Action
Resulting Function
URL Example
Notes
Example Response
GETn
 

collection/networksReturns a list of networks.networks_collection.json
GETy
 

read/networks/{id}Returns a network's details.networks_read.json
PATCHy
 

update/networks/{id}Update an attribute of a networks entry.networks_patch.json
POSTn
 

create/networksInsert a new networks entry.networks_create.json
DELETEy
 

delete/networks/{id}Delete a networks entry.networks_delete.json

Web Application Routes

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