Interlaken
API referenceApplicationsApplications

Start a pipeline run: builds every service in a throwaway builder microVM, produces a release, then walks the deploy stages. Body is optional — the default is a manual run on the first source's tracked branch.

POST
/api/v1/applications/{id}/runs

Requires the apps:deploy permission.

Authorization

AuthorizationBearer <token>

An access token from this zone's POST /oauth/token, or a session token from POST /api/v1/auth/login. Send it as Authorization: Bearer <token>.

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/api/v1/applications/string/runs" \  -H "Content-Type: application/json" \  -d '{}'
{  "commits": {    "property1": "string",    "property2": "string"  },  "created_at": "2019-08-24T14:15:22Z",  "created_by": "string",  "environments": [    "string"  ],  "error": "string",  "finished_at": "2019-08-24T14:15:22Z",  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "number": 0,  "ref": "string",  "release_id": "51d53377-463c-43a4-a864-f9b3ed9178de",  "stage_index": 0,  "stages": [    "string"  ],  "started_at": "2019-08-24T14:15:22Z",  "state": "string",  "trigger": "string"}