Get Website List
Retrieve the list of websites.
Request
Request-Line
GET /waap/v1.0/websites HTTP/1.1
Response
Response Body
Parameter | Type | Required | Description |
---|---|---|---|
Array | Mandatory | Array of Website. |
Object: Website
Property name | Type | Required | Description |
---|---|---|---|
id | integer | Mandatory | Unique identifier of the website record. |
service_id | integer | Mandatory | Unique identifier of the CDN service. |
domain | string | Mandatory | Domain name of the website. |
origins | string[] | Mandatory | List of origin URLs (1–5). Each must begin with http:// or https:// . |
http2 | boolean | Mandatory | Whether to enable HTTP/2. |
redirectHttpToHttps | boolean | Mandatory | Whether to force HTTP to redirect to HTTPS. |
Examples
Get Website List
Request
GET /waap/v1.0/websites HTTP/1.1
Successful Response Body
[
{
"id": 110,
"domain": "test2.com",
"origins": [
"http://192.168.5.101"
],
"http2": false,
"redirectHttpToHttps": false,
"service_id": 220000
},
{
"id": 111,
"domain": "test1.com",
"origins": [
"http://192.168.5.101"
],
"http2": false,
"redirectHttpToHttps": false,
"service_id": 220001
}
]