Use this API to create, list, update or delete Anti-DDoS orders for the Console Security application.
Array of termination sites, with only basic fields.
[- {
- "id": 1,
- "name": "Reading Site",
- "type": "headquarters",
- "country_code": "GB",
- "street_address": "6-8 Market Place",
- "city": "Reading",
- "county": "Berkshire",
- "post_code": "RG1 3TE",
- "time_created": "2020-11-18T14:34:53.246Z"
}
]
Get sales records from Insight API
There was an internal server error. This might be caused by an Insight API connection failure.
{- "sr": [
- {
- "external_id": 0,
- "sr_id": 0,
- "so_id": 0,
- "sp_id": 0,
- "rfq_request_id": 0,
- "rfq_component_id": 0,
- "cust_id": "string",
- "cust_name": "string",
- "product_id": "string",
- "product_family": "string",
- "product_type": "string",
- "product_desc": "string",
- "provisioning_in_name": "string",
- "segment": "string",
- "sale_status_id": "string",
- "sale_status_name": "string",
- "signed_region_name": "string",
- "signed_bdm": "string",
- "signed_bdm_name": "string",
- "signed_bdm_region": "string",
- "sales_bdm": "string",
- "sales_bdm_name": "string",
- "completion_delay_reason": "string",
- "region_service_manager": "string",
- "region_service_manager_name": "string",
- "region_service_manager2": "string",
- "region_service_manager2_name": "string",
- "salesman_code": "string",
- "partner_id": "string",
- "circuit_id": "string",
- "prev_circuit_id": "string",
- "next_circuit_id": "string",
- "related_sr_id": "string",
- "service_id": "string",
- "circuit_prefix": "string",
- "project_manager": "string",
- "project_manager_name": "string",
- "project_manager2": "string",
- "project_manager2_name": "string",
- "engineer": "string",
- "engineer_name": "string",
- "engineer2": "string",
- "engineer2_name": "string",
- "cascade_provisioning": "string",
- "competitor_identity": "string",
- "provisioning_in": "string",
- "switch": "string",
- "sales_remark": "string",
- "tech_remark": "string",
- "gsmp_circuit_id": "string",
- "dragon_service_id": "string",
- "customer_ref_no": "string",
- "order_create_date": "string",
- "initial_contact_date": "string",
- "target_close_date": "string",
- "hot_prospect_date": "string",
- "sales_close_date": "string",
- "provision_start_date": "string",
- "provision_end_date": "string",
- "customer_requested_target_complete_date": "string",
- "project_complete_date": "string",
- "operation_date": "string",
- "billing_date": "string",
- "termination_date": "string",
- "contract_renew_date": "string",
- "onetime_commission_date": "string",
- "drop_date": "string",
- "cancel_date": "string",
- "free_trial_day": "string",
- "signed_company_id": "string",
- "signed_company_name": "string",
- "signed_region": "string",
- "renew_option": "string",
- "renew_option_desc": "string",
- "renew_month": "string",
- "billing_platform": "string",
- "onetime_revenue": "string",
- "onetime_gm": "string",
- "onetime_gm_percent": "string",
- "monthly_revenue": "string",
- "monthly_gm": "string",
- "monthly_gm_percent": "string",
- "equip_cost": "string",
- "tcv": "string",
- "sales_links": [
- {
- "type": "string",
- "type_name": "string",
- "data_rate": "string",
- "data_rate_unit": "string",
- "burst": "string",
- "burst_rate_unit": "string",
- "from_site": {
- "site_id": 0,
- "country_id": "string",
- "country_name": "string",
- "city": "string",
- "city_name": "string",
- "site_bdm": "string",
- "site_bdm_name": "string"
}, - "to_site": {
- "site_id": 0,
- "country_id": "string",
- "country_name": "string",
- "city": "string",
- "city_name": "string",
- "site_bdm": "string",
- "site_bdm_name": "string"
}
}
], - "ma_id": [
- 0
], - "creation_type": "string",
- "verification_status": "string",
- "contract_length": "string",
- "contract_length_unit": "string",
- "pending_date": "string",
- "stop_pending_date": "string",
- "pending_reason": "string"
}
], - "offset": 0,
- "limit": 0,
- "count": 0,
- "total_count": 0
}
The order was successfully created. The order ID and Sales Record ID are returned.
The request was invalid because of missing and/or invalid fields.
There was an internal server error. This might be caused by an Insight API connection failure. This would mean the order was not created.
{- "name": "Anti-DDoS October Order",
- "insight_customer_id": "AIN001",
- "package": "alwayson",
- "number_of_protected_ips": [
- 1,
- 8
], - "total_inbound_traffic": [
- 51,
- 100
], - "total_mitigated_traffic": 50,
- "service_period": 12,
- "resources_behind": true
}
{- "id": 1,
- "insight_sr_id": 10211
}
A JSON object containing the order, plus all protected IP addresses and provisioning configurations.
The order was not found.
{- "id": 1,
- "name": "Anti-DDoS October Order",
- "insight_customer_id": "AIN001",
- "package": "alwayson",
- "number_of_protected_ips": [
- 1,
- 8
], - "total_inbound_traffic": [
- 51,
- 100
], - "total_mitigated_traffic": 50,
- "service_period": 12,
- "resources_behind": true,
- "status": "active",
- "time_created": "2020-11-18T14:34:53.246Z",
- "time_readyforprovision": "2020-11-18T14:34:53.246Z",
- "insight_sr_id": 10211,
- "insight_so_id": 29283,
- "circuit_id": "ASH(IPD) CAD901787",
- "scrubbing_centre": "ashburn_us",
- "protected_ip_addresses": [
- {
- "address": "203.203.14.0/24",
- "as_number": 18042
}
], - "provisioning_config_active": {
- "customer_public_ip": "12.34.1.34/32",
- "pccwg_public_ip": "103.13.2.122/32",
- "pccwg_private_ip": "103.14.2.23",
- "customer_private_ip": "103.14.2.23",
- "mtu_size": 1460,
- "bgp_peering_as_number": 553,
- "bgp_password": "p@55w0rd",
- "scrubbing_centre_as_number": 837
}, - "provisioning_config_standby": {
- "customer_public_ip": "12.34.1.34/32",
- "pccwg_public_ip": "103.13.2.122/32",
- "pccwg_private_ip": "103.14.2.23",
- "customer_private_ip": "103.14.2.23",
- "mtu_size": 1460,
- "bgp_peering_as_number": 553,
- "bgp_password": "p@55w0rd",
- "scrubbing_centre_as_number": 837
}, - "termination_site_id": 44
}
The order was successfully configured. The circuit ID is returned.
The request was invalid because of missing and/or invalid fields.
The order was not found.
{- "scrubbing_centre": "ashburn_us",
- "protected_ip_addresses": [
- {
- "address": "203.203.14.0/24",
- "as_number": 18042
}
], - "provisioning_config_active": {
- "customer_public_ip": "12.34.1.34/32",
- "gsmp_circuit_id": "HKG(PCG) GI002017",
- "bgp_peering_as_number": 553
}, - "provisioning_config_standby": {
- "customer_public_ip": "12.34.1.34/32",
- "gsmp_circuit_id": "HKG(PCG) GI002017",
- "bgp_peering_as_number": 553
}, - "termination_site": {
- "name": "Reading Site",
- "type": "headquarters",
- "country_code": "GB",
- "street_address": "6-8 Market Place",
- "city": "Reading",
- "county": "Berkshire",
- "post_code": "RG1 3TE"
}, - "termination_site_id": 45
}
{- "circuit_id": "ASH(IPD) CAD900000"
}
DNS order placed success, order ids returned
invalid request
internal server error.
{- "resourceType": "mixture",
- "insightId": "string",
- "uid": "string",
- "plan": 0,
- "cleanBandwidth": 10,
- "functionVersion": 0,
- "domainCount": 10,
- "cleanQps": 500,
- "portCount": 5,
- "subscription": 1,
- "autoRenewal": true,
- "vendor_account": "string",
- "contactName": "string",
- "contactEmail": "string",
- "contactPhone": "string"
}
{- "id": 0,
- "insight_sr_id": 10211,
- "vendor_account": "string",
- "vendor_reference": "string"
}
DNS order renewed success, order ids returned
invalid request
internal server error.
{- "renewPeriod": 1
}
{- "id": 0,
- "insight_sr_id": 10211
}
Get a sales record from Insight API.
Forbidden
Exception throw.
{- "sr_id": 260149,
- "billing_date": "2022-05-05T00:00:00Z",
- "contract_renew_date": "2022-05-05T00:00:00Z",
- "onetime_revenue": "1500.00",
- "monthly_revenue": "1500.00"
}
Get a sales record from Insight API.
Forbidden
Exception throw.
{- "sr_id": 260149,
- "prev_sr_id": null,
- "next_sr_id": null
}
All fields submitted are valid
The request was invalid because of missing and/or invalid fields.
There was an internal server error.
{- "name": "Anti-DDoS October Order",
- "insight_customer_id": "AIN001",
- "package": "alwayson",
- "number_of_protected_ips": [
- 1,
- 8
], - "total_inbound_traffic": [
- 51,
- 100
], - "total_mitigated_traffic": 50,
- "service_period": 12,
- "resources_behind": true
}
{- "invalidFields": [
- {
- "name": "service_period",
- "desc": "Service period must be between 1 and 600."
}
]
}
Array of CAD orders, with only basic fields (no IP addresses or configuration etc).
[- {
- "id": 1,
- "name": "Anti-ddos order 123",
- "insight_customer_id": "CTL01",
- "status": "active",
- "package": "alwayson",
- "provider": "ipdc",
- "insight_sr_id": 10211
}
]
Request body for creating a web rule
OK
Invalid request
{- "cnameReused": true,
- "resourceGroupId": "",
- "domain": "example.com",
- "rsType": 0,
- "defenseId": "",
- "ocsp": 1,
- "httpsExt": {
- "Http2": 1,
- "Http2https": 1,
- "Https2http": 1
}, - "rules": [
- {
- "ProxyType": "http",
- "ProxyRules": [
- {
- "ProxyPort": "443",
- "RealServers": [
- "47.92.101.159"
]
}
]
}
], - "instanceIds": [
- "ddos-a4a8adcd-e5bf-413e-91fc-022f303eb54f"
]
}
"Unable to process request, reference id xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
OK
Invalid request
{- "resourceGroupId": "",
- "domain": "example.com",
- "proxyTypes": [
- {
- "ProxyPorts": 80,
- "ProxyType": "http"
}
], - "rsType": 0,
- "httpsExt": {
- "Http2": 0,
- "Http2https": 0,
- "Https2http": 0
}, - "realServers": [
- "1.1.1.1"
], - "ocsp": 1,
- "instanceIds": [
- "ddos-3a1aaf10-5829-4ba6-bfc7-3ea950ed1234"
], - "cnameReused": true
}
"Unable to process request, reference id xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
{- "domain": "example.com",
- "resourceGroupId": ""
}
"Unable to process request, reference id xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
OK
Invalid request
{- "domain": "example.com",
- "certName": "ssl_cert-20240101.crt",
- "cert": "-----BEGIN CERTIFICATE-----MIIDhjCCAm6gAwIBAgIEImTpEzANBgkqhkiG9w0BAQsFADBbMScwJQYDVQQDDB5SZWdlcnkgU2VsZi1TaWduZWQgQ2VydGlmaWNhdGUxIzAhBgNVBAoMGlJlZ2VyeSwgaHR0cHM6Ly9yZWdlcnkuY29tMQswCQYDVQQGEwJVQTAgFw0yNDA4MTkwMDAwMDBaGA8yMTI0MDgxOTA5MzgzMVowSDEUMBIGA1UEAwwLZXhhbXBsZS5jb20xIzAhBgNVBAoMGlJlZ2VyeSwgaHR0cHM6Ly9yZWdlcnkuY29tMQswCQYDVQQGEwJVQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAI/75U1FWK4EjeYe44Y8Ay43tCPK+uSHV2Vw9Akvh0q09qOGIVcWl5AJuRaGdwFkn5GZRCLe0MRBkm4kn5jN+6QyMIZieWP0OQR//sICbTYsiofp5Na8VPTQuqTRaK5ssPOS4d54X6MYRzbsJY/arKcEEyA2q1e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wGqKbfGuE7+zTK0GWAVaQKBgFY4nwDvjICXbCKYF8sXwo733KnXuK6hjaW83QHOkAGvYepEHtGw/JRRDT037etcwEyDnJQt8+9GIhrkCzI6yL423y7/koVQoOKd4pE9ASa+Za8ZOKExVXOUw0i86314CnCfc0VjutnlPGZnWPTMGj4zpqjXij/KitX8+xTB/ZJL-----END RSA PRIVATE KEY-----"
}
"Unable to process request, reference id xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
{- "resourceGroupId": "",
- "domain": "example.com",
- "config": {
- "ssl_protocols": "tls1.0",
- "ssl_ciphers": "all"
}
}
"Unable to process request, reference id xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
Successful response
Error message with a camunda process instance id
{- "resourceGroupId": "",
- "domain": "example.com",
- "policy": {
- "ProxyMode": "ip_hash",
- "Attributes": [
- {
- "RealServer": "121.70.168.58",
- "Attribute": {
- "Weight": 80
}
}
]
}
}
Successful response
Error message with a camunda process instance id
{- "domain": "example.io",
- "realServers": [
- "1.1.1.1",
- "8.8.8.8"
], - "resourceGroupId": ""
}
Get a list of DNS instances with pagination
Successful response with a list of DNS instances
Bad Request - Invalid input parameters
Internal Server Error
[- {
- "id": 3522,
- "circuit_id": "HKG(ABB) MPR948521",
- "function": "standard",
- "insight_customer_id": "ETT001",
- "insight_sr_id": "123141",
- "link": {
- "autoRenewal": false,
- "createdAt": "2023-07-18 17:03:51",
- "createdBy": "ca8fd4aa-a509-43e5-aa32-8bd2926c9779",
- "createdByName": "Console Core Systems Engineering",
- "customer": {
- "name": "5e99b3d343308a00142cd356"
}, - "expiredAt": "2023-08-19 00:00:00",
- "externalId": "ddosDip-sg-5r53b67eg0l",
- "externalIp": "170.33.13.112",
- "id": "ddos-7e072ab2-de5a-46a9-a597-e8c322bcc53f",
- "instanceType": {
- "migrationPlan": "Insurance",
- "protectionPackage": "Enhanced Function",
- "normalBandwidth": 300,
- "cleanBandwidth": 300,
- "cleanQPS": 600,
- "newConnections": 5000,
- "concurrentConnections": 100000
}, - "name": "Some DNS Instance",
- "protected": {
- "protectedPorts": {
- "usedNumber": 1,
- "maxNumber": 10
}, - "protectedDomains": {
- "usedNumber": 1,
- "maxNumber": 20
}, - "protectedSites": {
- "usedNumber": 1,
- "maxNumber": 2
}, - "singleProtectBandwidthLimit": 2015,
- "availableAdvancedMigrationSessionThisMonth": 2
}, - "provider": {
- "id": "0b63baf5-65fc-479c-a316-8d224b0a3d66",
- "name": "Alibaba",
- "logo": "Alibaba"
}, - "state": "normal",
- "status": "ENABLED",
- "subscription": 1,
- "uid": "292733187643212169",
- "updatedBy": "ca8fd4aa-a509-43e5-aa32-8bd2926c9779",
- "updatedByName": "Console Core Systems Engineering",
- "updatedAt": "2023-07-20 11:45:44"
}, - "name": "Some DNS Instance",
- "package": "alwayson",
- "provider": "dns",
- "resource_type": "pureweb",
- "status": "active",
- "synonym": "real-reseller",
- "vendor_account": "292733187643212169",
- "vendor_reference": "ddos-7e072ab2-de5a-46a9-a597-e8c322bcc53f"
}
]
Successful response with a list of DNS instances
Bad Request - Invalid input parameters
Internal Server Error
{- "id": 3522,
- "circuit_id": "HKG(ABB) MPR948521",
- "function": "standard",
- "insight_customer_id": "ETT001",
- "insight_sr_id": "123141",
- "link": {
- "autoRenewal": false,
- "createdAt": "2023-07-18 17:03:51",
- "createdBy": "ca8fd4aa-a509-43e5-aa32-8bd2926c9779",
- "createdByName": "Console Core Systems Engineering",
- "customer": {
- "name": "5e99b3d343308a00142cd356"
}, - "expiredAt": "2023-08-19 00:00:00",
- "externalId": "ddosDip-sg-5r53b67eg0l",
- "externalIp": "170.33.13.112",
- "id": "ddos-7e072ab2-de5a-46a9-a597-e8c322bcc53f",
- "instanceType": {
- "migrationPlan": "Insurance",
- "protectionPackage": "Enhanced Function",
- "normalBandwidth": 300,
- "cleanBandwidth": 300,
- "cleanQPS": 600,
- "newConnections": 5000,
- "concurrentConnections": 100000
}, - "name": "Some DNS Instance",
- "protected": {
- "protectedPorts": {
- "usedNumber": 1,
- "maxNumber": 10
}, - "protectedDomains": {
- "usedNumber": 1,
- "maxNumber": 20
}, - "protectedSites": {
- "usedNumber": 1,
- "maxNumber": 2
}, - "singleProtectBandwidthLimit": 2015,
- "availableAdvancedMigrationSessionThisMonth": 2
}, - "provider": {
- "id": "0b63baf5-65fc-479c-a316-8d224b0a3d66",
- "name": "Alibaba",
- "logo": "Alibaba"
}, - "state": "normal",
- "status": "ENABLED",
- "subscription": 1,
- "uid": "292733187643212169",
- "updatedBy": "ca8fd4aa-a509-43e5-aa32-8bd2926c9779",
- "updatedByName": "Console Core Systems Engineering",
- "updatedAt": "2023-07-20 11:45:44"
}, - "name": "Some DNS Instance",
- "package": "alwayson",
- "provider": "dns",
- "resource_type": "pureweb",
- "status": "active",
- "synonym": "real-reseller",
- "vendor_account": "292733187643212169",
- "vendor_reference": "ddos-7e072ab2-de5a-46a9-a597-e8c322bcc53f"
}
List of port config rules
Invalid request
{- "data": [
- {
- "instanceId": "ddos-a2dc76e8-bb13-4dab-91f9-28fafd4fc012",
- "name": "My-Order-01",
- "forwardingProtocol": "tcp",
- "forwardingPort": 8024,
- "originServicePort": 8024,
- "forwardingMode": "Round-robin",
- "sessionPersistence": false,
- "healthCheckStatus": false,
- "protectionPolicy": false,
- "deleted": false,
- "originalServerId": "48.99.104.155"
}
], - "total": 1,
- "page": 1,
- "size": 10
}
Created successfully
Invalid request
{- "protocol": "tcp",
- "frontendPort": 8210,
- "backendPort": 8210,
- "realServers": [
- "121.70.168.58"
], - "uid": "292733187643212169",
- "instanceId": "ddos-7de04971-3fc4-422f-8e3a-eb8fd44e812a"
}
Edited successfully
Invalid request
{- "protocol": "tcp",
- "frontendPort": 8210,
- "backendPort": 8210,
- "realServers": [
- "121.70.168.58"
], - "uid": "292733187643212169",
- "instanceId": "ddos-7de04971-3fc4-422f-8e3a-eb8fd44e812a"
}
Deleted successfully
Invalid request
{- "protocol": "tcp",
- "frontendPort": 8210,
- "backendPort": 8210,
- "realServers": [
- "121.70.168.58"
], - "uid": "292733187643212169",
- "instanceId": "ddos-7de04971-3fc4-422f-8e3a-eb8fd44e812a"
}
Configured successfully
Invalid request
{- "forwardProtocol": "tcp",
- "frontendPort": 8080,
- "healthCheck": {
- "port": 8010,
- "timeout": 5,
- "interval": 15,
- "up": 3,
- "down": 3
}, - "instanceId": "ddos-25d832be-05c0-4d31-be38-e880f6d64e12",
- "uid": 292733187643212160
}
Configurated successfully
Invalid request
{- "instanceId": "ddos-6856bb46-90f4-436f-9533-3aef8a8f33db",
- "forwardProtocol": "tcp",
- "frontendPort": 8080,
- "config": {
- "persistenceTimeout": 3600
}, - "uid": "292733187643212169"
}
Session Persistence Detail
Invalid request
{- "instanceId": "ddos-6856bb46-90f4-436f-9578-3a338a8f33db",
- "protocol": "tcp",
- "frontendPort": 8080,
- "uid": "292733187643212169"
}
{- "code": 200,
- "data": {
- "networkRuleAttributes": [
- {
- "config": {
- "cc": {
- "sblack": [
- {
- "type": null,
- "during": null,
- "expires": null,
- "cnt": null
}
]
}, - "nodataConn": "on",
- "payloadLen": {
- "max": 0,
- "min": 6000
}, - "persistenceTimeout": 30,
- "sla": {
- "cps": 100000,
- "cpsEnable": 0,
- "maxconn": 1,
- "maxconnEnable": 0
}, - "slimit": {
- "bps": 1024,
- "cps": 1,
- "cpsEnable": 0,
- "cpsMode": 1,
- "maxconn": 1,
- "maxconnEnable": 0,
- "pps": 1
}, - "synproxy": "on"
}, - "frontendPort": 8080,
- "instanceId": "ddos-6856bb46-90f4-436f-9578-3a338a8f33db",
- "protocol": "tcp"
}
], - "requestId": "f4da3b8b-6b3b-4b0b-8b3b-6b3b4b0b8b3b"
}
}
{- "instanceId": "ddos-6856bb46-90f4-436f-9578-3aef8a8f3312",
- "protocol": "tcp",
- "frontendPort": 8080,
- "uid": "292733187643212169"
}
{- "code": 200,
- "data": {
- "backendPort": 80,
- "bakMode": "1",
- "currentIndex": 1,
- "forwardProtocol": "tcp",
- "frontendPort": 80,
- "instanceId": "ddos-25d832be-05c0-4d31-be38-e880f6d64e12",
- "priRealServers": [
- {
- "currentIndex": 1,
- "eip": "56.123.65.32",
- "frontendPort": 80,
- "instanceId": "ddos-25d832be-05c0-4d31-be38-e880f6d64e66",
- "protocol": "tcp",
- "realServer": "123.123.44.123"
}
], - "requestId": "C4E18928-24FF-3B2F-B3EF-D60B133FED33",
- "secRealServers": [
- {
- "currentIndex": 1,
- "eip": "54.43.54.12",
- "frontendPort": 80,
- "instanceId": "ddos-25d832be-05c0-4d31-be38-e880f6d64e77",
- "protocol": "tcp",
- "realServer": "58.47.123.4"
}
]
}
}
{- "instanceId": "ddos-6856bb46-90f4-436f-9578-3aef8a8f3312",
- "protocol": "tcp",
- "frontendPort": 8080,
- "uid": "292733187643212169"
}
{- "code": 0,
- "data": {
- "healthCheckList": [
- {
- "frontendPort": 0,
- "healthCheck": {
- "port": 8010,
- "timeout": 5,
- "interval": 15,
- "up": 3,
- "down": 3
}, - "instanceId": "ddos-25d832be-05c0-4d31-be38-e880f6d64e12",
- "protocol": "string"
}
], - "requestId": "string"
}
}
Configured successfully
Invalid request
{- "uid": 292733187643212160,
- "instanceId": "ddos-25d832be-05c0-4d31-be38-e880f6d64e12",
- "bakMode": 1,
- "protocol": "tcp",
- "frontendPort": 80,
- "backendPort": 80,
- "currentRsIndex": 1,
- "priRealServer": "121.70.168.58",
- "secRealServer": "121.70.168.58"
}
Successful response, HTML string content.
Internal Server Error
"<html>...</html>"
Retrieve a domain overview data for Anti-DDoS service.
Successful response
Bad Request - Invalid input parameters
Not Found - Domain not found
{- "companyIds": [
- "company-id-1",
- "company-id-2"
], - "domains": [
- "example.com",
- "example2.com"
], - "startTime": "2023-08-06T02:00:00.000Z",
- "endTime": "2023-09-06T02:00:00.000Z",
- "interval": 21600,
- "region": "eu-west-1",
- "queryType": "",
- "uid": "123456789",
- "pageSize": 10,
- "pageNumber": 0
}
{- "code": 200,
- "data": {
- "headers": {
- "access-control-allow-origin": "*",
- "date": "Tue, 05 Sep 2023 03:14:29 GMT",
- "content-length": "89",
- "keep-alive": "timeout=25",
- "x-acs-request-id": "936467EF-0A0A-3886-B5FF-96604273AAFB",
- "connection": "keep-alive",
- "content-type": "application/json;charset=utf-8",
- "etag": "89nygYOIaUphMaOEboWhVVg9",
- "access-control-expose-headers": "*",
- "x-acs-trace-id": "039ea15683691a9a2c0e3c3c1c93da31"
}, - "statusCode": 200,
- "body": {
- "maxHttp": 18299,
- "maxHttps": 18018,
- "requestId": "936467EF-0A0A-3886-B5FF-96604273AAFB"
}
}
}
Retrieve a list of domain status code data for Anti-DDoS service.
Request body for describing domain status codes
Successful response
Bad Request - Invalid input parameters
Not Found - Domain not found
{- "companyIds": [
- "company-id-1",
- "company-id-2"
], - "domains": [
- "example.com",
- "example2.com"
], - "startTime": "2023-08-06T02:00:00.000Z",
- "endTime": "2023-09-06T02:00:00.000Z",
- "interval": 21600,
- "region": "eu-west-1",
- "queryType": "",
- "uid": "123456789",
- "pageSize": 10,
- "pageNumber": 0
}
{- "code": 200,
- "data": {
- "headers": {
- "access-control-allow-origin": "*",
- "date": "Wed, 06 Sep 2023 01:47:08 GMT",
- "content-length": "291",
- "keep-alive": "timeout=25",
- "x-acs-request-id": "A273F8FA-865C-37B5-A867-AF2CB62490ED",
- "connection": "keep-alive",
- "content-type": "application/json;charset=utf-8",
- "etag": "24Pfysgh7RauIVj1mTdrkAQ1",
- "access-control-expose-headers": "*",
- "x-acs-trace-id": "494cb533a18fe5f5d63793ed9b280452"
}, - "statusCode": 200,
- "body": {
- "requestId": "A273F8FA-865C-37B5-A867-AF2CB62490ED",
- "statusCodeList": [
- {
- "index": 116,
- "status200": 1984,
- "status2XX": 1984,
- "status3XX": 0,
- "status403": 0,
- "status404": 0,
- "status405": 10459600,
- "status4XX": 10459600,
- "status501": 0,
- "status502": 0,
- "status503": 0,
- "status504": 0,
- "status5XX": 0,
- "time": 1693792800
}
]
}
}
}
Retrieve DNS Domain QPS Report
Successful response
Bad Request
Unauthorized
Not Found
{- "companyIds": [
- "company-id-1",
- "company-id-2"
], - "domains": [
- "example.com",
- "example2.com"
], - "startTime": "2023-08-06T02:00:00.000Z",
- "endTime": "2023-09-06T02:00:00.000Z",
- "interval": 21600,
- "region": "eu-west-1",
- "queryType": "",
- "uid": "123456789"
}
{- "code": 200,
- "data": {
- "headers": {
- "access-control-allow-origin": "*",
- "date": "Thu, 07 Sep 2023 03:13:42 GMT",
- "content-length": "232",
- "keep-alive": "timeout=25",
- "x-acs-request-id": "CF412C6C-A488-3B43-B765-8B6F6E8EF9F1",
- "connection": "keep-alive",
- "content-type": "application/json;charset=utf-8",
- "etag": "2YhHJI3NlXePWxNOV/gmVTQ2",
- "access-control-expose-headers": "*",
- "x-acs-trace-id": "fcbc2e111cf3069d7a4da6bd2211a74f"
}, - "statusCode": 200,
- "body": {
- "domainQPSList": [
- {
- "attackQps": 485,
- "cacheHits": 0,
- "index": 116,
- "maxAttackQps": 36316,
- "maxNormalQps": 0,
- "maxQps": 36316,
- "time": 1693792800,
- "totalCount": 10461584,
- "totalQps": 485
}
], - "requestId": "CF412C6C-A488-3B43-B765-8B6F6E8EF9F1"
}
}
}
Request body for Describe Domain Attack Events
Successful response
Bad Request - Invalid input parameters
Not Found - Domain not found
{- "companyIds": [
- "company-id-1",
- "company-id-2"
], - "domains": [
- "example.com",
- "example2.com"
], - "startTime": "2023-08-06T02:00:00.000Z",
- "endTime": "2023-09-06T02:00:00.000Z",
- "interval": 21600,
- "region": "eu-west-1",
- "queryType": "",
- "uid": "123456789",
- "pageSize": 10,
- "pageNumber": 0
}
{- "code": 200,
- "data": {
- "headers": {
- "access-control-allow-origin": "*",
- "date": "Fri, 08 Sep 2023 02:26:45 GMT",
- "content-length": "188",
- "keep-alive": "timeout=25",
- "x-acs-request-id": "B2DCF07F-4C0B-3D51-91D6-79B69167CDED",
- "connection": "keep-alive",
- "content-type": "application/json;charset=utf-8",
- "etag": "1Yg5UoqUNzIrsivvGvZcn8A8",
- "access-control-expose-headers": "*",
- "x-acs-trace-id": "33d2575d6461143e945aad1163d16027"
}, - "statusCode": 200,
- "body": {
- "domainAttackEvents": [
- {
- "domain": "mooncake-20230904-1515.io",
- "endTime": 1693814370,
- "maxQps": 37119,
- "startTime": 1693814040
}
], - "requestId": "B2DCF07F-4C0B-3D51-91D6-79B69167CDED",
- "totalCount": 1
}
}
}
This endpoint retrieves signed company information for a specific Insight ID provided by the identity API.
A successful response containing the signed company information.
The requested company information could not be found.
An internal server error occurred.
{- "id": "123e4567-e89b-12d3-a456-426614174000",
- "country": "US",
- "insightId": 987654,
- "companyName": "Tech Innovators Inc.",
- "address": "1234 Silicon Valley Blvd, San Francisco, CA 94107",
- "deleted_at": "2024-08-30T16:45:30Z",
- "created_at": "2023-03-30T16:45:30Z",
- "updated_at": "2024-07-30T16:45:30Z"
}