Domains
Custom hostnames that serve an app's environment, pointed at Akter with a CNAME.
List
https://api.akter.dev/v1/organizations/{organization}/apps/{app}/domainsList an app's claimed hostnames in name order, a page at a time, with their status.
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.
Query parameters
cursorstringThe nextCursor of the previous page.
limitintegerAt most this many items, 1 to 100. Defaults to 50.
Response 200DomainPage
itemsDomain[]requireditems[].cname"customers.akter.run"requireditems[].environmentstringrequiredAn environment of an app, such as prod or pr-42. Each environment has its own store. 1 to 63 characters: a lowercase letter, then lowercase letters, digits or single hyphens, ending in a letter or digit.
items[].hostnamestringrequiredA hostname you own, such as app.example.com. Names under akter.run are Akter's own.
items[].status"Pending" | "Active" | "Removing"requirednextCursorstringPass as cursor for the next page.
Errors
401UnauthorizedError403ForbiddenError404NotFoundError | FeatureNotEnabledError503ActorUnavailableError | AuthUnavailableError | BillingUnavailableError | BuildStorageUnavailableError | ExecUnavailableError
Create
https://api.akter.dev/v1/organizations/{organization}/apps/{app}/domainsClaim a customer hostname for an environment; the response names the CNAME to add at the DNS provider.
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.
Request bodyCreateDomain
environmentstringrequiredAn environment of an app, such as prod or pr-42. Each environment has its own store. 1 to 63 characters: a lowercase letter, then lowercase letters, digits or single hyphens, ending in a letter or digit.
hostnamestringrequiredA hostname you own, such as app.example.com. Names under akter.run are Akter's own.
Response 202Domain
cname"customers.akter.run"requiredenvironmentstringrequiredAn environment of an app, such as prod or pr-42. Each environment has its own store. 1 to 63 characters: a lowercase letter, then lowercase letters, digits or single hyphens, ending in a letter or digit.
hostnamestringrequiredA hostname you own, such as app.example.com. Names under akter.run are Akter's own.
status"Pending" | "Active" | "Removing"required
Errors
401UnauthorizedError403ForbiddenError404NotFoundError | FeatureNotEnabledError409HostnameClaimedError503ActorUnavailableError | AuthUnavailableError | BillingUnavailableError | BuildStorageUnavailableError | ExecUnavailableError
Get
https://api.akter.dev/v1/organizations/{organization}/apps/{app}/domains/{hostname}Read a claimed hostname and its status: Pending, Active or Removing.
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.
hostnamestringrequiredA hostname you own, such as app.example.com. Names under akter.run are Akter's own.
Response 200Domain
cname"customers.akter.run"requiredenvironmentstringrequiredAn environment of an app, such as prod or pr-42. Each environment has its own store. 1 to 63 characters: a lowercase letter, then lowercase letters, digits or single hyphens, ending in a letter or digit.
hostnamestringrequiredA hostname you own, such as app.example.com. Names under akter.run are Akter's own.
status"Pending" | "Active" | "Removing"required
Errors
401UnauthorizedError403ForbiddenError404NotFoundError | FeatureNotEnabledError503ActorUnavailableError | AuthUnavailableError | BillingUnavailableError | BuildStorageUnavailableError | ExecUnavailableError
Delete
https://api.akter.dev/v1/organizations/{organization}/apps/{app}/domains/{hostname}Release a claimed hostname; it stops serving the app.
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.
hostnamestringrequiredA hostname you own, such as app.example.com. Names under akter.run are Akter's own.
Response 202<No Content>
Errors
401UnauthorizedError403ForbiddenError404NotFoundError | FeatureNotEnabledError428ConfirmationRequiredError503ActorUnavailableError | AuthUnavailableError | BillingUnavailableError | BuildStorageUnavailableError | ExecUnavailableError