Skip to main content

Get Website Detail

Retrieves the detail of a specific website.

Request

Request-Line

GET /waap/v1.0/website/{id} HTTP/1.1

Request Parameters

Path Parameters

ParameterTypeRequiredDescription
idIntegerMandatoryUnique identifier of the website record.

Response

Response Body

Property nameTypeRequiredDescription
idIntegerMandatoryUnique identifier of the website record.
service_idIntegerMandatoryUnique identifier of the CDN service.
domainStringMandatoryDomain name of the website.
originsString[]MandatoryList of origin URLs (1–5). Each must begin with http:// or https://.
http2BooleanMandatoryWhether to enable HTTP/2.
redirectHttpToHttpsBooleanMandatoryWhether to force HTTP to redirect to HTTPS.
headersObjectMandatoryConfigure the HTTP header to add or replace the headers in requests before forwarding to servers.
createdStringMandatoryCreated time in UTC, ISO-8601 format yyyy-MM-dd'T'HH:mm:ss'Z' (no milliseconds). Example: 2025-09-09T17:35:00Z.
updatedStringMandatoryUpdated time in UTC, ISO-8601 format yyyy-MM-dd'T'HH:mm:ss'Z' (no milliseconds). Example: 2025-09-09T17:45:00Z.

Status Codes, Error Codes and Error Messages

Status CodeError CodeError Message
400Id.InvalidId is empty or invalid.
404Website.NotFoundWebsite is not found.

Examples

Get Website Detail

Request

GET /waap/v1.0/website/110 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"
}