Gateway API¶
-
GatewaySerializer
¶ Read:
CURL Usage:
curl -u username:password -H 'Accept: application/json' http://HOSTNAME_IP/rest-api/gateway/ curl -u username:password -H 'Accept: application/json' http://HOSTNAME_IP/rest-api/gateway/%gateway-id%/
Response:
{ "count": 1, "next": null, "previous": null, "results": [ { "url": "http://HOSTNAME_IP/rest-api/gateway/1/", "name": "Default_Gateway" } ] }