Preview MAC policy for a saved network
GET
/networks/{id}/mac-policy/previewContract
Parameter | Value |
|---|---|
| Section | networks |
| Authentication | CookieAuth |
| Consumes | not required |
| Produces | application/json |
Parameters
4 parameters
Name | Location | Required | Type | Description |
|---|---|---|---|---|
| id | path | yes | integer | Network ID |
| limit | query | no | integer | Page size |
| page | query | no | integer | Page number, starting at 1 |
| start | query | no | string | Starting IP for the page (cursor) |
Responses
5 responses
Status | Description | Type |
|---|---|---|
200 | Preview page: rows[]{ip, mac, source, overridden}, nextStart, page, limit, totalRows, totalPages | object |
400 | Invalid ID, limit/page out of range, or preview not calculated | object |
401 | Unauthorized | object |
404 | Network not found | object |
500 | Failed to load override records | object |
{}{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }