API reference
Every route of the REST API, with what it takes, what it gives and what it needs.
On this page
This page is made from the OpenAPI document, which a test of the server keeps the same as the routes it serves. The API says how to authenticate, page through lists and read errors. Paths are under /api/v1.
Apps#
/appsCreate an app in a project; deploying also creates one, in the default project
/apps/{app}Move an app to another project, or rename it, which restarts it
/apps/{app}Delete an app and everything of it; keep_data=true keeps its data directory
keep_data/apps/{app}/forgeConnect an app to a repository on a forge: the answer alone has the secret that its webhook signs with
/apps/{app}/forgeLet go of an app's repository: what it deployed stays
/apps/{app}/forge/pulls/{number}/approveHave a pull request built at the commit that someone looked at, which runs its code: this is for that one commit
/apps/{app}/forge/syncLook at an app's repository now, and deploy what has changed
/apps/{app}/previewsDeploy a preview of a branch that was pushed
/apps/{app}/runs/{id}/logWhat a run says, as NDJSON; follow=true stays open until it ends
application/x-ndjsonAn app's environments#
/apps/{app}/envs/{env}How an environment stands: its release, formation and instances
Environment/apps/{app}/envs/{env}Scale an environment: how many instances of which process run
/apps/{app}/envs/{env}Remove an environment that is not production, and everything of it: a preview takes a deployer, and a named environment a maintainer
/apps/{app}/envs/{env}/accessChange who may reach an environment, at once
/apps/{app}/envs/{env}/cronList an environment's cron jobs, with when each next runs and how the last one went
CronJob[]/apps/{app}/envs/{env}/deploymentsList an environment's deployments, newest first
/apps/{app}/envs/{env}/deploymentsDeploy uploaded files, creating the app if it does not exist
Deployment/apps/{app}/envs/{env}/domainsAttach a domain, which serves once its DNS points here
/apps/{app}/envs/{env}/domains/verifyLook now at where a domain points
/apps/{app}/envs/{env}/filesList a directory within an environment's data directory
/apps/{app}/envs/{env}/filesRemove something from a data directory
path, recursive/apps/{app}/envs/{env}/files/contentRead a file in a data directory
path/apps/{app}/envs/{env}/files/contentWrite a file in a data directory, up to 1 GB: it appears all at once
/apps/{app}/envs/{env}/files/directoryMake a directory in a data directory
path/apps/{app}/envs/{env}/logsStream an environment's logs
after, download, follow, format, grep, instance, problems, process, since, source, tail, untilGives application/x-ndjson/apps/{app}/envs/{env}/metricsWhat an environment did over a range (range= live, 1h, 24h, 7d or 30d): requests, response times, CPU and memory, with its deployments
Metrics/apps/{app}/envs/{env}/promoteRelease the build another environment runs
/apps/{app}/envs/{env}/redeployBuild what the current release was built from again, and roll it out
Deployment/apps/{app}/envs/{env}/releasesList an environment's releases, newest first
/apps/{app}/envs/{env}/releases/{version}A release, and, for those who can deploy, its manifest
ReleaseDetail/apps/{app}/envs/{env}/releases/{version}/diff/{other}What changed from one release to another; of variables, their names only, and all but whether the build changed is for those who can deploy
ReleaseDiff/apps/{app}/envs/{env}/rollbackServe an earlier release again
/apps/{app}/envs/{env}/runsList an environment's runs, newest first; job= is those of a cron job
Run[]/apps/{app}/envs/{env}/runsRun a command in the current release, with its variables and data
/apps/{app}/envs/{env}/services/{name}Remove a service, with what it holds
/apps/{app}/envs/{env}/services/{name}/backPut a service back on what it held before its last upgrade or restore, losing what it has held since
/apps/{app}/envs/{env}/services/{name}/logsRead the newest of what a service has said
/apps/{app}/envs/{env}/services/{name}/old-volumeLet go of what a service held before its last upgrade or restore
/apps/{app}/envs/{env}/services/{name}/restorePut a service back to its latest dump, with what connects to it stopped
/apps/{app}/envs/{env}/services/{name}/updateTake the newest image of a service's version
ServiceChange/apps/{app}/envs/{env}/services/{name}/upgradeMove a service to a newer major version, with what connects to it stopped
/apps/{app}/envs/{env}/share-linksList an environment's share links
ShareLink[]/apps/{app}/envs/{env}/share-linksMake a link that lets someone reach an environment: the answer alone has its address
/apps/{app}/envs/{env}/share-links/{id}End a share link, and within a minute everyone it let in
/apps/{app}/envs/{env}/sleepStop an environment's instances until a request wakes it
Environment/apps/{app}/envs/{env}/terminalRun a command with someone at the other end of it, as moor run -it does. It becomes a WebSocket, with what is typed and shown in binary messages, and TerminalMessage in text ones. This takes a token, and not a session
cols, command, instance, rows, term, timeout, tty/apps/{app}/envs/{env}/thresholdsList when someone is told about how an environment is doing
Threshold[]/apps/{app}/envs/{env}/thresholdsSay when to tell someone about how an environment is doing
/apps/{app}/envs/{env}/thresholds/{id}Remove a threshold
/apps/{app}/envs/{env}/unlockLet deployments to an environment go on
Environment/apps/{app}/envs/{env}/varsList an environment's variables; a secret's value is never shown
Var[]/apps/{app}/envs/{env}/varsSet and unset variables, released at once unless no_restart is set
/apps/{app}/envs/{env}/vars/{name}/revealRead a secret's value, which is recorded
RevealedVar/apps/{app}/envs/{env}/wakeStart an environment that is asleep, and answer when it is ready
EnvironmentDeployments#
/deployments/{id}/logStream a deployment's log
follow, skipGives application/x-ndjsonPreviews#
What happened#
/events/streamFollow what happens, as server-sent events
after, app, envGives text/event-streamProjects#
/projects/{project}Change who may do what in a project without being a member
/projects/{project}Delete a project that has no apps
/projects/{project}/members/{user}Give someone a role in a project, by email address or ID
Users#
/usersCreate a user, with an invitation to choose a password
/users/{user}Change a user's role, or disable or enable them
/users/{user}/invitationMake a new one-time link for a user to choose a password
InvitationYou#
/me/passwordChange your password, which ends your other sessions
PasswordChange/me/sessionsEnd your sessions but the one in use
/me/sessions/{session}End one of your sessions
/me/ssh-keys/{key}Remove one of your SSH keys, by name or fingerprint
SSHKey/me/tokensCreate an API token; its secret is shown this once
Signing in#
/auth/deviceBegin a CLI's sign-in, to approve in a browser
/auth/device/tokenAsk whether a CLI's sign-in has been approved, and get its token
/auth/loginSign in with an email address and password, starting a session
/auth/logoutEnd the session, or revoke the token, in use
Notifications#
/notifications/channelsList where notifications can go; where each one goes is for administrators
NotificationChannel[]/notifications/channelsAdd a channel; the answer has what signs a webhook, which is not shown again
/notifications/channels/{channel}Remove a channel, and the rules that use it
/notifications/channels/{channel}/testSend a channel a test, and say how it went
NotificationChannel/notifications/readMark all you have been told as read
/notifications/rulesAdd a rule: of the whole server, which takes an admin, or of a project or an app, which takes a maintainer of it
/notifications/rules/{rule}Remove a rule
Container registries#
/registriesList the container registries the server has credentials for
Registry[]/registries/{host}Store the credentials of a container registry
/registries/{host}Forget the credentials of a container registry
The audit log#
/auditList who did what, newest first
The server#
/serverThe server's version and the prefixes of the apps' git remotes
ServerInfo/server/backups/configSay where backups go and how often
/server/configRead the server's settings, with no secrets in them
ServerConfig/server/config/importMake the server match a configuration, in what it mentions, or with dry_run say what that would do
/server/doctorCheck the server and what it depends on, as moor server doctor does
Check[]/server/ssoSet up signing in through a provider, once it has been found at its address
/server/ssoTurn off signing in through a provider, which gives passwords back
/server/telemetryAdd somewhere to send what apps say and do, or change the one of that name
/server/telemetry/{name}Stop sending to a sink
/server/telemetry/{name}/testSend something to a sink now, and say how that went
Webhooks from forges#
/hooks/{hook}Where a forge sends what happens, signed with the hook's secret
This document#
/openapi.jsonThis API's OpenAPI document
Documents#
What the routes above take and give, as JSON.
Access
| Field | Type | Required |
|---|---|---|
allow | string[] | Yes |
any_user | boolean | |
asked_in_vain | boolean | |
mode | string | Yes |
password_missing | boolean | |
password_set | boolean | |
setting | string | |
source | string | Yes |
AccessChange
| Field | Type | Required |
|---|---|---|
allow | string[] | |
any_user | boolean | |
mode | string | Yes |
password | string |
App
| Field | Type | Required |
|---|---|---|
created_at | date-time | Yes |
name | string | Yes |
production | Release | |
project | string | |
url | string | Yes |
AppChange
| Field | Type | Required |
|---|---|---|
name | string | |
project | string |
AppInfo
| Field | Type | Required |
|---|---|---|
builds | integer | Yes |
created_at | date-time | Yes |
data | integer | Yes |
logs | integer | Yes |
name | string | Yes |
production | Release | |
project | string | |
repository | integer | Yes |
url | string | Yes |
AppPage
| Field | Type | Required |
|---|---|---|
items | App[] | Yes |
next_cursor | string |
AuditEntry
| Field | Type | Required |
|---|---|---|
action | string | Yes |
actor | string | Yes |
at | date-time | Yes |
data | map of object | |
id | string | Yes |
ip | string | |
result | string | Yes |
target | string |
AuditEntryPage
| Field | Type | Required |
|---|---|---|
items | AuditEntry[] | Yes |
next_cursor | string |
Backup
| Field | Type | Required |
|---|---|---|
created_by | string | |
destination | string | Yes |
error | string | |
finished_at | date-time | |
id | string | Yes |
name | string | |
size | integer | |
started_at | date-time | Yes |
status | string | Yes |
trigger | string | Yes |
BackupConfig
| Field | Type | Required |
|---|---|---|
access_key | string | |
destination | string | Yes |
endpoint | string | |
keep | integer | Yes |
region | string | |
schedule | string | |
secret_key | string |
Backups
| Field | Type | Required |
|---|---|---|
access_key | string | |
destination | string | Yes |
endpoint | string | |
has_secret_key | boolean | Yes |
items | Backup[] | Yes |
keep | integer | Yes |
next_at | date-time | |
region | string | |
schedule | string |
Check
| Field | Type | Required |
|---|---|---|
detail | string | Yes |
fix | string | |
name | string | Yes |
status | string | Yes |
ConfigBackups
| Field | Type | Required |
|---|---|---|
access_key | string | |
destination | string | |
endpoint | string | |
keep | integer | |
region | string | |
schedule | string | |
secret_key | string |
ConfigChannel
| Field | Type | Required |
|---|---|---|
from | string | |
host | string | |
kind | string | Yes |
name | string | Yes |
password | string | |
port | integer | |
secret | string | |
to | string[] | |
url | string | |
username | string |
ConfigItem
| Field | Type | Required |
|---|---|---|
action | string | Yes |
name | string | Yes |
note | string | |
what | string | Yes |
ConfigProject
| Field | Type | Required |
|---|---|---|
everyone_role | string | |
members | map of string | |
name | string | Yes |
viewers_see_logs | boolean |
ConfigRegistry
| Field | Type | Required |
|---|---|---|
host | string | Yes |
password | string | |
username | string | Yes |
ConfigReport
| Field | Type | Required |
|---|---|---|
dry_run | boolean | Yes |
items | ConfigItem[] | Yes |
ConfigRule
| Field | Type | Required |
|---|---|---|
app | string | |
channel | string | Yes |
events | string[] | Yes |
project | string |
ConfigSignIn
| Field | Type | Required |
|---|---|---|
client_id | string | Yes |
client_secret | string | |
email_domains | string | |
group_claim | string | |
group_rules | string | |
issuer | string | Yes |
label | string | |
passwords_off | boolean | |
provision | boolean | |
scopes | string | |
trust_emails | boolean |
ConfigSink
| Field | Type | Required |
|---|---|---|
address | string | Yes |
app | string | |
headers | map of string | |
kind | string | Yes |
logs | boolean | |
metrics | boolean | |
name | string | Yes |
ConfigUser
| Field | Type | Required |
|---|---|---|
disabled | boolean | |
email | string | Yes |
name | string | |
role | string |
ContainerEngine
| Field | Type | Required |
|---|---|---|
kind | string | |
problem | string | |
reason | string | |
state | string | Yes |
version | string |
CreatedChannel
| Field | Type | Required |
|---|---|---|
created_at | date-time | |
created_by | string | |
error | string | |
id | string | Yes |
kind | string | Yes |
name | string | Yes |
secret | string | |
sent_at | date-time | |
target | string |
CreatedToken
| Field | Type | Required |
|---|---|---|
app | string | |
created_at | date-time | Yes |
envs | string | |
expires_at | date-time | |
id | string | Yes |
last_used_at | date-time | |
name | string | Yes |
scopes | string[] | Yes |
token | string | Yes |
CronJob
| Field | Type | Required |
|---|---|---|
command | string | Yes |
last | Run | |
name | string | Yes |
next | date-time | |
overlap | string | |
schedule | string | Yes |
timeout | string | Yes |
timezone | string |
DataFile
| Field | Type | Required |
|---|---|---|
kind | string | Yes |
link | boolean | |
modified | date-time | Yes |
name | string | Yes |
size | integer | Yes |
DataListing
| Field | Type | Required |
|---|---|---|
files | DataFile[] | Yes |
more | boolean | |
path | string | Yes |
Deployment
| Field | Type | Required |
|---|---|---|
app | string | Yes |
app_created | boolean | |
build | string | |
commit | string | |
created_at | date-time | Yes |
created_by | string | |
env | string | Yes |
error | string | |
finished_at | date-time | |
id | string | Yes |
message | string | |
output | string[] | |
ref | string | |
release | Release | |
source | string | Yes |
started_at | date-time | |
status | string | Yes |
url | string | Yes |
warnings | string[] |
DeploymentPage
| Field | Type | Required |
|---|---|---|
items | Deployment[] | Yes |
next_cursor | string |
DeviceAuthorization
| Field | Type | Required |
|---|---|---|
device_code | string | Yes |
expires_in | integer | Yes |
interval | integer | Yes |
user_code | string | Yes |
verification_url | string | Yes |
verification_url_complete | string | Yes |
DeviceRequest
| Field | Type | Required |
|---|---|---|
client | string | Yes |
DeviceToken
| Field | Type | Required |
|---|---|---|
token | string | Yes |
user | User | Yes |
DeviceTokenRequest
| Field | Type | Required |
|---|---|---|
device_code | string | Yes |
DiffLine
| Field | Type | Required |
|---|---|---|
op | string | Yes |
text | string | Yes |
Domain
| Field | Type | Required |
|---|---|---|
address | string | Yes |
checked_at | date-time | |
hostname | string | Yes |
prefix | string | |
problem | string | |
record | string | Yes |
strip_prefix | boolean | |
verified | boolean | Yes |
verified_at | date-time |
Environment
| Field | Type | Required |
|---|---|---|
app | string | Yes |
asleep | boolean | |
branch | string | |
expires_at | date-time | |
formation | map of integer | |
instances | Instance[] | Yes |
isolation | Isolation | |
kind | string | |
last_active_at | date-time | |
locked_by | string | |
name | string | Yes |
pinned | boolean | |
release | Release | |
stands_alone | boolean | |
url | string | Yes |
EnvironmentChange
| Field | Type | Required |
|---|---|---|
formation | map of integer | |
pinned | boolean |
Event
| Field | Type | Required |
|---|---|---|
actor | string | |
app | string | |
at | date-time | Yes |
data | map of object | |
env | string | |
id | string | Yes |
level | string | |
summary | string | Yes |
transient | boolean | |
type | string | Yes |
EventPage
| Field | Type | Required |
|---|---|---|
items | Event[] | Yes |
next_cursor | string |
Exit
| Field | Type | Required |
|---|---|---|
at | date-time | Yes |
code | integer | Yes |
signal | string |
FieldProblem
| Field | Type | Required |
|---|---|---|
detail | string | Yes |
field | string | Yes |
ForgeApproval
| Field | Type | Required |
|---|---|---|
commit | string | Yes |
ForgeConnect
| Field | Type | Required |
|---|---|---|
api_url | string | |
default_branch | string | |
kind | string | |
no_previews | boolean | |
poll | boolean | |
token | string | |
url | string | Yes |
ForgeConnection
| Field | Type | Required |
|---|---|---|
api_url | string | |
app | string | Yes |
created_at | date-time | Yes |
created_by | string | Yes |
default_branch | string | Yes |
has_token | boolean | Yes |
hook_url | string | Yes |
kind | string | Yes |
last_error | string | |
last_event_at | date-time | |
poll | boolean | Yes |
previews | boolean | Yes |
secret | string | |
url | string | Yes |
ForgePull
| Field | Type | Required |
|---|---|---|
approved_by | string | |
author | string | |
commit | string | Yes |
env | string | |
error | string | |
from_fork | boolean | |
number | integer | Yes |
state | string | Yes |
title | string | |
updated_at | date-time | Yes |
url | string |
GitInfo
| Field | Type | Required |
|---|---|---|
http | string | Yes |
ssh | string |
Inbox
| Field | Type | Required |
|---|---|---|
items | Notification[] | Yes |
unread | integer | Yes |
Instance
| Field | Type | Required |
|---|---|---|
healthy | boolean | Yes |
id | string | Yes |
index | integer | Yes |
last_exit | Exit | |
pid | integer | |
port | integer | |
process | string | Yes |
release | integer | Yes |
restarts | integer | Yes |
started_at | date-time | |
status | string | Yes |
Invitation
| Field | Type | Required |
|---|---|---|
expires_at | date-time | Yes |
url | string | Yes |
user | User | Yes |
Isolation
| Field | Type | Required |
|---|---|---|
cpu | number | |
enforced | boolean | Yes |
level | string | Yes |
memory | integer | |
pids | integer |
LogLine
| Field | Type | Required |
|---|---|---|
index | integer | Yes |
instance | string | Yes |
level | string | |
message | string | |
process | string | Yes |
source | string | |
stream | string | Yes |
text | string | Yes |
time | date-time | Yes |
LoginRequest
| Field | Type | Required |
|---|---|---|
code | string | |
email | string | Yes |
password | string | Yes |
LoginResult
| Field | Type | Required |
|---|---|---|
csrf_token | string | Yes |
user | User | Yes |
Me
| Field | Type | Required |
|---|---|---|
app | string | |
email | string | |
envs | string | |
id | string | |
local | boolean | |
name | string | Yes |
role | string | Yes |
scopes | string[] |
Member
| Field | Type | Required |
|---|---|---|
email | string | Yes |
name | string | |
role | string | Yes |
MemberChange
| Field | Type | Required |
|---|---|---|
role | string | Yes |
MetricChart
| Field | Type | Required |
|---|---|---|
key | string | Yes |
lines | MetricLine[] | Yes |
title | string | Yes |
unit | string | Yes |
MetricLine
| Field | Type | Required |
|---|---|---|
name | string | Yes |
points | MetricPoint[] | Yes |
MetricMark
| Field | Type | Required |
|---|---|---|
at | date-time | Yes |
by | string | |
version | integer | Yes |
MetricPoint
| Field | Type | Required |
|---|---|---|
at | date-time | Yes |
max | number | Yes |
min | number | Yes |
value | number | Yes |
Metrics
| Field | Type | Required |
|---|---|---|
charts | MetricChart[] | Yes |
deployments | MetricMark[] | Yes |
from | date-time | Yes |
step | integer | Yes |
to | date-time | Yes |
NewApp
| Field | Type | Required |
|---|---|---|
name | string | Yes |
project | string |
NewDomain
| Field | Type | Required |
|---|---|---|
address | string | Yes |
strip_prefix | boolean |
NewEnvironment
| Field | Type | Required |
|---|---|---|
branch | string | |
name | string | Yes |
NewNotificationChannel
| Field | Type | Required |
|---|---|---|
from | string | |
host | string | |
kind | string | Yes |
name | string | Yes |
password | string | |
port | integer | |
to | string[] | |
url | string | |
username | string |
NewNotificationRule
| Field | Type | Required |
|---|---|---|
app | string | |
channel | string | Yes |
events | string[] | Yes |
project | string |
NewPreview
| Field | Type | Required |
|---|---|---|
branch | string | Yes |
NewProject
| Field | Type | Required |
|---|---|---|
name | string | Yes |
NewRun
| Field | Type | Required |
|---|---|---|
command | string | Yes |
timeout | string |
NewSSHKey
| Field | Type | Required |
|---|---|---|
name | string | |
public_key | string | Yes |
NewShareLink
| Field | Type | Required |
|---|---|---|
expires | string | |
max_uses | integer |
NewTelemetrySink
| Field | Type | Required |
|---|---|---|
address | string | Yes |
app | string | |
headers | map of string | |
kind | string | Yes |
logs | boolean | Yes |
metrics | boolean | Yes |
name | string | Yes |
NewThreshold
| Field | Type | Required |
|---|---|---|
above | number | Yes |
metric | string | Yes |
minutes | integer |
NewToken
| Field | Type | Required |
|---|---|---|
app | string | |
envs | string | |
expires_at | date-time | |
name | string | Yes |
scopes | string[] | Yes |
NewUser
| Field | Type | Required |
|---|---|---|
email | string | Yes |
name | string | |
role | string |
Notification
| Field | Type | Required |
|---|---|---|
app | string | |
at | date-time | Yes |
env | string | |
id | string | Yes |
kind | string | Yes |
link | string | |
read_at | date-time | |
summary | string | Yes |
NotificationChannel
| Field | Type | Required |
|---|---|---|
created_at | date-time | |
created_by | string | |
error | string | |
id | string | Yes |
kind | string | Yes |
name | string | Yes |
sent_at | date-time | |
target | string |
NotificationRule
| Field | Type | Required |
|---|---|---|
app | string | |
channel | string | Yes |
created_at | date-time | Yes |
created_by | string | Yes |
events | string[] | Yes |
id | string | Yes |
project | string |
PasswordChange
| Field | Type | Required |
|---|---|---|
current | string | Yes |
new | string | Yes |
Problem
| Field | Type | Required |
|---|---|---|
code | string | |
detail | string | |
errors | FieldProblem[] | |
output | string[] | |
status | integer | Yes |
title | string | Yes |
type | string |
Project
| Field | Type | Required |
|---|---|---|
apps | string[] | |
created_at | date-time | Yes |
everyone | string | |
members | Member[] | |
name | string | Yes |
role | string | |
viewers_see_logs | boolean | Yes |
ProjectChange
| Field | Type | Required |
|---|---|---|
everyone | string | |
viewers_see_logs | boolean |
Promotion
| Field | Type | Required |
|---|---|---|
from | string | Yes |
Registry
| Field | Type | Required |
|---|---|---|
created_at | date-time | Yes |
host | string | Yes |
username | string | Yes |
RegistryLogin
| Field | Type | Required |
|---|---|---|
password | string | Yes |
username | string | Yes |
Release
| Field | Type | Required |
|---|---|---|
build | string | Yes |
created_at | date-time | Yes |
created_by | string | |
current | boolean | Yes |
files | integer | Yes |
reason | string | Yes |
size | integer | Yes |
url | string | |
version | integer | Yes |
ReleaseDetail
| Field | Type | Required |
|---|---|---|
build | string | Yes |
created_at | date-time | Yes |
created_by | string | |
current | boolean | Yes |
files | integer | Yes |
manifest | string | Yes |
plan | object | Yes |
reason | string | Yes |
size | integer | Yes |
url | string | |
version | integer | Yes |
ReleaseDiff
| Field | Type | Required |
|---|---|---|
build_changed | boolean | Yes |
from | integer | Yes |
manifest | DiffLine[] | Yes |
to | integer | Yes |
vars | VarDiff[] | Yes |
ReleasePage
| Field | Type | Required |
|---|---|---|
items | Release[] | Yes |
next_cursor | string |
RevealedVar
| Field | Type | Required |
|---|---|---|
name | string | Yes |
value | string | Yes |
RollbackRequest
| Field | Type | Required |
|---|---|---|
version | integer | |
with_config | boolean |
Run
| Field | Type | Required |
|---|---|---|
app | string | Yes |
command | string | Yes |
created_by | string | |
env | string | Yes |
error | string | |
exit_code | integer | |
finished_at | date-time | |
id | string | Yes |
job | string | |
started_at | date-time | Yes |
status | string | Yes |
trigger | string | Yes |
version | integer |
SSHKey
| Field | Type | Required |
|---|---|---|
created_at | date-time | Yes |
fingerprint | string | Yes |
id | string | Yes |
last_used_at | date-time | |
name | string | Yes |
public_key | string | Yes |
SSOConfig
| Field | Type | Required |
|---|---|---|
client_id | string | Yes |
client_secret | string | |
email_domains | string | |
group_claim | string | |
group_rules | string | |
has_secret | boolean | Yes |
issuer | string | Yes |
label | string | |
passwords_off | boolean | Yes |
provision | boolean | Yes |
redirect_url | string | |
scopes | string | |
trust_emails | boolean |
ServerConfig
| Field | Type | Required |
|---|---|---|
backups | ConfigBackups | |
channels | ConfigChannel[] | |
format | integer | Yes |
projects | ConfigProject[] | |
registries | ConfigRegistry[] | |
rules | ConfigRule[] | |
sign_in | ConfigSignIn | |
sinks | ConfigSink[] | |
users | ConfigUser[] |
ServerInfo
| Field | Type | Required |
|---|---|---|
containers | ContainerEngine | Yes |
git | GitInfo | Yes |
version | string | Yes |
Service
| Field | Type | Required |
|---|---|---|
created_at | date-time | Yes |
created_by | string | |
image | string | Yes |
memory_bytes | integer | |
name | string | Yes |
old_volume | string | |
port | integer | Yes |
running | boolean | Yes |
state | string | Yes |
type | string | Yes |
unknown | boolean | |
unused | boolean | |
variable | string | Yes |
version | string |
ServiceChange
| Field | Type | Required |
|---|---|---|
log | string | Yes |
ServiceLog
| Field | Type | Required |
|---|---|---|
log | string | Yes |
ServiceUpgrade
| Field | Type | Required |
|---|---|---|
image | string | |
version | string | Yes |
Session
| Field | Type | Required |
|---|---|---|
created_at | date-time | Yes |
current | boolean | |
expires_at | date-time | Yes |
id | string | Yes |
ip | string | |
last_seen_at | date-time | Yes |
user_agent | string |
ShareLink
| Field | Type | Required |
|---|---|---|
created_at | date-time | Yes |
created_by | string | Yes |
expires_at | date-time | Yes |
id | string | Yes |
last_used_at | date-time | |
max_uses | integer | |
revoked_at | date-time | |
url | string | |
uses | integer | Yes |
TelemetrySink
| Field | Type | Required |
|---|---|---|
address | string | Yes |
app | string | |
created_at | date-time | Yes |
created_by | string | Yes |
dropped | integer | Yes |
has_headers | boolean | Yes |
kind | string | Yes |
last_error | string | |
last_sent_at | date-time | |
logs | boolean | Yes |
metrics | boolean | Yes |
name | string | Yes |
Threshold
| Field | Type | Required |
|---|---|---|
above | number | Yes |
created_at | date-time | Yes |
created_by | string | Yes |
firing | boolean | Yes |
id | string | Yes |
label | string | Yes |
metric | string | Yes |
minutes | integer | Yes |
value | number |
Token
| Field | Type | Required |
|---|---|---|
app | string | |
created_at | date-time | Yes |
envs | string | |
expires_at | date-time | |
id | string | Yes |
last_used_at | date-time | |
name | string | Yes |
scopes | string[] | Yes |
User
| Field | Type | Required |
|---|---|---|
created_at | date-time | Yes |
disabled | boolean | |
email | string | Yes |
id | string | Yes |
name | string | Yes |
role | string | Yes |
UserChange
| Field | Type | Required |
|---|---|---|
disabled | boolean | |
role | string |
UserPage
| Field | Type | Required |
|---|---|---|
items | User[] | Yes |
next_cursor | string |
Var
| Field | Type | Required |
|---|---|---|
build | boolean | |
declared | boolean | |
description | string | |
missing | boolean | |
name | string | Yes |
overridden | boolean | |
secret | boolean | |
source | string | Yes |
updated_at | date-time | |
updated_by | string | |
value | string |
VarDiff
| Field | Type | Required |
|---|---|---|
change | string | Yes |
name | string | Yes |
secret | boolean |
VarSet
| Field | Type | Required |
|---|---|---|
build | boolean | |
name | string | Yes |
production_only | boolean | |
secret | boolean | |
value | string | Yes |
VarsChange
| Field | Type | Required |
|---|---|---|
all_envs | boolean | |
no_restart | boolean | |
set | VarSet[] | |
unset | string[] |
VarsResult
| Field | Type | Required |
|---|---|---|
app | string | Yes |
app_created | boolean | |
deployment | Deployment | |
env | string | Yes |
not_set | string[] |