Wodby 2 Public API (1.0.0)

Download OpenAPI specification:

REST API for automating Wodby 2. Manage organizations, projects, apps, environments, clusters, databases and integrations, authenticated with an API key.

user

Authenticated user account profile.

Get current user

Returns the authenticated user account.

Authorizations:
apiKeyHeader

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "email": "string",
  • "name": "string",
  • "orgs": [
    ],
  • "twofa": true,
  • "defaultOrg": {
    },
  • "defaultProjects": [
    ],
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Update current user

Updates the authenticated user's basic profile and returns the updated account.

Authorizations:
apiKeyHeader
Request Body schema: application/json
required
name
required
string

Responses

Request samples

Content type
application/json
{
  • "name": "string"
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "email": "string",
  • "name": "string",
  • "orgs": [
    ],
  • "twofa": true,
  • "defaultOrg": {
    },
  • "defaultProjects": [
    ],
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

orgs

Organizations that own projects, resources, and access scopes.

List orgs

Returns orgs matching the request filters.

Authorizations:
apiKeyHeader

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Get org

Returns the org identified by the request path.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "domain": "string",
  • "defaultTimeZone": "America/New_York",
  • "ciIntegrationId": 0,
  • "registryIntegrationId": 0,
  • "settings": {
    },
  • "capabilities": {
    },
  • "subscription": {
    },
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Update org

Updates the org and returns the updated resource.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
title
required
string
defaultTimeZone
string
registryIntegrationId
integer or null

Omit or use null to preserve the current default, use 0 for the built-in registry, or use an organization-owned registry integration ID.

ciIntegrationId
integer or null

Omit or use null to preserve the current default, use 0 for the built-in CI service, or use an organization-owned CI integration ID.

Responses

Request samples

Content type
application/json
{
  • "title": "string",
  • "defaultTimeZone": "America/New_York",
  • "registryIntegrationId": 0,
  • "ciIntegrationId": 0
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "domain": "string",
  • "defaultTimeZone": "America/New_York",
  • "ciIntegrationId": 0,
  • "registryIntegrationId": 0,
  • "settings": {
    },
  • "capabilities": {
    },
  • "subscription": {
    },
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Preflight app-service capacity

Evaluates whether the organization can add the requested number of enabled app services under the backend's effective billing policy.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
additionalUsage
required
integer >= 0

Number of enabled app services the operation would add.

Responses

Request samples

Content type
application/json
{
  • "additionalUsage": 0
}

Response samples

Content type
application/json
{
  • "allowed": true,
  • "enforced": true,
  • "usage": 0.1,
  • "usageIncluded": 0.1,
  • "projectedUsage": 0.1
}

Update organization settings

Updates organization defaults and returns the organization. A new build image retention also applies to every app environment that still uses the previous organization value; environments with their own value keep it, and new environments inherit the new value.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
required
object (BuildImageCleanupSettingsInput)

Responses

Request samples

Content type
application/json
{
  • "buildImageCleanup": {
    }
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "domain": "string",
  • "defaultTimeZone": "America/New_York",
  • "ciIntegrationId": 0,
  • "registryIntegrationId": 0,
  • "settings": {
    },
  • "capabilities": {
    },
  • "subscription": {
    },
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Get org subscription

Returns usage and pricing details for callers with billing-view access to the organization.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "status": "ACTIVE",
  • "plan": {
    }
}

Get org usage by project

Returns the organization's usage per project and billing item in one billing period, for internal chargeback. Amounts are public list prices in USD before included usage and discounts, so they show each project's share of usage. For a past period whose invoices are final, invoiceShare splits what the invoices charged per item between projects in proportion to their amounts. Usage of organization-owned resources and usage without a project is reported in one row without a project ID. Requires billing-view access to the organization.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
query Parameters
periodStart
string <date-time>

Start of the billing period as listed by listOrgUsagePeriods. Defaults to the current period.

Responses

Response samples

Content type
application/json
{
  • "period": {
    },
  • "amount": 0.1,
  • "invoiceAmount": 0.1,
  • "projects": [
    ]
}

List org usage periods

Returns the billing periods available in the usage report, newest first, including the current period. Requires billing-view access to the organization.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Export org usage by project as CSV

Returns the usage report as CSV with one row per project and billing item and the columns period_start, period_end, project_id, project_name, project_title, item, quantity, unit, amount_usd, and invoice_share_usd, which is empty while the invoiced amount is unknown. Requires billing-view access to the organization.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
query Parameters
periodStart
string <date-time>

Start of the billing period as listed by listOrgUsagePeriods. Defaults to the current period.

Responses

Response samples

Content type
application/problem+json
{
  • "title": "string",
  • "status": 100,
  • "detail": "string",
  • "instance": "string",
  • "code": "string",
  • "message": "string",
  • "errors": [
    ]
}

org-memberships

Organization users, invitations, roles, and membership status.

List org memberships

Returns org memberships matching the request filters.

Authorizations:
apiKeyHeader
query Parameters
orgId
integer

Optional for API-key requests; defaults to the API key's organization. If provided, it must match the key's organization.

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Invite organization member

Invites a person by email with an organization role. The membership has the invited status until they accept. Add the member to teams and projects separately.

Authorizations:
apiKeyHeader
Request Body schema: application/json
required
orgId
integer

Optional for API-key requests; defaults to the API key's organization.

email
required
string <email>
role
required
string
Enum: "member" "admin" "owner"

Responses

Request samples

Content type
application/json
{
  • "orgId": 0,
  • "email": "user@example.com",
  • "role": "member"
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "userId": 0,
  • "user": {
    },
  • "email": "string",
  • "orgId": 0,
  • "role": "string",
  • "status": "string",
  • "joinedAt": "2019-08-24T14:15:22Z",
  • "projectMemberships": [
    ],
  • "teamMemberships": [
    ],
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Get org membership

Returns the org membership identified by the request path. Organization owners, admins and support members also get the member's project and team memberships.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "userId": 0,
  • "user": {
    },
  • "email": "string",
  • "orgId": 0,
  • "role": "string",
  • "status": "string",
  • "joinedAt": "2019-08-24T14:15:22Z",
  • "projectMemberships": [
    ],
  • "teamMemberships": [
    ],
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Update organization member role

Changes the organization role of a member and returns the membership with its project and team memberships.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
role
required
string
Enum: "member" "admin" "owner"

Responses

Request samples

Content type
application/json
{
  • "role": "member"
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "userId": 0,
  • "user": {
    },
  • "email": "string",
  • "orgId": 0,
  • "role": "string",
  • "status": "string",
  • "joinedAt": "2019-08-24T14:15:22Z",
  • "projectMemberships": [
    ],
  • "teamMemberships": [
    ],
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Remove organization member

Removes a member or a pending invitation from the organization.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

Set organization member teams

Replaces the teams an organization member belongs to, with a role in each team. Teams that are not listed lose the member. Organization owners and admins only.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
required
Array of objects

The complete team list of the member.

Responses

Request samples

Content type
application/json
{
  • "teams": [
    ]
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "userId": 0,
  • "user": {
    },
  • "email": "string",
  • "orgId": 0,
  • "role": "string",
  • "status": "string",
  • "joinedAt": "2019-08-24T14:15:22Z",
  • "projectMemberships": [
    ],
  • "teamMemberships": [
    ],
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

teams

Teams of organization members that share project roles.

List teams

Returns the teams of the organization with their members.

Authorizations:
apiKeyHeader
query Parameters
orgId
integer

Optional for API-key requests; defaults to the API key's organization. If provided, it must match the key's organization.

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create team

Creates a team of organization members.

Authorizations:
apiKeyHeader
Request Body schema: application/json
required
orgId
integer

Used when creating a team. Optional for API-key requests; defaults to the API key's organization.

name
required
string
title
required
string
required
Array of objects (TeamMemberInput)

The complete member list.

Responses

Request samples

Content type
application/json
{
  • "orgId": 0,
  • "name": "string",
  • "title": "string",
  • "members": [
    ]
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "orgId": 0,
  • "members": [
    ],
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Get team by name

Returns one team of the organization by its name.

Authorizations:
apiKeyHeader
path Parameters
name
required
string
query Parameters
orgId
integer

Optional for API-key requests; defaults to the API key's organization. If provided, it must match the key's organization.

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "orgId": 0,
  • "members": [
    ],
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Update team

Renames a team and replaces its member list.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
orgId
integer

Used when creating a team. Optional for API-key requests; defaults to the API key's organization.

name
required
string
title
required
string
required
Array of objects (TeamMemberInput)

The complete member list.

Responses

Request samples

Content type
application/json
{
  • "orgId": 0,
  • "name": "string",
  • "title": "string",
  • "members": [
    ]
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "orgId": 0,
  • "members": [
    ],
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Delete team

Deletes a team and its project memberships.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

project-memberships

Roles of organization members and teams in projects.

List project memberships

Returns the members and teams with a role in a project.

Authorizations:
apiKeyHeader
query Parameters
projectId
required
integer

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Add project members

Gives organization members or teams the same role in a project. Returns the created memberships.

Authorizations:
apiKeyHeader
Request Body schema: application/json
required
projectId
required
integer
orgMembershipIds
Array of integers
teamIds
Array of integers
role
required
string
Enum: "read" "write" "admin" "developer" "developer_non_production" "custom"
customRoleId
integer

Required when role is custom; a custom role of the project's organization.

Responses

Request samples

Content type
application/json
{
  • "projectId": 0,
  • "orgMembershipIds": [
    ],
  • "teamIds": [
    ],
  • "role": "read",
  • "customRoleId": 0
}

Response samples

Content type
application/json
[
  • {
    }
]

Update project membership

Changes the project role of a member or team.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
role
required
string
Enum: "read" "write" "admin" "developer" "developer_non_production" "custom"
customRoleId
integer

Required when role is custom; a custom role of the project's organization.

Responses

Request samples

Content type
application/json
{
  • "role": "read",
  • "customRoleId": 0
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "projectId": 0,
  • "orgMembershipId": 0,
  • "teamId": 0,
  • "role": "read",
  • "customRoleId": 0,
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Remove project membership

Removes a member or team from a project.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

project-roles

System and custom project roles, and the permissions they grant.

List project roles

Returns the system project roles from least to most access, then the organization's custom roles by title, with the permissions each grants.

Authorizations:
apiKeyHeader
query Parameters
orgId
integer

Optional for API-key requests; defaults to the API key's organization. If provided, it must match the key's organization.

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create custom project role

Adds a custom project role to the organization. Organization owners and admins only. project.view is always granted, and env.view and env.logs are granted in every environment type, because every project member can see the project's environments and read their logs.

Authorizations:
apiKeyHeader
Request Body schema: application/json
required
orgId
integer

Used when creating a role. Optional for API-key requests; defaults to the API key's organization.

name
required
string

Lowercase letters, digits, dashes or underscores; unique in the organization.

title
required
string
description
string
projectPermissions
required
Array of strings
required
object

Environment permissions by environment type (prod, staging, test, dev, feature).

Responses

Request samples

Content type
application/json
{
  • "orgId": 0,
  • "name": "string",
  • "title": "string",
  • "description": "string",
  • "projectPermissions": [
    ],
  • "envPermissions": {
    }
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "role": "read",
  • "system": true,
  • "name": "string",
  • "title": "string",
  • "description": "string",
  • "projectPermissions": [
    ],
  • "envPermissions": {
    },
  • "assignableToTeams": true,
  • "supportsRuntimeSecretReveal": true,
  • "membershipCount": 0,
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Get custom project role

Returns a custom project role.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "role": "read",
  • "system": true,
  • "name": "string",
  • "title": "string",
  • "description": "string",
  • "projectPermissions": [
    ],
  • "envPermissions": {
    },
  • "assignableToTeams": true,
  • "supportsRuntimeSecretReveal": true,
  • "membershipCount": 0,
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Update custom project role

Replaces a custom role's name, title, description and permissions. Every membership holding the role changes at once. A role that teams hold cannot get project.manage. Organization owners and admins only.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
orgId
integer

Used when creating a role. Optional for API-key requests; defaults to the API key's organization.

name
required
string

Lowercase letters, digits, dashes or underscores; unique in the organization.

title
required
string
description
string
projectPermissions
required
Array of strings
required
object

Environment permissions by environment type (prod, staging, test, dev, feature).

Responses

Request samples

Content type
application/json
{
  • "orgId": 0,
  • "name": "string",
  • "title": "string",
  • "description": "string",
  • "projectPermissions": [
    ],
  • "envPermissions": {
    }
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "role": "read",
  • "system": true,
  • "name": "string",
  • "title": "string",
  • "description": "string",
  • "projectPermissions": [
    ],
  • "envPermissions": {
    },
  • "assignableToTeams": true,
  • "supportsRuntimeSecretReveal": true,
  • "membershipCount": 0,
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Delete custom project role

Deletes a custom project role that no project membership holds. Organization owners and admins only.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

List project permissions

Returns every permission a project role can grant, in display order.

Authorizations:
apiKeyHeader

Responses

Response samples

Content type
application/json
[
  • {
    }
]

org-sso

Single sign-on providers and verified email domains of organizations. Read-only: an organization owner adds, changes and removes providers in the dashboard.

List organization SSO providers

Returns the single sign-on providers of the organization with their domains.

Authorizations:
apiKeyHeader
query Parameters
orgId
integer

Optional for API-key requests; defaults to the API key's organization. If provided, it must match the key's organization.

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Get organization SSO provider

Returns one single sign-on provider with its domains.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "orgId": 0,
  • "name": "string",
  • "kind": "string",
  • "issuerUrl": "string",
  • "clientId": "string",
  • "githubOrg": "string",
  • "samlIdpMetadataUrl": "string",
  • "samlSpEntityId": "string",
  • "samlSpMetadataUrl": "string",
  • "samlAcsUrl": "string",
  • "enabled": true,
  • "jitEnabled": true,
  • "domains": [
    ],
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

projects

Project containers within organizations.

List projects

Returns projects matching the request filters.

Authorizations:
apiKeyHeader
query Parameters
orgId
integer

Optional for API-key requests; defaults to the API key's organization. If provided, it must match the key's organization.

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create project

Creates a project and returns the created resource.

Authorizations:
apiKeyHeader
Request Body schema: application/json
required
orgId
integer

Optional for API-key requests; defaults to the API key's organization.

name
required
string
title
required
string
teamIds
Array of integers
orgMembershipIds
Array of integers
role
string

Responses

Request samples

Content type
application/json
{
  • "orgId": 0,
  • "name": "string",
  • "title": "string",
  • "teamIds": [
    ],
  • "orgMembershipIds": [
    ],
  • "role": "string"
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "orgId": 0,
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Get project by name

Returns the project identified by name.

Authorizations:
apiKeyHeader
path Parameters
name
required
string
query Parameters
orgId
integer

Optional for API-key requests; defaults to the API key's organization. If provided, it must match the key's organization.

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "orgId": 0,
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Get project

Returns the project identified by the request path.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "orgId": 0,
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Update project

Updates the project and returns the updated resource.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
title
required
string

Responses

Request samples

Content type
application/json
{
  • "title": "string"
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "orgId": 0,
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Delete project

Deletes the project and returns the operation result.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

apps

Applications and app-level configuration.

List apps

Returns apps matching the request filters.

Authorizations:
apiKeyHeader
query Parameters
orgId
integer

Optional for API-key requests; defaults to the API key's organization. If provided, it must match the key's organization.

projectIds
string

Comma-separated project ids

clusterApp
boolean

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create app

Creates an app and returns the created resource.

Authorizations:
apiKeyHeader
Request Body schema: application/json
required
executionMode
string
Default: "standard"
Enum: "standard" "workspace"
object (NewWorkspaceInput)
orgId
integer

Optional for API-key requests; defaults to the API key's organization.

name
required
string
title
string

Defaults to name when omitted.

environmentName
required
string

Required for the canonical app environment contract.

environmentTitle
string

Defaults to environmentName when omitted.

environmentType
required
string
Enum: "prod" "test" "staging" "dev" "feature"

Required for the canonical app environment contract.

domain
string

Defaults to environmentName.name.orgDomain.

projectId
integer or null
stackRevId
required
integer
Array of objects (NewAppServiceInput)

Defaults to the stack revision's service defaults when omitted.

Array of objects (NewAppServiceOverrideInput)

Changes to the stack revision's service defaults. Use it instead of services to set only what differs, such as the repository of a workspace. Not allowed with services.

clusterId
integer or null
ciIntegrationId
integer or null

Omit or use null to inherit the organization default, use 0 for the built-in CI service, or use an accessible CI integration ID. A project-owned integration must be shared with the app's project.

registryIntegrationId
integer or null

Omit or use null to inherit the organization default, use 0 for the built-in registry, or use an accessible registry integration ID. A project-owned integration must be shared with the app's project.

deferInitialDeployment
boolean
Default: false

Defers the automatic initial build and deployment while preserving app environment initialization. Intended for automation that configures the environment before explicitly starting its first build.

object (AppEnvironmentSettingsInput)
object (NewAppEnvironmentAccessInput)
basicAuth
boolean

Protect the whole new environment with basic auth, by default with the username wodby and a generated password revealed in Wodby. Cannot be combined with access (Private App Access).

basicAuthUsername
string

Username of the environment's basic auth. Requires basicAuth. Defaults to wodby.

basicAuthPassword
string <password>

Password of the environment's basic auth. Requires basicAuth. Omit to let Wodby generate one.

Responses

Request samples

Content type
application/json
{
  • "executionMode": "standard",
  • "workspace": {
    },
  • "orgId": 0,
  • "name": "string",
  • "title": "string",
  • "environmentName": "string",
  • "environmentTitle": "string",
  • "environmentType": "prod",
  • "domain": "string",
  • "projectId": 0,
  • "stackRevId": 0,
  • "services": [
    ],
  • "serviceOverrides": [
    ],
  • "clusterId": 0,
  • "ciIntegrationId": 0,
  • "registryIntegrationId": 0,
  • "deferInitialDeployment": false,
  • "settings": {
    },
  • "access": {
    },
  • "basicAuth": true,
  • "basicAuthUsername": "string",
  • "basicAuthPassword": "pa$$word"
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "status": "string",
  • "clusterApp": true,
  • "orgId": 0,
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "settings": {
    },
  • "creatableEnvironmentTypes": [
    ],
  • "previewsAvailable": true,
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Get app by name

Returns the app identified by name, with the environment types the caller can create and whether pull request previews can work for it.

Authorizations:
apiKeyHeader
path Parameters
name
required
string
query Parameters
orgId
integer

Optional for API-key requests; defaults to the API key's organization. If provided, it must match the key's organization.

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "status": "string",
  • "clusterApp": true,
  • "orgId": 0,
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "settings": {
    },
  • "creatableEnvironmentTypes": [
    ],
  • "previewsAvailable": true,
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Get app

Returns the app identified by the request path, with the environment types the caller can create and whether pull request previews can work for it.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "status": "string",
  • "clusterApp": true,
  • "orgId": 0,
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "settings": {
    },
  • "creatableEnvironmentTypes": [
    ],
  • "previewsAvailable": true,
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Update app

Updates the app and returns the updated resource.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
title
required
string

Responses

Request samples

Content type
application/json
{
  • "title": "string"
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "status": "string",
  • "clusterApp": true,
  • "orgId": 0,
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "settings": {
    },
  • "creatableEnvironmentTypes": [
    ],
  • "previewsAvailable": true,
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Delete app

Deletes the app and returns the operation result.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

Update app settings

Updates application-wide settings such as pull request preview environments and returns the updated app. Enabling preview environments requires an active paid subscription.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
object (AppPreviewEnvironmentsSettingsInput)

Responses

Request samples

Content type
application/json
{
  • "previewEnvironments": {
    }
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "status": "string",
  • "clusterApp": true,
  • "orgId": 0,
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "settings": {
    },
  • "creatableEnvironmentTypes": [
    ],
  • "previewsAvailable": true,
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

List ignored vulnerabilities

Lists the vulnerabilities the app ignores, newest first. Each one applies to its package in every build of every environment of the app.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Ignore a vulnerability

Ignores a vulnerability in one package for every build of the app, including later scans. A scan lists a vulnerability once per image with every package it affects there, so ignoring it in any of those packages ignores the whole finding. Ignored findings are left out of vulnerability counts and reported in the ignored count instead. Needs permission to modify the app and vulnerability scanning on the organization's plan. Fails when the app already ignores the vulnerability in that package.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
vulnerabilityId
required
string <= 64 characters

Vulnerability ID as reported by the scan, such as CVE-2024-12345.

packageName
required
string <= 256 characters

Name of the vulnerable package as reported by the scan.

reason
string <= 1000 characters

Why the vulnerability is accepted.

Responses

Request samples

Content type
application/json
{
  • "vulnerabilityId": "string",
  • "packageName": "string",
  • "reason": "string"
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "appId": 0,
  • "vulnerabilityId": "string",
  • "packageName": "string",
  • "reason": "string",
  • "createdAt": "2019-08-24T14:15:22Z"
}

Stop ignoring a vulnerability

Removes an ignore, so matching findings count again. Needs permission to modify the app.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

List pull requests for preview environments

Lists the app's open pull requests into the branch the preview base environment tracks, most recently updated first, with the preview environment each one has and why a preview environment cannot be created for it now. When preview environments are not configured for the app, configured is false and the list is empty.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "configured": true,
  • "pullRequests": [
    ]
}

Create a pull request preview environment

Creates a preview environment for one open pull request of the app and returns the task that creates it in the background. An active paid subscription is required. Draft pull requests are accepted even when draft previews are off. Pull requests from forks, pull requests that already have a preview environment, a base environment that is not in OK status, and a full concurrency limit are refused.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
number
required
integer

Pull request number.

remoteGitRepoId
string or null

Remote repository of the pull request. Required when the base environment tracks several repositories.

Responses

Request samples

Content type
application/json
{
  • "number": 0,
  • "remoteGitRepoId": "string"
}

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

Regenerate the preview password

Replaces the basic auth password shared by the app's pull request preview environments. Every preview switches to the new password, which members reveal in the dashboard. Requires basic auth to be on in the app's preview settings.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "status": "string",
  • "clusterApp": true,
  • "orgId": 0,
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "settings": {
    },
  • "creatableEnvironmentTypes": [
    ],
  • "previewsAvailable": true,
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Get app sharing

Returns who owns the app and which projects can use it.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "availableToAllProjects": true,
  • "sharedProjects": [
    ]
}

Update app sharing

Changes the app owner and replaces the projects it is shared with. Returns the resulting sharing.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
ownershipScope
required
string
Enum: "org" "project"

org to make the organization the owner, project to make one project the owner.

ownerProjectId
integer or null

Project that becomes the owner. Required when ownershipScope is project.

required
Array of objects (ProjectShareInput)

The complete list of project shares. A project left out loses its share. The owning project always keeps write access. You need Admin access to every project whose share you add or remove.

availableToAllProjects
boolean or null

Lets every project in the organization use the resource without a project share. Only organization-owned clusters, integrations, services and stacks can be available to all projects. Omit it to keep the current setting.

Responses

Request samples

Content type
application/json
{
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "sharedProjects": [
    ],
  • "availableToAllProjects": true
}

Response samples

Content type
application/json
{
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "availableToAllProjects": true,
  • "sharedProjects": [
    ]
}

app-environments

Persistent, independently deployable application environments.

List app environments

Returns app environments matching the request filters.

Authorizations:
apiKeyHeader
query Parameters
orgId
integer

Optional for API-key requests; defaults to the API key's organization. If provided, it must match the key's organization.

projectIds
string

Comma-separated project ids

appId
integer
clusterId
integer
clusterApp
boolean

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create app environment

Creates an app environment and returns the created resource.

Authorizations:
apiKeyHeader
Request Body schema: application/json
required
executionMode
string
Default: "standard"
Enum: "standard" "workspace"
object (NewWorkspaceInput)
appId
required
integer
environmentName
required
string
environmentTitle
string

Defaults to environmentName when omitted.

environmentType
required
string
Enum: "prod" "test" "staging" "dev" "feature"
domain
string

Defaults to environmentName.appName.orgDomain when omitted.

stackRevId
required
integer
Array of objects (NewAppServiceInput)

Defaults to the stack revision's service defaults when omitted.

Array of objects (NewAppServiceOverrideInput)

Changes to the stack revision's service defaults. Use it instead of services to set only what differs, such as the repository of a workspace. Not allowed with services.

clusterId
integer or null
ciIntegrationId
integer or null
registryIntegrationId
integer or null
deferInitialDeployment
boolean
Default: false
object (AppEnvironmentSettingsInput)
object (NewAppEnvironmentAccessInput)
basicAuth
boolean

Protect the whole new environment with basic auth, by default with the username wodby and a generated password revealed in Wodby. Cannot be combined with access (Private App Access).

basicAuthUsername
string

Username of the environment's basic auth. Requires basicAuth. Defaults to wodby.

basicAuthPassword
string <password>

Password of the environment's basic auth. Requires basicAuth. Omit to let Wodby generate one.

Responses

Request samples

Content type
application/json
{
  • "executionMode": "standard",
  • "workspace": {
    },
  • "appId": 0,
  • "environmentName": "string",
  • "environmentTitle": "string",
  • "environmentType": "prod",
  • "domain": "string",
  • "stackRevId": 0,
  • "services": [
    ],
  • "serviceOverrides": [
    ],
  • "clusterId": 0,
  • "ciIntegrationId": 0,
  • "registryIntegrationId": 0,
  • "deferInitialDeployment": false,
  • "settings": {
    },
  • "access": {
    },
  • "basicAuth": true,
  • "basicAuthUsername": "string",
  • "basicAuthPassword": "pa$$word"
}

Response samples

Content type
application/json
{
  • "executionMode": "standard",
  • "workspace": {
    },
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "environmentType": "prod",
  • "status": "string",
  • "outdated": true,
  • "mainDomain": "string",
  • "mainDomainBasicAuth": true,
  • "dnsTarget": "string",
  • "mainRouteCert": {
    },
  • "appId": 0,
  • "clusterId": 0,
  • "stackId": 0,
  • "stackRevId": 0,
  • "stackName": "string",
  • "stackTitle": "string",
  • "stackIcon": "string",
  • "stackRevNumber": 0,
  • "stackVersion": "string",
  • "access": {
    },
  • "routingMode": "string",
  • "routingPending": true,
  • "maintenanceMode": true,
  • "maintenanceModeActive": true,
  • "configurationReady": true,
  • "configurationIssues": [
    ],
  • "settings": {
    },
  • "preview": {
    },
  • "permissions": {
    },
  • "health": {
    },
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Get app environment by name

Returns the app environment identified by app and environment name, with the caller's permissions in it.

Authorizations:
apiKeyHeader
path Parameters
appName
required
string
environmentName
required
string
query Parameters
orgId
integer

Optional for API-key requests; defaults to the API key's organization. If provided, it must match the key's organization.

Responses

Response samples

Content type
application/json
{
  • "executionMode": "standard",
  • "workspace": {
    },
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "environmentType": "prod",
  • "status": "string",
  • "outdated": true,
  • "mainDomain": "string",
  • "mainDomainBasicAuth": true,
  • "dnsTarget": "string",
  • "mainRouteCert": {
    },
  • "appId": 0,
  • "clusterId": 0,
  • "stackId": 0,
  • "stackRevId": 0,
  • "stackName": "string",
  • "stackTitle": "string",
  • "stackIcon": "string",
  • "stackRevNumber": 0,
  • "stackVersion": "string",
  • "access": {
    },
  • "routingMode": "string",
  • "routingPending": true,
  • "maintenanceMode": true,
  • "maintenanceModeActive": true,
  • "configurationReady": true,
  • "configurationIssues": [
    ],
  • "settings": {
    },
  • "preview": {
    },
  • "permissions": {
    },
  • "health": {
    },
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Get app environment

Returns the app environment identified by the request path, with the caller's permissions in it.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "executionMode": "standard",
  • "workspace": {
    },
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "environmentType": "prod",
  • "status": "string",
  • "outdated": true,
  • "mainDomain": "string",
  • "mainDomainBasicAuth": true,
  • "dnsTarget": "string",
  • "mainRouteCert": {
    },
  • "appId": 0,
  • "clusterId": 0,
  • "stackId": 0,
  • "stackRevId": 0,
  • "stackName": "string",
  • "stackTitle": "string",
  • "stackIcon": "string",
  • "stackRevNumber": 0,
  • "stackVersion": "string",
  • "access": {
    },
  • "routingMode": "string",
  • "routingPending": true,
  • "maintenanceMode": true,
  • "maintenanceModeActive": true,
  • "configurationReady": true,
  • "configurationIssues": [
    ],
  • "settings": {
    },
  • "preview": {
    },
  • "permissions": {
    },
  • "health": {
    },
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Update app environment

Updates the app environment and returns the updated resource.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
title
required
string

Responses

Request samples

Content type
application/json
{
  • "title": "string"
}

Response samples

Content type
application/json
{
  • "executionMode": "standard",
  • "workspace": {
    },
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "environmentType": "prod",
  • "status": "string",
  • "outdated": true,
  • "mainDomain": "string",
  • "mainDomainBasicAuth": true,
  • "dnsTarget": "string",
  • "mainRouteCert": {
    },
  • "appId": 0,
  • "clusterId": 0,
  • "stackId": 0,
  • "stackRevId": 0,
  • "stackName": "string",
  • "stackTitle": "string",
  • "stackIcon": "string",
  • "stackRevNumber": 0,
  • "stackVersion": "string",
  • "access": {
    },
  • "routingMode": "string",
  • "routingPending": true,
  • "maintenanceMode": true,
  • "maintenanceModeActive": true,
  • "configurationReady": true,
  • "configurationIssues": [
    ],
  • "settings": {
    },
  • "preview": {
    },
  • "permissions": {
    },
  • "health": {
    },
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Delete app environment

Deletes the app environment and returns the operation result.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
query Parameters
force
boolean
Default: false

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

Update app environment settings

Updates app environment settings and returns the updated app environment.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
object (AppEnvironmentAutoStackUpgradeSettingsInput)
object

Omit it to keep the current build image retention.

object

Omit it to keep the current deployment settings.

Responses

Request samples

Content type
application/json
{
  • "autoStackUpgrade": {
    },
  • "buildImageCleanup": {
    },
  • "deployment": {
    }
}

Response samples

Content type
application/json
{
  • "executionMode": "standard",
  • "workspace": {
    },
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "environmentType": "prod",
  • "status": "string",
  • "outdated": true,
  • "mainDomain": "string",
  • "mainDomainBasicAuth": true,
  • "dnsTarget": "string",
  • "mainRouteCert": {
    },
  • "appId": 0,
  • "clusterId": 0,
  • "stackId": 0,
  • "stackRevId": 0,
  • "stackName": "string",
  • "stackTitle": "string",
  • "stackIcon": "string",
  • "stackRevNumber": 0,
  • "stackVersion": "string",
  • "access": {
    },
  • "routingMode": "string",
  • "routingPending": true,
  • "maintenanceMode": true,
  • "maintenanceModeActive": true,
  • "configurationReady": true,
  • "configurationIssues": [
    ],
  • "settings": {
    },
  • "preview": {
    },
  • "permissions": {
    },
  • "health": {
    },
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

List app environment events

Returns recent Kubernetes events in the app environment, newest first: for example why a pod can't be scheduled, fails its health checks, can't pull its image or mount a volume. Kubernetes keeps events for about an hour. Repeats of the same event are merged, and known secret values in messages are masked.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
query Parameters
appServiceId
integer

Only events about this app service's workloads, pods and volume claims.

warningsOnly
boolean
Default: true

Only warnings (default true). Set to false to include normal events.

limit
integer [ 1 .. 200 ]

At most this many events, 50 by default and 200 at most.

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Update app environment maintenance mode

Enables or disables the fixed maintenance response on all public HTTP routes while application workloads continue running.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
enabled
required
boolean

Responses

Request samples

Content type
application/json
{
  • "enabled": true
}

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

Get app environment CI/CD settings

Returns the CI and registry integrations used by future app environment builds. Integration ID 0 identifies the built-in Wodby service.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "appEnvironmentId": 0,
  • "ciIntegrationId": 0,
  • "registryIntegrationId": 0,
  • "registryRepository": "string"
}

Update app environment CI/CD settings

Updates the CI and registry integrations used by future app environment builds. Integration ID 0 selects the built-in Wodby service.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
ciIntegrationId
required
integer

CI integration ID. Set to zero to use the built-in Wodby CI service.

registryIntegrationId
required
integer

Registry integration ID. Set to zero to use the built-in Wodby registry service.

Responses

Request samples

Content type
application/json
{
  • "ciIntegrationId": 0,
  • "registryIntegrationId": 0
}

Response samples

Content type
application/json
{
  • "appEnvironmentId": 0,
  • "ciIntegrationId": 0,
  • "registryIntegrationId": 0,
  • "registryRepository": "string"
}

Upgrade app environment stack

Upgrades an app environment stack using the selected upgrade sections.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
deployment
boolean
Default: true

Build affected services when required and deploy the upgraded stack configuration.

rebuild
boolean
Default: true

Build services whose build inputs the upgrade changes before deploying them. When false, those services are deployed with their current build and stay marked as needing a rebuild until their next build; a service with no build to reuse is still built. Ignored when deployment is false.

versions
required
boolean
replicas
required
boolean
resources
required
boolean
integrations
required
boolean
services
required
boolean
settings
required
boolean
links
required
boolean
tokens
required
boolean
configs
required
boolean
cron
required
boolean
volumes
required
boolean
main
required
boolean

Responses

Request samples

Content type
application/json
{
  • "deployment": true,
  • "rebuild": true,
  • "versions": true,
  • "replicas": true,
  • "resources": true,
  • "integrations": true,
  • "services": true,
  • "settings": true,
  • "links": true,
  • "tokens": true,
  • "configs": true,
  • "cron": true,
  • "volumes": true,
  • "main": true
}

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

Reconcile app environment stack

Reapplies the app environment's assigned stack revision using the selected override sections without changing its stack revision.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
versions
required
boolean
replicas
required
boolean
resources
required
boolean
integrations
required
boolean
services
required
boolean
settings
required
boolean
links
required
boolean
tokens
required
boolean
configs
required
boolean
cron
required
boolean
volumes
required
boolean
main
required
boolean

Responses

Request samples

Content type
application/json
{
  • "versions": true,
  • "replicas": true,
  • "resources": true,
  • "integrations": true,
  • "services": true,
  • "settings": true,
  • "links": true,
  • "tokens": true,
  • "configs": true,
  • "cron": true,
  • "volumes": true,
  • "main": true
}

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

Migrate app environment to another cluster

Starts moving the app environment and its data to another cluster of the same organization. The source stays available for rollback until the migration is cleaned up or its retention ends.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
targetClusterId
required
integer

Cluster of the same organization that the environment moves to.

Array of objects (AppEnvironmentMigrationVolumeInput)

Target cluster storage classes for the environment's volumes. A volume left out uses its current storage class, which must exist on the target cluster.

existingBackupIds
Array of integers

Completed backups of this environment to restore instead of creating final backups. Data written after a backup was taken does not reach the target. Components without a backup listed here get a final backup.

Responses

Request samples

Content type
application/json
{
  • "targetClusterId": 0,
  • "volumes": [
    ],
  • "existingBackupIds": [
    ]
}

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0,
  • "migration": {
    }
}

List app environment migrations

Returns the cluster migrations of one app environment.

Authorizations:
apiKeyHeader
query Parameters
appEnvironmentId
required
integer

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Get app environment migration

Returns one cluster migration with the progress of each copied service.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "appEnvironmentId": 0,
  • "sourceClusterId": 0,
  • "targetClusterId": 0,
  • "taskId": 0,
  • "deploymentId": 0,
  • "status": "pending",
  • "phase": "preparing",
  • "components": [
    ],
  • "failureMessage": "string",
  • "retainUntil": "2019-08-24T14:15:22Z",
  • "cutoverAt": "2019-08-24T14:15:22Z",
  • "endedAt": "2019-08-24T14:15:22Z",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Roll back app environment migration

Moves the app environment back to its source cluster while the source is still retained.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0,
  • "migration": {
    }
}

Clean up app environment migration

Removes the app environment's retained resources from the source cluster after a completed migration. The migration can no longer be rolled back afterwards.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0,
  • "migration": {
    }
}

Check workspace service eligibility

Check the selected stack service graph. Creation separately validates repository, shared storage, access and resource limits.

Authorizations:
apiKeyHeader
Request Body schema: application/json
required
stackRevId
required
integer
clusterId
integer or null
disabledServiceIds
required
Array of integers

Responses

Request samples

Content type
application/json
{
  • "stackRevId": 0,
  • "clusterId": 0,
  • "disabledServiceIds": [
    ]
}

Response samples

Content type
application/json
{
  • "eligible": true,
  • "reasons": [
    ],
  • "sourceStackServiceId": 0,
  • "consumerStackServiceIds": [
    ]
}

Get workspace SSH connection

Return the owner-only SSH endpoint, readiness and stable host fingerprint.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "ready": true,
  • "reason": "string",
  • "host": "string",
  • "port": 0,
  • "username": "string",
  • "workingDirectory": "string",
  • "hostKeyFingerprint": "string",
  • "agents": [
    ],
  • "gitCredentials": true,
  • "aiCredits": true
}

Get workspace Git status

Owner-only. Run a read-only Git command in the workspace runner and return the current branch, HEAD commit and uncommitted changes. When the state cannot be read, available is false and reason explains why.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "available": true,
  • "reason": "string",
  • "branch": "string",
  • "upstream": "string",
  • "ahead": 0,
  • "behind": 0,
  • "commit": "string",
  • "commitSubject": "string",
  • "committedAt": "2019-08-24T14:15:22Z",
  • "changes": [
    ],
  • "truncated": true,
  • "checkedAt": "2019-08-24T14:15:22Z"
}

Get workspace file diff

Owner-only. Returns how one file in the workspace checkout differs from the last commit, with staged and unstaged changes together. An untracked file is shown as added. When the diff cannot be read, available is false and reason explains why.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
query Parameters
path
required
string

File path relative to the checkout, as listed by the workspace Git status.

originalPath
string

Previous path of a renamed or copied file.

Responses

Response samples

Content type
application/json
{
  • "available": true,
  • "reason": "string",
  • "path": "string",
  • "diff": "string",
  • "binary": true,
  • "truncated": true
}

Pull workspace

Owner-only. Fast-forwards the workspace checkout to its upstream branch, keeping uncommitted changes, then runs the environment's post-deployment scripts unless scripts is false.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
optional
scripts
boolean
Default: true

Run the environment's post-deployment scripts after the pull.

Responses

Request samples

Content type
application/json
{
  • "scripts": true
}

Response samples

Content type
application/json
{
  • "initiator": {
    },
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "compactTitle": "string",
  • "executionScope": "user",
  • "status": "string",
  • "progress": 0,
  • "silent": true,
  • "system": true,
  • "userId": 0,
  • "user": {
    },
  • "orgId": 0,
  • "projectIds": [
    ],
  • "appId": 0,
  • "appInstanceId": 0,
  • "appServiceId": 0,
  • "clusterId": 0,
  • "databaseId": 0,
  • "integrationId": 0,
  • "serviceId": 0,
  • "stackId": 0,
  • "providerId": 0,
  • "originTaskId": 0,
  • "spawnedTaskIds": [
    ],
  • "repeatedTaskId": 0,
  • "jobs": [
    ],
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "startedAt": "2019-08-24T14:15:22Z",
  • "endedAt": "2019-08-24T14:15:22Z"
}

Prepare workspace

Prepare workspace. Workspace operations preserve the persistent checkout.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "initiator": {
    },
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "compactTitle": "string",
  • "executionScope": "user",
  • "status": "string",
  • "progress": 0,
  • "silent": true,
  • "system": true,
  • "userId": 0,
  • "user": {
    },
  • "orgId": 0,
  • "projectIds": [
    ],
  • "appId": 0,
  • "appInstanceId": 0,
  • "appServiceId": 0,
  • "clusterId": 0,
  • "databaseId": 0,
  • "integrationId": 0,
  • "serviceId": 0,
  • "stackId": 0,
  • "providerId": 0,
  • "originTaskId": 0,
  • "spawnedTaskIds": [
    ],
  • "repeatedTaskId": 0,
  • "jobs": [
    ],
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "startedAt": "2019-08-24T14:15:22Z",
  • "endedAt": "2019-08-24T14:15:22Z"
}

Restart workspace

Restart the SSH runner, ending existing sessions while preserving code and home volumes.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "initiator": {
    },
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "compactTitle": "string",
  • "executionScope": "user",
  • "status": "string",
  • "progress": 0,
  • "silent": true,
  • "system": true,
  • "userId": 0,
  • "user": {
    },
  • "orgId": 0,
  • "projectIds": [
    ],
  • "appId": 0,
  • "appInstanceId": 0,
  • "appServiceId": 0,
  • "clusterId": 0,
  • "databaseId": 0,
  • "integrationId": 0,
  • "serviceId": 0,
  • "stackId": 0,
  • "providerId": 0,
  • "originTaskId": 0,
  • "spawnedTaskIds": [
    ],
  • "repeatedTaskId": 0,
  • "jobs": [
    ],
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "startedAt": "2019-08-24T14:15:22Z",
  • "endedAt": "2019-08-24T14:15:22Z"
}

Pause workspace

Pause workspace. Workspace operations preserve the persistent checkout.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "initiator": {
    },
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "compactTitle": "string",
  • "executionScope": "user",
  • "status": "string",
  • "progress": 0,
  • "silent": true,
  • "system": true,
  • "userId": 0,
  • "user": {
    },
  • "orgId": 0,
  • "projectIds": [
    ],
  • "appId": 0,
  • "appInstanceId": 0,
  • "appServiceId": 0,
  • "clusterId": 0,
  • "databaseId": 0,
  • "integrationId": 0,
  • "serviceId": 0,
  • "stackId": 0,
  • "providerId": 0,
  • "originTaskId": 0,
  • "spawnedTaskIds": [
    ],
  • "repeatedTaskId": 0,
  • "jobs": [
    ],
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "startedAt": "2019-08-24T14:15:22Z",
  • "endedAt": "2019-08-24T14:15:22Z"
}

Resume workspace

Resume workspace. Workspace operations preserve the persistent checkout.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "initiator": {
    },
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "compactTitle": "string",
  • "executionScope": "user",
  • "status": "string",
  • "progress": 0,
  • "silent": true,
  • "system": true,
  • "userId": 0,
  • "user": {
    },
  • "orgId": 0,
  • "projectIds": [
    ],
  • "appId": 0,
  • "appInstanceId": 0,
  • "appServiceId": 0,
  • "clusterId": 0,
  • "databaseId": 0,
  • "integrationId": 0,
  • "serviceId": 0,
  • "stackId": 0,
  • "providerId": 0,
  • "originTaskId": 0,
  • "spawnedTaskIds": [
    ],
  • "repeatedTaskId": 0,
  • "jobs": [
    ],
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "startedAt": "2019-08-24T14:15:22Z",
  • "endedAt": "2019-08-24T14:15:22Z"
}

List app annotations

Returns the ingress annotations of an app environment, its services and routes.

Authorizations:
apiKeyHeader
query Parameters
appEnvironmentId
required
integer
types
string

Comma-separated annotation types, such as ingress.

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create app annotation

Adds an ingress annotation to the app environment, or to one of its services or routes.

Authorizations:
apiKeyHeader
Request Body schema: application/json
required
appEnvironmentId
required
integer
appServiceId
integer or null

Limit the annotation to one service's ingress.

appRouteId
integer or null

Limit the annotation to one route's ingress.

name
required
string
value
required
string
type
required
string
Value: "ingress"

Responses

Request samples

Content type
application/json
{
  • "appEnvironmentId": 0,
  • "appServiceId": 0,
  • "appRouteId": 0,
  • "name": "string",
  • "value": "string",
  • "type": "ingress"
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "appEnvironmentId": 0,
  • "appServiceId": 0,
  • "appRouteId": 0,
  • "name": "string",
  • "value": "string",
  • "type": "ingress",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Get app annotation

Returns one app annotation.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "appEnvironmentId": 0,
  • "appServiceId": 0,
  • "appRouteId": 0,
  • "name": "string",
  • "value": "string",
  • "type": "ingress",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Update app annotation

Changes an app annotation and returns it.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
appServiceId
integer or null
appRouteId
integer or null
name
required
string
value
required
string

Responses

Request samples

Content type
application/json
{
  • "appServiceId": 0,
  • "appRouteId": 0,
  • "name": "string",
  • "value": "string"
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "appEnvironmentId": 0,
  • "appServiceId": 0,
  • "appRouteId": 0,
  • "name": "string",
  • "value": "string",
  • "type": "ingress",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Delete app annotation

Deletes an app annotation.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

Preview app environment stack upgrade

Returns the stack and service revision changes that an app environment stack upgrade would apply.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "previousStackVersion": "string",
  • "stackVersion": "string",
  • "previousStackRevNumber": 0,
  • "stackRevNumber": 0,
  • "serviceChanges": [
    ],
  • "volumeDeletions": [
    ]
}

List app environment vulnerability scans

Lists the build images an app environment currently runs, each with the summary of its latest vulnerability scan, ordered by the app service that built them. The ID is the app environment's. An image several app services run is listed once. Returns null when vulnerability scanning is unavailable for the organization.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Get app environment Private App Access

Returns the Private App Access configuration of the app environment identified by the path.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "mode": "protected",
  • "scope": "entire_app",
  • "status": "string",
  • "settings": [
    ],
  • "publicRoutesSuppressed": true,
  • "effectiveUrl": "string",
  • "lastError": "string",
  • "integrationId": 0,
  • "endpoints": [
    ],
  • "resources": [
    ],
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Create Private App Access

Creates Private App Access for the app environment identified by the path. An active paid subscription is required.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
integrationId
required
integer
mode
required
string
Enum: "PROTECTED" "PRIVATE_NETWORK"
scope
required
string
Enum: "ENTIRE_APP" "SELECTED_ENDPOINTS"
Array of objects (AppAccessSettingInput)
required
Array of objects (AppAccessEndpointInput)

Responses

Request samples

Content type
application/json
{
  • "integrationId": 0,
  • "mode": "PROTECTED",
  • "scope": "ENTIRE_APP",
  • "settings": [
    ],
  • "endpoints": [
    ]
}

Response samples

Content type
application/json
{
  • "access": {
    },
  • "taskId": 0
}

Preflight Private App Access

Validates a proposed Private App Access configuration before an app environment or access resource is created. An active paid subscription is required.

Authorizations:
apiKeyHeader
Request Body schema: application/json
required
integrationId
required
integer
mode
required
string
Enum: "PROTECTED" "PRIVATE_NETWORK"
scope
required
string
Enum: "ENTIRE_APP" "SELECTED_ENDPOINTS"
Array of objects (AppAccessSettingInput)
host
string or null

Required only when the selected provider uses a customer-assigned hostname.

Array of objects (NewAppEnvironmentAccessEndpointInput)

HTTP endpoints selected during creation. Used only with SELECTED_ENDPOINTS scope; older clients may omit it to select the main endpoint.

Responses

Request samples

Content type
application/json
{
  • "integrationId": 0,
  • "mode": "PROTECTED",
  • "scope": "ENTIRE_APP",
  • "settings": [
    ],
  • "host": "string",
  • "endpoints": [
    ]
}

Response samples

Content type
application/json
{
  • "valid": true
}

Update Private App Access

Updates an existing Private App Access configuration and starts its reconciliation task. An active paid subscription is required.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
scope
required
string
Enum: "ENTIRE_APP" "SELECTED_ENDPOINTS"
Array of objects (AppAccessSettingInput)
required
Array of objects (AppAccessEndpointInput)

Responses

Request samples

Content type
application/json
{
  • "scope": "ENTIRE_APP",
  • "settings": [
    ],
  • "endpoints": [
    ]
}

Response samples

Content type
application/json
{
  • "access": {
    },
  • "taskId": 0
}

Delete Private App Access

Removes Private App Access and returns the cleanup task identifier.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

Get Private App Access

Returns one Private App Access configuration.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "mode": "protected",
  • "scope": "entire_app",
  • "status": "string",
  • "settings": [
    ],
  • "publicRoutesSuppressed": true,
  • "effectiveUrl": "string",
  • "lastError": "string",
  • "integrationId": 0,
  • "endpoints": [
    ],
  • "resources": [
    ],
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

List Private App Access cleanups

Returns cleanup records for exactly one app environment or integration.

Authorizations:
apiKeyHeader
query Parameters
appInstanceId
integer
integrationId
integer

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Retry Private App Access cleanup

Retries a failed Private App Access cleanup and returns its task identifier.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

app-auths

HTTP basic authentication credentials scoped to app environments, services, or routes.

List app auths

Returns HTTP basic authentication entries for an app environment without exposing passwords or secret identifiers.

Authorizations:
apiKeyHeader
query Parameters
appInstanceId
required
integer

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create app auth

Creates an HTTP basic authentication entry at instance, service, or route scope and returns only non-secret metadata.

Authorizations:
apiKeyHeader
Request Body schema: application/json
required
appInstanceId
required
integer
appServiceIds
Array of integers or null

App services to protect. Omit or pass an empty list to protect the whole app environment.

appServiceId
integer or null
Deprecated

Single-service scope. Ignored when appServiceIds is supplied.

appRouteId
integer or null

Route scope. The owning app service is derived from the route.

login
string

Defaults to wodby. Ignored for exemptions.

password
string <password>

Omit to let Wodby generate a password, which you reveal in the dashboard. Ignored for exemptions.

realm
string
exempt
boolean

Switch basic auth off for the given app services or route even when a wider entry covers them. Requires appServiceIds or appRouteId.

Responses

Request samples

Content type
application/json
{
  • "appInstanceId": 0,
  • "appServiceIds": [
    ],
  • "appServiceId": 0,
  • "appRouteId": 0,
  • "login": "string",
  • "password": "pa$$word",
  • "realm": "string",
  • "exempt": true
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "appInstanceId": 0,
  • "scope": "APP",
  • "appServiceIds": [
    ],
  • "appServiceId": 0,
  • "appRouteId": 0,
  • "login": "string",
  • "realm": "string",
  • "source": "USER",
  • "generated": true,
  • "exempt": true,
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Update app auth

Updates an HTTP basic authentication entry. Omit both scope identifiers to preserve the current scope. Supplying appServiceId moves the entry to service scope and clears any route unless appRouteId is also supplied. Recreate the entry to move it back to instance scope. Omit password to retain the existing secret.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
appServiceIds
Array of integers or null

App services to protect. Omit every scope field to preserve the current scope, or pass an empty list to protect the whole app environment.

appServiceId
integer or null
Deprecated

Single-service scope. Ignored when appServiceIds is supplied.

appRouteId
integer or null

Moves the entry to route scope. The owning app service is derived from the route.

login
string

Omit to keep the current login.

password
string or null <password>

Replaces the existing secret when supplied; omit to keep the current password.

generatePassword
boolean

Replace the password with a newly generated one. Ignored when password is given.

realm
string

Omit to keep the current realm.

Responses

Request samples

Content type
application/json
{
  • "appServiceIds": [
    ],
  • "appServiceId": 0,
  • "appRouteId": 0,
  • "login": "string",
  • "password": "pa$$word",
  • "generatePassword": true,
  • "realm": "string"
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "appInstanceId": 0,
  • "scope": "APP",
  • "appServiceIds": [
    ],
  • "appServiceId": 0,
  • "appRouteId": 0,
  • "login": "string",
  • "realm": "string",
  • "source": "USER",
  • "generated": true,
  • "exempt": true,
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Delete app auth

Deletes an HTTP basic authentication entry and returns the operation result.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

Get HTTP basic authentication

Returns one HTTP basic authentication credential without its password.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "appInstanceId": 0,
  • "scope": "APP",
  • "appServiceIds": [
    ],
  • "appServiceId": 0,
  • "appRouteId": 0,
  • "login": "string",
  • "realm": "string",
  • "source": "USER",
  • "generated": true,
  • "exempt": true,
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

app-services

Runtime services that belong to app environments.

List app services

Returns app services matching the request filters.

Authorizations:
apiKeyHeader
query Parameters
appInstanceId
required
integer

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Get app service

Returns the app service identified by the request path.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "type": "string",
  • "status": "string",
  • "replicas": 0,
  • "scalability": {
    },
  • "version": "string",
  • "main": true,
  • "disabled": true,
  • "external": true,
  • "required": true,
  • "needsRebuild": true,
  • "needsRedeploy": true,
  • "stackState": "current",
  • "configurationReady": true,
  • "buildSourceBoilerplate": "string",
  • "ciPolicy": "INHERIT",
  • "effectiveCiIntegrationId": 0,
  • "configurationIssues": [
    ],
  • "appInstanceId": 0,
  • "serviceRevId": 0,
  • "parentAppServiceId": 0,
  • "deploymentConfiguration": {
    },
  • "icon": "string",
  • "eol": true,
  • "buildSourceType": "string",
  • "derivative": "string",
  • "gitRepoId": 0,
  • "workspaceMounts": [
    ],
  • "databaseDbId": 0,
  • "databaseUserId": 0,
  • "customizations": [
    ],
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Update app service

Updates the app service and returns the updated resource.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
replicas
integer or null
object (AppServiceScalabilityUpdateInput)
version
string or null
disabled
boolean or null
main
boolean or null
object (BuildSourceInput)
object (ServiceDeploymentConfigurationInput)

Replaces the complete service-level deployment override. An empty object clears it.

Responses

Request samples

Content type
application/json
{
  • "replicas": 0,
  • "scalability": {
    },
  • "version": "string",
  • "disabled": true,
  • "main": true,
  • "buildSource": {
    },
  • "deployment": {
    }
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "type": "string",
  • "status": "string",
  • "replicas": 0,
  • "scalability": {
    },
  • "version": "string",
  • "main": true,
  • "disabled": true,
  • "external": true,
  • "required": true,
  • "needsRebuild": true,
  • "needsRedeploy": true,
  • "stackState": "current",
  • "configurationReady": true,
  • "buildSourceBoilerplate": "string",
  • "ciPolicy": "INHERIT",
  • "effectiveCiIntegrationId": 0,
  • "configurationIssues": [
    ],
  • "appInstanceId": 0,
  • "serviceRevId": 0,
  • "parentAppServiceId": 0,
  • "deploymentConfiguration": {
    },
  • "icon": "string",
  • "eol": true,
  • "buildSourceType": "string",
  • "derivative": "string",
  • "gitRepoId": 0,
  • "workspaceMounts": [
    ],
  • "databaseDbId": 0,
  • "databaseUserId": 0,
  • "customizations": [
    ],
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Run app service action

Runs the named action for an app service.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
name
required
string

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

Create app service log stream

Creates a log stream for an app service container across all replicas or for one selected pod and returns the stream id. Log streams are available while the app environment status is ok or deploying.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
workload
string or null
container
string or null
pod
string or null

Responses

Request samples

Content type
application/json
{
  • "workload": "string",
  • "container": "string",
  • "pod": "string"
}

Response samples

Content type
application/json
{
  • "id": 0
}

List app service env vars

Returns environment variables configured for an app service.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create app service env var

Creates an environment variable for an app service.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
workload
string or null
container
string or null
name
required
string
value
required
string non-empty
secret
required
boolean
runtime
boolean or null
build
boolean or null

Responses

Request samples

Content type
application/json
{
  • "workload": "string",
  • "container": "string",
  • "name": "string",
  • "value": "string",
  • "secret": true,
  • "runtime": true,
  • "build": true
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "appServiceId": 0,
  • "workload": "string",
  • "container": "string",
  • "name": "string",
  • "value": "string",
  • "valueSecretId": 0,
  • "runtime": true,
  • "build": true,
  • "envType": "string",
  • "source": {
    },
  • "createdAt": "2019-08-24T14:15:22Z"
}

Update app service env var

Updates an app service environment variable.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
value
string or null non-empty
secret
required
boolean
runtime
boolean or null
build
boolean or null

Responses

Request samples

Content type
application/json
{
  • "value": "string",
  • "secret": true,
  • "runtime": true,
  • "build": true
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "appServiceId": 0,
  • "workload": "string",
  • "container": "string",
  • "name": "string",
  • "value": "string",
  • "valueSecretId": 0,
  • "runtime": true,
  • "build": true,
  • "envType": "string",
  • "source": {
    },
  • "createdAt": "2019-08-24T14:15:22Z"
}

Delete app service env var

Deletes an app service environment variable.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

List app service Helm values

Returns Helm values configured for an app service.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create app service Helm value

Creates a Helm value override for an app service.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
name
required
string
value
required
string
secret
required
boolean

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "value": "string",
  • "secret": true
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "appServiceId": 0,
  • "name": "string",
  • "value": "string",
  • "valueSecretId": 0,
  • "source": {
    },
  • "createdAt": "2019-08-24T14:15:22Z"
}

Update app service Helm value

Updates an app service Helm value override.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
value
required
string
secret
required
boolean

Responses

Request samples

Content type
application/json
{
  • "value": "string",
  • "secret": true
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "appServiceId": 0,
  • "name": "string",
  • "value": "string",
  • "valueSecretId": 0,
  • "source": {
    },
  • "createdAt": "2019-08-24T14:15:22Z"
}

Delete app service Helm value

Deletes an app service Helm value override.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

List app service tokens

Returns tokens configured for an app service without revealing secret values.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create app service token

Creates a token for an app service.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
name
required
string
value
required
string
secret
required
boolean

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "value": "string",
  • "secret": true
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "appServiceId": 0,
  • "name": "string",
  • "value": "string",
  • "valueSecretId": 0,
  • "envType": "string",
  • "createdAt": "2019-08-24T14:15:22Z"
}

Update app service token

Updates an app service token value or secret flag.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
value
required
string
secret
required
boolean

Responses

Request samples

Content type
application/json
{
  • "value": "string",
  • "secret": true
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "appServiceId": 0,
  • "name": "string",
  • "value": "string",
  • "valueSecretId": 0,
  • "envType": "string",
  • "createdAt": "2019-08-24T14:15:22Z"
}

Delete app service token

Deletes an app service token.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

List app service annotations

Returns annotations configured for an app service.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create app service annotation

Creates an annotation for an app service.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
name
required
string
value
required
string

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "value": "string"
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "appServiceId": 0,
  • "name": "string",
  • "value": "string",
  • "envType": "string",
  • "source": {
    },
  • "createdAt": "2019-08-24T14:15:22Z"
}

Delete app service annotation

Deletes an app service annotation.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

List app service integrations

Returns integration links configured for an app service.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create app service integration

Links an integration to an app service integration slot.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
name
required
string
integrationId
required
integer

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "integrationId": 0
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "appServiceId": 0,
  • "name": "string",
  • "integrationId": 0,
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Delete app service integration

Removes an integration link from an app service.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

List app service settings

Returns settings configured for an app service.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Set app service setting

Sets a named setting value for an app service.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
name
required
string
Request Body schema: application/json
required
value
required
string

Responses

Request samples

Content type
application/json
{
  • "value": "string"
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "appServiceId": 0,
  • "name": "string",
  • "value": "string",
  • "secret": true,
  • "hasValue": true,
  • "var": "string",
  • "runtime": true,
  • "build": true,
  • "fromSettingId": 0
}

List app service configs

Returns config overrides for an app service.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Set app service config

Sets or disables a named config override for an app service.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
name
required
string
Request Body schema: application/json
required
config
string or null
disabled
boolean or null

Responses

Request samples

Content type
application/json
{
  • "config": "string",
  • "disabled": true
}

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

List app service link candidates

Returns the app services a named link of an app service may point at: services of its own environment that satisfy the link's selectors and, for a link that accepts targets in other app environments, services of the organization's other environments that accept such links, satisfy the selectors, and that the caller may use (revealing their environment's runtime secrets) and this app's owner may use.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
name
required
string

Responses

Response samples

Content type
application/json
[
  • {
    }
]

List app service pods

Returns the Kubernetes pods of an app service with their containers, state and resource use.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
query Parameters
mode
string

primary for the main workload (default) or all for every workload.

workload
string

Only pods of this workload.

container
string

Only pods with this container.

Responses

Response samples

Content type
application/json
[
  • {
    }
]

List app service containers

Returns the CPU and memory settings the app service stores for each container of its service. A container with no id stores nothing and runs with the defaults in the service revision manifest, under workloads[].containers[].resources. When the app service runs one of the service's derivatives, that derivative's resources replace the primary container's defaults one value at a time. Each value a stored container sets replaces only that default; a value it leaves empty keeps the default, and 0 means none. Every container requests at least 10m CPU and 16 MiB of memory, never more than its limit.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
[
  • {
    }
]

List app service volumes

Returns configured volume metadata together with effective Kubernetes storage-class state.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Add an optional app service volume

Adds a volume that is optional in the service manifest and returns the reconciliation task identifier.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
name
required
string
size
integer or null
storageClassName
string or null

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "size": 0,
  • "storageClassName": "string"
}

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

Set app service resources

Sets CPU and memory requests and limits for an app service container. The four values replace the stored ones, so send every value the app service should keep setting. Each value replaces only the service's default for that value: an omitted value keeps the default, and 0 means none. Every container requests at least 10m CPU and 16 MiB of memory, never more than its limit. Omitting all four, without a preset, on a container with no GPU setting removes its stored settings so the service's defaults apply again.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
object or null

Omitted or null preserves an existing GPU override. Count zero disables GPUs.

workload
string or null
container
string or null
preset
string or null

Name of a Wodby preset or of a custom preset of the organization, from listResourcePresets. Its values fill the CPU and memory fields this input leaves out; the values are stored, not the preset.

requestCPU
integer or null
requestMem
integer or null
limitCPU
integer or null
limitMem
integer or null

Responses

Request samples

Content type
application/json
{
  • "gpu": {
    },
  • "workload": "string",
  • "container": "string",
  • "preset": "string",
  • "requestCPU": 0,
  • "requestMem": 0,
  • "limitCPU": 0,
  • "limitMem": 0
}

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

Update app service database references

Updates the database DB and user references used by an app service.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
databaseDbId
integer or null
databaseUserId
integer or null

Responses

Request samples

Content type
application/json
{
  • "databaseDbId": 0,
  • "databaseUserId": 0
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "type": "string",
  • "status": "string",
  • "replicas": 0,
  • "scalability": {
    },
  • "version": "string",
  • "main": true,
  • "disabled": true,
  • "external": true,
  • "required": true,
  • "needsRebuild": true,
  • "needsRedeploy": true,
  • "stackState": "current",
  • "configurationReady": true,
  • "buildSourceBoilerplate": "string",
  • "ciPolicy": "INHERIT",
  • "effectiveCiIntegrationId": 0,
  • "configurationIssues": [
    ],
  • "appInstanceId": 0,
  • "serviceRevId": 0,
  • "parentAppServiceId": 0,
  • "deploymentConfiguration": {
    },
  • "icon": "string",
  • "eol": true,
  • "buildSourceType": "string",
  • "derivative": "string",
  • "gitRepoId": 0,
  • "workspaceMounts": [
    ],
  • "databaseDbId": 0,
  • "databaseUserId": 0,
  • "customizations": [
    ],
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

List app service cron schedules

Returns cron schedules configured for an app service.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create app service cron schedule

Creates a cron schedule for an app service.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
name
string or null

Stable cron schedule identity. When omitted or blank, the server generates a unique name.

title
required
string
crontab
required
string
command
required
string
workload
string or null
disabled
boolean or null

Creates the schedule disabled. Disabled schedules do not require cron feature access.

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "title": "string",
  • "crontab": "string",
  • "command": "string",
  • "workload": "string",
  • "disabled": true
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "appServiceId": 0,
  • "name": "string",
  • "title": "string",
  • "crontab": "string",
  • "command": "string",
  • "workload": "string",
  • "disabled": true,
  • "envType": "string",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Update app service cron schedule

Updates an app service cron schedule.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
disabled
boolean or null
title
string or null
crontab
string or null
command
string or null
workload
string or null

Responses

Request samples

Content type
application/json
{
  • "disabled": true,
  • "title": "string",
  • "crontab": "string",
  • "command": "string",
  • "workload": "string"
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "appServiceId": 0,
  • "name": "string",
  • "title": "string",
  • "crontab": "string",
  • "command": "string",
  • "workload": "string",
  • "disabled": true,
  • "envType": "string",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Delete app service cron schedule

Deletes an app service cron schedule.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

Get app service cron schedule

Returns one cron schedule of an app service.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "appServiceId": 0,
  • "name": "string",
  • "title": "string",
  • "crontab": "string",
  • "command": "string",
  • "workload": "string",
  • "disabled": true,
  • "envType": "string",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Run app service cron schedule

Runs an app service cron schedule immediately and returns the created task.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "initiator": {
    },
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "compactTitle": "string",
  • "executionScope": "user",
  • "status": "string",
  • "progress": 0,
  • "silent": true,
  • "system": true,
  • "userId": 0,
  • "user": {
    },
  • "orgId": 0,
  • "projectIds": [
    ],
  • "appId": 0,
  • "appInstanceId": 0,
  • "appServiceId": 0,
  • "clusterId": 0,
  • "databaseId": 0,
  • "integrationId": 0,
  • "serviceId": 0,
  • "stackId": 0,
  • "providerId": 0,
  • "originTaskId": 0,
  • "spawnedTaskIds": [
    ],
  • "repeatedTaskId": 0,
  • "jobs": [
    ],
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "startedAt": "2019-08-24T14:15:22Z",
  • "endedAt": "2019-08-24T14:15:22Z"
}

List app service cron jobs

Returns app service cron jobs matching the request filters.

Authorizations:
apiKeyHeader
query Parameters
appInstanceId
integer
appServiceId
integer
scheduleId
integer
page
integer >= 1

Page number, defaults to 1

pageSize
integer >= 1

Page size, defaults to 30

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "totalCount": 0,
  • "nextPage": 0
}

Get app service cron job

Returns the app service cron job identified by the request path.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "appServiceId": 0,
  • "scheduleId": 0,
  • "taskId": 0,
  • "title": "string",
  • "command": "string",
  • "status": "string",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Start log stream

Starts an existing log stream.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

Keep log stream alive

Extends an existing log stream lease.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

Stop log stream

Stops an existing log stream.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

List resource presets

Returns Wodby's CPU and memory presets, smallest first, then the organization's custom presets when orgId is given. Resources inputs can name any of them; service and stack manifests can name only Wodby's presets. Choosing a preset copies its values.

Authorizations:
apiKeyHeader
query Parameters
orgId
integer

Optional for API-key requests; defaults to the API key's organization. If provided, it must match the key's organization.

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create custom resource preset

Adds a custom resource preset to an organization. Organization owners and admins only.

Authorizations:
apiKeyHeader
Request Body schema: application/json
required
orgId
integer

Used when creating a preset. Optional for API-key requests; defaults to the API key's organization.

name
required
string

Lowercase letters, digits and dashes; unique in the organization and not the name of a Wodby preset.

title
required
string
requestCPU
integer or null
requestMem
integer or null
limitCPU
integer or null
limitMem
integer or null

Responses

Request samples

Content type
application/json
{
  • "orgId": 0,
  • "name": "string",
  • "title": "string",
  • "requestCPU": 0,
  • "requestMem": 0,
  • "limitCPU": 0,
  • "limitMem": 0
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "requestCPU": 0,
  • "requestMem": 0,
  • "limitCPU": 0,
  • "limitMem": 0,
  • "system": true
}

Update custom resource preset

Replaces a custom preset's name, title and values. Resources already set from the preset keep their values. Organization owners and admins only.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
orgId
integer

Used when creating a preset. Optional for API-key requests; defaults to the API key's organization.

name
required
string

Lowercase letters, digits and dashes; unique in the organization and not the name of a Wodby preset.

title
required
string
requestCPU
integer or null
requestMem
integer or null
limitCPU
integer or null
limitMem
integer or null

Responses

Request samples

Content type
application/json
{
  • "orgId": 0,
  • "name": "string",
  • "title": "string",
  • "requestCPU": 0,
  • "requestMem": 0,
  • "limitCPU": 0,
  • "limitMem": 0
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "requestCPU": 0,
  • "requestMem": 0,
  • "limitCPU": 0,
  • "limitMem": 0,
  • "system": true
}

Delete custom resource preset

Deletes a custom resource preset. Resources already set from it keep their values. Organization owners and admins only.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

List app service volume storage-class state

Returns configured and effective storage-class choices for each app service volume.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
[
  • {
    }
]

List effective backup option defaults

Returns the effective default option values for an app service backup definition.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
query Parameters
backupName
required
string

Responses

Response samples

Content type
application/json
[
  • {
    }
]

app-deployments

Deployment records and deployment actions.

List app deployments

Returns app deployments matching the request filters.

Authorizations:
apiKeyHeader
query Parameters
appInstanceId
required
integer
page
integer >= 1

Page number, defaults to 1

pageSize
integer >= 1

Page size, defaults to 30

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "totalCount": 0,
  • "nextPage": 0
}

Create deployment

Creates a deployment and returns the created resource.

Authorizations:
apiKeyHeader
Request Body schema: application/json
required
required
Array of objects (AppServiceDeploymentRequest)
skipRollback
boolean or null

Responses

Request samples

Content type
application/json
{
  • "services": [
    ],
  • "skipRollback": true
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "number": 0,
  • "status": "string",
  • "rolloutStatus": "unknown",
  • "rolloutEndedAt": "2019-08-24T14:15:22Z",
  • "rollbackStatus": "not_attempted",
  • "postDeploymentStatus": "unknown",
  • "skipRollback": true,
  • "canCancel": true,
  • "appInstanceId": 0,
  • "builds": [
    ],
  • "preparationTaskId": 0,
  • "preparationTask": {
    },
  • "taskId": 0,
  • "task": {
    },
  • "postDeploymentTaskId": 0,
  • "postDeploymentTask": {
    },
  • "appServiceDeployments": [
    ],
  • "postDeploymentScripts": [
    ],
  • "skipPostDeploymentScripts": true,
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "startedAt": "2019-08-24T14:15:22Z",
  • "endedAt": "2019-08-24T14:15:22Z"
}

Create deployment from CI

Creates a deployment from a CI workflow request.

Authorizations:
apiKeyHeaderciAccessTokenHeader
Request Body schema: application/json
required
appBuildId
required
integer
required
Array of objects (ServiceDeploymentInput)
skipPostDeployment
required
boolean

Responses

Request samples

Content type
application/json
{
  • "appBuildId": 0,
  • "services": [
    ],
  • "skipPostDeployment": true
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "number": 0,
  • "status": "string",
  • "rolloutStatus": "unknown",
  • "rolloutEndedAt": "2019-08-24T14:15:22Z",
  • "rollbackStatus": "not_attempted",
  • "postDeploymentStatus": "unknown",
  • "skipRollback": true,
  • "canCancel": true,
  • "appInstanceId": 0,
  • "builds": [
    ],
  • "preparationTaskId": 0,
  • "preparationTask": {
    },
  • "taskId": 0,
  • "task": {
    },
  • "postDeploymentTaskId": 0,
  • "postDeploymentTask": {
    },
  • "appServiceDeployments": [
    ],
  • "postDeploymentScripts": [
    ],
  • "skipPostDeploymentScripts": true,
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "startedAt": "2019-08-24T14:15:22Z",
  • "endedAt": "2019-08-24T14:15:22Z"
}

Get deployment

Returns the deployment identified by the request path.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "number": 0,
  • "status": "string",
  • "rolloutStatus": "unknown",
  • "rolloutEndedAt": "2019-08-24T14:15:22Z",
  • "rollbackStatus": "not_attempted",
  • "postDeploymentStatus": "unknown",
  • "skipRollback": true,
  • "canCancel": true,
  • "appInstanceId": 0,
  • "builds": [
    ],
  • "preparationTaskId": 0,
  • "preparationTask": {
    },
  • "taskId": 0,
  • "task": {
    },
  • "postDeploymentTaskId": 0,
  • "postDeploymentTask": {
    },
  • "appServiceDeployments": [
    ],
  • "postDeploymentScripts": [
    ],
  • "skipPostDeploymentScripts": true,
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "startedAt": "2019-08-24T14:15:22Z",
  • "endedAt": "2019-08-24T14:15:22Z"
}

Redeploy deployment

Creates a redeployment task for an existing deployment.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "number": 0,
  • "status": "string",
  • "rolloutStatus": "unknown",
  • "rolloutEndedAt": "2019-08-24T14:15:22Z",
  • "rollbackStatus": "not_attempted",
  • "postDeploymentStatus": "unknown",
  • "skipRollback": true,
  • "canCancel": true,
  • "appInstanceId": 0,
  • "builds": [
    ],
  • "preparationTaskId": 0,
  • "preparationTask": {
    },
  • "taskId": 0,
  • "task": {
    },
  • "postDeploymentTaskId": 0,
  • "postDeploymentTask": {
    },
  • "appServiceDeployments": [
    ],
  • "postDeploymentScripts": [
    ],
  • "skipPostDeploymentScripts": true,
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "startedAt": "2019-08-24T14:15:22Z",
  • "endedAt": "2019-08-24T14:15:22Z"
}

Cancel deployment

Cancels an active deployment and returns its updated state.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "number": 0,
  • "status": "string",
  • "rolloutStatus": "unknown",
  • "rolloutEndedAt": "2019-08-24T14:15:22Z",
  • "rollbackStatus": "not_attempted",
  • "postDeploymentStatus": "unknown",
  • "skipRollback": true,
  • "canCancel": true,
  • "appInstanceId": 0,
  • "builds": [
    ],
  • "preparationTaskId": 0,
  • "preparationTask": {
    },
  • "taskId": 0,
  • "task": {
    },
  • "postDeploymentTaskId": 0,
  • "postDeploymentTask": {
    },
  • "appServiceDeployments": [
    ],
  • "postDeploymentScripts": [
    ],
  • "skipPostDeploymentScripts": true,
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "startedAt": "2019-08-24T14:15:22Z",
  • "endedAt": "2019-08-24T14:15:22Z"
}

app-builds

Build records and CI build ingestion.

List app builds

Returns app builds matching the request filters.

Authorizations:
apiKeyHeader
query Parameters
appInstanceId
required
integer
page
integer >= 1

Page number, defaults to 1

pageSize
integer >= 1

Page size, defaults to 30

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "totalCount": 0,
  • "nextPage": 0
}

Create build

Creates a build and returns the created resource.

Authorizations:
apiKeyHeader
Request Body schema: application/json
required
appServiceIds
required
Array of integers non-empty

Responses

Request samples

Content type
application/json
{
  • "appServiceIds": [
    ]
}

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "taskId": 0
}

Create build from CI

Creates a build from a CI workflow request.

Authorizations:
apiKeyHeader
Request Body schema: application/json
required
appServiceId
required
integer
gitCommitSHA
required
string
gitRef
required
string
gitRefType
required
string
buildNum
required
integer
buildId
required
string
workflow
string or null
gitCommitAuthorName
string or null
gitCommitAuthorEmail
string or null
gitCommitMessage
string or null
provider
required
string
postDeployment
string or null
preDeployment
string or null

Content of the repository's .wodby/pre-deployment.yml. A deployment of this build runs these scripts with the new version before rolling the app service out.

Responses

Request samples

Content type
application/json
{
  • "appServiceId": 0,
  • "gitCommitSHA": "string",
  • "gitRef": "string",
  • "gitRefType": "string",
  • "buildNum": 0,
  • "buildId": "string",
  • "workflow": "string",
  • "gitCommitAuthorName": "string",
  • "gitCommitAuthorEmail": "string",
  • "gitCommitMessage": "string",
  • "provider": "string",
  • "postDeployment": "string",
  • "preDeployment": "string"
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "number": 0,
  • "status": "string",
  • "appInstanceId": 0,
  • "appServiceId": 0,
  • "taskId": 0,
  • "task": {
    },
  • "appServiceBuilds": [
    ],
  • "gitRefType": "string",
  • "gitRef": "string",
  • "commitHash": "string",
  • "commitMessage": "string",
  • "authorName": "string",
  • "authorEmail": "string",
  • "workflow": "string",
  • "stackRevId": 0,
  • "gitRepoId": 0,
  • "ciIntegrationId": 0,
  • "registryIntegrationId": 0,
  • "imageVoidStatus": "none",
  • "canVoidImages": true,
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "startedAt": "2019-08-24T14:15:22Z",
  • "endedAt": "2019-08-24T14:15:22Z",
  • "vulnerabilityScan": {
    }
}

Get build

Returns the build identified by the request path.

Authorizations:
apiKeyHeaderciAccessTokenHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "number": 0,
  • "status": "string",
  • "appInstanceId": 0,
  • "appServiceId": 0,
  • "taskId": 0,
  • "task": {
    },
  • "appServiceBuilds": [
    ],
  • "gitRefType": "string",
  • "gitRef": "string",
  • "commitHash": "string",
  • "commitMessage": "string",
  • "authorName": "string",
  • "authorEmail": "string",
  • "workflow": "string",
  • "stackRevId": 0,
  • "gitRepoId": 0,
  • "ciIntegrationId": 0,
  • "registryIntegrationId": 0,
  • "imageVoidStatus": "none",
  • "canVoidImages": true,
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "startedAt": "2019-08-24T14:15:22Z",
  • "endedAt": "2019-08-24T14:15:22Z",
  • "vulnerabilityScan": {
    }
}

Get build config

Returns CI build configuration for the build source owner and image targets linked to that owner. Services with independent build sources are omitted.

Authorizations:
apiKeyHeaderciAccessTokenHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "registryHost": "string",
  • "registryRepository": "string",
  • "services": [
    ]
}

