Summary
Gets all networks and network groups
Description
Returns all available networks and network group documents.
Route
GET /policy-manager/networks-and-groups
Roles
admin
other
readonly
apiread
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
query |
object |
yes |
Optional query parameters |
Copied to Clipboard
{
"query": {
"limit": 10,
"sort": "name",
"skip": 10
}
}
Copied to Clipboard
{
"type": "object",
"properties": {
"query": {
"title": "query",
"properties": {
"id": {
"type": "string"
},
"type": {
"type": "string"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"address": {
"type": "string"
},
"addressType": {
"type": "string"
},
"limit": {
"type": "integer"
},
"sort": {
"type": "string"
},
"skip": {
"type": "integer"
},
"order": {
"type": "integer"
}
},
"type": "object",
"examples": [
{
"limit": 10,
"sort": "name",
"skip": 10
}
]
}
},
"required": [
"query"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
response |
object |
All network documents. |
Copied to Clipboard
{
"results": [
{
"id": "ut officia labore ullamco",
"type": "network",
"name": "esse",
"description": "et incididunt ut culpa",
"addressType": "IPv4",
"created": "2017-12-07T04:06:40.341Z",
"createdBy": "Ut cupidatat sunt in Duis",
"lastUpdated": "1988-12-21T01:06:25.753Z",
"lastUpdatedBy": "consequat do tempor sed deserunt",
"address": "Lorem sit nulla",
"networks": [
"sunt pariatur aliquip nisi",
"deserunt pariatur Excepteur culpa magna",
"ipsum Excepteur",
"pariatur",
"do nulla"
]
}
],
"pageData": {
"total": 48190210,
"skip": 53835641,
"limit": 84513393
}
}
Copied to Clipboard
{
"title": "response",
"type": "object",
"properties": {
"results": {
"type": "array",
"items": {
"title": "networkGroup",
"type": "object",
"properties": {
"id": {
"type": "string"
},
"type": {
"enum": [
"network",
"networkGroup"
]
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"addressType": {
"enum": [
"IPv4",
"IPv6",
"Mixed"
]
},
"address": {
"type": "string"
},
"networks": {
"type": "array",
"items": {
"title": "networkId",
"type": "string"
}
},
"created": {
"type": "string",
"format": "date-time"
},
"createdBy": {
"type": "string"
},
"lastUpdated": {
"type": "string",
"format": "date-time"
},
"lastUpdatedBy": {
"type": "string"
}
},
"required": [
"id",
"type",
"name",
"description",
"addressType",
"created",
"createdBy",
"lastUpdated",
"lastUpdatedBy"
]
}
},
"pageData": {
"type": "object",
"properties": {
"total": {
"type": "integer"
},
"skip": {
"type": "integer"
},
"limit": {
"type": "integer"
}
},
"required": [
"total",
"skip",
"limit"
]
}
},
"required": [
"results",
"pageData"
]
}