Download OpenAPI specification:Download
Provides programmatic interface for projects within QuantCDN
Purges edge caches for a specified path
Quant-Organisation required | string Example: quant |
Quant-Project required | string Example: quantcdn |
Purge path
path | string Provide a URL path to purge caches for. The wildcard character (*) is accepted. |
{- "path": "{'path': '/blog/*'}"
}
{- "project": "quant-project-name",
- "message": "Purge request accepted."
}
Get QuantCDN project
Quant-Organisation required | string Example: quant |
Quant-Project required | string Example: quantcdn |
{- "data": {
- "project": {
- "name": "quant",
- "machine_name": "quant",
- "token": "aabbcc",
- "config": {
- "query_params_enabled": true,
- "search_enabled": false
}, - "domains": [
- {
- "domain": "example.quantcdn.io",
- "dns_engaged": 0
}
]
}
}
}
Create QuantCDN project
Quant-Organisation required | string Example: quant |
Project schema
name required | string |
region required | string |
allow_query_params | boolean |
basic_auth_username | string |
basic_auth_password | string |
basic_auth_preview_only | boolean |
{- "name": "quantcdn-project",
- "region": "au",
- "allow_query_params": true,
- "basic_auth_username": "user",
- "basic_auth_password": "pass",
- "basic_auth_preview_only": false
}
{- "name": "quant",
- "machine_name": "quant",
- "token": "aabbcc",
- "config": {
- "query_params_enabled": true,
- "search_enabled": false
}, - "domains": [
- {
- "domain": "example.quantcdn.io",
- "dns_engaged": 0
}
]
}
Edit QuantCDN project
Quant-Organisation required | string Example: quant |
Quant-Project required | string Example: quantcdn |
Project schema
name | string |
region | string |
allow_query_params | boolean |
basic_auth_username | string |
basic_auth_password | string |
basic_auth_preview_only | boolean |
custom_s3_sync_bucket | string Optional bucket name for S3 sync function |
custom_s3_sync_region | string Bucket region for S3 sync. Required if s3 sync bucket is provided |
custom_s3_sync_access_key | string Access key for S3 sync. Required if s3 sync bucket is provided |
custom_s3_sync_secret_key | string Secret key for S3 sync. Required if s3 sync bucket is provided |
{- "name": "quantcdn-project",
- "region": "au",
- "allow_query_params": true,
- "basic_auth_username": "user",
- "basic_auth_password": "pass",
- "basic_auth_preview_only": false,
- "custom_s3_sync_bucket": "s3-bucket-name",
- "custom_s3_sync_region": "us-west-1",
- "custom_s3_sync_access_key": "string",
- "custom_s3_sync_secret_key": "string"
}
{- "name": "quant",
- "machine_name": "quant",
- "token": "aabbcc",
- "config": {
- "query_params_enabled": true,
- "search_enabled": false
}, - "domains": [
- {
- "domain": "example.quantcdn.io",
- "dns_engaged": 0
}
]
}
Create QuantCDN domain
Quant-Organisation required | string Example: quant |
Quant-Project required | string Example: quantcdn |
Domain schema
domain required | string |
{- "domain": "example.quantcdn.io"
}
{- "data": {
- "message": "Domain added successfully."
}
}
Delete QuantCDN domain
domain required | string Example: domain=example.quantcdn.io |
Quant-Organisation required | string Example: quant |
Quant-Project required | string Example: quantcdn |
{- "data": {
- "message": "Domain deleted successfully."
}
}
SSL certificates will generate and renew automatically
Quant-Organisation required | string Example: quant |
Quant-Project required | string Example: quantcdn-project |
domain required | string |
{- "domain": "example.quantcdn.io"
}
{- "data": {
- "message": "Certificate created/renewed successfully."
}
}
List of crawler configurations
Quant-Organisation required | string Example: quant |
Quant-Project required | string Example: quantcdn |
{- "name": "Crawler configuration example",
- "uuid": "fced63f0-2a61-4a25-bb0c-a40b055d6194",
- "url_count": 50
}
Triggers a new run for a specified crawler configuration
uuid required | any UUID of the crawler to run |
Quant-Organisation required | string Example: quant |
Quant-Project required | string Example: quantcdn-project |
urls | Array of strings Optionally provide manual URLs to crawl. Full crawl will run otherwise. |
{- "urls": "{'urls': ['/example1', '/example2']}"
}
{- "data": {
- "message": "Crawl request accepted.",
- "run_id": 1234
}
}
Retrieve the status of a crawl run
runId required | any Run ID to retrieve status for |
Quant-Organisation required | string Example: quant |
Quant-Project required | string Example: quantcdn |
{- "status": "running",
- "started_at": "1602756600",
- "completed_at": null
}