Get Docker registry credentials for build

Returns Docker registry credentials for the app build.

Authorizations:
apiKeyHeaderciAccessTokenHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "username": "string",
  • "password": "string"
}

Deploy build

Creates a deployment from the completed app build.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "number": 0,
  • "status": "string",
  • "rolloutStatus": "unknown",
  • "rolloutEndedAt": "2019-08-24T14:15:22Z",
  • "rollbackStatus": "not_attempted",
  • "postDeploymentStatus": "unknown",
  • "skipRollback": true,
  • "canCancel": true,
  • "appInstanceId": 0,
  • "builds": [
    ],
  • "preparationTaskId": 0,
  • "preparationTask": {
    },
  • "taskId": 0,
  • "task": {
    },
  • "postDeploymentTaskId": 0,
  • "postDeploymentTask": {
    },
  • "appServiceDeployments": [
    ],
  • "postDeploymentScripts": [
    ],
  • "skipPostDeploymentScripts": true,
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "startedAt": "2019-08-24T14:15:22Z",
  • "endedAt": "2019-08-24T14:15:22Z"
}

Void build images

Removes the build's images from a Wodby-managed registry when possible and marks them unavailable, so the build can no longer be deployed. Refused while the build is pending or used by the environment. Returns the build.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "number": 0,
  • "status": "string",
  • "appInstanceId": 0,
  • "appServiceId": 0,
  • "taskId": 0,
  • "task": {
    },
  • "appServiceBuilds": [
    ],
  • "gitRefType": "string",
  • "gitRef": "string",
  • "commitHash": "string",
  • "commitMessage": "string",
  • "authorName": "string",
  • "authorEmail": "string",
  • "workflow": "string",
  • "stackRevId": 0,
  • "gitRepoId": 0,
  • "ciIntegrationId": 0,
  • "registryIntegrationId": 0,
  • "imageVoidStatus": "none",
  • "canVoidImages": true,
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "startedAt": "2019-08-24T14:15:22Z",
  • "endedAt": "2019-08-24T14:15:22Z",
  • "vulnerabilityScan": {
    }
}

