Skip to content
Coritan Docs

Client API: App Deployment

The starters a deployment can begin from, and the dashboard link a Deploy button opens for a public repository.

View as Markdown

The starters a deployment can begin from, and the dashboard link a Deploy button opens for a public repository. Needs no auth.

Base URL: https://api.coritan.com/api/v1. Paths below are complete.

To try these requests in the browser, open the interactive Client API reference.

Method Path Summary
GET /api/v1/deploy-button Deploy button
GET /api/v1/deploy-presets Deploy presets
GET /api/v1/deploy-templates List deploy templates
GET /api/v1/deploy-templates/{slug} Get deploy template

GET /api/v1/deploy-button

The link a Deploy button opens for a public repository: path on the dashboard, url on the platform storefront (null when none is configured), and the repository as the order will read it.

Name In Type Required Description
repo query string yes The repository's https address
branch query string or null no The branch to deploy; main when left out
root query string or null no The app's directory in the repository
Status Meaning
200 Success.
422 The request is not valid. detail lists each problem.

GET /api/v1/deploy-presets

Status Meaning
200 Success.

GET /api/v1/deploy-templates

Every starter whose repository is known: its repository, build and runtime settings, the variables it reads, the Deploy button's link (deploy_path, and deploy_url on the platform storefront) and the part of an order's config it decides (order).

Status Meaning
200 Success.

GET /api/v1/deploy-templates/{slug}

One starter, as the list answers it; 404 for a name the gallery does not offer, or a starter whose repository is not set on this platform.

Name In Type Required
slug path string yes
Status Meaning
200 Success.
422 The request is not valid. detail lists each problem.