Skip to main content

kobana kadu repository

Organization Kadu Playbook

Commands of kobana kadu repository. Every global option (Global options) applies here.

CommandHTTPDescription
repositoryGET /v1/repositoryOrganization Kadu Playbook
repository syncPOST /v1/repository/syncSyncs the Kadu Playbook

repository​

Organization Kadu Playbook

kobana kadu repository [OPTIONS] [COMMAND]

GET /v1/repository

Connecting the repository means installing the GitHub App, done in the console (OAuth flow in the browser).

Responses

HTTPDescription
200OK
503AS_UNAVAILABLE — token verification is unavailable (Authorization Server down or configuration missing). Try again (Retry-After).

repository sync​

Syncs the Kadu Playbook

kobana kadu repository sync [OPTIONS]

POST /v1/repository/sync

Queues the sync (the worker clones the repository and updates the Task catalog). Follow synced_at and sync_error in GET /repository.

Responses

HTTPDescription
202accepted
409IDEMPOTENCY_KEY_REUSED / IDEMPOTENCY_REQUEST_IN_PROGRESS (or the route's CONFLICT)
422NO_PLUGIN_REPO / NO_DEPLOY_KEY
503QUEUE_UNAVAILABLE / AS_UNAVAILABLE