Paginated API for Gateways list
Default parameters:
- limit - 100
- page - from the first page (the last added gateway is displayed first in the list)
- sorting direction - DESC
Sorting keys:
sortField:
- CREATED_TIME
- NAME
- GATEWAY_MAC
- GATEWAY_MODEL_NAME
- IS_PUBLIC
- IS_LOGGING_ENABLED
- IS_UDP_ALLOWED
- IS_NOT_MQTTS_ALLOWED
- STATUS
curl -X GET "https://{host}/api/v2/customer/{customer_ID}/gateways" -H "accept: */*" -H "X-Authorization: Bearer {token}"
Example with filters:
curl -X GET "https://{host}/api/v2/customer/{customer_ID}/gateways?limit=50&page=1&sortDirection=ASC&sortField=STATUS" -H "accept: */*" -H "X-Authorization: Bearer {token}"
{host}
= Network Server or OAM host{customer_ID}
= Customer ID in the Network Server/OAM
curl -X GET "https://{host}/api/v2/gatewayGroup/{Gateway_Group_ID}/gateways" -H "accept: */*" -H "X-Authorization: Bearer {token}"
Example with filters:
curl -X GET "https://{host}/api/v2/gatewayGroup/{Gateway_Group_ID}/gateways?limit=10&page=3&sortDirection=DESC&sortField=GATEWAY_MAC" -H "accept: */*" -H "X-Authorization: Bearer {token}"
{host}
= Network Server or OAM host{gateway_Group_ID}
= Gateway Group ID in the Network Server/OAM
curl -X GET "https://{host}/api/v2/provider/{provider_ID}/gateways" -H "accept: */*" -H "X-Authorization: Bearer {provider_token}"
Example with filters:
curl -X GET "https://{host}/api/v2/provider/{provider_ID}/gateways?limit=20&page=0&sortDirection=DESC&sortField=NAME" -H "accept: */*" -H "X-Authorization: Bearer {provider_token}"
{host}
= Network Server or OAM host{provider_ID}
= Provider ID in the Network Server/OAM