app-ports

Network ports exposed by app services and app endpoints.

List app ports

Returns app ports matching the request filters.

Authorizations:
apiKeyHeader
query Parameters
appInstanceId
required
integer

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Publish app port

Exposes the app port on the cluster's public address. Leave publicPort out to pick a free port. Returns the port.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
optional
publicPort
integer or null [ 1 .. 65535 ]

Public port on the cluster's address.

Responses

Request samples

Content type
application/json
{
  • "publicPort": 1
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "protocol": "string",
  • "number": 0,
  • "publicPort": 0,
  • "private": true,
  • "appEndpointId": 0,
  • "appInstanceId": 0,
  • "appServiceId": 0,
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Unpublish app port

Stops exposing the app port on the cluster's public address and returns the port.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "protocol": "string",
  • "number": 0,
  • "publicPort": 0,
  • "private": true,
  • "appEndpointId": 0,
  • "appInstanceId": 0,
  • "appServiceId": 0,
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

List app port settings

Returns the settings of an app port.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Replace app port settings

Replaces all settings of an app port. A setting left out is removed. Returns the stored settings.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
required
Array of objects (AppPortSettingInput)

The complete list of settings. A setting left out is removed.

Responses

Request samples

Content type
application/json
{
  • "settings": [
    ]
}

Response samples

Content type
application/json
[
  • {
    }
]

Set app port setting

Creates or updates a named app port setting.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
name
required
string (AppPortSettingName)
Enum: "IDLE_TIMEOUT" "CONNECTION_LIMIT" "TCP_KEEPALIVE"
Request Body schema: application/json
required
value
required
string

Responses

Request samples

Content type
application/json
{
  • "value": "string"
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "IDLE_TIMEOUT",
  • "value": "string",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Delete app port setting

Removes a named app port setting.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
name
required
string (AppPortSettingName)
Enum: "IDLE_TIMEOUT" "CONNECTION_LIMIT" "TCP_KEEPALIVE"

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

List app endpoints

Returns the endpoints of an app environment. An endpoint groups the routes and ports of one app service endpoint.

Authorizations:
apiKeyHeader
query Parameters
appEnvironmentId
required
integer

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Get app endpoint

Returns one app endpoint with its route and port IDs.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "appServiceId": 0,
  • "appEnvironmentId": 0,
  • "primary": true,
  • "routeIds": [
    ],
  • "portIds": [
    ],
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Get app port

Returns the app port identified by the request path.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "protocol": "string",
  • "number": 0,
  • "publicPort": 0,
  • "private": true,
  • "appEndpointId": 0,
  • "appInstanceId": 0,
  • "appServiceId": 0,
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Update app port

Changes the public port of an app port and returns it.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
publicPort
integer or null [ 1 .. 65535 ]

Public port on the cluster's address.

Responses

Request samples

Content type
application/json
{
  • "publicPort": 1
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "protocol": "string",
  • "number": 0,
  • "publicPort": 0,
  • "private": true,
  • "appEndpointId": 0,
  • "appInstanceId": 0,
  • "appServiceId": 0,
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

app-routes

HTTP routing rules for app environments.

List app environment default route settings

Returns the app environment's default route settings. Every route inherits them unless it overrides them.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Replace app environment default route settings

Replaces all default route settings of the app environment. A setting left out is removed, so routes fall back to the service default. Returns the stored settings.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
required
Array of objects (AppRouteSettingInput)

The complete list of settings. A setting left out is removed.

Responses

Request samples

Content type
application/json
{
  • "settings": [
    ]
}

Response samples

Content type
application/json
[
  • {
    }
]

List app routes

Returns app routes matching the request filters.

Authorizations:
apiKeyHeader
query Parameters
appInstanceId
required
integer

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create app route

Creates an app route and returns the created resource.

Authorizations:
apiKeyHeader
Request Body schema: application/json
required
appServiceId
required
integer
disabled
boolean or null

Creates the custom domain disabled. Disabled domains do not require custom-domain feature access until enabled.

main
required
boolean
primary
required
boolean
port
required
integer
host
required
string
path
string or null
pathType
string or null
Enum: "PREFIX" "EXACT"
action
string or null
Enum: "SERVE" "BACKEND" "REDIRECT"

SERVE sends requests to the selected app service. BACKEND is accepted for backwards compatibility.

redirectScheme
string or null
redirectHost
string or null
redirectPath
string or null
redirectStatusCode
integer or null
hsts
boolean or null

Enables HTTP Strict Transport Security for a serve route when TLS is active.

letsencrypt
boolean or null
object (AppRouteTLSInput)

Responses

Request samples

Content type
application/json
{
  • "appServiceId": 0,
  • "disabled": true,
  • "main": true,
  • "primary": true,
  • "port": 0,
  • "host": "string",
  • "path": "string",
  • "pathType": "PREFIX",
  • "action": "SERVE",
  • "redirectScheme": "string",
  • "redirectHost": "string",
  • "redirectPath": "string",
  • "redirectStatusCode": 0,
  • "hsts": true,
  • "letsencrypt": true,
  • "tls": {
    }
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "host": "string",
  • "path": "string",
  • "pathType": "string",
  • "action": "string",
  • "redirectScheme": "string",
  • "redirectHost": "string",
  • "redirectPath": "string",
  • "redirectStatusCode": 0,
  • "status": "string",
  • "attachmentStatus": "UNKNOWN",
  • "attachmentCheckedAt": "2019-08-24T14:15:22Z",
  • "attachmentError": "string",
  • "disabled": true,
  • "main": true,
  • "primary": true,
  • "private": true,
  • "technical": true,
  • "appInstanceId": 0,
  • "appServiceId": 0,
  • "portId": 0,
  • "cert": {
    },
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "lastSyncedAt": "2019-08-24T14:15:22Z"
}

Get app route

Returns the app route identified by the request path.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "host": "string",
  • "path": "string",
  • "pathType": "string",
  • "action": "string",
  • "redirectScheme": "string",
  • "redirectHost": "string",
  • "redirectPath": "string",
  • "redirectStatusCode": 0,
  • "status": "string",
  • "attachmentStatus": "UNKNOWN",
  • "attachmentCheckedAt": "2019-08-24T14:15:22Z",
  • "attachmentError": "string",
  • "disabled": true,
  • "main": true,
  • "primary": true,
  • "private": true,
  • "technical": true,
  • "appInstanceId": 0,
  • "appServiceId": 0,
  • "portId": 0,
  • "cert": {
    },
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "lastSyncedAt": "2019-08-24T14:15:22Z"
}

Update app route

Updates the app route and returns the updated resource.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
appServiceId
integer or null

Target app service for retargeting. Must be supplied together with port.

port
integer or null

Target public HTTP port for retargeting. Must be supplied together with appServiceId.

disabled
boolean or null
main
boolean or null
primary
boolean or null
path
string or null
pathType
string or null
Enum: "PREFIX" "EXACT"
action
string or null
Enum: "SERVE" "BACKEND" "REDIRECT"

SERVE sends requests to the selected app service. BACKEND is accepted for backwards compatibility.

redirectScheme
string or null
redirectHost
string or null
redirectPath
string or null
redirectStatusCode
integer or null
object (AppRouteTLSInput)

Responses

Request samples

Content type
application/json
{
  • "appServiceId": 0,
  • "port": 0,
  • "disabled": true,
  • "main": true,
  • "primary": true,
  • "path": "string",
  • "pathType": "PREFIX",
  • "action": "SERVE",
  • "redirectScheme": "string",
  • "redirectHost": "string",
  • "redirectPath": "string",
  • "redirectStatusCode": 0,
  • "tls": {
    }
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "host": "string",
  • "path": "string",
  • "pathType": "string",
  • "action": "string",
  • "redirectScheme": "string",
  • "redirectHost": "string",
  • "redirectPath": "string",
  • "redirectStatusCode": 0,
  • "status": "string",
  • "attachmentStatus": "UNKNOWN",
  • "attachmentCheckedAt": "2019-08-24T14:15:22Z",
  • "attachmentError": "string",
  • "disabled": true,
  • "main": true,
  • "primary": true,
  • "private": true,
  • "technical": true,
  • "appInstanceId": 0,
  • "appServiceId": 0,
  • "portId": 0,
  • "cert": {
    },
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "lastSyncedAt": "2019-08-24T14:15:22Z"
}

Delete app route

Deletes a customer route and returns the operation result. Wodby-managed technical routes cannot be deleted; disable them instead.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

List app route settings

Returns route-specific setting overrides. Inherited app-environment defaults are not included.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Replace app route settings

Replaces all setting overrides of the route. A setting left out is removed, so the route inherits the app environment or service default. Returns the stored overrides.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
required
Array of objects (AppRouteSettingInput)

The complete list of settings. A setting left out is removed.

Responses

Request samples

Content type
application/json
{
  • "settings": [
    ]
}

Response samples

Content type
application/json
[
  • {
    }
]

Enable, disable or delete app routes

Applies one operation to several routes of an app environment in one task.

Authorizations:
apiKeyHeader
Request Body schema: application/json
required
appEnvironmentId
required
integer
routeIds
required
Array of integers non-empty

Routes of the app environment to change.

operation
required
string
Enum: "enable" "disable" "delete"

Responses

Request samples

Content type
application/json
{
  • "appEnvironmentId": 0,
  • "routeIds": [
    ],
  • "operation": "enable"
}

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

List effective app route settings

Returns the resolved route settings together with whether each value came from the app defaults, active service manifest, or route override.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Retry app route certificate

Starts certificate reconciliation again for a route whose managed certificate issuance failed or stalled.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

Set app route setting

Creates or updates a named app route setting.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
name
required
string (AppRouteSettingName)
Enum: "HTTPS_REDIRECT" "NO_INDEX" "REQUEST_BODY_SIZE" "SESSION_AFFINITY" "PATH_REWRITE" "HSTS" "REQUEST_TIMEOUT" "BACKEND_REQUEST_TIMEOUT" "RATE_LIMIT_PER_IP" "RATE_LIMIT_TOTAL"
Request Body schema: application/json
required
value
required
string

Responses

Request samples

Content type
application/json
{
  • "value": "string"
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "appInstanceId": 0,
  • "routeId": 0,
  • "default": true,
  • "name": "HTTPS_REDIRECT",
  • "value": "string",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Delete app route setting

Deletes a named app route setting and restores any applicable default.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
name
required
string (AppRouteSettingName)
Enum: "HTTPS_REDIRECT" "NO_INDEX" "REQUEST_BODY_SIZE" "SESSION_AFFINITY" "PATH_REWRITE" "HSTS" "REQUEST_TIMEOUT" "BACKEND_REQUEST_TIMEOUT" "RATE_LIMIT_PER_IP" "RATE_LIMIT_TOTAL"

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

certs

TLS certificate metadata for routes, app services, app environments, and databases.

List certs

Returns certificate metadata for an organization.

Authorizations:
apiKeyHeader
query Parameters
orgId
integer

Optional for API-key requests; defaults to the API key's organization. If provided, it must match the key's organization.

host
string

When supplied, returns only usable custom certificates whose DNS names cover this host.

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Get cert

Returns certificate metadata identified by the request path within the requested organization.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
query Parameters
orgId
integer

Optional for API-key requests; defaults to the API key's organization. If provided, it must match the key's organization.

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "custom": true,
  • "issuer": "string",
  • "domain": "string",
  • "dnsNames": [
    ],
  • "routeIds": [
    ],
  • "fingerprint": "string",
  • "keyType": "string",
  • "keyLength": 0,
  • "status": "string",
  • "appInstanceId": 0,
  • "appServiceId": 0,
  • "databaseId": 0,
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "issuedAt": "2019-08-24T14:15:22Z",
  • "renewsAt": "2019-08-24T14:15:22Z",
  • "expiresAt": "2019-08-24T14:15:22Z"
}

Delete custom certificate

Deletes an uploaded certificate that is not attached to any route or other resource.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

clusters

Kubernetes clusters connected to or managed by Wodby.

List clusters

Returns clusters matching the request filters.

Authorizations:
apiKeyHeader
query Parameters
orgId
integer

Optional for API-key requests; defaults to the API key's organization. If provided, it must match the key's organization.

projectIds
string

Comma-separated project ids

integrationId
integer
environmentId
integer

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create cluster

Creates a cluster and returns the created resource.

Authorizations:
apiKeyHeader
Request Body schema: application/json
required
orgId
integer

Optional for API-key requests; defaults to the API key's organization.

projectId
integer or null
availableToAllProjects
boolean or null

Lets every project in the organization use the new resource without a project share. Only an organization-owned resource, created without projectId, can be available to all projects.

integrationId
required
integer
name
required
string
title
required
string
serverless
required
boolean
singleNode
boolean or null
version
string or null
machineType
string or null
minNodeCount
integer or null
maxNodeCount
integer or null
nodeDiskSize
integer or null
object or null (ClusterNodePoolInput)

An optional GPU node pool. Only machine types that report GPUs are accepted, and the provider must support GPU node pools.

zone
string or null
region
string or null
billingOption
string or null
disableMonitoring
required
boolean
autoInfrastructureUpgrade
boolean or null
autoKubernetesUpgrade
boolean or null

Turns automatic Kubernetes version and component upgrades on or off. Off by default, because each Kubernetes upgrade of a managed cluster replaces its nodes and restarts every pod. Serverless clusters are always off.

object (ClusterEnvironmentPolicyInput)

Use envType and allowedEnvTypes. Legacy ID fields remain accepted but cannot be mixed with their type equivalents.

Responses

Request samples

Content type
application/json
{
  • "orgId": 0,
  • "projectId": 0,
  • "availableToAllProjects": true,
  • "integrationId": 0,
  • "name": "string",
  • "title": "string",
  • "serverless": true,
  • "singleNode": true,
  • "version": "string",
  • "machineType": "string",
  • "minNodeCount": 0,
  • "maxNodeCount": 0,
  • "nodeDiskSize": 0,
  • "gpuNodePool": {
    },
  • "zone": "string",
  • "region": "string",
  • "billingOption": "string",
  • "disableMonitoring": true,
  • "autoInfrastructureUpgrade": true,
  • "autoKubernetesUpgrade": true,
  • "environmentPolicy": {
    }
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "status": "string",
  • "serverless": true,
  • "demo": true,
  • "wodby": true,
  • "k3s": true,
  • "singleNode": true,
  • "version": "string",
  • "kubernetesVersionEol": true,
  • "kubernetesVersionEolDate": "2019-08-24T14:15:22Z",
  • "infraVersion": "string",
  • "minNodeCount": 0,
  • "maxNodeCount": 0,
  • "k3sMaxPods": 0,
  • "gpuNodePool": {
    },
  • "lastNodesReady": 0,
  • "lastNodesTotal": 0,
  • "region": "string",
  • "zone": "string",
  • "ips": [
    ],
  • "hostname": "string",
  • "integrationId": 0,
  • "envId": 0,
  • "envType": "prod",
  • "envScope": "all",
  • "allowedEnvIds": [
    ],
  • "allowedEnvTypes": [
    ],
  • "orgId": 0,
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "availableToAllProjects": true,
  • "capabilities": {
    },
  • "settings": {
    },
  • "storageClasses": [
    ],
  • "storageClassesObservedAt": "2019-08-24T14:15:22Z",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Get cluster by name

Returns the cluster identified by name.

Authorizations:
apiKeyHeader
path Parameters
name
required
string
query Parameters
orgId
integer

Optional for API-key requests; defaults to the API key's organization. If provided, it must match the key's organization.

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "status": "string",
  • "serverless": true,
  • "demo": true,
  • "wodby": true,
  • "k3s": true,
  • "singleNode": true,
  • "version": "string",
  • "kubernetesVersionEol": true,
  • "kubernetesVersionEolDate": "2019-08-24T14:15:22Z",
  • "infraVersion": "string",
  • "minNodeCount": 0,
  • "maxNodeCount": 0,
  • "k3sMaxPods": 0,
  • "gpuNodePool": {
    },
  • "lastNodesReady": 0,
  • "lastNodesTotal": 0,
  • "region": "string",
  • "zone": "string",
  • "ips": [
    ],
  • "hostname": "string",
  • "integrationId": 0,
  • "envId": 0,
  • "envType": "prod",
  • "envScope": "all",
  • "allowedEnvIds": [
    ],
  • "allowedEnvTypes": [
    ],
  • "orgId": 0,
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "availableToAllProjects": true,
  • "capabilities": {
    },
  • "settings": {
    },
  • "storageClasses": [
    ],
  • "storageClassesObservedAt": "2019-08-24T14:15:22Z",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Get cluster

Returns the cluster identified by the request path.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "status": "string",
  • "serverless": true,
  • "demo": true,
  • "wodby": true,
  • "k3s": true,
  • "singleNode": true,
  • "version": "string",
  • "kubernetesVersionEol": true,
  • "kubernetesVersionEolDate": "2019-08-24T14:15:22Z",
  • "infraVersion": "string",
  • "minNodeCount": 0,
  • "maxNodeCount": 0,
  • "k3sMaxPods": 0,
  • "gpuNodePool": {
    },
  • "lastNodesReady": 0,
  • "lastNodesTotal": 0,
  • "region": "string",
  • "zone": "string",
  • "ips": [
    ],
  • "hostname": "string",
  • "integrationId": 0,
  • "envId": 0,
  • "envType": "prod",
  • "envScope": "all",
  • "allowedEnvIds": [
    ],
  • "allowedEnvTypes": [
    ],
  • "orgId": 0,
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "availableToAllProjects": true,
  • "capabilities": {
    },
  • "settings": {
    },
  • "storageClasses": [
    ],
  • "storageClassesObservedAt": "2019-08-24T14:15:22Z",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Update cluster

Updates the cluster and returns the updated resource.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
title
required
string

Responses

Request samples

Content type
application/json
{
  • "title": "string"
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "status": "string",
  • "serverless": true,
  • "demo": true,
  • "wodby": true,
  • "k3s": true,
  • "singleNode": true,
  • "version": "string",
  • "kubernetesVersionEol": true,
  • "kubernetesVersionEolDate": "2019-08-24T14:15:22Z",
  • "infraVersion": "string",
  • "minNodeCount": 0,
  • "maxNodeCount": 0,
  • "k3sMaxPods": 0,
  • "gpuNodePool": {
    },
  • "lastNodesReady": 0,
  • "lastNodesTotal": 0,
  • "region": "string",
  • "zone": "string",
  • "ips": [
    ],
  • "hostname": "string",
  • "integrationId": 0,
  • "envId": 0,
  • "envType": "prod",
  • "envScope": "all",
  • "allowedEnvIds": [
    ],
  • "allowedEnvTypes": [
    ],
  • "orgId": 0,
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "availableToAllProjects": true,
  • "capabilities": {
    },
  • "settings": {
    },
  • "storageClasses": [
    ],
  • "storageClassesObservedAt": "2019-08-24T14:15:22Z",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Delete cluster

Deletes the cluster and returns the operation result.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
query Parameters
force
boolean
Default: false

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

Get Kubernetes version upgrade plan

Returns supported Kubernetes upgrade targets, blockers, and warnings for a cluster.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "currentVersion": "string",
  • "providerVersion": "string",
  • "provider": "string",
  • "supported": true,
  • "targets": [
    ],
  • "blockers": [
    ],
  • "warnings": [
    ],
  • "observedAt": "2019-08-24T14:15:22Z"
}

List cluster component updates

Returns the updates Wodby can apply to single components of a healthy cluster, without a Kubernetes or infrastructure upgrade. The ID is the cluster's. Most components cannot be updated this way, because their provider or K3s release owns them, so the list is often empty.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
[
  • {
    }
]

List cluster components

Returns the infrastructure software last observed running on a cluster: system pods, infrastructure apps and node software such as the kubelet, container runtime, operating system and kernel. Customer application namespaces are not included. The ID is the cluster's. The list is empty until the first observation, and each item's observedAt shows how recent it is.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
[
  • {
    }
]

List cluster host checks

Returns what a K3s cluster's server last reported about its protections against the Linux kernel bug CVE-2026-98432. The server checks after each boot and once a day, puts back a protection that is missing, and reports the result. The ID is the cluster's. Every known check is listed, as unknown when the server hasn't reported it or its last report is more than two days old. Managed clusters return an empty list.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
[
  • {
    }
]

List cluster security advisories

Returns where the cluster stands on each security advisory Wodby tracks, such as CVE-2026-98432. The ID is the cluster's. A K3s cluster is mitigated or not by the protections Wodby keeps on its server. A managed cluster is fixed or not by the node images its provider ships, as Wodby last checked them: once a day, and when a task that replaces nodes finishes. A managed cluster returns an empty list until its first check, within minutes of its creation. An advisory is left out when Wodby can't tell, for example when the provider hasn't said which node images carry the fix. Wodby Cloud and serverless clusters return an empty list.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
[
  • {
    }
]

List cluster vulnerabilities

Lists the cluster's vulnerabilities from every source Wodby has, in one list: the security advisories Wodby tracks, the scans of a K3s cluster's server packages, managed node pools on an outdated image, the known vulnerabilities of the cluster's Kubernetes version, and the scans of the images Wodby's infrastructure apps run. The ID is the cluster's. Vulnerabilities the cluster is still exposed to come first, then the most severe. Wodby Cloud and serverless clusters return an empty list.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
query Parameters
components
string

Comma-separated components to list: operating_system, node_image, kubernetes, infrastructure_app. All when omitted.

severities
string

Comma-separated severities to list, such as critical,high. All when omitted.

unresolved
boolean

Only vulnerabilities the cluster is still exposed to and doesn't ignore.

page
integer >= 1

Page number, defaults to 1

pageSize
integer >= 1

Page size, defaults to 30

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "totalCount": 0,
  • "nextPage": 0,
  • "counts": {
    },
  • "sources": [
    ],
  • "scanning": true,
  • "restartRequired": 0,
  • "waitingForUpstream": 0
}

List ignored cluster vulnerabilities

Lists the vulnerabilities the cluster ignores, newest first, including those that match nothing listed now. The ID is the cluster's.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Ignore a cluster vulnerability

Ignores a vulnerability in every component of the cluster, including later checks. Ignored vulnerabilities stay listed, last, and are left out of the cluster's vulnerability counts and reported in the ignored count instead. Only vulnerabilities listed as ignorable are affected. The ID is the cluster's. Needs permission to modify the cluster. Fails when the cluster already ignores the vulnerability.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
vulnerabilityId
required
string <= 64 characters

Vulnerability ID as listed for the cluster, such as CVE-2024-12345.

reason
string <= 1000 characters

Why the vulnerability is accepted.

Responses

Request samples

Content type
application/json
{
  • "vulnerabilityId": "string",
  • "reason": "string"
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "clusterId": 0,
  • "vulnerabilityId": "string",
  • "reason": "string",
  • "createdAt": "2019-08-24T14:15:22Z"
}

Stop ignoring a cluster vulnerability

Removes an ignore, so the vulnerability counts again. The ID is the ignore's. Needs permission to modify the cluster.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

List Kubernetes version vulnerabilities

Returns the known upstream vulnerabilities of the Kubernetes version the cluster last reported. The ID is the cluster's. The vulnerabilities describe the upstream patch level of the version; K3s and managed Kubernetes builds can carry fixes that are newer than that patch. Returns null while they are unknown: for Wodby Cloud and serverless clusters, before the cluster reports its version, or while they can't be loaded.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "version": "string",
  • "vulnerabilities": [
    ]
}

Update cluster settings

Updates cluster settings and returns the updated cluster.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
object (ClusterAutoInfrastructureUpgradeSettingsInput)
object (ClusterAutoKubernetesUpgradeSettingsInput)

Omitted fields keep their current values.

object (ClusterCapabilityPolicy)

Responses

Request samples

Content type
application/json
{
  • "autoInfrastructureUpgrade": {
    },
  • "autoKubernetesUpgrade": {
    },
  • "clusterCapabilities": {
    }
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "status": "string",
  • "serverless": true,
  • "demo": true,
  • "wodby": true,
  • "k3s": true,
  • "singleNode": true,
  • "version": "string",
  • "kubernetesVersionEol": true,
  • "kubernetesVersionEolDate": "2019-08-24T14:15:22Z",
  • "infraVersion": "string",
  • "minNodeCount": 0,
  • "maxNodeCount": 0,
  • "k3sMaxPods": 0,
  • "gpuNodePool": {
    },
  • "lastNodesReady": 0,
  • "lastNodesTotal": 0,
  • "region": "string",
  • "zone": "string",
  • "ips": [
    ],
  • "hostname": "string",
  • "integrationId": 0,
  • "envId": 0,
  • "envType": "prod",
  • "envScope": "all",
  • "allowedEnvIds": [
    ],
  • "allowedEnvTypes": [
    ],
  • "orgId": 0,
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "availableToAllProjects": true,
  • "capabilities": {
    },
  • "settings": {
    },
  • "storageClasses": [
    ],
  • "storageClassesObservedAt": "2019-08-24T14:15:22Z",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Update cluster environment policy

Updates the cluster's environment type and allowed environment-type scope. Scope reductions that conflict with existing non-infrastructure app environments are rejected.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
envId
integer
Deprecated
envType
string
Enum: "prod" "test" "staging" "dev" "feature"
scope
required
string
Enum: "all" "selected"
allowedEnvIds
Array of integers
Deprecated
allowedEnvTypes
Array of strings
Items Enum: "prod" "test" "staging" "dev" "feature"

Responses

Request samples

Content type
application/json
{
  • "envId": 0,
  • "envType": "prod",
  • "scope": "all",
  • "allowedEnvIds": [
    ],
  • "allowedEnvTypes": [
    ]
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "status": "string",
  • "serverless": true,
  • "demo": true,
  • "wodby": true,
  • "k3s": true,
  • "singleNode": true,
  • "version": "string",
  • "kubernetesVersionEol": true,
  • "kubernetesVersionEolDate": "2019-08-24T14:15:22Z",
  • "infraVersion": "string",
  • "minNodeCount": 0,
  • "maxNodeCount": 0,
  • "k3sMaxPods": 0,
  • "gpuNodePool": {
    },
  • "lastNodesReady": 0,
  • "lastNodesTotal": 0,
  • "region": "string",
  • "zone": "string",
  • "ips": [
    ],
  • "hostname": "string",
  • "integrationId": 0,
  • "envId": 0,
  • "envType": "prod",
  • "envScope": "all",
  • "allowedEnvIds": [
    ],
  • "allowedEnvTypes": [
    ],
  • "orgId": 0,
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "availableToAllProjects": true,
  • "capabilities": {
    },
  • "settings": {
    },
  • "storageClasses": [
    ],
  • "storageClassesObservedAt": "2019-08-24T14:15:22Z",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Get cluster sharing

Returns who owns the cluster and which projects can use it.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "availableToAllProjects": true,
  • "sharedProjects": [
    ]
}

Update cluster sharing

Changes the cluster owner and replaces the projects it is shared with. It can also make an organization-owned cluster available to every project. Returns the resulting sharing.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
ownershipScope
required
string
Enum: "org" "project"

org to make the organization the owner, project to make one project the owner.

ownerProjectId
integer or null

Project that becomes the owner. Required when ownershipScope is project.

required
Array of objects (ProjectShareInput)

The complete list of project shares. A project left out loses its share. The owning project always keeps write access. You need Admin access to every project whose share you add or remove.

availableToAllProjects
boolean or null

Lets every project in the organization use the resource without a project share. Only organization-owned clusters, integrations, services and stacks can be available to all projects. Omit it to keep the current setting.

Responses

Request samples

Content type
application/json
{
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "sharedProjects": [
    ],
  • "availableToAllProjects": true
}

Response samples

Content type
application/json
{
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "availableToAllProjects": true,
  • "sharedProjects": [
    ]
}

Upgrade cluster infrastructure

Starts a cluster infrastructure upgrade task and returns the task identifier.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

Update a cluster component

Starts a task that applies one of the updates listed for the cluster, and returns the task result.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
name
required
string

The update's name, as listed for the cluster.

Responses

Request samples

Content type
application/json
{
  • "name": "string"
}

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

Upgrade cluster infrastructure app stacks

Starts a cluster infrastructure app stack upgrade task and returns the task identifier.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

Update cluster Kubernetes version

Starts upgrading the cluster to a Kubernetes version from its upgrade plan. Check GET /cluster-kubernetes- version-upgrade-plans/{id} for the allowed targets first.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
version
required
string non-empty

Target Kubernetes version from the cluster's upgrade plan.

Responses

Request samples

Content type
application/json
{
  • "version": "string"
}

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

Scale cluster nodes

Changes the minimum and maximum node count of a managed cluster and starts the node pool update.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
minNodeCount
required
integer >= 0
maxNodeCount
required
integer >= 1

Responses

Request samples

Content type
application/json
{
  • "minNodeCount": 0,
  • "maxNodeCount": 1
}

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

Update the GPU node pool

Adds, resizes, replaces or removes the cluster's optional GPU node pool. Pods that request GPUs are scheduled onto this pool. Set gpuNodePool to null to remove the pool; removal is refused while pods on the cluster request GPUs. Changing the machine type creates the new pool before the old one is deleted.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
required
object or null (ClusterNodePoolInput)

An optional GPU node pool. Only machine types that report GPUs are accepted, and the provider must support GPU node pools.

Responses

Request samples

Content type
application/json
{
  • "gpuNodePool": {
    }
}

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

Recycle cluster nodes

Starts refreshing the cluster's worker nodes, so applications restart as their pods move. EKS moves each node group to its latest node image and leaves a group that already runs it in place. AKS and DigitalOcean replace every node. UpCloud gets a new node group with the same settings and node count, and the old group is drained and deleted. A single-node DigitalOcean or UpCloud cluster gets a temporary second node first, and its public IP changes: Wodby updates the technical domains, but custom domains with an A record to the old IP must be updated. Refused for providers whose kube settings report nodeRecycling as false, currently GKE and OVHcloud, for K3s, Wodby Cloud and serverless clusters, and while application operations are active. New deployments wait until it ends.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

Update K3s cluster public IP

Changes the public IP address that routes to a self-hosted K3s cluster. Returns the cluster.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
publicIp
required
string non-empty

Responses

Request samples

Content type
application/json
{
  • "publicIp": "string"
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "status": "string",
  • "serverless": true,
  • "demo": true,
  • "wodby": true,
  • "k3s": true,
  • "singleNode": true,
  • "version": "string",
  • "kubernetesVersionEol": true,
  • "kubernetesVersionEolDate": "2019-08-24T14:15:22Z",
  • "infraVersion": "string",
  • "minNodeCount": 0,
  • "maxNodeCount": 0,
  • "k3sMaxPods": 0,
  • "gpuNodePool": {
    },
  • "lastNodesReady": 0,
  • "lastNodesTotal": 0,
  • "region": "string",
  • "zone": "string",
  • "ips": [
    ],
  • "hostname": "string",
  • "integrationId": 0,
  • "envId": 0,
  • "envType": "prod",
  • "envScope": "all",
  • "allowedEnvIds": [
    ],
  • "allowedEnvTypes": [
    ],
  • "orgId": 0,
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "availableToAllProjects": true,
  • "capabilities": {
    },
  • "settings": {
    },
  • "storageClasses": [
    ],
  • "storageClassesObservedAt": "2019-08-24T14:15:22Z",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Remove K3s cluster node

Takes a worker node out of a K3s cluster: moves its pods to other nodes, stops K3s on it and deletes the node. Refuses the server, and without force a node that stores persistent volumes, whose data would be lost. Run sudo /usr/local/bin/wodby-k3s-uninstall on that server afterwards to remove K3s from it.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
nodeName
required
string
force
boolean

Remove the node even though it stores persistent volumes, which loses their data.

Responses

Request samples

Content type
application/json
{
  • "nodeName": "string",
  • "force": true
}

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

Switch K3s server to a private address

Switches the server of a K3s cluster from its public address to a private one from GET /cluster-k3s-private-addresses/{id} for cluster traffic, so worker nodes can join, and keeps the public address for public traffic. K3s restarts once: the Kubernetes API pauses for about a minute while apps keep running, and new deployments wait until the switch ends. Refused while application operations are active. If K3s doesn't come back on the private address, the server restores its previous settings.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
address
required
string

A private address from GET /cluster-k3s-private-addresses/{id}.

force
boolean

Switch to an address the server's network configuration isn't known to keep after a reboot.

Responses

Request samples

Content type
application/json
{
  • "address": "string",
  • "force": true
}

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

Set pods per node of a K3s cluster

Sets how many pods each node of a K3s cluster runs at most. K3s restarts on every node whose setting changes, one node at a time: apps keep running, the Kubernetes API pauses for about a minute while the server restarts, and new deployments wait until it ends. Refused while application operations are active, below the pods a node already runs, on a node with no free pod slot, and before the cluster's infrastructure upgrade that sets it.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
maxPods
required
integer [ 50 .. 250 ]

Pods each node runs at most.

Responses

Request samples

Content type
application/json
{
  • "maxPods": 50
}

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

Update K3s server packages

Updates the operating system packages of a K3s cluster's nodes with each server's package manager, one node at a time, within the installed release. Leave nodes empty to update every node. Apps keep running. A node that needs a restart to apply the updates, such as for a new kernel, shows it in GET /cluster-vulnerabilities/{id} after its next scan. Supported on Debian, Ubuntu, RHEL-family and SUSE servers that run systemd.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
optional
nodes
Array of strings

Node names from GET /cluster-k3s-nodes/{id}. Empty for the default nodes.

Responses

Request samples

Content type
application/json
{
  • "nodes": [
    ]
}

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

Restart K3s servers

Updates the operating system packages of a K3s cluster's nodes first, as POST /clusters/{id}/actions/update-k3s-server-packages does, so one restart applies every available update; no node restarts when an update fails. Then restarts the nodes one at a time and waits for each to come back Ready. Leave nodes empty to update every node and restart only the nodes that say a restart is pending. A node is drained first when another node can take its pods; on a cluster with one node, every app is unavailable until the node is back, usually a few minutes. New deployments wait until the restarts end. Refused while application operations are active.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
optional
nodes
Array of strings

Node names from GET /cluster-k3s-nodes/{id}. Empty for the default nodes.

Responses

Request samples

Content type
application/json
{
  • "nodes": [
    ]
}

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

Rescan cluster vulnerabilities

Scans the cluster for vulnerabilities again now instead of on the daily schedule: the operating system packages of a K3s cluster's servers, such as after updating them outside Wodby, and the images of the apps Wodby installs on the cluster. An image scanned in the last hour keeps its result. GET /cluster-vulnerabilities/{id} shows the earlier results, with scanning true, until the scan ends. Refused while a scan of the cluster is waiting or running, and for Wodby Cloud and serverless clusters.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

Create K3s cluster

Registers a self-hosted K3s cluster. Run the command from GET /clusters/k3s-install-command/{id} on the server to connect it.

Authorizations:
apiKeyHeader
Request Body schema: application/json
required
orgId
integer

Optional for API-key requests; defaults to the API key's organization.

projectId
integer or null
availableToAllProjects
boolean or null

Lets every project in the organization use the new resource without a project share. Only an organization-owned resource, created without projectId, can be available to all projects.

name
required
string
title
required
string
disableMonitoring
required
boolean
autoInfrastructureUpgrade
boolean or null
autoKubernetesUpgrade
boolean or null

Turns automatic Kubernetes version and component upgrades on or off. On by default.

object (ClusterEnvironmentPolicyInput)

Use envType and allowedEnvTypes. Legacy ID fields remain accepted but cannot be mixed with their type equivalents.

Responses

Request samples

Content type
application/json
{
  • "orgId": 0,
  • "projectId": 0,
  • "availableToAllProjects": true,
  • "name": "string",
  • "title": "string",
  • "disableMonitoring": true,
  • "autoInfrastructureUpgrade": true,
  • "autoKubernetesUpgrade": true,
  • "environmentPolicy": {
    }
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "status": "string",
  • "serverless": true,
  • "demo": true,
  • "wodby": true,
  • "k3s": true,
  • "singleNode": true,
  • "version": "string",
  • "kubernetesVersionEol": true,
  • "kubernetesVersionEolDate": "2019-08-24T14:15:22Z",
  • "infraVersion": "string",
  • "minNodeCount": 0,
  • "maxNodeCount": 0,
  • "k3sMaxPods": 0,
  • "gpuNodePool": {
    },
  • "lastNodesReady": 0,
  • "lastNodesTotal": 0,
  • "region": "string",
  • "zone": "string",
  • "ips": [
    ],
  • "hostname": "string",
  • "integrationId": 0,
  • "envId": 0,
  • "envType": "prod",
  • "envScope": "all",
  • "allowedEnvIds": [
    ],
  • "allowedEnvTypes": [
    ],
  • "orgId": 0,
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "availableToAllProjects": true,
  • "capabilities": {
    },
  • "settings": {
    },
  • "storageClasses": [
    ],
  • "storageClassesObservedAt": "2019-08-24T14:15:22Z",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Create Wodby Cloud cluster

Creates a cluster hosted by Wodby and billed to the organization. List machine types with GET /wodby- cloud/machine-types.

Authorizations:
apiKeyHeader
Request Body schema: application/json
required
orgId
integer

Optional for API-key requests; defaults to the API key's organization.

projectId
integer or null
availableToAllProjects
boolean or null

Lets every project in the organization use the new resource without a project share. Only an organization-owned resource, created without projectId, can be available to all projects.

demo
required
boolean

Create a free demo cluster with limited resources.

singleNode
boolean or null
Deprecated

Persistent Wodby Cloud clusters can't be single-node; true is refused unless demo is true. Set minNodeCount and maxNodeCount instead. Demo clusters always run on one node.

region
string or null
machineType
string or null

Machine type name from GET /wodby-cloud/machine-types.

minNodeCount
integer or null

Minimum node count of a persistent cluster, at least 1. Required unless demo is true.

maxNodeCount
integer or null

Maximum node count of a persistent cluster. Required unless demo is true.

object (ClusterEnvironmentPolicyInput)

Use envType and allowedEnvTypes. Legacy ID fields remain accepted but cannot be mixed with their type equivalents.

Responses

Request samples

Content type
application/json
{
  • "orgId": 0,
  • "projectId": 0,
  • "availableToAllProjects": true,
  • "demo": true,
  • "singleNode": true,
  • "region": "string",
  • "machineType": "string",
  • "minNodeCount": 0,
  • "maxNodeCount": 0,
  • "environmentPolicy": {
    }
}

Response samples

Content type
application/json
{
  • "cluster": {
    },
  • "taskId": 0
}

Get K3s install command

Returns the shell command that installs Wodby on the K3s server and connects the cluster. The command contains short-lived credentials; treat it as a secret.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "command": "string"
}

Get K3s join command

Returns a one-time shell command that joins another server to a K3s cluster as a worker node. Run it as root on that server within 15 minutes. Both servers must share a private network, and the cluster must be in OK status on current infrastructure. The command contains short-lived credentials; treat it as a secret.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "command": "string"
}

List K3s cluster nodes

Returns the nodes of a K3s cluster, read live from the cluster, the server first. The ID is the cluster's.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
[
  • {
    }
]

List cluster nodes

Returns the nodes of a cluster, read live from the cluster: the general nodes first, then the GPU node pool. Wodby Cloud and serverless clusters don't list nodes. The ID is the cluster's.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
[
  • {
    }
]

List K3s server private addresses

Returns the private addresses the server of a K3s cluster could switch to, read from the server itself. Only for a server that uses its public address for cluster traffic, which keeps worker nodes out. Runs a short check on the server and needs permission to modify the cluster. The ID is the cluster's.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
[
  • {
    }
]

List Wodby Cloud machine types

Returns the machine types available for Wodby Cloud clusters with their prices.

Authorizations:
apiKeyHeader

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Preview cluster infrastructure app upgrades

Returns stack and service revision changes for infrastructure apps on the cluster.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
query Parameters
appInstanceId
integer

Responses

Response samples

Content type
application/json
[
  • {
    }
]

databases

Database instances managed through provider integrations.

List databases

Returns databases matching the request filters.

Authorizations:
apiKeyHeader
query Parameters
orgId
integer

Optional for API-key requests; defaults to the API key's organization. If provided, it must match the key's organization.

projectIds
string

Comma-separated project ids

kind
string

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create database

Creates a database and returns the created resource.

Authorizations:
apiKeyHeader
Request Body schema: application/json
required
orgId
integer

Optional for API-key requests; defaults to the API key's organization.

projectId
integer or null
envId
integer
Deprecated
envType
string
Enum: "prod" "test" "staging" "dev" "feature"
name
required
string
title
required
string
integrationKindId
required
integer
type
required
string
version
required
string
machineType
required
string
storageSize
integer or null
password
string or null
storageAutoscaling
boolean or null
highAvailability
boolean or null
region
string or null
zone
string or null
residedClusterId
integer or null
iops
integer or null

Responses

Request samples

Content type
application/json
{
  • "orgId": 0,
  • "projectId": 0,
  • "envId": 0,
  • "envType": "prod",
  • "name": "string",
  • "title": "string",
  • "integrationKindId": 0,
  • "type": "string",
  • "version": "string",
  • "machineType": "string",
  • "storageSize": 0,
  • "password": "string",
  • "storageAutoscaling": true,
  • "highAvailability": true,
  • "region": "string",
  • "zone": "string",
  • "residedClusterId": 0,
  • "iops": 0
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "type": "string",
  • "kind": "string",
  • "status": "string",
  • "version": "string",
  • "region": "string",
  • "zone": "string",
  • "replicas": 0,
  • "storageSize": 0,
  • "storageIOPS": 0,
  • "machineType": "string",
  • "highAvailability": true,
  • "external": true,
  • "externalId": "string",
  • "ssl": true,
  • "publicHost": "string",
  • "publicPort": 0,
  • "privateHost": "string",
  • "clusterId": 0,
  • "residedClusterId": 0,
  • "integrationId": 0,
  • "appServiceId": 0,
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "envId": 0,
  • "envType": "prod",
  • "orgId": 0,
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Get database by name

Returns the database identified by name.

Authorizations:
apiKeyHeader
path Parameters
name
required
string
query Parameters
orgId
integer

Optional for API-key requests; defaults to the API key's organization. If provided, it must match the key's organization.

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "type": "string",
  • "kind": "string",
  • "status": "string",
  • "version": "string",
  • "region": "string",
  • "zone": "string",
  • "replicas": 0,
  • "storageSize": 0,
  • "storageIOPS": 0,
  • "machineType": "string",
  • "highAvailability": true,
  • "external": true,
  • "externalId": "string",
  • "ssl": true,
  • "publicHost": "string",
  • "publicPort": 0,
  • "privateHost": "string",
  • "clusterId": 0,
  • "residedClusterId": 0,
  • "integrationId": 0,
  • "appServiceId": 0,
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "envId": 0,
  • "envType": "prod",
  • "orgId": 0,
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Get database

Returns the database identified by the request path.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "type": "string",
  • "kind": "string",
  • "status": "string",
  • "version": "string",
  • "region": "string",
  • "zone": "string",
  • "replicas": 0,
  • "storageSize": 0,
  • "storageIOPS": 0,
  • "machineType": "string",
  • "highAvailability": true,
  • "external": true,
  • "externalId": "string",
  • "ssl": true,
  • "publicHost": "string",
  • "publicPort": 0,
  • "privateHost": "string",
  • "clusterId": 0,
  • "residedClusterId": 0,
  • "integrationId": 0,
  • "appServiceId": 0,
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "envId": 0,
  • "envType": "prod",
  • "orgId": 0,
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Update database

Updates the database and returns the updated resource.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
title
required
string

Responses

Request samples

Content type
application/json
{
  • "title": "string"
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "type": "string",
  • "kind": "string",
  • "status": "string",
  • "version": "string",
  • "region": "string",
  • "zone": "string",
  • "replicas": 0,
  • "storageSize": 0,
  • "storageIOPS": 0,
  • "machineType": "string",
  • "highAvailability": true,
  • "external": true,
  • "externalId": "string",
  • "ssl": true,
  • "publicHost": "string",
  • "publicPort": 0,
  • "privateHost": "string",
  • "clusterId": 0,
  • "residedClusterId": 0,
  • "integrationId": 0,
  • "appServiceId": 0,
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "envId": 0,
  • "envType": "prod",
  • "orgId": 0,
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Delete database

Deletes the database and returns the operation result.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

Get database sharing

Returns who owns the database and which projects can use it.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "availableToAllProjects": true,
  • "sharedProjects": [
    ]
}

Update database sharing

Changes the database owner and replaces the projects it is shared with. Returns the resulting sharing.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
ownershipScope
required
string
Enum: "org" "project"

org to make the organization the owner, project to make one project the owner.

ownerProjectId
integer or null

Project that becomes the owner. Required when ownershipScope is project.

required
Array of objects (ProjectShareInput)

The complete list of project shares. A project left out loses its share. The owning project always keeps write access. You need Admin access to every project whose share you add or remove.

availableToAllProjects
boolean or null

Lets every project in the organization use the resource without a project share. Only organization-owned clusters, integrations, services and stacks can be available to all projects. Omit it to keep the current setting.

Responses

Request samples

Content type
application/json
{
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "sharedProjects": [
    ],
  • "availableToAllProjects": true
}

Response samples

Content type
application/json
{
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "availableToAllProjects": true,
  • "sharedProjects": [
    ]
}

List database charsets

Returns charset and default collation options supported by a database.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
[
  • {
    }
]

List database DBs

Returns DBs that belong to a database.

Authorizations:
apiKeyHeader
query Parameters
databaseId
required
integer

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create database DB

Creates a DB inside a database.

Authorizations:
apiKeyHeader
Request Body schema: application/json
required
databaseId
required
integer
name
required
string
charset
string or null
collation
string or null

Responses

Request samples

Content type
application/json
{
  • "databaseId": 0,
  • "name": "string",
  • "charset": "string",
  • "collation": "string"
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "databaseId": 0,
  • "name": "string",
  • "collation": "string",
  • "charset": "string",
  • "status": "string",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "createdAt": "2019-08-24T14:15:22Z"
}

Get database DB

Returns the database DB identified by the request path.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "databaseId": 0,
  • "name": "string",
  • "collation": "string",
  • "charset": "string",
  • "status": "string",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "createdAt": "2019-08-24T14:15:22Z"
}

Delete database DB

Deletes a database DB and returns the operation result.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

List database users

Returns users that belong to a database without revealing passwords.

Authorizations:
apiKeyHeader
query Parameters
databaseId
required
integer

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create database user

Creates a database user and optionally grants it access to DBs.

Authorizations:
apiKeyHeader
Request Body schema: application/json
required
databaseId
required
integer
name
required
string
password
required
string
hostname
string or null
databaseDbIds
Array of integers

Responses

Request samples

Content type
application/json
{
  • "databaseId": 0,
  • "name": "string",
  • "password": "string",
  • "hostname": "string",
  • "databaseDbIds": [
    ]
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "databaseId": 0,
  • "name": "string",
  • "passwordSecretId": 0,
  • "hostname": "string",
  • "status": "string",
  • "dbs": [
    ],
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "createdAt": "2019-08-24T14:15:22Z"
}

Update database user DB grants

Replaces the DB grants for a database user.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
databaseDbIds
required
Array of integers

Responses

Request samples

Content type
application/json
{
  • "databaseDbIds": [
    ]
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "databaseId": 0,
  • "name": "string",
  • "passwordSecretId": 0,
  • "hostname": "string",
  • "status": "string",
  • "dbs": [
    ],
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "createdAt": "2019-08-24T14:15:22Z"
}

Delete database user

Deletes a database user and returns the operation result.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

integrations

Connected provider accounts and credentials.

List integrations

Returns integrations matching the request filters.

Authorizations:
apiKeyHeader
query Parameters
orgId
integer

Optional for API-key requests; defaults to the API key's organization. If provided, it must match the key's organization.

projectIds
string

Comma-separated project ids

labels
string

Comma-separated labels

envId
integer >= 1
Deprecated

Legacy environment entity filter. Use envType.

envType
string
Enum: "prod" "test" "staging" "dev" "feature"

Return only integrations allowed for this fixed environment type.

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create integration

Creates an integration and returns the created resource.

Authorizations:
apiKeyHeader
Request Body schema: application/json
required
orgId
integer

Optional for API-key requests; defaults to the API key's organization.

providerId
required
integer
title
required
string
kinds
required
Array of strings
auth
string or null
projectId
integer or null
availableToAllProjects
boolean or null

Lets every project in the organization use the new resource without a project share. Only an organization-owned resource, created without projectId, can be available to all projects.

Array of objects (FieldInput)
scope
string or null
object (IntegrationEnvironmentPolicyInput)

Use primaryEnvType and allowedEnvTypes. Legacy ID fields remain accepted but cannot be mixed with their type equivalents.

Responses

Request samples

Content type
application/json
{
  • "orgId": 0,
  • "providerId": 0,
  • "title": "string",
  • "kinds": [
    ],
  • "auth": "string",
  • "projectId": 0,
  • "availableToAllProjects": true,
  • "fieldsInput": [
    ],
  • "scope": "string",
  • "environmentPolicy": {
    }
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "title": "string",
  • "status": "string",
  • "scope": "string",
  • "auth": "string",
  • "outdated": true,
  • "providerRevId": 0,
  • "orgId": 0,
  • "primaryEnvId": 0,
  • "primaryEnvType": "prod",
  • "envScope": "all",
  • "allowedEnvIds": [
    ],
  • "allowedEnvTypes": [
    ],
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "availableToAllProjects": true,
  • "icon": "string",
  • "kinds": [
    ],
  • "fieldValues": [
    ],
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Resolve or create integration

Reuses an accessible integration when provider, kinds, scope, environment scopes, and credential values match exactly; otherwise creates it.

Authorizations:
apiKeyHeader
Request Body schema: application/json
required
orgId
integer

Optional for API-key requests; defaults to the API key's organization.

providerId
required
integer
title
required
string
kinds
required
Array of strings
auth
string or null
projectId
integer or null
availableToAllProjects
boolean or null

Lets every project in the organization use the new resource without a project share. Only an organization-owned resource, created without projectId, can be available to all projects.

Array of objects (FieldInput)
scope
string or null
object (IntegrationEnvironmentPolicyInput)

Use primaryEnvType and allowedEnvTypes. Legacy ID fields remain accepted but cannot be mixed with their type equivalents.

Responses

Request samples

Content type
application/json
{
  • "orgId": 0,
  • "providerId": 0,
  • "title": "string",
  • "kinds": [
    ],
  • "auth": "string",
  • "projectId": 0,
  • "availableToAllProjects": true,
  • "fieldsInput": [
    ],
  • "scope": "string",
  • "environmentPolicy": {
    }
}

Response samples

Content type
application/json
{
  • "integration": {
    },
  • "created": true
}

Search integrations

Returns accessible integrations matching structured type, status, label, variable, project, and environment requirements.

Authorizations:
apiKeyHeader
Request Body schema: application/json
required
orgId
integer

Optional for API-key requests; defaults to the API key's organization.

projectIds
Array of integers
types
Array of strings
Items Enum: "GIT" "STORAGE" "KUBERNETES" "DB" "VARIABLE" "REGISTRY" "NFS" "CI" "SMTP" "APPLICATION_ACCESS" "VPN"
statuses
Array of strings
Items Enum: "OK" "CREATING" "DELETING" "DELETED" "DISABLED" "DEPRECATED" "EOL" "ABANDONED" "ERRORED" "UPDATING" "EXPIRED"
labels
Array of strings
Array of objects (IntegrationVariableRequirementInput)
envId
integer or null >= 1
Deprecated
envType
string or null
Enum: "prod" "test" "staging" "dev" "feature"

Responses

Request samples

Content type
application/json
{
  • "orgId": 0,
  • "projectIds": [
    ],
  • "types": [
    ],
  • "statuses": [
    ],
  • "labels": [
    ],
  • "variables": [
    ],
  • "envId": 1,
  • "envType": "prod"
}

Response samples

Content type
application/json
[
  • {
    }
]

List integration scopes

Returns integration scopes matching the request filters.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
[
  • {
    }
]

List remote Git repositories

Returns remote Git repositories matching the request filters.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Check a remote Git repository file

Returns whether a file exists at an exact repository ref through the selected Git integration.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
query Parameters
remoteGitRepoId
required
string
path
required
string
ref
required
string

Responses

Response samples

Content type
application/json
{
  • "exists": true
}

List remote Git repository branches

Returns remote Git repository branches matching the request filters.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
query Parameters
remoteGitRepoId
required
string

Responses

Response samples

Content type
application/json
[
  • "string"
]

List remote Git repository tags

Returns remote Git repository tags matching the request filters.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
query Parameters
remoteGitRepoId
required
string

Responses

Response samples

Content type
application/json
[
  • "string"
]

List Kubernetes regions

Returns Kubernetes regions matching the request filters.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
[
  • { }
]

List Kubernetes zones

Returns Kubernetes zones matching the request filters.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
[
  • { }
]

List Kubernetes machine types

Returns Kubernetes machine types matching the request filters.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
query Parameters
location
required
string

Responses

Response samples

Content type
application/json
[
  • {
    }
]

List Kubernetes versions

Returns Kubernetes versions matching the request filters.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
query Parameters
location
required
string

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Get Kubernetes settings

Returns what clusters of the integration's Kubernetes provider support: highAvailability, nodeDiskSizeIsConfigurable, noSingleAZ, singleNode, serverless, billingOptions (each with multiNodeOnly when a single-node cluster can't use it), billingOptionsTitle (how the provider names those options, such as Tier; null for the generic name), gpuNodePool (whether a cluster can have an optional GPU node pool), gpuNodePoolScalesToZero (whether that pool's minimum may be 0), nodeRecycling (whether a running cluster's worker nodes can be recycled) and nodeAutoscaling (whether the provider scales nodes between the minimum and maximum node counts; when false, a cluster has a fixed number of nodes and must be created and scaled with equal minimum and maximum node counts).

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{ }

List storage buckets

Returns storage buckets matching the request filters.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
[
  • "string"
]

List storage classes

Returns storage classes matching the request filters.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
[
  • "string"
]

Get integration

Returns the integration identified by the request path.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "title": "string",
  • "status": "string",
  • "scope": "string",
  • "auth": "string",
  • "outdated": true,
  • "providerRevId": 0,
  • "orgId": 0,
  • "primaryEnvId": 0,
  • "primaryEnvType": "prod",
  • "envScope": "all",
  • "allowedEnvIds": [
    ],
  • "allowedEnvTypes": [
    ],
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "availableToAllProjects": true,
  • "icon": "string",
  • "kinds": [
    ],
  • "fieldValues": [
    ],
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Update integration

Updates the integration and returns the updated resource.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
title
required
string
kinds
required
Array of strings
scope
string or null
Array of objects (FieldInput)

Responses

Request samples

Content type
application/json
{
  • "title": "string",
  • "kinds": [
    ],
  • "scope": "string",
  • "fieldsInput": [
    ]
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "title": "string",
  • "status": "string",
  • "scope": "string",
  • "auth": "string",
  • "outdated": true,
  • "providerRevId": 0,
  • "orgId": 0,
  • "primaryEnvId": 0,
  • "primaryEnvType": "prod",
  • "envScope": "all",
  • "allowedEnvIds": [
    ],
  • "allowedEnvTypes": [
    ],
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "availableToAllProjects": true,
  • "icon": "string",
  • "kinds": [
    ],
  • "fieldValues": [
    ],
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Delete integration

Deletes the integration and returns the operation result.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

Preview provider revision upgrade

Returns the compatibility decision and revision details for upgrading an integration.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "state": "current",
  • "reasons": [
    ],
  • "removedFields": [
    ],
  • "canDropRemovedFields": true,
  • "currentRevision": {
    },
  • "targetRevision": {
    }
}

Update integration environment policy

Updates the associated environment and exact allowed environment scope. Scope reductions that conflict with existing references are rejected.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
primaryEnvId
integer or null
Deprecated
primaryEnvType
string or null
Enum: "prod" "test" "staging" "dev" "feature"
scope
required
string
Enum: "all" "selected"
allowedEnvIds
Array of integers
Deprecated
allowedEnvTypes
Array of strings
Items Enum: "prod" "test" "staging" "dev" "feature"

Responses

Request samples

Content type
application/json
{
  • "primaryEnvId": 0,
  • "primaryEnvType": "prod",
  • "scope": "all",
  • "allowedEnvIds": [
    ],
  • "allowedEnvTypes": [
    ]
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "title": "string",
  • "status": "string",
  • "scope": "string",
  • "auth": "string",
  • "outdated": true,
  • "providerRevId": 0,
  • "orgId": 0,
  • "primaryEnvId": 0,
  • "primaryEnvType": "prod",
  • "envScope": "all",
  • "allowedEnvIds": [
    ],
  • "allowedEnvTypes": [
    ],
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "availableToAllProjects": true,
  • "icon": "string",
  • "kinds": [
    ],
  • "fieldValues": [
    ],
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

List integration usages

Lists what uses the integration, such as services, environments, builds, backups and organization defaults, so you can check it before you change or delete the integration. Only usages you can see are listed.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
query Parameters
page
integer >= 1

Page number, defaults to 1

pageSize
integer >= 1

Page size, defaults to 30

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "totalCount": 0,
  • "nextPage": 0
}

Get integration sharing

Returns who owns the integration and which projects can use it.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "availableToAllProjects": true,
  • "sharedProjects": [
    ]
}

Update integration sharing

Changes the integration owner and replaces the projects it is shared with. It can also make an organization-owned integration available to every project. Returns the resulting sharing.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
ownershipScope
required
string
Enum: "org" "project"

org to make the organization the owner, project to make one project the owner.

ownerProjectId
integer or null

Project that becomes the owner. Required when ownershipScope is project.

required
Array of objects (ProjectShareInput)

The complete list of project shares. A project left out loses its share. The owning project always keeps write access. You need Admin access to every project whose share you add or remove.

availableToAllProjects
boolean or null

Lets every project in the organization use the resource without a project share. Only organization-owned clusters, integrations, services and stacks can be available to all projects. Omit it to keep the current setting.

Responses

Request samples

Content type
application/json
{
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "sharedProjects": [
    ],
  • "availableToAllProjects": true
}

Response samples

Content type
application/json
{
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "availableToAllProjects": true,
  • "sharedProjects": [
    ]
}

Configure integration

Atomically updates integration metadata, adds selected kinds, merges field values, and returns any background activation or permission-test task.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
title
required
string
kinds
required
Array of strings
scope
string or null
Array of objects (FieldInput)

Responses

Request samples

Content type
application/json
{
  • "title": "string",
  • "kinds": [
    ],
  • "scope": "string",
  • "fieldsInput": [
    ]
}

Response samples

Content type
application/json
{
  • "integration": {
    },
  • "taskId": 0,
  • "warnings": [
    ]
}

Get Private App Access provider options

Returns supported Private App Access modes, scopes, fields, and hostname behavior for the integration.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "provider": "string",
  • "modes": [
    ],
  • "scopes": [
    ],
  • "endpointHostMode": "string",
  • "fields": [
    ],
  • "configurations": [
    ]
}

