Registries are 3rd party registries where the images of versions are located. Learn more about registries here.
Projects
There are two kinds of projects in dyrector.io: versionless and versioned. Versionless projects make up one deployable unit without versioning, while versioned projects come with multiple rolling or incremental versions. More details here.
Versions
Versions belong to versioned projects. Versionless projects act similar to a rolling version of a versioned project.
The purpose of versions is to separate different variations of your project. They can be either rolling or incremental. One versionless project can have multiple versions of both types. More details about rolling and incremental versions here.
Version/Images
Images make up a versioned project's version, or a versionless project.
Teams
Teams are the shared entity of multiple users. The purpose of teams is to separate users, nodes and projects based on their needs within an organization. Team owners can assign roles. More details about teams here.
Users/Me
Users/Me cover endpoints related to your user profile.
Deployments
Deployments are the process that gets the installation of your versions or versionless projects done on the node of your choice. More details about deployments here.
Tokens
Tokens are the access tokens that grant you access to a user profile and the teams the profile is a member of.
Nodes
Nodes are the deployment targets. Nodes are registered by installing at least one of the agents – crane for Kubernetes, dagent for Docker. These agents connect the platform to your node. One team can have as many nodes as they like.
Node installation takes place with Shell or PowerShell scripts, which can be created or revoked. More details here.
Audit log
Audit log is a log of team activity generated by the platform.
Health
Health refers to the status of the different services that make up the platform. It can be checked to see if the platform works properly.
Notifications
Notifications are chat notifications in Slack, Discord, and Teams. They send an automated message about deployments, new versions, new nodes, and new users. More details here.
Templates
Templates are preset applications that can be turned into a project right away. They can be deployed with minimal configuration. More details about templates here.
Dashboard
Dashboard summarizes the latest activities of a team.
Storages
Storages are S3 compatible memory storages. They can be used for file injection. More details here.
Last updated
Sets the onboarding tips to visible for the user.
Enable onboarding tips.
PUT/api/users/me/preferences/onboarding
Response
Enabled.
Request
Sets the onboarding tips to hidden for the user.
Disable onboarding tips.
DELETE/api/users/me/preferences/onboarding
Response
Disabled.
Request
Fetch data of registries.
Lists every registries available in the active team. Request must include teamSlug in URL. Response is an array including the name, id, type, description, and icon of the registry.Registries are 3rd party registries where the container images are stored.
GET/api/{teamSlug}/registries
Path parameters
teamSlug*string
Response
Data of all registries within a team listed.
Body
type*enum
v2hubgitlabgithubgoogleunchecked
id*string
name*string
descriptionnullable string
iconnullable string
url*string
Request
Response
Delete a registry from dyrector.io.
Deletes a registry with the specified registryId. teamSlug and RegistryID are required in URL.
DELETE/api/{teamSlug}/registries/{registryId}
Path parameters
teamSlug*string
registryId*string
Response
Registry deleted.
Request
Delete a project.
Deletes a project with the specified projectId. teamSlug and ProjectID are required in URL.
DELETE/api/{teamSlug}/projects/{projectId}
Path parameters
teamSlug*string
projectId*string
Response
Project deleted.
Request
Convert a project to versioned.
Converts a project to versioned with the specified projectId. teamSlug and ProjectID are required in URL.
POST/api/{teamSlug}/projects/{projectId}/convert
Path parameters
teamSlug*string
projectId*string
Response
Project converted.
Request
Delete a version.
This call deletes a version. teamSlug, ProjectId and VersionId must be included in URL. projectId refers to the project's ID, versionId refers to the version's ID.
Delete an image. projectId refers to the project's ID, versionId refers to the version's ID, imageId refers to the image's ID. All, and teamSlug are required in the URL.
Request must include teamId. Owner access required for successful request.
DELETE/api/teams/{teamId}
Path parameters
teamId*string
Response
Team deleted.
Request
Remove the current user from the team.
Removes the current user from the team. Request must include teamId.
DELETE/api/teams/{teamId}/users/leave
Path parameters
teamId*string
Response
User removed from a team.
Request
Remove a user from the team.
Removes the user from the team. Request must include teamId, userId. Admin access required for a successful request.
DELETE/api/teams/{teamId}/users/{userId}
Path parameters
teamId*string
userId*string
Response
User removed from a team.
Request
Reinvite user with a pending invite status to a team.
This call sends a new invitation link to a user who hasn't accepted invitation to a team.Request must include teamId, userId. Admin access required for a successful request.
POST/api/teams/{teamId}/users/{userId}/reinvite
Path parameters
teamId*string
userId*string
Response
New invite link sent.
Request
Accept invitation to a team.
Request must include teamId.
POST/api/users/me/invitations/{teamId}
Path parameters
teamId*string
Response
Invitation accepted.
Request
Decline invitation to a team.
Request must include teamId.
DELETE/api/users/me/invitations/{teamId}
Path parameters
teamId*string
Response
Invitation declined.
Request
Delete deployment.
Request must include teamSlug and deploymentId in the URL.
DELETE/api/{teamSlug}/deployments/{deploymentId}
Path parameters
teamSlug*string
deploymentId*string
Response
Deployment deleted.
Request
Delete deployment token.
Request must include teamSlug and deploymentId in the URL.
Deletes a storage. Request must include teamSlug and storageId in URL.
DELETE/api/{teamSlug}/storages/{storageId}
Path parameters
teamSlug*string
storageId*string
Response
Storage deleted.
Request
Turn version into a default one of the versioned project other versions under it will inherit images and deployments from.
This call turns a version into the default one, resulting other versions within this project later inherit images, deployments and their configurations from it. teamSlug, ProjectId and VersionId must be included in URL. projectId refers to the project's ID, versionId refers to the version's ID.
Response should include status, version of the platform and lastMigration of database.
GET/api/health
Response
Service status.
Body
status*object
version*string
lastMigrationstring
Request
Response
Edit image deployment order of a version.
Edit image deployment order of a version. projectId refers to the project's ID, versionId refers to the version's ID. Both, and teamSlug are required in the URL. Request body should include the IDs of the images in an array.
Request must include the teamSlug in URL, and node's name in body. Response should include type, status, description, icon, address, connectedAt date, version, updating, id, name, hasToken, and install details.
GET/api/{teamSlug}/nodes/{nodeId}/script
Path parameters
teamSlug*string
nodeId*string
Response
Body
string
Request
Response
List of tokens.
Access token's support is to provide secure access to the HTTP api without a cookie.
GET/api/tokens
Response
Token list fetched.
Body
id*string
name*string
expiresAtstring (date-time)
createdAt*string (date-time)
Request
Response
Return list of templates on the platform.
Response should include id, name, description and technologies of templates.
GET/api/templates
Response
Templates listed.
Body
id*string
name*string
descriptionstring
technologies*array of string
Request
Response
Start the deployment process.
Request must include teamSlug and deploymentId in the URL.
Response should include description, icon, url, id, and name. teamSlug is required in URL.
GET/api/{teamSlug}/storages
Path parameters
teamSlug*string
Response
List of storages.
Body
descriptionstring
iconstring
url*string
id*string
name*string
Request
Response
Fetch the name and ID of available storage options.
Response should include id, and name. teamSlug is required in URL.
GET/api/{teamSlug}/storages/options
Path parameters
teamSlug*string
Response
Name and ID of storage options listed.
Body
id*string
name*string
Request
Response
Edit user role.
Promotes or demotes the user. Request must include teamId, userId and role. Admin access required for a successful request.
PUT/api/teams/{teamId}/users/{userId}/role
Path parameters
teamId*string
userId*string
Body
role*enum
owneradminuser
Response
User's role modified.
Request
Retrieve notifications that belong to a team.
Response should include teamSlug in the URL, type, id, name, url, active, and creatorName in the body.
GET/api/{teamSlug}/notifications
Path parameters
teamSlug*string
Response
Notifications listed.
Body
type*enum
discordslackteams
id*string
name*string
url*string
active*boolean
creatorName*string
Request
Response
Modify version.
Updates a version's name and changelog. teamSlug, ProjectId and VersionId must be included in URL. projectId refers to the project's ID, versionId refers to the version's ID.
Request must include teamId and name. Admin access required for a successful request.
PUT/api/teams/{teamId}
Path parameters
teamId*string
Body
slug*string
name*string
Response
Team name modified.
Request
Fetch token details.
Access token's details are name, id, and the time of creation and expiration. Request must include tokenId.
GET/api/tokens/{tokenId}
Path parameters
tokenId*string
Response
Token details listed.
Body
id*string
name*string
expiresAtstring (date-time)
createdAt*string (date-time)
Request
Response
Update details of a node.
Request must include the teamSlug in URL, and node's name in body, body can include description and icon.
PUT/api/{teamSlug}/nodes/{nodeId}
Path parameters
teamSlug*string
nodeId*string
Body
name*string
descriptionstring
iconstring
Response
Node details modified.
Request
Update a project.
Updates a project. teamSlug is required in URL, as well as projectId to identify which project is modified, name, description and changelog can be adjusted with this call.
PUT/api/{teamSlug}/projects/{projectId}
Path parameters
teamSlug*string
projectId*string
Body
name*string
descriptionnullable string
changelognullable string
Response
Project details are modified.
Request
Fetch data of teams the user is a member of.
List of teams consist of name, id, and statistics, including number of users, projects, nodes, versions, and deployments.Teams are the shared entity of multiple users. The purpose of teams is to separate users, nodes and projects based on their needs within an organization. Team owners can assign roles. More details about teams here.
GET/api/teams
Response
List of teams and their statistics.
Body
statistics*TeamStatisticsDto (object)
id*string
name*string
slug*string
Request
Response
Return details of a storage.
Get the details of a storage. Request must include teamSlug and storageId in URL. Response should include description, icon, url, id, name, accessKey, secretKey, and inUse.
GET/api/{teamSlug}/storages/{storageId}
Path parameters
teamSlug*string
storageId*string
Response
Storage details.
Body
descriptionstring
iconstring
url*string
id*string
name*string
accessKeystring
secretKeystring
inUse*boolean
Request
Response
Modify a storage.
Updates a storage. Request must include teamSlugand storageId in URL. name, and url must be included in body. Request body may include description, icon, accesKey, and secretKey.
PUT/api/{teamSlug}/storages/{storageId}
Path parameters
teamSlug*string
storageId*string
Body
name*string
descriptionstring
iconstring
url*string
accessKeystring
secretKeystring
Response
Storage updated.
Request
Get data of nodes that belong to your team.
Fetch data of deployment targets. Request must include teamSlug in URL. Response should include an array with the node's type, status, description, icon, address, connectedAt date, version, updating, id, and name.
GET/api/{teamSlug}/nodes
Path parameters
teamSlug*string
Response
Data of nodes listed.
Body
type*enum
dockerk8s
statusenum
unreachableconnectedoutdated
descriptionstring
iconstring
addressstring
connectedAtstring (date-time)
versionstring
updatingboolean
id*string
name*string
Request
Response
Fetch details of a notification.
Request must include teamSlug and notificationId parameters in URL. Response should include type, enabledEvents, id, name, url, active, and creatorName.
GET/api/{teamSlug}/notifications/{notificationId}
Path parameters
teamSlug*string
notificationId*string
Response
Details of notification listed.
Body
type*enum
discordslackteams
enabledEvents*array of enum
id*string
name*string
url*string
active*boolean
creatorName*string
Request
Response
Fetch secrets of a soon-to-be container.
Request must include teamSlug, deploymentId and instanceId, which refer to the ID of a deployment and the instance, needs to be included in URL. Response should include container prefix and name, and publicKey, keys.
Creates a new storage. Request must include teamSlug in URL, body is required to include name, and url. Request body may include description, icon, accesKey, and secretKey. Response should include description, icon, url, id, name, accessKey, secretKey, and inUse.
POST/api/{teamSlug}/storages
Path parameters
teamSlug*string
Body
name*string
descriptionstring
iconstring
url*string
accessKeystring
secretKeystring
Response
New storage created.
Body
descriptionstring
iconstring
url*string
id*string
name*string
accessKeystring
secretKeystring
inUse*boolean
Request
Response
Fetch audit log.
Request must include teamSlug in URL, and its body must include skip, take, and dates of from and to. Response should include an array of items: createdAt date, event, and data.
GET/api/{teamSlug}/nodes/{nodeId}/audit
Path parameters
teamSlug*string
nodeId*string
Query parameters
Response
Paginated list of the audit log.
Body
items*array of NodeAuditLogDto (object)
total*number
Request
Response
Update deployment.
Request must include deploymentId and teamSlug in URL.
PATCH/api/{teamSlug}/deployments/{deploymentId}
Path parameters
teamSlug*string
deploymentId*string
Body
notenullable string
prefixnullable string
environmentnullable array of UniqueKeyValueDto (object)
Response
Deployment modified.
Request
Fetch data of all images of a version.
Fetch details of images within a version. ProjectId refers to the project's ID, versionId refers to the version's ID. Both, and teamSlug are required in the URL.Details come in an array, including name, id, tag, order, and config details of the image.
Request must include name, which is going to be the name of the newly made team. Response should include name, id, and statistics, including number of users, projects, nodes, versions, and deployments.
POST/api/teams
Body
slug*string
name*string
Response
New team created.
Headers
Body
statistics*TeamStatisticsDto (object)
id*string
name*string
slug*string
Request
Response
Create a new notification.
Request must include teamSlug in the URL, type, enabledEvents, id, name, url, and active in the body. Response should list type, enabledEvents, id, name, url, active, and creatorName.
POST/api/{teamSlug}/notifications
Path parameters
teamSlug*string
Body
type*enum
discordslackteams
enabledEvents*array of enum
name*string
url*string
active*boolean
Response
New notification created.
Body
type*enum
discordslackteams
enabledEvents*array of enum
id*string
name*string
url*string
active*boolean
creatorName*string
Request
Response
Fetch the projects list.
Returns a list of a team's projects and their details. teamSlug needs to be included in URL.
GET/api/{teamSlug}/projects
Path parameters
teamSlug*string
Response
List of projects.
Body
type*enum
versionlessversioned
descriptionnullable string
versionCountnumber
audit*AuditDto (object)
id*string
name*string
Request
Response
Fetch the list of all the versions under a project.
Returns an array containing the every version that belong to a project. teamSlug and ProjectId must be included in URL. ProjectId refers to the project's ID. Details include the version's name, id, type, audit log details, changelog, and increasibility.
GET/api/{teamSlug}/projects/{projectId}/versions
Path parameters
teamSlug*string
projectId*string
Query parameters
Response
Returns an array with every versions of a project.
Body
type*enum
incrementalrolling
audit*AuditDto (object)
changelogstring
default*boolean
increasable*boolean
id*string
name*string
Request
Response
Increase a the version of a versioned project with a new version.
Increases the version of a project with a new child version. teamSlug, ProjectId and VersionId must be included in URL. projectId refers to the project's ID, versionId refers to the version's ID. name refers to the name of the new version, and is required in the body.
Add new images to a version. projectId refers to the project's ID, versionId refers to the version's ID. These, and teamSlug are required in the URL. registryId refers to the registry's ID, images refers to the name(s) of the images you'd like to add. These are required variables in the body.
Creates a new version in a project. projectId refers to the project's ID. teamSlug and ProjectId must be included in URL, request's body need to include name and type of the version, changelog is optionable. Response should include the name, id, changelog, increasibility, type, and audit log details of the version.
POST/api/{teamSlug}/projects/{projectId}/versions
Path parameters
teamSlug*string
projectId*string
Body
type*enum
incrementalrolling
name*string
changelogstring
Response
New version created.
Body
type*enum
incrementalrolling
audit*AuditDto (object)
changelogstring
default*boolean
increasable*boolean
id*string
name*string
Request
Response
Creates a new project from the selected template.
Request must include type, id, and name. Response should include id, name, description, type, and audit log details of templates.
POST/api/templates
Body
type*enum
versionlessversioned
id*string
teamSlug*string
name*string
descriptionstring
Response
New project created.
Body
type*enum
versionlessversioned
descriptionnullable string
audit*AuditDto (object)
id*string
name*string
Request
Response
Create deployment token.
Request must include teamSlug and deploymentId in the URL. In the body a name and optionally the expiration date as expirationInDays.
Create a new project for a team. teamSlug needs to be included in URL. Newly created team has a type and a name as required variables, and optionally a description and a changelog.
POST/api/{teamSlug}/projects
Path parameters
teamSlug*string
Body
type*enum
versionlessversioned
name*string
descriptionnullable string
changelognullable string
Response
New project created.
Body
type*enum
versionlessversioned
descriptionnullable string
versionCountnumber
audit*AuditDto (object)
id*string
name*string
Request
Response
Fetch data of all containers on a node.
Request must include nodeId and prefix. Response should include id, command, createdAt, state, status, imageName, imageTag and ports of images.
GET/api/{teamSlug}/nodes/{nodeId}/containers
Path parameters
nodeId*string
Query parameters
Response
Fetch data of containers running on a node.
Body
state*enum
runningwaitingexited
id*ContainerIdentifierDto (object)
command*string
createdAt*string (date-time)
reason*string
imageName*string
imageTag*string
ports*array of ContainerPort (object)
Request
Response
Modify a notification.
Request must include teamSlug in the URL, type, enabledEvents, id, name, url, and active in the body. Response should include type, enabledEvents, id, name, url, active, and creatorName.
PUT/api/{teamSlug}/notifications/{notificationId}
Path parameters
teamSlug*string
notificationId*string
Body
type*enum
discordslackteams
enabledEvents*array of enum
name*string
url*string
active*boolean
Response
Notification modified.
Body
type*enum
discordslackteams
enabledEvents*array of enum
id*string
name*string
url*string
active*boolean
creatorName*string
Request
Response
Create new node.
Request must include the teamSlug in URL, and node's name in body. Response should include an array with the node's type, status, description, icon, address, connectedAt date, version, updating, id, and name.
POST/api/{teamSlug}/nodes
Path parameters
teamSlug*string
Body
name*string
descriptionstring
iconstring
Response
New node created.
Body
type*enum
dockerk8s
statusenum
unreachableconnectedoutdated
descriptionstring
iconstring
addressstring
connectedAtstring (date-time)
versionstring
updatingboolean
id*string
name*string
Request
Response
Fetch audit log.
Request must include skip, take, and dates of from and to. Response should include an array of items: createdAt date, userId, email, serviceCall, and data.
GET/api/{teamSlug}/audit-log
Path parameters
teamSlug*string
Query parameters
Response
Paginated list of the audit log.
Body
items*array of AuditLogDto (object)
total*number
Request
Response
Invite a new user to the team.
Request must include teamId, email and firstName. Admin access required for a successful request.Response should include new user's name, id, role, status, email, and lastLogin. Admin access required for a successful request.
POST/api/teams/{teamId}/users
Path parameters
teamId*string
Body
email*string
firstName*string
lastNamestring
captchastring
Response
User invited.
Headers
Body
role*enum
owneradminuser
status*enum
pendingverifiedexpireddeclined
email*string
lastLoginstring (date-time)
id*string
name*string
Request
Response
Get data of nodes that belong to your team.
Fetch data of a specific node. Request must include teamSlug in URL, and nodeId in body. Response should include an array with the node's type, status, description, icon, address, connectedAt date, version, updating, id, name, hasToken, and agent installation details.
GET/api/{teamSlug}/nodes/{nodeId}
Path parameters
teamSlug*string
nodeId*string
Response
Data of the node.
Body
type*enum
dockerk8s
statusenum
unreachableconnectedoutdated
descriptionstring
iconstring
addressstring
connectedAtstring (date-time)
versionstring
updatingboolean
id*string
name*string
hasToken*boolean
installNodeInstallDto (object)
inUse*boolean
Request
Response
Modify the details of a registry.
Modify the name, type, description, details, and icon. RegistryId refers to the registry's ID. teamSlug and RegistryID is required in URL, body must include type, details, and name.
PUT/api/{teamSlug}/registries/{registryId}
Path parameters
teamSlug*string
registryId*string
Body
type*enum
groupproject
details*one of
name*string
descriptionnullable string
iconnullable string
Response
Registry modified.
Request
Fetch details of a project.
Returns a project's details. teamSlug and ProjectID needs to be included in URL. The response should contain an array, consisting of the project's name, id, type, description, deletability, versions and version related data, including version name and id, changelog, increasibility.
GET/api/{teamSlug}/projects/{projectId}
Path parameters
teamSlug*string
projectId*string
Response
Details of a project.
Body
type*enum
versionlessversioned
descriptionnullable string
deletable*boolean
versions*array of VersionDto (object)
audit*AuditDto (object)
id*string
name*string
Request
Response
Fetch the current user.
Response includes the user, teams, and invitations.
POST/api/users/me
Response
Fetch the current user.
Body
user*BasicUserDto (object)
teams*array of UserMetaTeamDto (object)
invitations*array of BasicTeamDto (object)
Request
Response
Fetch the list of deployments.
Get the list of deployments. Request needs to include teamSlug in URL. A deployment should include id, prefix, status, note, audit log details, project name, id, type, version name, type, id, and node name, id, type.
GET/api/{teamSlug}/deployments
Path parameters
teamSlug*string
Response
List of deployments.
Body
status*enum
preparingin-progresssuccessfulfailedobsolete
notenullable string
audit*AuditDto (object)
project*BasicProjectDto (object)
version*BasicVersionDto (object)
node*BasicNodeDto (object)
id*string
prefix*string
Request
Response
Fetch data of a registry.
Lists the details of a registry. Request must include teamSlug and RegistryID in URL. registryId refers to the registry's ID. Response is an array including the name, id, type, description, imageNamePrefix, inUse, icon, and audit log info of the registry.
GET/api/{teamSlug}/registries/{registryId}
Path parameters
teamSlug*string
registryId*string
Response
Data of a registry listed.
Body
type*enum
groupproject
details*one of
id*string
name*string
descriptionnullable string
iconnullable string
inUse*boolean
createdAt*string (date-time)
updatedAt*string (date-time)
Request
Response
Fetch event log of a deployment.
Request must include teamSlug and deploymentId in the URL. Response should include an items array with objects of type, deploymentStatus, createdAt, log, and containerState which consists of state and instanceId.
GET/api/{teamSlug}/deployments/{deploymentId}/log
Path parameters
teamSlug*string
deploymentId*string
Query parameters
Response
Deployment event log.
Body
items*array of DeploymentEventDto (object)
total*number
Request
Response
Create agent install script.
Request must include teamSlug in URL and nodeId, type, and scriptType.
POST/api/{teamSlug}/nodes/{nodeId}/script
Path parameters
teamSlug*string
nodeId*string
Body
type*enum
dockerk8s
scriptType*enum
shellpowershell
rootPathstring
dagentTraefikDagentTraefikOptionsDto (object)
Response
Install script generated.
Body
command*string
script*string
expireAt*string (date-time)
Request
Response
Copy deployment.
Request must include teamSlug and deploymentId in the URL, which will be copied. The body must include the nodeId, prefix and optionally a note. Response should include deployment data: id, prefix, status, note, and miscellaneous details of audit log, project, version, and node.
Get the details of a team. Request must include teamId, which is the ID of the team they'd like to get the data of. Data of teams consist of name, id, and statistics, including number of users, projects, nodes, versions, and deployments. Response should include user details, as well, including name, id, role, status, email, and lastLogin.
GET/api/teams/{teamId}
Path parameters
teamId*string
Response
Details of the team.
Body
statistics*TeamStatisticsDto (object)
id*string
name*string
slug*string
users*array of UserDto (object)
Request
Response
Create new deployment.
Request must include teamSlug in URL, versionId, nodeId, and prefix, which refers to the ID of a version, a node and the prefix of the deployment, must be included in body. Response should include deployment id, prefix, status, note, and audit log details, as well as project type, id, name, version type, id, name, and node type, id, name.
POST/api/{teamSlug}/deployments
Path parameters
teamSlug*string
Body
versionId*string
nodeId*string
prefix*string
notenullable string
Response
New deployment created.
Body
status*enum
preparingin-progresssuccessfulfailedobsolete
notenullable string
audit*AuditDto (object)
project*BasicProjectDto (object)
version*BasicVersionDto (object)
node*BasicNodeDto (object)
id*string
prefix*string
Request
Response
Create a new registry.
To add a new registry, include teamSlug in URL, body must include name, type, description, details, and icon. Type, details, and name are required. Response is an array including the name, id, type, description, imageNamePrefix, inUse, icon, and audit log info of the registry.
POST/api/{teamSlug}/registries
Path parameters
teamSlug*string
Body
type*enum
groupproject
details*one of
name*string
descriptionnullable string
iconnullable string
Response
New registry created.
Headers
Body
type*enum
groupproject
details*one of
id*string
name*string
descriptionnullable string
iconnullable string
inUse*boolean
createdAt*string (date-time)
updatedAt*string (date-time)
Request
Response
Fetch dashboard data of latest activities.
teamSlug is required in URL. Response should include users, number of auditLogEntries, projects, versions, deployments, failedDeployments, details of nodes, latestDeployments and auditLog entries.
GET/api/{teamSlug}/dashboard
Path parameters
teamSlug*string
Response
Dashboard data listed.
Body
users*number
auditLog*number
projects*number
versions*number
deployments*number
failedDeployments*number
onboarding*OnboardingDto (object)
Request
Response
Retrieve the details of a version of a project.
Returns the details of a version in the project. teamSlug and ProjectId must be included in URL. projectId refers to the project's ID, versionId refers to the version's ID. Details include the version's name, id, type, audit log details, changelog, increasibility, mutability, deletability, and all image related data, including name, id, tag, order and configuration data of the images.
deployments*array of DeploymentWithBasicNodeDto (object)
Request
Response
Retrieve details of a deployment.
Get details of a certain deployment. Request must include teamSlug and deploymentId in URL. Deployment details should include id, prefix, environment, status, note, audit log details, project name, id, type, version name, type, id, and node name, id, type.
GET/api/{teamSlug}/deployments/{deploymentId}
Path parameters
teamSlug*string
deploymentId*string
Response
Details of a deployment.
Body
status*enum
preparingin-progresssuccessfulfailedobsolete
notenullable string
audit*AuditDto (object)
project*BasicProjectDto (object)
version*BasicVersionDto (object)
node*BasicNodeDto (object)
id*string
prefix*string
environment*array of UniqueKeyValueDto (object)
publicKeynullable string
instances*array of InstanceDto (object)
lastTry*number
token*DeploymentTokenDto (object)
Request
Response
Update instance configuration.
Request must include teamSlug, deploymentId, instanceId in URL, and portion of the instance configuration as config in the body. Response should include config variables in an array.
Request must include teamSlug, deploymentId and instanceId, which refer to the ID of a deployment and the instance, in the URL. Instances are the manifestation of an image in the deployment. Response should include state, id, updatedAt, and image details including id, name, tag, order and config variables.
Modify the configuration variables of an image. projectId refers to the project's ID, versionId refers to the version's ID, imageId refers to the image's ID. All, and teamSlug are required in the URL. Tag refers to the version of the image, config is an object of configuration variables.
Fetch details of an image within a version. projectId refers to the project's ID, versionId refers to the version's ID, imageId refers to the image's ID. All, and teamSlug are required in the URL.Image details consists name, id, tag, order, and the config of the image.