Get API Applications
Retrieves a list of all existing API Applications.
Request
Request-Line
GET /waap/v1.0/apiProtection/apiApps HTTP/1.1
Response
Response Body
Parameter | Type | Required | Description |
---|---|---|---|
Array | Mandatory | Array of Application Details. |
Object: Application Details
Parameter | Type | Required | Description |
---|---|---|---|
id | integer | Mandatory | Unique identifier for the API application. |
name | string | Mandatory | Name of the API application. The name must have 1-26 characters. Valid characters: 0-9, A-Z, a-z, space, . (dot), _ (underline), - (hyphen), () (parentheses), * (asterisk) and + (plus sign). |
websites | integer[] | Mandatory | List of associated website IDs. |
domain | string | Mandatory | Associated domains of the application, separated by commas. |
path_prefix | string | Mandatory | URL path prefix for the application (e.g., /test , /cm ) |
service_ids | integer[] | Mandatory | List of CDN service IDs related to the application protection. |
Examples
Get API Applications
Request
GET /waap/v1.0/apiProtection/apiApps HTTP/1.1
Successful Response Body
[
{
"id": 56,
"name": "test1",
"websites": [
371,
392
],
"domain": "test1.com,test2.com",
"path_prefix": "/test",
"service_ids": [
227481,
227979
]
},
{
"id": 55,
"name": "test2",
"websites": [
392
],
"domain": "test2.com",
"path_prefix": "/cm",
"service_ids": [
227979
]
}
]