-
Notifications
You must be signed in to change notification settings - Fork 0
Post API Get Content Zones
Dominik Magdaleński edited this page Jul 3, 2019
·
1 revision
URL: https://dive-networks.com/api/rpc/34/get_content_zones
HTTP Method: GET
HTTP Header: Authorization: Token your-api-token-here
Status: 200 OK
Body:
{
"result": [
{
"id": content-zone-id,
"display_name": content-zone-display-name
},
(...other content zones...)
]
}
HTTPie request:
http --follow https://dive-networks.com/api/rpc/34/get_content_zones Authorization:"Token your-api-token-here"
HTTPie response:
HTTP/1.1 200 OK
(...headers...)
{
"result": [
{
"display_name": "Entire DIVE Demo (Canada) Network",
"id": 13
}
]
}