Apps
Apps hold an organization's actors, builds, deploys and domains.
List
https://api.akter.dev/v1/organizations/{organization}/appsList an organization's apps, a page at a time. An API key limited to named apps sees only those, so a page may hold fewer than its limit.
Path parameters
organizationstringrequiredAn organization's name, unique across Akter Cloud. 1 to 63 characters: a lowercase letter, then lowercase letters, digits or single hyphens, ending in a letter or digit.
Query parameters
cursorstringThe nextCursor of the previous page.
limitintegerAt most this many items, 1 to 100. Defaults to 50.
Response 200AppPage
itemsApp[]requireditems[].createdAtstringrequireditems[].hostnamesRecord<string, string>requiredEach environment's hostname, once a deploy to it has published its build. The app's actors answer at https://<hostname>/rpc.
items[].namestringrequiredAn app's name, unique within its organization. 1 to 63 characters: a lowercase letter, then lowercase letters, digits or single hyphens, ending in a letter or digit.
items[].organizationstringrequiredAn organization's name, unique across Akter Cloud. 1 to 63 characters: a lowercase letter, then lowercase letters, digits or single hyphens, ending in a letter or digit.
nextCursorstringPass as cursor for the next page.
Errors
401UnauthorizedError403ForbiddenError404NotFoundError | FeatureNotEnabledError503ActorUnavailableError | AuthUnavailableError | BillingUnavailableError | BuildStorageUnavailableError | ExecUnavailableError
Create
https://api.akter.dev/v1/organizations/{organization}/appsCreate an app with a name unique in its organization. An API key needs deploy scope and no apps list.
Path parameters
organizationstringrequiredAn organization's name, unique across Akter Cloud. 1 to 63 characters: a lowercase letter, then lowercase letters, digits or single hyphens, ending in a letter or digit.
Request bodyCreateApp
namestringrequiredAn app's name, unique within its organization. 1 to 63 characters: a lowercase letter, then lowercase letters, digits or single hyphens, ending in a letter or digit.
Response 201App
createdAtstringrequiredhostnamesRecord<string, string>requiredEach environment's hostname, once a deploy to it has published its build. The app's actors answer at https://<hostname>/rpc.
namestringrequiredAn app's name, unique within its organization. 1 to 63 characters: a lowercase letter, then lowercase letters, digits or single hyphens, ending in a letter or digit.
organizationstringrequiredAn organization's name, unique across Akter Cloud. 1 to 63 characters: a lowercase letter, then lowercase letters, digits or single hyphens, ending in a letter or digit.
Errors
401UnauthorizedError403ForbiddenError404NotFoundError | FeatureNotEnabledError409AlreadyExistsError503ActorUnavailableError | AuthUnavailableError | BillingUnavailableError | BuildStorageUnavailableError | ExecUnavailableError
Get
https://api.akter.dev/v1/organizations/{organization}/apps/{app}Read one app by name.
Path parameters
appstringrequiredAn app's name, unique within its organization. 1 to 63 characters: a lowercase letter, then lowercase letters, digits or single hyphens, ending in a letter or digit.
organizationstringrequiredAn organization's name, unique across Akter Cloud. 1 to 63 characters: a lowercase letter, then lowercase letters, digits or single hyphens, ending in a letter or digit.
Response 200App
createdAtstringrequiredhostnamesRecord<string, string>requiredEach environment's hostname, once a deploy to it has published its build. The app's actors answer at https://<hostname>/rpc.
namestringrequiredAn app's name, unique within its organization. 1 to 63 characters: a lowercase letter, then lowercase letters, digits or single hyphens, ending in a letter or digit.
organizationstringrequiredAn organization's name, unique across Akter Cloud. 1 to 63 characters: a lowercase letter, then lowercase letters, digits or single hyphens, ending in a letter or digit.
Errors
401UnauthorizedError403ForbiddenError404NotFoundError | FeatureNotEnabledError503ActorUnavailableError | AuthUnavailableError | BillingUnavailableError | BuildStorageUnavailableError | ExecUnavailableError
Delete
https://api.akter.dev/v1/organizations/{organization}/apps/{app}Delete an app and stop serving it. Its actors' data is kept but never reattached, so an app created again with the same name starts empty. An API key needs a person's approval token in the akter-approval header. A 503 while the control plane restarts has already spent that approval: approve the delete again to retry.
Path parameters
appstringrequiredAn app's name, unique within its organization. 1 to 63 characters: a lowercase letter, then lowercase letters, digits or single hyphens, ending in a letter or digit.
organizationstringrequiredAn organization's name, unique across Akter Cloud. 1 to 63 characters: a lowercase letter, then lowercase letters, digits or single hyphens, ending in a letter or digit.
Response 204<No Content>
Errors
401UnauthorizedError403ForbiddenError404NotFoundError | FeatureNotEnabledError428ConfirmationRequiredError503ActorUnavailableError | AuthUnavailableError | BillingUnavailableError | BuildStorageUnavailableError | ExecUnavailableError