Get Website List
Retrieves 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. |
headers | Object | Mandatory | Configure the HTTP header to add or replace the headers in requests before forwarding to servers. |
created | String | Mandatory | Created time in UTC, ISO-8601 format yyyy-MM-dd'T'HH:mm:ss'Z' (no milliseconds). Example: 2025-09-09T17:35:00Z. |
updated | String | Mandatory | Updated time in UTC, ISO-8601 format yyyy-MM-dd'T'HH:mm:ss'Z' (no milliseconds). Example: 2025-09-09T17:45:00Z. |
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,
"headers":{"Host":"$http_host","Test":"111"},
"created":"2025-09-08T06:14:38Z",
"updated":"2025-09-17T08:21:36Z"
},
{
"id": 111,
"domain": "test1.com",
"origins": [
"http://192.168.5.101"
],
"http2": false,
"redirectHttpToHttps": false,
"service_id": 220001,
"headers":{"Host":"$http_host","Test":"111"},
"created":"2025-09-08T06:14:38Z",
"updated":"2025-09-17T08:21:36Z"
}
]