STACKIT CDN API
API used to create and manage your CDN distributions.
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
API used to create and manage your CDN distributions.
Endpoints 15
- GETList all distributions belonging to a specific project
/v1/projects/:projectId/distributionsListDistributions returns a list of all CDN distributions associated with a given project, ordered by their distribution Id. - POSTCreate new distribution
/v1/projects/:projectId/distributionsCreateDistribution will create a new CDN distribution - GETGet distribution by Id
/v1/projects/:projectId/distributions/:distributionIdThis returns a specific distribution by its Id. If no distribution with the given Id exists the endpoint returns 404. Trying to get a deleted distributions… - DELETEDelete distribution
/v1/projects/:projectId/distributions/:distributionIdDeleteDistribution accepts a project- and distribution-Id and will delete a distribution. - PATCHUpdate existing distribution
/v1/projects/:projectId/distributions/:distributionIdModify a CDN distribution with a partial update. Only the fields specified in the request will be modified. - GETGet Infos about the Caching State
/v1/projects/:projectId/distributions/:distributionId/cacheReturn caching info metadata, which contains the last cache purging time and a history of the most recent *full* purges. If (and only if) you provide the path… - GETReturn Paths that were purged
/v1/projects/:projectId/distributions/:distributionId/cache/paths?path=stringThis returns paths that are present in the cache purging history. Only substrings of the provided input are returned. The response is sorted in descending… - POSTClear distribution cache
/v1/projects/:projectId/distributions/:distributionId/cache/purgeClear the cache for this distribution. All content, regardless of its staleness, will get refetched from the host. - GETRetrieve a specific custom domain
/v1/projects/:projectId/distributions/:distributionId/customDomains/:domainReturns a 200 and the custom domain if this custom domain was associated to this distribution, else 404 - PUTCreate or update a custom domain
/v1/projects/:projectId/distributions/:distributionId/customDomains/:domainCreates a new custom domain. If it already exists, this will overwrite the previous custom domain's properties. - DELETEDelete a custom domain
/v1/projects/:projectId/distributions/:distributionId/customDomains/:domainRemoves a custom domain - GETRetrieve distribution logs
/v1/projects/:projectId/distributions/:distributionId/logs - GETGet relevant search filters for this distribution based on user input.
/v1/projects/:projectId/distributions/:distributionId/logs/searchFilters - GETRetrieve the statistics of a distribution
/v1/projects/:projectId/distributions/:distributionId/statistics?from=2024-01-01T00:00:00ZReturns the statistics of the distribution in the given time range. The response is a list of statistics records. Each record aggregates the statistics for… - GETList all WAF rule collections of the project
/v1/projects/:projectId/waf/collectionsReturns all WAF rule collections available to the project
API details
- Base URL
https://cdn.api.stackit.cloud- Authentication
- None declared in the description
- Operations
- 15 operations on 10 pathsGET 9POST 2DELETE 2PUT 1PATCH 1
- Response formats
application/jsontext/plain- Description format
- OpenAPI 3.0.4, API version
1.0.0 - Links
- OpenAPI document
- Listed from
- STACKIT's published OpenAPI description (stackitcloud/stackit-api-specifications) (Apache-2.0)
How to test the STACKIT CDN API in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the STACKIT CDN API collection, without the publisher's secrets.
- Add your credentialsOpen the collection's variables or an environment and enter your API key or token, if the API needs one.
- Send a requestPick an endpoint, for example “List all distributions belonging to a specific project” (GET /v1/projects/:projectId/distributions), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the STACKIT CDN API?
API used to create and manage your CDN distributions. It is listed under Developer tools and has 15 endpoints.
Who publishes the STACKIT CDN API?
It is listed from STACKIT's public API description (an OpenAPI document), not published by STACKIT on Swastik Codes. Anyone who controls stackit.cloud can claim the profile by adding a DNS TXT record.
What is the base URL of the STACKIT CDN API?
Requests go to https://cdn.api.stackit.cloud. Endpoint paths are added to this base URL.
How do I authenticate with the STACKIT CDN API?
Its OpenAPI description does not declare an authentication scheme. Some endpoints may be open; check the provider's documentation before relying on that.
How many endpoints does the STACKIT CDN API have?
15 operations on 10 paths (9 GET, 2 POST, 2 DELETE, 1 PUT, 1 PATCH).
Is forking the STACKIT CDN API free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.