Validate a Private App Access hostname

Validates a Private App Access hostname against the provider settings of the integration.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
Array of objects (AppAccessSettingInput)
host
required
string

Responses

Request samples

Content type
application/json
{
  • "settings": [
    ],
  • "host": "string"
}

Response samples

Content type
application/json
{
  • "valid": true
}

Test integration permissions

Starts the provider permission audit configured by the integration's provider revision.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

Upgrade integration provider revision

Upgrades an integration to its eligible provider revision and optionally drops fields removed by the target contract.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
dropRemovedFields
required
boolean

Permanently deletes fields absent from the target revision when the preview allows it.

Responses

Request samples

Content type
application/json
{
  • "dropRemovedFields": true
}

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

integration-kinds

Provider capability metadata and option lists.

List database types

Returns database types matching the request filters.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
[
  • {
    }
]

List database regions

Returns database regions matching the request filters.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
query Parameters
dbType
required
string
version
required
string
ha
boolean
Default: false

Responses

Response samples

Content type
application/json
[
  • { }
]

List database versions

Returns database versions matching the request filters.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
query Parameters
dbType
required
string

Responses

Response samples

Content type
application/json
[
  • {
    }
]

List database machine types

Returns database machine types matching the request filters.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
query Parameters
dbType
required
string
version
required
string
ha
boolean
Default: false
region
string
zone
string

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Get database settings

