v5.0_Networks
GET networks/config
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | GET |
Returns a list of all Networks in the system, with its main configuration data.
Resource URL
https://{{ip_address}}:{{port}}/api/{{version}}/networks/config
Example Request
GET
{
"data": [
{
"uuid": "bbfd98b1-f141-41e2-90d7-83771d10b2a4",
"label": "Nic1",
"proxy": null,
"modified": "2021-07-07T05:40:49.308Z",
"created": "2021-07-07T05:40:49.308Z"
},
{
"uuid": "c39393d6-3826-4e2f-9e8e-08e2c25e99a2",
"label": "Nic2",
"proxy": null,
"modified": "2021-07-07T05:40:56.491Z",
"created": "2021-07-07T05:40:56.491Z"
}
],
"metadata": {
"item_count": 2,
"total_items": 2,
"current_page": 1,
"sort_by": [
{
"field": "label",
"direction": "ASC"
}
],
"links": {
"current": "http://192.168.0.22/api/5.0/networks/config"
}
}
}
GET networks/config/{uuid}
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | GET |
Returns an extended single Networks configuration view, specified by the required {uuid} parameter.
Resource URL
https://{{ip_address}}:{{port}}/api/{{version}}/networks/config/{{uuid}}
Parameters
Parameter | Data Type | Description |
---|---|---|
uuid | string | The UUID of the desired Networks. |
Example Request
GET
{
"data": [
{
"uuid": "bbfd98b1-f141-41e2-90d7-83771d10b2a4",
"label": "Nic1",
"created": "2021-07-07T05:40:49.308Z",
"modified": "2021-07-07T05:40:49.308Z",
"proxy": null
}
],
"metadata": {}
}
DELETE networks/config/{uuid}
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | DELETE |
Delete a specific Networks configuration.
Resource URL
https://{{ip_address}}:{{port}}/api/{{version}}/networks/config/{{uuid}}
Parameters
Parameter | Data Type | Description |
---|---|---|
uuid | string | The UUID of the Networks to be deleted. |
Example Request
DELETE
{
"data": [
{
"success": true
}
],
"metadata": {}
}
PUT networks/config/{uuid}
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | PUT |
Edit a Networks configuration.
Resource URL
https://{{ip_address}}:{{port}}/api/{{version}}/networks/config/{{uuid}}
Parameters
Parameter | Data Type | Description |
---|---|---|
uuid | string | The UUID of the Networks to be edited. |
Example Request
PUT
Body
Response
POST networks/config
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | POST |
Add a new Networks, configured according to the attached data request.
Resource URL
https://{{ip_address}}:{{port}}/api/{{version}}/networks/config
Example Request
POST
Body
Response
POST networks/config multi
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | POST |
Add multiple Networks, configured according to the attached data request.
Resource URL
https://{{ip_address}}:{{port}}/api/{{version}}/networks/config
Example Request
POST
Body
Response
PUT networks/config multi
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | PUT |
Edit multiple Networks, configured according to the attached data request.
Resource URL
https://{{ip_address}}:{{port}}/api/{{version}}/networks/config
Example Request
PUT
Body
Response
DELETE networks/config multi
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | DELETE |
Delete multiple Networks configuration.
Resource URL
https://{{ip_address}}:{{port}}/api/{{version}}/networks/config/{{uuid}}
Example Request
DELETE
Body
Response