This repository contains the OpenAPI definitions for the Cycle API. It is used in several downstream API clients and projects, and is the basis of our API documentation.
While no major breaking changes are expected, we can't guarantee that any downstream clients won't be affected by changes to schemas (such as marking properties as null or required). When we believe the spec to be stable, we'll release v1.0.0.
The public API is the general use API for the Cycle Platform, located at https://api.cycle.io. The endpoints for this API are located under /public
.
The internal API is used within containers running on the Cycle Platform, and provide a convenient means to communicate with the platform from within a container to unlock advanced use cases (such as custom monitoring/tooling).
The APIs are built using the Redocly CLI. It stitches together the various files and combines them into a single spec file for easy consumption by other tools.
You must have npm
installed on your machine, or run inside a container with npm
in the PATH.
npm run build:public
The outputted file is located at /dist/public-api.yml
npm run build:internal
The outputted file is located at /dist/internal-api.yml