Returns the database settings identified by the request path.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
query Parameters
dbType
required
string

Responses

Response samples

Content type
application/json
{ }

providers

Provider catalog entries and revisions.

List providers

Returns providers matching the request filters.

Authorizations:
apiKeyHeader
query Parameters
orgId
integer

Optional for API-key requests; defaults to the API key's organization. If provided, it must match the key's organization.

projectIds
string

Comma-separated project ids

excludePublic
boolean
search
string
page
integer >= 1

Page number, defaults to 1

pageSize
integer >= 1

Page size, defaults to 30

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "totalCount": 0,
  • "nextPage": 0
}

Create variable provider

Creates a private provider whose integration fields are exposed as service environment variables.

Authorizations:
apiKeyHeader
Request Body schema: application/json
required
orgId
integer

Optional for API-key requests; defaults to the API key's organization.

projectId
integer or null
name
required
string
title
required
string
required
Array of objects (NewVariableProviderFieldInput) non-empty

Responses

Request samples

Content type
application/json
{
  • "orgId": 0,
  • "projectId": 0,
  • "name": "string",
  • "title": "string",
  • "fields": [
    ]
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "status": "string",
  • "public": true,
  • "revId": 0,
  • "orgId": 0,
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Create provider from manifest

Creates a namespaced, versioned variable provider from manifest YAML.

Authorizations:
apiKeyHeader
Request Body schema: application/json
required
orgId
integer

Optional for API-key requests; defaults to the API key's organization.

projectId
integer or null
manifestYaml
required
string

Complete variable provider manifest YAML.

Responses

Request samples

Content type
application/json
{
  • "orgId": 0,
  • "projectId": 0,
  • "manifestYaml": "string"
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "status": "string",
  • "public": true,
  • "revId": 0,
  • "orgId": 0,
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Import providers from Git

Starts a task that imports provider.yml or all providers listed by index.yml from a Git repository.

Authorizations:
apiKeyHeader
Request Body schema: application/json
required
orgId
integer

Optional for API-key requests; defaults to the API key's organization.

projectId
integer or null
integrationId
required
integer
remoteGitRepoId
required
string
gitRef
required
string
gitRefType
required
string
object (GitAutoUpdateSettingsInput)

Responses

Request samples

Content type
application/json
{
  • "orgId": 0,
  • "projectId": 0,
  • "integrationId": 0,
  • "remoteGitRepoId": "string",
  • "gitRef": "string",
  • "gitRefType": "string",
  • "autoUpdate": {
    }
}

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

Update provider from Git

Starts an update from the selected ref. Changing a shared repository ref updates all repository usages.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
gitRef
required
string
gitRefType
required
string
serviceUpdates
string or null

Stack updates only; other updates ignore it. What this update does with existing stack services whose stack.yml reference has no version: latest (the default), auto_update_settings or keep.

Responses

Request samples

Content type
application/json
{
  • "gitRef": "string",
  • "gitRefType": "string",
  • "serviceUpdates": "string"
}

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

Update provider from manifest

Starts an update of a non-Git provider from versioned manifest YAML.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
manifestYaml
required
string

Complete versioned variable provider manifest YAML.

Responses

Request samples

Content type
application/json
{
  • "manifestYaml": "string"
}

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

Update provider settings

Updates Git auto-update settings shared by the repository usages.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
required
object (GitAutoUpdateSettingsInput)

Responses

Request samples

Content type
application/json
{
  • "gitAutoUpdate": {
    }
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "status": "string",
  • "public": true,
  • "revId": 0,
  • "orgId": 0,
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Get provider sharing

Returns who owns the provider and which projects can use it.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "availableToAllProjects": true,
  • "sharedProjects": [
    ]
}

Update provider sharing

Changes the provider owner and replaces the projects it is shared with. Returns the resulting sharing.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
ownershipScope
required
string
Enum: "org" "project"

org to make the organization the owner, project to make one project the owner.

ownerProjectId
integer or null

Project that becomes the owner. Required when ownershipScope is project.

required
Array of objects (ProjectShareInput)

The complete list of project shares. A project left out loses its share. The owning project always keeps write access. You need Admin access to every project whose share you add or remove.

availableToAllProjects
boolean or null

Lets every project in the organization use the resource without a project share. Only organization-owned clusters, integrations, services and stacks can be available to all projects. Omit it to keep the current setting.

Responses

Request samples

Content type
application/json
{
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "sharedProjects": [
    ],
  • "availableToAllProjects": true
}

Response samples

Content type
application/json
{
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "availableToAllProjects": true,
  • "sharedProjects": [
    ]
}

Get provider by name

Returns the provider identified by name.

Authorizations:
apiKeyHeader
path Parameters
name
required
string

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "status": "string",
  • "public": true,
  • "revId": 0,
  • "orgId": 0,
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Get provider

Returns the provider identified by the request path.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "status": "string",
  • "public": true,
  • "revId": 0,
  • "orgId": 0,
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Update provider

Changes the provider title and returns the provider.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
title
required
string non-empty

Responses

Request samples

Content type
application/json
{
  • "title": "string"
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "status": "string",
  • "public": true,
  • "revId": 0,
  • "orgId": 0,
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Delete provider

Deletes a custom provider that no integration uses.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

Get provider revision

Returns the provider revision identified by the request path.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "icon": "string",
  • "title": "string",
  • "number": 0,
  • "version": "string",
  • "providerId": 0,
  • "manifest": { },
  • "permissionAudit": true,
  • "createdAt": "2019-08-24T14:15:22Z"
}

git-repos

Shared Git repository usages and repository-wide update actions.

Get Git repository usages

Returns every service, stack, and provider that shares the Git repository.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "services": [
    ],
  • "stacks": [
    ],
  • "providers": [
    ]
}

Update all Git repository usages

Starts one parent task that updates every service, stack, and provider sharing the selected repository to the requested ref.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
gitRef
required
string
gitRefType
required
string
serviceUpdates
string or null

Stack updates only; other updates ignore it. What this update does with existing stack services whose stack.yml reference has no version: latest (the default), auto_update_settings or keep.

Responses

Request samples

Content type
application/json
{
  • "gitRef": "string",
  • "gitRefType": "string",
  • "serviceUpdates": "string"
}

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

helm-charts

Helm chart analysis and Wodby manifest scaffolding.

Inspect Helm chart

Renders a Helm chart with optional values and returns detected Kubernetes resources, warnings, and chart metadata.

Authorizations:
apiKeyHeader
Request Body schema: application/json
required
sourceName
string

Optional chart source name to use in generated Wodby manifests.

source
string

Optional Helm repository or OCI source URL.

chart
required
string

Helm chart reference, such as bitnami/redis, oci://registry.example.com/chart, a chart archive URL, or a server-local chart path.

version
string

Optional Helm chart version.

release
string

Optional Helm release name used for rendering analysis.

namespace
string

Optional Kubernetes namespace used for rendering analysis.

object (GenericObject)
valuesYaml
string

Optional Helm values YAML. Use either values or valuesYaml, not both.

Responses

Request samples

Content type
application/json
{
  • "sourceName": "string",
  • "source": "string",
  • "chart": "string",
  • "version": "string",
  • "release": "string",
  • "namespace": "string",
  • "values": { },
  • "valuesYaml": "string"
}

Response samples

Content type
application/json
{
  • "chart": {
    },
  • "release": "string",
  • "namespace": "string",
  • "resourceCount": 0,
  • "workloads": [
    ],
  • "services": [
    ],
  • "volumeClaims": [
    ],
  • "crds": [
    ],
  • "clusterResources": [
    ],
  • "hooks": [
    ],
  • "unsupportedKinds": [
    ],
  • "warnings": [
    ]
}

services

Service catalog entries and service options.

List services

Returns services matching the request filters.

Authorizations:
apiKeyHeader
query Parameters
orgId
integer

Optional for API-key requests; defaults to the API key's organization. If provided, it must match the key's organization.

projectIds
string

Comma-separated project ids

search
string
archived
string
Default: "exclude"
Enum: "exclude" "include" "only"

Which services to list: exclude lists the services in use, include lists every service with archived ones last, and only lists archived services.

page
integer >= 1

Page number, defaults to 1

pageSize
integer >= 1

Page size, defaults to 30

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "totalCount": 0,
  • "nextPage": 0
}

