Apps

Start app setup

Starts a cloud setup run for the app: Khotan launches a cloud agent against the organization's repository with the intake, gives it a short-lived developer key, and merges its setup PR when every guard holds. Responds 202 with the run in status running; poll GET /api/v1/apps/{appId}/setup to follow it. Requires an API key whose role includes developer, created by a member. Only one run may be running per organization. Pass an idempotencyKey to make retries safe.

post/api/v1/apps/{appId}/setup

Request

  • Base URL
    https://app.khotan.com
  • URL
    https://app.khotan.com/api/v1/apps/{appId}/setup
  • Auth
    • HTTP bearer
    • or API key in header x-api-key

Path parameters

appIdstring required

Request body

namestring required
websitestring uri
logostring uri nullable
idempotencyKeystring

Repeat a start with the same key to get the same run back instead of starting a second one.

Response

The new run, in status running.

Changes

No recorded changes to this operation across all 1 revision of this API.