Project Groups

Import apps as services of a project

Changed on

Creates one service per app, each building from its directory of the project's repository and following it. Runs in the background like POST /templates/{slug}/instantiate: poll GET /instantiations/{id}.

post/project-groups/{group_id}/import

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/project-groups/{group_id}/import
  • Auth: HTTP bearer

Path parameters

group_idinteger required

Project group ID

Request body

idempotency_keystring required

Chosen by the client; see [InstantiateTemplateRequest::idempotency_key].

Response

The import already started with this idempotency key

created_atstring date-time required
errorstring nullable

Why it failed, when it did.

finished_atstring date-time nullable
group_idinteger nullable

The project the services go into, once known.

idinteger required
kindstring required

template or import.

namestring required
status'pending' | 'running' | 'succeeded' | 'failed' | 'interrupted' required
template_slugstring nullable
updated_atstring date-time required

Changes