Import services from Git

Starts a task that imports services from a Git repository.

Authorizations:
apiKeyHeader
Request Body schema: application/json
required
orgId
integer

Optional for API-key requests; defaults to the API key's organization.

projectId
integer or null
integrationId
required
integer
remoteGitRepoId
required
string
gitRef
required
string
gitRefType
required
string
object (GitAutoUpdateSettingsInput)
registryIntegrationId
integer or null

Optional registry integration used when an imported service image requires authentication.

availableToAllProjects
boolean or null

Lets every project in the organization use the imported services without a project share. Only organization-owned services, imported without projectId, can be available to all projects.

Responses

Request samples

Content type
application/json
{
  • "orgId": 0,
  • "projectId": 0,
  • "integrationId": 0,
  • "remoteGitRepoId": "string",
  • "gitRef": "string",
  • "gitRefType": "string",
  • "autoUpdate": {
    },
  • "registryIntegrationId": 0,
  • "availableToAllProjects": true
}

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

Validate service manifest

Validates a Wodby service manifest without creating a service.

Authorizations:
apiKeyHeader
Request Body schema: application/json
required
orgId
integer

Optional for API-key requests; defaults to the API key's organization.

projectId
integer or null
availableToAllProjects
boolean or null

Lets every project in the organization use the new resource without a project share. Only an organization-owned resource, created without projectId, can be available to all projects.

version
string

Optional revision version label for the generated non-Git resource.

manifestYaml
required
string

Complete Wodby service.yml or stack.yml manifest content.

object

Optional referenced file contents keyed by manifest-relative path, for example Dockerfile or configs/app.conf.

Responses

Request samples

Content type
application/json
{
  • "orgId": 0,
  • "projectId": 0,
  • "availableToAllProjects": true,
  • "version": "string",
  • "manifestYaml": "string",
  • "files": {
    }
}

Response samples

Content type
application/json
{
  • "valid": true,
  • "error": "string",
  • "resource": { },
  • "manifest": { }
}

Create service from manifest

Creates a non-Git Wodby service from a service manifest.

Authorizations:
apiKeyHeader
Request Body schema: application/json
required
orgId
integer

Optional for API-key requests; defaults to the API key's organization.

projectId
integer or null
availableToAllProjects
boolean or null

Lets every project in the organization use the new resource without a project share. Only an organization-owned resource, created without projectId, can be available to all projects.

version
string

Optional revision version label for the generated non-Git resource.

manifestYaml
required
string

Complete Wodby service.yml or stack.yml manifest content.

object

Optional referenced file contents keyed by manifest-relative path, for example Dockerfile or configs/app.conf.

Responses

Request samples

Content type
application/json
{
  • "orgId": 0,
  • "projectId": 0,
  • "availableToAllProjects": true,
  • "version": "string",
  • "manifestYaml": "string",
  • "files": {
    }
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "type": "string",
  • "status": "string",
  • "external": true,
  • "public": true,
  • "revId": 0,
  • "latestRevNumber": 0,
  • "orgId": 0,
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "availableToAllProjects": true,
  • "settings": {
    },
  • "vulnerabilities": {
    },
  • "archivedAt": "2019-08-24T14:15:22Z",
  • "archiveReason": "manual",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Scaffold service from Helm chart

Renders a Helm chart and returns a best-effort Wodby service manifest for review and validation.

Authorizations:
apiKeyHeader
Request Body schema: application/json
required
required
object (HelmChartInput)
serviceName
string

Optional generated Wodby service name.

serviceTitle
string

Optional generated Wodby service title.

serviceType
string

Optional generated Wodby service type. Defaults to service.

icon
string

Optional generated service icon.

Responses

Request samples

Content type
application/json
{
  • "chart": {
    },
  • "serviceName": "string",
  • "serviceTitle": "string",
  • "serviceType": "string",
  • "icon": "string"
}

Response samples

Content type
application/json
{
  • "analysis": {
    },
  • "manifestYaml": "string",
  • "manifest": { },
  • "warnings": [
    ]
}

Update service from Git

Starts a task that moves a Git-sourced service to another ref.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
gitRef
required
string
gitRefType
required
string
serviceUpdates
string or null

Stack updates only; other updates ignore it. What this update does with existing stack services whose stack.yml reference has no version: latest (the default), auto_update_settings or keep.

Responses

Request samples

Content type
application/json
{
  • "gitRef": "string",
  • "gitRefType": "string",
  • "serviceUpdates": "string"
}

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

List inheriting services

Returns the services whose manifests inherit from the named service with from.

Authorizations:
apiKeyHeader
path Parameters
name
required
string

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Get service by name

Returns the service identified by name.

Authorizations:
apiKeyHeader
path Parameters
name
required
string
query Parameters
revNumber
integer

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "type": "string",
  • "status": "string",
  • "external": true,
  • "public": true,
  • "revId": 0,
  • "latestRevNumber": 0,
  • "orgId": 0,
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "availableToAllProjects": true,
  • "settings": {
    },
  • "vulnerabilities": {
    },
  • "archivedAt": "2019-08-24T14:15:22Z",
  • "archiveReason": "manual",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Get service

Returns the service identified by the request path.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "type": "string",
  • "status": "string",
  • "external": true,
  • "public": true,
  • "revId": 0,
  • "latestRevNumber": 0,
  • "orgId": 0,
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "availableToAllProjects": true,
  • "settings": {
    },
  • "vulnerabilities": {
    },
  • "archivedAt": "2019-08-24T14:15:22Z",
  • "archiveReason": "manual",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Delete service

Deletes a service that no stack uses.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

Archive service

Archives a service that only earlier stack revisions use, when it can no longer be deleted but is not needed. The stack revisions and environments that already use it keep working. Archived services are left out of service lists, and stacks and services cannot start using them until they are unarchived. Fails while the current or draft revision of a stack uses the service, or while a service that is not archived inherits from it.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "type": "string",
  • "status": "string",
  • "external": true,
  • "public": true,
  • "revId": 0,
  • "latestRevNumber": 0,
  • "orgId": 0,
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "availableToAllProjects": true,
  • "settings": {
    },
  • "vulnerabilities": {
    },
  • "archivedAt": "2019-08-24T14:15:22Z",
  • "archiveReason": "manual",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Unarchive service

Returns an archived service to service lists, so stacks and services can use it again.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "type": "string",
  • "status": "string",
  • "external": true,
  • "public": true,
  • "revId": 0,
  • "latestRevNumber": 0,
  • "orgId": 0,
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "availableToAllProjects": true,
  • "settings": {
    },
  • "vulnerabilities": {
    },
  • "archivedAt": "2019-08-24T14:15:22Z",
  • "archiveReason": "manual",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Update service from manifest

Updates an existing non-Git Wodby service from a service manifest and starts a service update task.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
version
string

Optional service revision version; defaults to the current service version.

manifestYaml
required
string

Complete Wodby service.yml manifest content.

object

Optional referenced file contents keyed by manifest-relative path, for example Dockerfile or configs/app.conf.

Responses

Request samples

Content type
application/json
{
  • "version": "string",
  • "manifestYaml": "string",
  • "files": {
    }
}

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

Update service settings

Updates service settings and returns the updated service.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
object (GitAutoUpdateSettingsInput)
object (ServiceAutoBaseRevisionUpdateSettingsInput)

Responses

Request samples

Content type
application/json
{
  • "gitAutoUpdate": {
    },
  • "autoBaseRevisionUpdate": {
    }
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "type": "string",
  • "status": "string",
  • "external": true,
  • "public": true,
  • "revId": 0,
  • "latestRevNumber": 0,
  • "orgId": 0,
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "availableToAllProjects": true,
  • "settings": {
    },
  • "vulnerabilities": {
    },
  • "archivedAt": "2019-08-24T14:15:22Z",
  • "archiveReason": "manual",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Get service sharing

Returns who owns the service and which projects can use it.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "availableToAllProjects": true,
  • "sharedProjects": [
    ]
}

Update service sharing

Changes the service owner and replaces the projects it is shared with. It can also make an organization-owned service available to every project. Returns the resulting sharing.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
ownershipScope
required
string
Enum: "org" "project"

org to make the organization the owner, project to make one project the owner.

ownerProjectId
integer or null

Project that becomes the owner. Required when ownershipScope is project.

required
Array of objects (ProjectShareInput)

The complete list of project shares. A project left out loses its share. The owning project always keeps write access. You need Admin access to every project whose share you add or remove.

availableToAllProjects
boolean or null

Lets every project in the organization use the resource without a project share. Only organization-owned clusters, integrations, services and stacks can be available to all projects. Omit it to keep the current setting.

Responses

Request samples

Content type
application/json
{
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "sharedProjects": [
    ],
  • "availableToAllProjects": true
}

Response samples

Content type
application/json
{
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "availableToAllProjects": true,
  • "sharedProjects": [
    ]
}

List service link candidates

Returns service link candidates matching the request filters.

Authorizations:
apiKeyHeader
path Parameters
name
required
string

Responses

Response samples

Content type
application/json
[
  • { }
]

List resolved service configs

Returns the configuration files of a service revision with the default content Wodby resolved for one option version and platform.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
query Parameters
optionVersion
required
string

Service option version.

platform
string

Image platform. Defaults to linux/amd64.

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Get service revision

Returns the service revision identified by the request path.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "type": "string",
  • "external": true,
  • "number": 0,
  • "version": "string",
  • "serviceId": 0,
  • "manifest": {
    },
  • "createdAt": "2019-08-24T14:15:22Z",
  • "excludedBaseVersion": {
    }
}

stacks

Stack catalog entries and stack revisions.

List stacks

Returns stacks matching the request filters.

Authorizations:
apiKeyHeader
query Parameters
orgId
integer

Optional for API-key requests; defaults to the API key's organization. If provided, it must match the key's organization.

projectIds
string

Comma-separated project ids

search
string
page
integer >= 1

Page number, defaults to 1

pageSize
integer >= 1

Page size, defaults to 30

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "totalCount": 0,
  • "nextPage": 0
}

Create stack

Creates a stack from catalog services without a manifest. Use POST /stacks/actions/create-from-manifest for a stack.yml.

Authorizations:
apiKeyHeader
Request Body schema: application/json
required
orgId
integer

Optional for API-key requests; defaults to the API key's organization.

projectId
integer or null
availableToAllProjects
boolean or null

Lets every project in the organization use the new resource without a project share. Only an organization-owned resource, created without projectId, can be available to all projects.

name
required
string
title
required
string
icon
string or null
required
Array of objects (NewStackServiceDefinitionInput) non-empty

Responses

Request samples

