Get available websites

Obtains list of available website IDs.

URL

/api/v1/website

HTTP Method

GET

URL Parameters

none

Response Parameters

Returns an array of website IDs (array of strings containing integers).

Example: Get available websites

Request

GET

/api/v1/website

cURL

curl -kv 
-u api_ninja:ninja_password
-X GET
https://172.31.1.172:4849/api/v1/website

The cURL request has been formatted to improve readability.

Response

[
    "1",
    "2",
    "3",
    "4",
    "5",
    "6",
    "7"
]