Content type
application/json
{
  • "orgId": 0,
  • "projectId": 0,
  • "availableToAllProjects": true,
  • "name": "string",
  • "title": "string",
  • "icon": "string",
  • "services": [
    ]
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "icon": "string",
  • "status": "string",
  • "outdated": true,
  • "public": true,
  • "revId": 0,
  • "draftRevId": 0,
  • "latestRevNumber": 0,
  • "gitRepoId": 0,
  • "gitRepoRemoteId": "string",
  • "gitRepoRef": "string",
  • "gitRepoRefType": "string",
  • "originStackRevId": 0,
  • "originStackRevStackId": 0,
  • "originStackRevName": "string",
  • "originStackRevNumber": 0,
  • "originStackRevVersion": "string",
  • "originStackRevCreatedAt": "2019-08-24T14:15:22Z",
  • "variantOfStackId": 0,
  • "variantOfStackName": "string",
  • "variantTitle": "string",
  • "variantDescription": "string",
  • "variantStackIds": [
    ],
  • "category": "javascript",
  • "securityUpdates": 0,
  • "orgId": 0,
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "availableToAllProjects": true,
  • "settings": {
    },
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

List infrastructure stacks

Returns the infrastructure stacks Wodby installs on clusters of a public Kubernetes provider.

Authorizations:
apiKeyHeader
query Parameters
provider
required
string

Provider name, such as aws or digitalocean.

Responses

Response samples

Content type
application/json
[
  • {
    }
]

List public catalog stacks

Returns public stacks that can be duplicated into an organization or project.

Authorizations:
apiKeyHeader

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Import stacks from Git

Starts a task that imports stacks from a Git repository.

Authorizations:
apiKeyHeader
Request Body schema: application/json
required
orgId
integer

Optional for API-key requests; defaults to the API key's organization.

projectId
integer or null
integrationId
required
integer
remoteGitRepoId
required
string
gitRef
required
string
gitRefType
required
string
object (GitAutoUpdateSettingsInput)
availableToAllProjects
boolean or null

Lets every project in the organization use the imported stacks without a project share. Only organization-owned stacks, imported without projectId, can be available to all projects.

Responses

Request samples

Content type
application/json
{
  • "orgId": 0,
  • "projectId": 0,
  • "integrationId": 0,
  • "remoteGitRepoId": "string",
  • "gitRef": "string",
  • "gitRefType": "string",
  • "autoUpdate": {
    },
  • "availableToAllProjects": true
}

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

Validate stack manifest

Validates a Wodby stack manifest without creating a stack.

Authorizations:
apiKeyHeader
Request Body schema: application/json
required
orgId
integer

Optional for API-key requests; defaults to the API key's organization.

projectId
integer or null
availableToAllProjects
boolean or null

Lets every project in the organization use the new resource without a project share. Only an organization-owned resource, created without projectId, can be available to all projects.

version
string

Optional revision version label for the generated non-Git resource.

manifestYaml
required
string

Complete Wodby service.yml or stack.yml manifest content.

object

Optional referenced file contents keyed by manifest-relative path, for example Dockerfile or configs/app.conf.

Responses

Request samples

Content type
application/json
{
  • "orgId": 0,
  • "projectId": 0,
  • "availableToAllProjects": true,
  • "version": "string",
  • "manifestYaml": "string",
  • "files": {
    }
}

Response samples

Content type
application/json
{
  • "valid": true,
  • "error": "string",
  • "resource": { },
  • "manifest": { }
}

Create stack from manifest

Creates a non-Git Wodby stack from a stack manifest.

Authorizations:
apiKeyHeader
Request Body schema: application/json
required
orgId
integer

Optional for API-key requests; defaults to the API key's organization.

projectId
integer or null
availableToAllProjects
boolean or null

Lets every project in the organization use the new resource without a project share. Only an organization-owned resource, created without projectId, can be available to all projects.

version
string

Optional revision version label for the generated non-Git resource.

manifestYaml
required
string

Complete Wodby service.yml or stack.yml manifest content.

object

Optional referenced file contents keyed by manifest-relative path, for example Dockerfile or configs/app.conf.

Responses

Request samples

Content type
application/json
{
  • "orgId": 0,
  • "projectId": 0,
  • "availableToAllProjects": true,
  • "version": "string",
  • "manifestYaml": "string",
  • "files": {
    }
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "icon": "string",
  • "status": "string",
  • "outdated": true,
  • "public": true,
  • "revId": 0,
  • "draftRevId": 0,
  • "latestRevNumber": 0,
  • "gitRepoId": 0,
  • "gitRepoRemoteId": "string",
  • "gitRepoRef": "string",
  • "gitRepoRefType": "string",
  • "originStackRevId": 0,
  • "originStackRevStackId": 0,
  • "originStackRevName": "string",
  • "originStackRevNumber": 0,
  • "originStackRevVersion": "string",
  • "originStackRevCreatedAt": "2019-08-24T14:15:22Z",
  • "variantOfStackId": 0,
  • "variantOfStackName": "string",
  • "variantTitle": "string",
  • "variantDescription": "string",
  • "variantStackIds": [
    ],
  • "category": "javascript",
  • "securityUpdates": 0,
  • "orgId": 0,
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "availableToAllProjects": true,
  • "settings": {
    },
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Scaffold stack from Helm chart

Renders a Helm chart and returns best-effort Wodby service and stack manifests for review and validation.

Authorizations:
apiKeyHeader
Request Body schema: application/json
required
required
object (HelmChartInput)
serviceName
string

Optional generated Wodby service name.

serviceTitle
string

Optional generated Wodby service title.

serviceType
string

Optional generated Wodby service type. Defaults to service.

stackName
string

Optional generated Wodby stack name.

stackTitle
string

Optional generated Wodby stack title.

icon
string

Optional generated service and stack icon.

Responses

Request samples

Content type
application/json
{
  • "chart": {
    },
  • "serviceName": "string",
  • "serviceTitle": "string",
  • "serviceType": "string",
  • "stackName": "string",
  • "stackTitle": "string",
  • "icon": "string"
}

Response samples

Content type
application/json
{
  • "analysis": {
    },
  • "serviceManifestYaml": "string",
  • "serviceManifest": { },
  • "stackManifestYaml": "string",
  • "stackManifest": { },
  • "warnings": [
    ]
}

Get stack by name

Returns the stack identified by name.

Authorizations:
apiKeyHeader
path Parameters
name
required
string
query Parameters
revNumber
integer

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "icon": "string",
  • "status": "string",
  • "outdated": true,
  • "public": true,
  • "revId": 0,
  • "draftRevId": 0,
  • "latestRevNumber": 0,
  • "gitRepoId": 0,
  • "gitRepoRemoteId": "string",
  • "gitRepoRef": "string",
  • "gitRepoRefType": "string",
  • "originStackRevId": 0,
  • "originStackRevStackId": 0,
  • "originStackRevName": "string",
  • "originStackRevNumber": 0,
  • "originStackRevVersion": "string",
  • "originStackRevCreatedAt": "2019-08-24T14:15:22Z",
  • "variantOfStackId": 0,
  • "variantOfStackName": "string",
  • "variantTitle": "string",
  • "variantDescription": "string",
  • "variantStackIds": [
    ],
  • "category": "javascript",
  • "securityUpdates": 0,
  • "orgId": 0,
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "availableToAllProjects": true,
  • "settings": {
    },
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Get stack

Returns the stack identified by the request path.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "icon": "string",
  • "status": "string",
  • "outdated": true,
  • "public": true,
  • "revId": 0,
  • "draftRevId": 0,
  • "latestRevNumber": 0,
  • "gitRepoId": 0,
  • "gitRepoRemoteId": "string",
  • "gitRepoRef": "string",
  • "gitRepoRefType": "string",
  • "originStackRevId": 0,
  • "originStackRevStackId": 0,
  • "originStackRevName": "string",
  • "originStackRevNumber": 0,
  • "originStackRevVersion": "string",
  • "originStackRevCreatedAt": "2019-08-24T14:15:22Z",
  • "variantOfStackId": 0,
  • "variantOfStackName": "string",
  • "variantTitle": "string",
  • "variantDescription": "string",
  • "variantStackIds": [
    ],
  • "category": "javascript",
  • "securityUpdates": 0,
  • "orgId": 0,
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "availableToAllProjects": true,
  • "settings": {
    },
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Rename stack

Updates the name and title of the stack identified by the request path.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
name
required
string non-empty

Unique stack machine name within the organization.

title
required
string non-empty

Human-readable stack title.

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "title": "string"
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "icon": "string",
  • "status": "string",
  • "outdated": true,
  • "public": true,
  • "revId": 0,
  • "draftRevId": 0,
  • "latestRevNumber": 0,
  • "gitRepoId": 0,
  • "gitRepoRemoteId": "string",
  • "gitRepoRef": "string",
  • "gitRepoRefType": "string",
  • "originStackRevId": 0,
  • "originStackRevStackId": 0,
  • "originStackRevName": "string",
  • "originStackRevNumber": 0,
  • "originStackRevVersion": "string",
  • "originStackRevCreatedAt": "2019-08-24T14:15:22Z",
  • "variantOfStackId": 0,
  • "variantOfStackName": "string",
  • "variantTitle": "string",
  • "variantDescription": "string",
  • "variantStackIds": [
    ],
  • "category": "javascript",
  • "securityUpdates": 0,
  • "orgId": 0,
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "availableToAllProjects": true,
  • "settings": {
    },
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Delete stack

Deletes an unused stack and returns the operation result.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

Update stack settings

Updates stack settings and returns the updated stack.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
object (GitAutoUpdateSettingsInput)
object (StackAutoServiceRevisionUpdateSettingsInput)
object (StackAutoOriginUpdateSettingsInput)
gitServiceUpdates
string or null

What an automatic update from Git does with existing stack services' versions; see StackSettings.

Responses

Request samples

Content type
application/json
{
  • "gitAutoUpdate": {
    },
  • "autoServiceRevisionUpdate": {
    },
  • "autoOriginStackUpdate": {
    },
  • "gitServiceUpdates": "string"
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "icon": "string",
  • "status": "string",
  • "outdated": true,
  • "public": true,
  • "revId": 0,
  • "draftRevId": 0,
  • "latestRevNumber": 0,
  • "gitRepoId": 0,
  • "gitRepoRemoteId": "string",
  • "gitRepoRef": "string",
  • "gitRepoRefType": "string",
  • "originStackRevId": 0,
  • "originStackRevStackId": 0,
  • "originStackRevName": "string",
  • "originStackRevNumber": 0,
  • "originStackRevVersion": "string",
  • "originStackRevCreatedAt": "2019-08-24T14:15:22Z",
  • "variantOfStackId": 0,
  • "variantOfStackName": "string",
  • "variantTitle": "string",
  • "variantDescription": "string",
  • "variantStackIds": [
    ],
  • "category": "javascript",
  • "securityUpdates": 0,
  • "orgId": 0,
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "availableToAllProjects": true,
  • "settings": {
    },
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Get stack sharing

Returns who owns the stack and which projects can use it.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "availableToAllProjects": true,
  • "sharedProjects": [
    ]
}

Update stack sharing

Changes the stack owner and replaces the projects it is shared with. It can also make an organization-owned stack available to every project. Returns the resulting sharing.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
ownershipScope
required
string
Enum: "org" "project"

org to make the organization the owner, project to make one project the owner.

ownerProjectId
integer or null

Project that becomes the owner. Required when ownershipScope is project.

required
Array of objects (ProjectShareInput)

The complete list of project shares. A project left out loses its share. The owning project always keeps write access. You need Admin access to every project whose share you add or remove.

availableToAllProjects
boolean or null

Lets every project in the organization use the resource without a project share. Only organization-owned clusters, integrations, services and stacks can be available to all projects. Omit it to keep the current setting.

Responses

Request samples

Content type
application/json
{
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "sharedProjects": [
    ],
  • "availableToAllProjects": true
}

Response samples

Content type
application/json
{
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "availableToAllProjects": true,
  • "sharedProjects": [
    ]
}

Update stack from git

Starts a task that updates the stack from its configured Git source.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
gitRef
required
string
gitRefType
required
string
serviceUpdates
string or null

Stack updates only; other updates ignore it. What this update does with existing stack services whose stack.yml reference has no version: latest (the default), auto_update_settings or keep.

Responses

Request samples

Content type
application/json
{
  • "gitRef": "string",
  • "gitRefType": "string",
  • "serviceUpdates": "string"
}

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

Duplicate stack

Duplicates the stack into the target organization or project.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
orgId
integer

Optional for API-key requests; defaults to the API key's organization.

projectId
integer or null
availableToAllProjects
boolean or null

Lets every project in the organization use the new resource without a project share. Only an organization-owned resource, created without projectId, can be available to all projects.

sourceRevId
integer or null

Optional immutable source stack revision to duplicate. It must belong to the stack in the request path.

object (CopyStackSettingsInput)

Responses

Request samples

Content type
application/json
{
  • "orgId": 0,
  • "projectId": 0,
  • "availableToAllProjects": true,
  • "sourceRevId": 0,
  • "settings": {
    }
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "icon": "string",
  • "status": "string",
  • "outdated": true,
  • "public": true,
  • "revId": 0,
  • "draftRevId": 0,
  • "latestRevNumber": 0,
  • "gitRepoId": 0,
  • "gitRepoRemoteId": "string",
  • "gitRepoRef": "string",
  • "gitRepoRefType": "string",
  • "originStackRevId": 0,
  • "originStackRevStackId": 0,
  • "originStackRevName": "string",
  • "originStackRevNumber": 0,
  • "originStackRevVersion": "string",
  • "originStackRevCreatedAt": "2019-08-24T14:15:22Z",
  • "variantOfStackId": 0,
  • "variantOfStackName": "string",
  • "variantTitle": "string",
  • "variantDescription": "string",
  • "variantStackIds": [
    ],
  • "category": "javascript",
  • "securityUpdates": 0,
  • "orgId": 0,
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "availableToAllProjects": true,
  • "settings": {
    },
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Sync stack with origin

Syncs the stack with its origin stack revision.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
optional
deleteStackHelmValues
boolean or null
deleteStackEnvVars
boolean or null
deleteStackTokens
boolean or null
deleteStackAnnotations
boolean or null
deleteStackServices
boolean or null
deleteStackServicesConfiguration
boolean or null
updateStackServices
boolean or null

Let the sync update existing stack services to the service version the origin uses when the origin's changes need it. Without it, such a sync fails with an error that lists those stack services.

Responses

Request samples

Content type
application/json
{
  • "deleteStackHelmValues": true,
  • "deleteStackEnvVars": true,
  • "deleteStackTokens": true,
  • "deleteStackAnnotations": true,
  • "deleteStackServices": true,
  • "deleteStackServicesConfiguration": true,
  • "updateStackServices": true
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "icon": "string",
  • "status": "string",
  • "outdated": true,
  • "public": true,
  • "revId": 0,
  • "draftRevId": 0,
  • "latestRevNumber": 0,
  • "gitRepoId": 0,
  • "gitRepoRemoteId": "string",
  • "gitRepoRef": "string",
  • "gitRepoRefType": "string",
  • "originStackRevId": 0,
  • "originStackRevStackId": 0,
  • "originStackRevName": "string",
  • "originStackRevNumber": 0,
  • "originStackRevVersion": "string",
  • "originStackRevCreatedAt": "2019-08-24T14:15:22Z",
  • "variantOfStackId": 0,
  • "variantOfStackName": "string",
  • "variantTitle": "string",
  • "variantDescription": "string",
  • "variantStackIds": [
    ],
  • "category": "javascript",
  • "securityUpdates": 0,
  • "orgId": 0,
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "availableToAllProjects": true,
  • "settings": {
    },
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Publish stack draft

Publishes the current stack draft as the active stack revision.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "icon": "string",
  • "status": "string",
  • "outdated": true,
  • "public": true,
  • "revId": 0,
  • "draftRevId": 0,
  • "latestRevNumber": 0,
  • "gitRepoId": 0,
  • "gitRepoRemoteId": "string",
  • "gitRepoRef": "string",
  • "gitRepoRefType": "string",
  • "originStackRevId": 0,
  • "originStackRevStackId": 0,
  • "originStackRevName": "string",
  • "originStackRevNumber": 0,
  • "originStackRevVersion": "string",
  • "originStackRevCreatedAt": "2019-08-24T14:15:22Z",
  • "variantOfStackId": 0,
  • "variantOfStackName": "string",
  • "variantTitle": "string",
  • "variantDescription": "string",
  • "variantStackIds": [
    ],
  • "category": "javascript",
  • "securityUpdates": 0,
  • "orgId": 0,
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "availableToAllProjects": true,
  • "settings": {
    },
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Get stack revision

Returns the stack revision identified by the request path.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "icon": "string",
  • "number": 0,
  • "draft": true,
  • "version": "string",
  • "stackId": 0,
  • "manifest": "string",
  • "linkIssues": [
    ],
  • "createdAt": "2019-08-24T14:15:22Z"
}

List stack services

Returns stack services matching the request filters.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
[
  • {
    }
]

List stack Helm values

Returns the stack-level Helm values of a stack revision. They apply to every service of the stack.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create stack Helm value

Adds a stack-level Helm value to the stack and creates a new draft revision when needed.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
name
required
string
value
required
string
secret
required
boolean
envType
string or null
Enum: "prod" "test" "staging" "dev" "feature"

Limit the value to app environments of this type.

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "value": "string",
  • "secret": true,
  • "envType": "prod"
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "value": "string",
  • "valueSecretId": 0,
  • "envType": "prod",
  • "createdAt": "2019-08-24T14:15:22Z"
}

Update stack Helm value

Changes a stack-level Helm value.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
value
required
string
secret
required
boolean

Responses

Request samples

Content type
application/json
{
  • "value": "string",
  • "secret": true
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "value": "string",
  • "valueSecretId": 0,
  • "envType": "prod",
  • "createdAt": "2019-08-24T14:15:22Z"
}

Delete stack Helm value

Deletes a stack-level Helm value.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

List stack tokens

Returns the stack-level tokens of a stack revision. They apply to every service of the stack.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create stack token

Adds a stack-level token to the stack and creates a new draft revision when needed.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
name
required
string
value
string or null

Leave it out to generate a value from regex.

secret
required
boolean
regex
string or null

Pattern used to generate the value for each app environment.

envType
string or null
Enum: "prod" "test" "staging" "dev" "feature"

Limit the value to app environments of this type.

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "value": "string",
  • "secret": true,
  • "regex": "string",
  • "envType": "prod"
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "value": "string",
  • "valueSecretId": 0,
  • "regex": "string",
  • "envType": "prod",
  • "createdAt": "2019-08-24T14:15:22Z"
}

Update stack token

Changes a stack-level token.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
value
string or null
secret
required
boolean
regex
string or null

Responses

Request samples

Content type
application/json
{
  • "value": "string",
  • "secret": true,
  • "regex": "string"
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "value": "string",
  • "valueSecretId": 0,
  • "regex": "string",
  • "envType": "prod",
  • "createdAt": "2019-08-24T14:15:22Z"
}

Delete stack token

Deletes a stack-level token.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

List stack annotations

Returns the stack-level annotations of a stack revision. They apply to every service of the stack.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create stack annotation

Adds a stack-level annotation to the stack and creates a new draft revision when needed.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
name
required
string
value
required
string
envType
string or null
Enum: "prod" "test" "staging" "dev" "feature"

Limit the value to app environments of this type.

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "value": "string",
  • "envType": "prod"
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "value": "string",
  • "envType": "prod",
  • "createdAt": "2019-08-24T14:15:22Z"
}

Delete stack annotation

Deletes a stack-level annotation.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

Discard stack draft

Drops the stack's unpublished draft revision and returns the stack.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "icon": "string",
  • "status": "string",
  • "outdated": true,
  • "public": true,
  • "revId": 0,
  • "draftRevId": 0,
  • "latestRevNumber": 0,
  • "gitRepoId": 0,
  • "gitRepoRemoteId": "string",
  • "gitRepoRef": "string",
  • "gitRepoRefType": "string",
  • "originStackRevId": 0,
  • "originStackRevStackId": 0,
  • "originStackRevName": "string",
  • "originStackRevNumber": 0,
  • "originStackRevVersion": "string",
  • "originStackRevCreatedAt": "2019-08-24T14:15:22Z",
  • "variantOfStackId": 0,
  • "variantOfStackName": "string",
  • "variantTitle": "string",
  • "variantDescription": "string",
  • "variantStackIds": [
    ],
  • "category": "javascript",
  • "securityUpdates": 0,
  • "orgId": 0,
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "availableToAllProjects": true,
  • "settings": {
    },
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

List stack env vars

Returns stack-wide environment variables for a stack revision.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create stack env var

Creates a stack-wide environment variable.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
name
required
string
value
required
string non-empty
secret
required
boolean
envType
string or null

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "value": "string",
  • "secret": true,
  • "envType": "string"
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "value": "string",
  • "valueSecretId": 0,
  • "envType": "string",
  • "createdAt": "2019-08-24T14:15:22Z"
}

Update stack env var

Updates a stack-wide environment variable.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
value
required
string non-empty
secret
required
boolean

Responses

Request samples

Content type
application/json
{
  • "value": "string",
  • "secret": true
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "value": "string",
  • "valueSecretId": 0,
  • "envType": "string",
  • "createdAt": "2019-08-24T14:15:22Z"
}

Delete stack env var

Deletes a stack-wide environment variable.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

Update stack service revisions

Starts a task that advances unpinned stack services to their eligible revisions. Send stackServiceIds to advance only those stack services.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
query Parameters
scope
string
Default: "all"
Enum: "all" "stateless_only"

Limits the update to all services or stateless services. Defaults to all.

Request Body schema: application/json
optional
stackServiceIds
Array of integers

Root stack services to advance, by their IDs in the published revision or the draft. Their derivatives advance with them. Omit or leave empty to advance every outdated service.

Responses

Request samples

Content type
application/json
{
  • "stackServiceIds": [
    ]
}

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

Ignore stack service revision

Stops offering one service revision as an update for a stack service and its derivatives. A newer service revision is offered again. Returns the stack.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
stackServiceId
required
integer

Root stack service whose update to skip. Its derivatives skip it too.

serviceRevId
required
integer

Service revision to stop offering.

Responses

Request samples

Content type
application/json
{
  • "stackServiceId": 0,
  • "serviceRevId": 0
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "icon": "string",
  • "status": "string",
  • "outdated": true,
  • "public": true,
  • "revId": 0,
  • "draftRevId": 0,
  • "latestRevNumber": 0,
  • "gitRepoId": 0,
  • "gitRepoRemoteId": "string",
  • "gitRepoRef": "string",
  • "gitRepoRefType": "string",
  • "originStackRevId": 0,
  • "originStackRevStackId": 0,
  • "originStackRevName": "string",
  • "originStackRevNumber": 0,
  • "originStackRevVersion": "string",
  • "originStackRevCreatedAt": "2019-08-24T14:15:22Z",
  • "variantOfStackId": 0,
  • "variantOfStackName": "string",
  • "variantTitle": "string",
  • "variantDescription": "string",
  • "variantStackIds": [
    ],
  • "category": "javascript",
  • "securityUpdates": 0,
  • "orgId": 0,
  • "ownershipScope": "org",
  • "ownerProjectId": 0,
  • "availableToAllProjects": true,
  • "settings": {
    },
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Preview stack service revision updates

Returns eligible service revision changes for a stack, optionally limited to one stack service.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
query Parameters
stackServiceId
integer

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Preview stack sync with origin

Returns what syncing the stack with its origin with these options would do, without changing the stack: the stack services the sync has to update to the service version the origin uses, the error the sync would fail with, and the changes its task log would list. Returns null when the stack already follows the origin's latest revision.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
optional
deleteStackHelmValues
boolean or null
deleteStackEnvVars
boolean or null
deleteStackTokens
boolean or null
deleteStackAnnotations
boolean or null
deleteStackServices
boolean or null
deleteStackServicesConfiguration
boolean or null

Responses

Request samples

Content type
application/json
{
  • "deleteStackHelmValues": true,
  • "deleteStackEnvVars": true,
  • "deleteStackTokens": true,
  • "deleteStackAnnotations": true,
  • "deleteStackServices": true,
  • "deleteStackServicesConfiguration": true
}

Response samples

Content type
application/json
{
  • "previousVersion": "string",
  • "version": "string",
  • "serviceUpdates": [
    ],
  • "error": "string",
  • "changes": [
    ]
}

Preview stack origin synchronization

Returns the origin stack changes that would be synchronized into the stack.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "previousVersion": "string",
  • "version": "string",
  • "entries": [
    ]
}

stack-services

Stack service definitions and stack-service actions.

List stack services

Returns stack services matching the request filters.

Authorizations:
apiKeyHeader
query Parameters
stackRevId
required
integer

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create stack service

Creates a stack service and returns the created resource.

Authorizations:
apiKeyHeader
Request Body schema: application/json
required
stackId
required
integer
serviceId
required
integer
name
required
string
title
required
string
required
required
boolean
replicas
required
integer
serviceRevPinned
boolean or null

Responses

Request samples

Content type
application/json
{
  • "stackId": 0,
  • "serviceId": 0,
  • "name": "string",
  • "title": "string",
  • "required": true,
  • "replicas": 0,
  • "serviceRevPinned": true
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "type": "string",
  • "main": true,
  • "disabled": true,
  • "required": true,
  • "basicAuthOverride": "inherit",
  • "basicAuthDefault": true,
  • "replicas": 0,
  • "serviceRevPinned": true,
  • "outdated": true,
  • "icon": "string",
  • "eol": true,
  • "securityFixes": [
    ],
  • "derivative": "string",
  • "parentStackServiceId": 0,
  • "serviceRevId": 0,
  • "serviceRevName": "string",
  • "serviceRevTitle": "string",
  • "serviceRevVersion": "string",
  • "buildSourceIntegrationId": 0,
  • "buildSourceRemoteRepoId": "string",
  • "options": [
    ],
  • "settings": [
    ],
  • "containers": [
    ],
  • "deploymentConfiguration": {
    },
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Update stack service

Updates the stack service and returns the updated resource.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
replicas
integer or null
required
boolean or null
basicAuthOverride
string or null
Enum: "inherit" "enabled" "disabled"

Follow the service's basic auth default, or protect new app services with basic auth or not.

disabled
boolean or null
main
boolean or null
serviceRevPinned
boolean or null
title
string or null
object (BuildSourceInput)
object (ServiceDeploymentConfigurationInput)

Replaces the complete service-level deployment override. An empty object clears it.

Responses

Request samples

Content type
application/json
{
  • "replicas": 0,
  • "required": true,
  • "basicAuthOverride": "inherit",
  • "disabled": true,
  • "main": true,
  • "serviceRevPinned": true,
  • "title": "string",
  • "buildSource": {
    },
  • "deployment": {
    }
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "type": "string",
  • "main": true,
  • "disabled": true,
  • "required": true,
  • "basicAuthOverride": "inherit",
  • "basicAuthDefault": true,
  • "replicas": 0,
  • "serviceRevPinned": true,
  • "outdated": true,
  • "icon": "string",
  • "eol": true,
  • "securityFixes": [
    ],
  • "derivative": "string",
  • "parentStackServiceId": 0,
  • "serviceRevId": 0,
  • "serviceRevName": "string",
  • "serviceRevTitle": "string",
  • "serviceRevVersion": "string",
  • "buildSourceIntegrationId": 0,
  • "buildSourceRemoteRepoId": "string",
  • "options": [
    ],
  • "settings": [
    ],
  • "containers": [
    ],
  • "deploymentConfiguration": {
    },
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Delete stack service

Deletes the stack service and returns the operation result.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

List stack service env vars

Returns environment variables configured for a stack service.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create stack service env var

Creates an environment variable for a stack service.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
workload
string or null
container
string or null
name
required
string
value
required
string non-empty
secret
required
boolean
envType
string or null

Responses

Request samples

Content type
application/json
{
  • "workload": "string",
  • "container": "string",
  • "name": "string",
  • "value": "string",
  • "secret": true,
  • "envType": "string"
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "stackServiceId": 0,
  • "workload": "string",
  • "container": "string",
  • "name": "string",
  • "value": "string",
  • "valueSecretId": 0,
  • "envType": "string",
  • "createdAt": "2019-08-24T14:15:22Z"
}

Update stack service env var

Updates a stack service environment variable.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
value
required
string non-empty
secret
required
boolean

Responses

Request samples

Content type
application/json
{
  • "value": "string",
  • "secret": true
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "stackServiceId": 0,
  • "workload": "string",
  • "container": "string",
  • "name": "string",
  • "value": "string",
  • "valueSecretId": 0,
  • "envType": "string",
  • "createdAt": "2019-08-24T14:15:22Z"
}

Delete stack service env var

Deletes a stack service environment variable.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

List stack service Helm values

Returns Helm values configured for a stack service.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create stack service Helm value

Creates a Helm value override for a stack service.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
name
required
string
value
required
string
secret
required
boolean
envType
string or null

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "value": "string",
  • "secret": true,
  • "envType": "string"
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "stackServiceId": 0,
  • "name": "string",
  • "value": "string",
  • "valueSecretId": 0,
  • "envType": "string",
  • "createdAt": "2019-08-24T14:15:22Z"
}

Update stack service Helm value

Updates a stack service Helm value override.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
value
required
string
secret
required
boolean

Responses

Request samples

Content type
application/json
{
  • "value": "string",
  • "secret": true
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "stackServiceId": 0,
  • "name": "string",
  • "value": "string",
  • "valueSecretId": 0,
  • "envType": "string",
  • "createdAt": "2019-08-24T14:15:22Z"
}

Delete stack service Helm value

Deletes a stack service Helm value override.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

List stack service tokens

Returns tokens configured for a stack service without revealing secret values.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create stack service token

Creates a token for a stack service.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
name
required
string
value
string or null
secret
required
boolean
regex
string or null
envType
string or null

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "value": "string",
  • "secret": true,
  • "regex": "string",
  • "envType": "string"
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "stackServiceId": 0,
  • "name": "string",
  • "value": "string",
  • "regex": "string",
  • "valueSecretId": 0,
  • "envType": "string",
  • "createdAt": "2019-08-24T14:15:22Z"
}

Update stack service token

Updates a stack service token value, secret flag, or regex.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
value
string or null
secret
required
boolean
regex
string or null

Responses

Request samples

Content type
application/json
{
  • "value": "string",
  • "secret": true,
  • "regex": "string"
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "stackServiceId": 0,
  • "name": "string",
  • "value": "string",
  • "regex": "string",
  • "valueSecretId": 0,
  • "envType": "string",
  • "createdAt": "2019-08-24T14:15:22Z"
}

Delete stack service token

Deletes a stack service token.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

List stack service annotations

Returns annotations configured for a stack service.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create stack service annotation

Creates an annotation for a stack service.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
name
required
string
value
required
string
envType
string or null

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "value": "string",
  • "envType": "string"
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "stackServiceId": 0,
  • "name": "string",
  • "value": "string",
  • "envType": "string",
  • "createdAt": "2019-08-24T14:15:22Z"
}

Delete stack service annotation

Deletes a stack service annotation.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

List stack service integrations

Returns integration links configured for a stack service.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create stack service integration

Links an integration to a stack service integration slot.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
name
required
string
integrationId
required
integer

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "integrationId": 0
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "stackServiceId": 0,
  • "name": "string",
  • "integrationId": 0
}

Delete stack service integration

Removes an integration link from a stack service.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

List stack service volumes

Returns volumes configured for a stack service.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Set stack service volume

Sets or clears a stack service volume size.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
name
required
string
Request Body schema: application/json
required
size
integer or null

Responses

Request samples

Content type
application/json
{
  • "size": 0
}

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

Set stack service setting

Sets or clears a named setting value for a stack service.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
name
required
string
Request Body schema: application/json
required
value
string or null

Responses

Request samples

Content type
application/json
{
  • "value": "string"
}

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

List stack service configs

Returns config overrides for a stack service.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Set stack service config

Sets a named config override for a stack service.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
name
required
string
Request Body schema: application/json
required
config
required
string

Responses

Request samples

Content type
application/json
{
  • "config": "string"
}

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

Set stack service resources

Sets CPU and memory requests or limits for a stack service container. Each value replaces only the service's default for that value: an omitted value keeps the default, and 0 means none.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
object or null

Omitted or null preserves an existing GPU override. Count zero disables GPUs.

workload
string or null
container
string or null
preset
string or null

Name of a Wodby preset or of a custom preset of the organization, from listResourcePresets. Its values fill the CPU and memory fields this input leaves out; the values are stored, not the preset.

requestCPU
integer or null
requestMem
integer or null
limitCPU
integer or null
limitMem
integer or null

Responses

Request samples

Content type
application/json
{
  • "gpu": {
    },
  • "workload": "string",
  • "container": "string",
  • "preset": "string",
  • "requestCPU": 0,
  • "requestMem": 0,
  • "limitCPU": 0,
  • "limitMem": 0
}

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

Update stack service options

Replaces stack service option settings.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
required
Array of objects (StackServiceOptionInput)

Responses

Request samples

Content type
application/json
{
  • "options": [
    ]
}

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

List stack service cron schedules

Returns cron schedules configured for a stack service.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create stack service cron schedule

Creates a cron schedule for a stack service.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
name
required
string
title
required
string
crontab
required
string
command
required
string
workload
string or null
disabled
boolean or null
envType
string or null

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "title": "string",
  • "crontab": "string",
  • "command": "string",
  • "workload": "string",
  • "disabled": true,
  • "envType": "string"
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "stackServiceId": 0,
  • "name": "string",
  • "title": "string",
  • "crontab": "string",
  • "command": "string",
  • "workload": "string",
  • "disabled": true,
  • "envType": "string",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Update stack service cron schedule

Updates a stack service cron schedule.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
disabled
boolean or null
title
string or null
crontab
string or null
command
string or null
workload
string or null
envType
string or null

Responses

Request samples

Content type
application/json
{
  • "disabled": true,
  • "title": "string",
  • "crontab": "string",
  • "command": "string",
  • "workload": "string",
  • "envType": "string"
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "stackServiceId": 0,
  • "name": "string",
  • "title": "string",
  • "crontab": "string",
  • "command": "string",
  • "workload": "string",
  • "disabled": true,
  • "envType": "string",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Delete stack service cron schedule

Deletes a stack service cron schedule.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

backups

Backup records and backup creation.

List backups

Returns backups matching the request filters.

Authorizations:
apiKeyHeader
query Parameters
appInstanceId
integer
appServiceId
integer
databaseId
integer
databaseDbId
integer
backupName
string

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create backup

Creates a backup and returns the created resource.

Authorizations:
apiKeyHeader
Request Body schema: application/json
required
appServiceId
integer or null
databaseDbId
integer or null
backupPresetId
integer or null

Associates a one-off backup with the preset used to populate its destination and options.

backupName
string or null
integrationId
required
integer

Use 0 for Wodby Blob Storage.

bucket
required
string

Must be empty for Wodby Blob Storage.

storageClass
string or null
blobStorageRegion
string or null
Default: "eu"
Enum: "eu" "us"

Wodby Blob Storage region. Omit to use Europe; must be omitted for third-party storage.

Array of objects or null (BackupOption)

Responses

Request samples

Content type
application/json
{
  • "appServiceId": 0,
  • "databaseDbId": 0,
  • "backupPresetId": 0,
  • "backupName": "string",
  • "integrationId": 0,
  • "bucket": "string",
  • "storageClass": "string",
  • "blobStorageRegion": "eu",
  • "options": [
    ]
}

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

Get backup

Returns the backup identified by the request path.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "status": "string",
  • "appInstanceId": 0,
  • "appServiceId": 0,
  • "databaseId": 0,
  • "databaseDbId": 0,
  • "backupPresetId": 0,
  • "manual": true,
  • "integrationId": 0,
  • "blobStorageRegion": "eu",
  • "taskId": 0,
  • "size": 0,
  • "fileDeleted": true,
  • "canVoidFile": true,
  • "options": [
    ],
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "startedAt": "2019-08-24T14:15:22Z",
  • "endedAt": "2019-08-24T14:15:22Z"
}

Get backup download URL

Returns a short-lived URL for downloading the backup file. It needs write access to the backup.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "url": "string",
  • "expiresAt": "2019-08-24T14:15:22Z"
}

Void backup file

Permanently removes a completed backup file from Wodby Blob Storage while retaining its backup record. The operation is unavailable while an import is using the backup.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "status": "string",
  • "appInstanceId": 0,
  • "appServiceId": 0,
  • "databaseId": 0,
  • "databaseDbId": 0,
  • "backupPresetId": 0,
  • "manual": true,
  • "integrationId": 0,
  • "blobStorageRegion": "eu",
  • "taskId": 0,
  • "size": 0,
  • "fileDeleted": true,
  • "canVoidFile": true,
  • "options": [
    ],
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "startedAt": "2019-08-24T14:15:22Z",
  • "endedAt": "2019-08-24T14:15:22Z"
}

List backup presets

Returns backup presets matching the request filters. At least one target filter is required for user-session requests; API-key requests default to the key's organization.

Authorizations:
apiKeyHeader
query Parameters
appInstanceId
integer
appServiceId
integer
databaseId
integer
databaseDbId
integer
orgId
integer

Optional for API-key requests; defaults to the API key's organization. If provided, it must match the key's organization.

backupName
string
applicableEnvId
integer

Return only presets that apply to this environment.

applicableBackupCategory
string
Enum: "files" "database"

Return only presets that apply to this backup category.

applicableAppInstanceId
integer

Return only presets that apply to this app environment, by its environment and the projects its app is in.

applicableDatabaseId
integer

Return only presets that apply to this database, by its environment and the projects it is in.

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create backup preset

Creates a manual or scheduled backup preset.

Authorizations:
apiKeyHeader
Request Body schema: application/json
required
appInstanceId
integer or null
appServiceId
integer or null
databaseId
integer or null
databaseDbId
integer or null
orgId
integer or null

Optional for API-key requests; defaults to the API key's organization when no more specific target is provided.

envId
integer or null
envTypes
Array of strings or null
Enum: "dev" "feature" "test" "staging" "prod"
backupCategory
string or null
Default: "any"
Enum: "any" "files" "database"
projectIds
Array of integers or null

Organization-wide presets only. Limits the preset to apps and databases in these projects of the organization; omit or leave empty for every project.

backupName
string or null
integrationId
required
integer

Use 0 for Wodby Blob Storage. Free subscriptions may create only an automatic preset that is disabled.

bucket
required
string

Must be empty for Wodby Blob Storage.

storageClass
string or null
blobStorageRegion
string or null
Default: "eu"
Enum: "eu" "us"

Wodby Blob Storage region. Omit to use Europe; must be omitted for third-party storage.

Array of objects or null (BackupOption)
disabled
required
boolean
override
required
boolean
auto
boolean or null
crontab
string or null
object (AutomationTimeWindowInput)
duration
integer or null [ 30 .. 180 ]

Responses

Request samples

Content type
application/json
{
  • "appInstanceId": 0,
  • "appServiceId": 0,
  • "databaseId": 0,
  • "databaseDbId": 0,
  • "orgId": 0,
  • "envId": 0,
  • "envTypes": [
    ],
  • "backupCategory": "any",
  • "projectIds": [
    ],
  • "backupName": "string",
  • "integrationId": 0,
  • "bucket": "string",
  • "storageClass": "string",
  • "blobStorageRegion": "eu",
  • "options": [
    ],
  • "disabled": true,
  • "override": true,
  • "auto": true,
  • "crontab": "string",
  • "timeWindow": {
    },
  • "duration": 30
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "appInstanceId": 0,
  • "appServiceId": 0,
  • "databaseId": 0,
  • "databaseDbId": 0,
  • "orgId": 0,
  • "envId": 0,
  • "envTypes": [
    ],
  • "backupCategory": "any",
  • "projectIds": [
    ],
  • "backupName": "string",
  • "integrationId": 0,
  • "bucket": "string",
  • "storageClass": "string",
  • "blobStorageRegion": "eu",
  • "options": [
    ],
  • "override": true,
  • "auto": true,
  • "disabled": true,
  • "crontab": "string",
  • "timeWindow": {
    },
  • "duration": 30,
  • "nextRunAt": "2019-08-24T14:15:22Z",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Get backup preset

Returns the backup preset identified by the request path.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "appInstanceId": 0,
  • "appServiceId": 0,
  • "databaseId": 0,
  • "databaseDbId": 0,
  • "orgId": 0,
  • "envId": 0,
  • "envTypes": [
    ],
  • "backupCategory": "any",
  • "projectIds": [
    ],
  • "backupName": "string",
  • "integrationId": 0,
  • "bucket": "string",
  • "storageClass": "string",
  • "blobStorageRegion": "eu",
  • "options": [
    ],
  • "override": true,
  • "auto": true,
  • "disabled": true,
  • "crontab": "string",
  • "timeWindow": {
    },
  • "duration": 30,
  • "nextRunAt": "2019-08-24T14:15:22Z",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Update backup preset

Updates a backup preset's destination and schedule.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
envTypes
Array of strings or null
Enum: "dev" "feature" "test" "staging" "prod"

Omit to preserve the current filter; use an empty array to clear it.

backupCategory
string or null
Enum: "any" "files" "database"

Omit to preserve the current category.

projectIds
Array of integers or null

Organization-wide presets only. Omit to preserve the current project selection; use an empty array to apply the preset to every project.

integrationId
required
integer

Use 0 for Wodby Blob Storage. Enabling the preset requires a paid subscription.

bucket
required
string

Must be empty for Wodby Blob Storage.

storageClass
string or null
blobStorageRegion
string or null
Enum: "eu" "us"

Wodby Blob Storage region. Omit to preserve the current region; must be omitted for third-party storage.

Array of objects or null (BackupOption)
disabled
required
boolean
override
required
boolean
auto
required
boolean
crontab
string or null
object (AutomationTimeWindowInput)
duration
integer or null [ 30 .. 180 ]

Responses

Request samples

Content type
application/json
{
  • "envTypes": [
    ],
  • "backupCategory": "any",
  • "projectIds": [
    ],
  • "integrationId": 0,
  • "bucket": "string",
  • "storageClass": "string",
  • "blobStorageRegion": "eu",
  • "options": [
    ],
  • "disabled": true,
  • "override": true,
  • "auto": true,
  • "crontab": "string",
  • "timeWindow": {
    },
  • "duration": 30
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "appInstanceId": 0,
  • "appServiceId": 0,
  • "databaseId": 0,
  • "databaseDbId": 0,
  • "orgId": 0,
  • "envId": 0,
  • "envTypes": [
    ],
  • "backupCategory": "any",
  • "projectIds": [
    ],
  • "backupName": "string",
  • "integrationId": 0,
  • "bucket": "string",
  • "storageClass": "string",
  • "blobStorageRegion": "eu",
  • "options": [
    ],
  • "override": true,
  • "auto": true,
  • "disabled": true,
  • "crontab": "string",
  • "timeWindow": {
    },
  • "duration": 30,
  • "nextRunAt": "2019-08-24T14:15:22Z",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Delete backup preset

Deletes a backup preset and its schedule.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

List backup preset backups

Returns a paginated list of backups created from the preset.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
query Parameters
page
integer >= 1

Page number, defaults to 1

pageSize
integer >= 1

Page size, defaults to 30

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "totalCount": 0,
  • "nextPage": 0
}

imports

Import records and import creation.

List imports

Returns imports matching the request filters.

Authorizations:
apiKeyHeader
query Parameters
appInstanceId
integer
appServiceId
integer
databaseId
integer
databaseDbId
integer

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create import

Creates an import and returns the created resource.

Authorizations:
apiKeyHeader
Request Body schema: application/json
required
appServiceId
integer or null
databaseDbId
integer or null
required
object (ImportInput)

Responses

Request samples

Content type
application/json
{
  • "appServiceId": 0,
  • "databaseDbId": 0,
  • "import": {
    }
}

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

Get import

Returns the import identified by the request path.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "name": "string",
  • "source": "string",
  • "status": "string",
  • "filename": "string",
  • "size": 0,
  • "appInstanceId": 0,
  • "appServiceId": 0,
  • "databaseId": 0,
  • "databaseDbId": 0,
  • "appServiceDeploymentId": 0,
  • "taskId": 0,
  • "backupId": 0,
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "startedAt": "2019-08-24T14:15:22Z",
  • "endedAt": "2019-08-24T14:15:22Z"
}

tasks

User-visible task records and task actions.

List tasks

Returns tasks matching the request filters.

Authorizations:
apiKeyHeader
query Parameters
scope
string
Enum: "project_and_org" "org_only" "user_only"
orgId
integer

Optional for API-key requests; defaults to the API key's organization. If provided, it must match the key's organization.

projectIds
string

Comma-separated project ids

view
string
Enum: "flat" "tree"

Return matching tasks as a flat page or as filter-scoped task trees. Tree responses support user, organization, project, and resource filters, keep paginated roots in items, and include current-page tree nodes in treeItems. Root pages are capped at 100 tasks. Tree responses include up to 250 authorized tasks and set treeTruncated when additional visible descendants exist; exceeding the 10-level depth limit still returns 422.

withoutOrigin
boolean
Deprecated

Deprecated compatibility alias for view=tree

agentConnectionId
integer

Restrict tasks to an authorized agent connection in the requested organization.

mcpOnly
boolean

Only tasks known to originate through MCP, including spawned work. Unknown historical tasks are excluded.

includeSystem
boolean
Default: false

Include operator-only system tasks when authorized

statuses
string

Comma-separated task statuses

names
string

Comma-separated exact task names

search
string
appId
integer
appInstanceId
integer
stackId
integer
databaseId
integer
clusterId
integer
serviceId
integer
integrationId
integer
providerId
integer
page
integer >= 1

Page number, defaults to 1

pageSize
integer >= 1

Page size, defaults to 30

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "treeItems": [
    ],
  • "treeTruncated": true,
  • "canIncludeSystem": true,
  • "totalCount": 0,
  • "nextPage": 0
}

Get task

Returns the task identified by the request path.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "initiator": {
    },
  • "id": 0,
  • "name": "string",
  • "title": "string",
  • "compactTitle": "string",
  • "executionScope": "user",
  • "status": "string",
  • "progress": 0,
  • "silent": true,
  • "system": true,
  • "userId": 0,
  • "user": {
    },
  • "orgId": 0,
  • "projectIds": [
    ],
  • "appId": 0,
  • "appInstanceId": 0,
  • "appServiceId": 0,
  • "clusterId": 0,
  • "databaseId": 0,
  • "integrationId": 0,
  • "serviceId": 0,
  • "stackId": 0,
  • "providerId": 0,
  • "originTaskId": 0,
  • "spawnedTaskIds": [
    ],
  • "repeatedTaskId": 0,
  • "jobs": [
    ],
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "startedAt": "2019-08-24T14:15:22Z",
  • "endedAt": "2019-08-24T14:15:22Z"
}

Cancel task

Requests cancellation for the task.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

Repeat task

Creates a repeated run for the task.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
Request Body schema: application/json
required
force
required
boolean

Responses

Request samples

Content type
application/json
{
  • "force": true
}

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

task-steps

Task step logs and log URLs.

Get task step logs

Returns current inline logs for pending task steps and a temporary log URL for persisted task steps.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
query Parameters
delivery
string
Default: "auto"
Enum: "auto" "inline" "url"

Delivery mode. Auto returns a URL for persisted logs and inline lines for pending or empty logs.

Responses

Response samples

Content type
application/json
{
  • "status": "persisted",
  • "streamId": 0,
  • "url": "string",
  • "lines": [
    ]
}

Get task step log URL

Returns a temporary log URL for the task step.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer

Responses

Response samples

Content type
application/json
{
  • "url": "string"
}

agent-chats

The API key user's chats with Wodby Agent in the organization. The agent acts with that user's access, asks before every change, and is billed to the organization's AI credits. Support members can also list and read all members' chats in that organization; changes to a chat remain restricted to its owner.

List agent chats

Returns the API key user's chats with Wodby Agent in the organization, the most recently active first. Support members receive all members' chats in the organization.

Authorizations:
apiKeyHeader
query Parameters
orgId
integer

Optional for API-key requests; defaults to the API key's organization. If provided, it must match the key's organization.

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Start agent chat

Starts a chat with Wodby Agent with its first message. The agent's run continues after the response: read the chat until its status is idle, or waiting for an approval or an answer. Each run uses the organization's AI credits.

Authorizations:
apiKeyHeader
Request Body schema: application/json
required
orgId
integer

Optional for API-key requests; defaults to the API key's organization.

message
required
string [ 1 .. 32000 ] characters
approvalMode
string
Enum: "ask" "never_ask"

Optional; without it, the chat asks before every change.

Responses

Request samples

Content type
application/json
{
  • "orgId": 0,
  • "message": "string",
  • "approvalMode": "ask"
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "orgId": 0,
  • "title": "string",
  • "status": "idle",
  • "error": "string",
  • "approvalMode": "ask",
  • "contextTokens": 0,
  • "contextLimit": 0,
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Get agent chat

Returns a chat with its messages. A tool message with approval pending is a change that waits for approval, or, for the tool ask_user, a question that waits for an answer. Support members can read any chat in the organization; other members can read only their own.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
query Parameters
orgId
integer

Optional for API-key requests; defaults to the API key's organization. If provided, it must match the key's organization.

Responses

Response samples

Content type
application/json
{
  • "chat": {
    },
  • "messages": [
    ]
}

Delete agent chat

Deletes a chat and its messages. It does not undo what the agent did.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
query Parameters
orgId
integer

Optional for API-key requests; defaults to the API key's organization. If provided, it must match the key's organization.

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "taskId": 0
}

Send agent chat message

Adds a message to an idle chat and starts the agent's run, which continues after the response.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
query Parameters
orgId
integer

Optional for API-key requests; defaults to the API key's organization. If provided, it must match the key's organization.

Request Body schema: application/json
required
message
required
string [ 1 .. 32000 ] characters

Responses

Request samples

Content type
application/json
{
  • "message": "string"
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "orgId": 0,
  • "title": "string",
  • "status": "idle",
  • "error": "string",
  • "approvalMode": "ask",
  • "contextTokens": 0,
  • "contextLimit": 0,
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Approve or decline agent change

Approves or declines a tool call that waits for approval. The run continues once nothing waits any more. Approving a destructive call, marked toolDestructive, lets it delete, overwrite, upgrade or interrupt what its arguments name.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
query Parameters
orgId
integer

Optional for API-key requests; defaults to the API key's organization. If provided, it must match the key's organization.

Request Body schema: application/json
required
messageId
required
integer

The tool message that waits for approval.

approve
required
boolean

Responses

Request samples

Content type
application/json
{
  • "messageId": 0,
  • "approve": true
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "orgId": 0,
  • "title": "string",
  • "status": "idle",
  • "error": "string",
  • "approvalMode": "ask",
  • "contextTokens": 0,
  • "contextLimit": 0,
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Answer agent question

Answers a question the agent asked with the tool ask_user, with option labels from its arguments or other text. The run continues once nothing waits any more.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
query Parameters
orgId
integer

Optional for API-key requests; defaults to the API key's organization. If provided, it must match the key's organization.

Request Body schema: application/json
required
messageId
required
integer

The ask_user message that waits for an answer.

answers
required
Array of strings [ 1 .. 20 ] items [ items [ 1 .. 500 ] characters ]

Responses

Request samples

Content type
application/json
{
  • "messageId": 0,
  • "answers": [
    ]
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "orgId": 0,
  • "title": "string",
  • "status": "idle",
  • "error": "string",
  • "approvalMode": "ask",
  • "contextTokens": 0,
  • "contextLimit": 0,
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Set agent chat approval mode

Sets whether the chat asks before a change. A run that is going on follows the new mode from its next step; calls that already wait for approval keep waiting for an answer.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
query Parameters
orgId
integer

Optional for API-key requests; defaults to the API key's organization. If provided, it must match the key's organization.

Request Body schema: application/json
required
approvalMode
required
string (AgentChatApprovalMode)
Enum: "ask" "never_ask"

Whether the chat's tool calls that change something wait for approval. ask, the default, waits for every change. never_ask runs every change at once, including destructive ones and container commands. A question the agent asks always waits for an answer.

Responses

Request samples

Content type
application/json
{
  • "approvalMode": "ask"
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "orgId": 0,
  • "title": "string",
  • "status": "idle",
  • "error": "string",
  • "approvalMode": "ask",
  • "contextTokens": 0,
  • "contextLimit": 0,
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Stop agent chat

Stops the chat's run and declines the calls that wait for approval. A chat without a run is returned as it is.

Authorizations:
apiKeyHeader
path Parameters
id
required
integer
query Parameters
orgId
integer

Optional for API-key requests; defaults to the API key's organization. If provided, it must match the key's organization.

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "orgId": 0,
  • "title": "string",
  • "status": "idle",
  • "error": "string",
  • "approvalMode": "ask",
  • "contextTokens": 0,
  • "contextLimit": 0,
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

envs

Organization-level environment definitions.

Get OpenAPI YAML

Returns the public OpenAPI schema in YAML format.

Responses

Response samples

Content type
application/problem+json
{
  • "title": "string",
  • "status": 100,
  • "detail": "string",
  • "instance": "string",
  • "code": "string",
  • "message": "string",
  • "errors": [
    ]
}

Get OpenAPI JSON

Returns the public OpenAPI schema in JSON format.

Responses

Response samples

Content type
application/json
{ }