Download OpenAPI specification:
REST API for automating Wodby 2. Manage organizations, projects, apps, environments, clusters, databases and integrations, authenticated with an API key.
{- "id": 0,
- "email": "string",
- "name": "string",
- "orgs": [
- {
- "id": 0,
- "name": "string",
- "title": "string",
- "domain": "string",
- "defaultTimeZone": "America/New_York",
- "ciIntegrationId": 0,
- "registryIntegrationId": 0,
- "settings": {
- "buildImageCleanup": {
- "retention": "never"
}
}, - "capabilities": {
- "customDomains": true,
- "autoBackups": true,
- "users": true,
- "projects": true,
- "cronSchedules": true,
- "autoscale": true,
- "appInstancePause": true,
- "webShell": true,
- "appAccess": true,
- "orgSSO": true,
- "wodbyCloud": true,
- "vulnerabilityScanning": true,
- "previewEnvironments": true
}, - "subscription": {
- "status": "ACTIVE",
- "plan": {
- "name": "string",
- "title": "string"
}
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "twofa": true,
- "defaultOrg": {
- "id": 0,
- "name": "string",
- "title": "string",
- "domain": "string",
- "defaultTimeZone": "America/New_York",
- "ciIntegrationId": 0,
- "registryIntegrationId": 0,
- "settings": {
- "buildImageCleanup": {
- "retention": "never"
}
}, - "capabilities": {
- "customDomains": true,
- "autoBackups": true,
- "users": true,
- "projects": true,
- "cronSchedules": true,
- "autoscale": true,
- "appInstancePause": true,
- "webShell": true,
- "appAccess": true,
- "orgSSO": true,
- "wodbyCloud": true,
- "vulnerabilityScanning": true,
- "previewEnvironments": true
}, - "subscription": {
- "status": "ACTIVE",
- "plan": {
- "name": "string",
- "title": "string"
}
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "defaultProjects": [
- {
- "id": 0,
- "name": "string",
- "title": "string",
- "orgId": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Updates the authenticated user's basic profile and returns the updated account.
| name required | string |
{- "name": "string"
}{- "id": 0,
- "email": "string",
- "name": "string",
- "orgs": [
- {
- "id": 0,
- "name": "string",
- "title": "string",
- "domain": "string",
- "defaultTimeZone": "America/New_York",
- "ciIntegrationId": 0,
- "registryIntegrationId": 0,
- "settings": {
- "buildImageCleanup": {
- "retention": "never"
}
}, - "capabilities": {
- "customDomains": true,
- "autoBackups": true,
- "users": true,
- "projects": true,
- "cronSchedules": true,
- "autoscale": true,
- "appInstancePause": true,
- "webShell": true,
- "appAccess": true,
- "orgSSO": true,
- "wodbyCloud": true,
- "vulnerabilityScanning": true,
- "previewEnvironments": true
}, - "subscription": {
- "status": "ACTIVE",
- "plan": {
- "name": "string",
- "title": "string"
}
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "twofa": true,
- "defaultOrg": {
- "id": 0,
- "name": "string",
- "title": "string",
- "domain": "string",
- "defaultTimeZone": "America/New_York",
- "ciIntegrationId": 0,
- "registryIntegrationId": 0,
- "settings": {
- "buildImageCleanup": {
- "retention": "never"
}
}, - "capabilities": {
- "customDomains": true,
- "autoBackups": true,
- "users": true,
- "projects": true,
- "cronSchedules": true,
- "autoscale": true,
- "appInstancePause": true,
- "webShell": true,
- "appAccess": true,
- "orgSSO": true,
- "wodbyCloud": true,
- "vulnerabilityScanning": true,
- "previewEnvironments": true
}, - "subscription": {
- "status": "ACTIVE",
- "plan": {
- "name": "string",
- "title": "string"
}
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "defaultProjects": [
- {
- "id": 0,
- "name": "string",
- "title": "string",
- "orgId": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}[- {
- "id": 0,
- "name": "string",
- "title": "string",
- "domain": "string",
- "defaultTimeZone": "America/New_York",
- "ciIntegrationId": 0,
- "registryIntegrationId": 0,
- "settings": {
- "buildImageCleanup": {
- "retention": "never"
}
}, - "capabilities": {
- "customDomains": true,
- "autoBackups": true,
- "users": true,
- "projects": true,
- "cronSchedules": true,
- "autoscale": true,
- "appInstancePause": true,
- "webShell": true,
- "appAccess": true,
- "orgSSO": true,
- "wodbyCloud": true,
- "vulnerabilityScanning": true,
- "previewEnvironments": true
}, - "subscription": {
- "status": "ACTIVE",
- "plan": {
- "name": "string",
- "title": "string"
}
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]Returns the org identified by the request path.
| id required | integer |
{- "id": 0,
- "name": "string",
- "title": "string",
- "domain": "string",
- "defaultTimeZone": "America/New_York",
- "ciIntegrationId": 0,
- "registryIntegrationId": 0,
- "settings": {
- "buildImageCleanup": {
- "retention": "never"
}
}, - "capabilities": {
- "customDomains": true,
- "autoBackups": true,
- "users": true,
- "projects": true,
- "cronSchedules": true,
- "autoscale": true,
- "appInstancePause": true,
- "webShell": true,
- "appAccess": true,
- "orgSSO": true,
- "wodbyCloud": true,
- "vulnerabilityScanning": true,
- "previewEnvironments": true
}, - "subscription": {
- "status": "ACTIVE",
- "plan": {
- "name": "string",
- "title": "string"
}
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Updates the org and returns the updated resource.
| id required | integer |
| 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. |
{- "title": "string",
- "defaultTimeZone": "America/New_York",
- "registryIntegrationId": 0,
- "ciIntegrationId": 0
}{- "id": 0,
- "name": "string",
- "title": "string",
- "domain": "string",
- "defaultTimeZone": "America/New_York",
- "ciIntegrationId": 0,
- "registryIntegrationId": 0,
- "settings": {
- "buildImageCleanup": {
- "retention": "never"
}
}, - "capabilities": {
- "customDomains": true,
- "autoBackups": true,
- "users": true,
- "projects": true,
- "cronSchedules": true,
- "autoscale": true,
- "appInstancePause": true,
- "webShell": true,
- "appAccess": true,
- "orgSSO": true,
- "wodbyCloud": true,
- "vulnerabilityScanning": true,
- "previewEnvironments": true
}, - "subscription": {
- "status": "ACTIVE",
- "plan": {
- "name": "string",
- "title": "string"
}
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Evaluates whether the organization can add the requested number of enabled app services under the backend's effective billing policy.
| id required | integer |
| additionalUsage required | integer >= 0 Number of enabled app services the operation would add. |
{- "additionalUsage": 0
}{- "allowed": true,
- "enforced": true,
- "usage": 0.1,
- "usageIncluded": 0.1,
- "projectedUsage": 0.1
}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.
| id required | integer |
required | object (BuildImageCleanupSettingsInput) |
{- "buildImageCleanup": {
- "retention": "never"
}
}{- "id": 0,
- "name": "string",
- "title": "string",
- "domain": "string",
- "defaultTimeZone": "America/New_York",
- "ciIntegrationId": 0,
- "registryIntegrationId": 0,
- "settings": {
- "buildImageCleanup": {
- "retention": "never"
}
}, - "capabilities": {
- "customDomains": true,
- "autoBackups": true,
- "users": true,
- "projects": true,
- "cronSchedules": true,
- "autoscale": true,
- "appInstancePause": true,
- "webShell": true,
- "appAccess": true,
- "orgSSO": true,
- "wodbyCloud": true,
- "vulnerabilityScanning": true,
- "previewEnvironments": true
}, - "subscription": {
- "status": "ACTIVE",
- "plan": {
- "name": "string",
- "title": "string"
}
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Returns usage and pricing details for callers with billing-view access to the organization.
| id required | integer |
{- "status": "ACTIVE",
- "plan": {
- "name": "string",
- "title": "string",
- "usage": 0.1,
- "usageIncluded": 0.1,
- "spendingLimit": 0.1,
- "pricePerUnit": 0.1,
- "unit": "string"
}
}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.
| id required | integer |
| periodStart | string <date-time> Start of the billing period as listed by listOrgUsagePeriods. Defaults to the current period. |
{- "period": {
- "start": "2019-08-24T14:15:22Z",
- "end": "2019-08-24T14:15:22Z",
- "current": true
}, - "amount": 0.1,
- "invoiceAmount": 0.1,
- "projects": [
- {
- "projectId": 0,
- "name": "string",
- "title": "string",
- "deleted": true,
- "amount": 0.1,
- "invoiceShare": 0.1,
- "items": [
- {
- "item": "app_services",
- "title": "string",
- "quantity": 0.1,
- "unit": "string",
- "amount": 0.1,
- "invoiceShare": 0.1
}
]
}
]
}Returns the billing periods available in the usage report, newest first, including the current period. Requires billing-view access to the organization.
| id required | integer |
[- {
- "start": "2019-08-24T14:15:22Z",
- "end": "2019-08-24T14:15:22Z",
- "current": true
}
]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.
| id required | integer |
| periodStart | string <date-time> Start of the billing period as listed by listOrgUsagePeriods. Defaults to the current period. |
{- "title": "string",
- "status": 100,
- "detail": "string",
- "instance": "string",
- "code": "string",
- "message": "string",
- "errors": [
- {
- "field": "string",
- "code": "string",
- "detail": "string"
}
]
}Returns org memberships matching the request filters.
| orgId | integer Optional for API-key requests; defaults to the API key's organization. If provided, it must match the key's organization. |
[- {
- "id": 0,
- "userId": 0,
- "user": {
- "id": 0,
- "name": "string"
}, - "email": "string",
- "orgId": 0,
- "role": "string",
- "status": "string",
- "joinedAt": "2019-08-24T14:15:22Z",
- "projectMemberships": [
- {
- "id": 0,
- "projectId": 0,
- "orgMembershipId": 0,
- "teamId": 0,
- "role": "read",
- "customRoleId": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "teamMemberships": [
- {
- "id": 0,
- "teamId": 0,
- "role": "member"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]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.
| 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" |
{- "orgId": 0,
- "email": "user@example.com",
- "role": "member"
}{- "id": 0,
- "userId": 0,
- "user": {
- "id": 0,
- "name": "string"
}, - "email": "string",
- "orgId": 0,
- "role": "string",
- "status": "string",
- "joinedAt": "2019-08-24T14:15:22Z",
- "projectMemberships": [
- {
- "id": 0,
- "projectId": 0,
- "orgMembershipId": 0,
- "teamId": 0,
- "role": "read",
- "customRoleId": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "teamMemberships": [
- {
- "id": 0,
- "teamId": 0,
- "role": "member"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Returns the org membership identified by the request path. Organization owners, admins and support members also get the member's project and team memberships.
| id required | integer |
{- "id": 0,
- "userId": 0,
- "user": {
- "id": 0,
- "name": "string"
}, - "email": "string",
- "orgId": 0,
- "role": "string",
- "status": "string",
- "joinedAt": "2019-08-24T14:15:22Z",
- "projectMemberships": [
- {
- "id": 0,
- "projectId": 0,
- "orgMembershipId": 0,
- "teamId": 0,
- "role": "read",
- "customRoleId": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "teamMemberships": [
- {
- "id": 0,
- "teamId": 0,
- "role": "member"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Changes the organization role of a member and returns the membership with its project and team memberships.
| id required | integer |
| role required | string Enum: "member" "admin" "owner" |
{- "role": "member"
}{- "id": 0,
- "userId": 0,
- "user": {
- "id": 0,
- "name": "string"
}, - "email": "string",
- "orgId": 0,
- "role": "string",
- "status": "string",
- "joinedAt": "2019-08-24T14:15:22Z",
- "projectMemberships": [
- {
- "id": 0,
- "projectId": 0,
- "orgMembershipId": 0,
- "teamId": 0,
- "role": "read",
- "customRoleId": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "teamMemberships": [
- {
- "id": 0,
- "teamId": 0,
- "role": "member"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}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.
| id required | integer |
required | Array of objects The complete team list of the member. |
{- "teams": [
- {
- "teamId": 0,
- "role": "member"
}
]
}{- "id": 0,
- "userId": 0,
- "user": {
- "id": 0,
- "name": "string"
}, - "email": "string",
- "orgId": 0,
- "role": "string",
- "status": "string",
- "joinedAt": "2019-08-24T14:15:22Z",
- "projectMemberships": [
- {
- "id": 0,
- "projectId": 0,
- "orgMembershipId": 0,
- "teamId": 0,
- "role": "read",
- "customRoleId": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "teamMemberships": [
- {
- "id": 0,
- "teamId": 0,
- "role": "member"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Returns the teams of the organization with their members.
| orgId | integer Optional for API-key requests; defaults to the API key's organization. If provided, it must match the key's organization. |
[- {
- "id": 0,
- "name": "string",
- "title": "string",
- "orgId": 0,
- "members": [
- {
- "id": 0,
- "orgMembershipId": 0,
- "role": "member"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]Creates a team of organization members.
| 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. |
{- "orgId": 0,
- "name": "string",
- "title": "string",
- "members": [
- {
- "orgMembershipId": 0,
- "role": "member"
}
]
}{- "id": 0,
- "name": "string",
- "title": "string",
- "orgId": 0,
- "members": [
- {
- "id": 0,
- "orgMembershipId": 0,
- "role": "member"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Returns one team of the organization by its name.
| name required | string |
| orgId | integer Optional for API-key requests; defaults to the API key's organization. If provided, it must match the key's organization. |
{- "id": 0,
- "name": "string",
- "title": "string",
- "orgId": 0,
- "members": [
- {
- "id": 0,
- "orgMembershipId": 0,
- "role": "member"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Renames a team and replaces its member list.
| id required | integer |
| 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. |
{- "orgId": 0,
- "name": "string",
- "title": "string",
- "members": [
- {
- "orgMembershipId": 0,
- "role": "member"
}
]
}{- "id": 0,
- "name": "string",
- "title": "string",
- "orgId": 0,
- "members": [
- {
- "id": 0,
- "orgMembershipId": 0,
- "role": "member"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Returns the members and teams with a role in a project.
| projectId required | integer |
[- {
- "id": 0,
- "projectId": 0,
- "orgMembershipId": 0,
- "teamId": 0,
- "role": "read",
- "customRoleId": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]Gives organization members or teams the same role in a project. Returns the created memberships.
| 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. |
{- "projectId": 0,
- "orgMembershipIds": [
- 0
], - "teamIds": [
- 0
], - "role": "read",
- "customRoleId": 0
}[- {
- "id": 0,
- "projectId": 0,
- "orgMembershipId": 0,
- "teamId": 0,
- "role": "read",
- "customRoleId": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]Changes the project role of a member or team.
| id required | integer |
| 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. |
{- "role": "read",
- "customRoleId": 0
}{- "id": 0,
- "projectId": 0,
- "orgMembershipId": 0,
- "teamId": 0,
- "role": "read",
- "customRoleId": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Returns the system project roles from least to most access, then the organization's custom roles by title, with the permissions each grants.
| orgId | integer Optional for API-key requests; defaults to the API key's organization. If provided, it must match the key's organization. |
[- {
- "id": 0,
- "role": "read",
- "system": true,
- "name": "string",
- "title": "string",
- "description": "string",
- "projectPermissions": [
- "string"
], - "envPermissions": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "assignableToTeams": true,
- "supportsRuntimeSecretReveal": true,
- "membershipCount": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]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.
| 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). |
{- "orgId": 0,
- "name": "string",
- "title": "string",
- "description": "string",
- "projectPermissions": [
- "string"
], - "envPermissions": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}{- "id": 0,
- "role": "read",
- "system": true,
- "name": "string",
- "title": "string",
- "description": "string",
- "projectPermissions": [
- "string"
], - "envPermissions": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "assignableToTeams": true,
- "supportsRuntimeSecretReveal": true,
- "membershipCount": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Returns a custom project role.
| id required | integer |
{- "id": 0,
- "role": "read",
- "system": true,
- "name": "string",
- "title": "string",
- "description": "string",
- "projectPermissions": [
- "string"
], - "envPermissions": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "assignableToTeams": true,
- "supportsRuntimeSecretReveal": true,
- "membershipCount": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}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.
| id required | integer |
| 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). |
{- "orgId": 0,
- "name": "string",
- "title": "string",
- "description": "string",
- "projectPermissions": [
- "string"
], - "envPermissions": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}{- "id": 0,
- "role": "read",
- "system": true,
- "name": "string",
- "title": "string",
- "description": "string",
- "projectPermissions": [
- "string"
], - "envPermissions": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "assignableToTeams": true,
- "supportsRuntimeSecretReveal": true,
- "membershipCount": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Single sign-on providers and verified email domains of organizations. Read-only: an organization owner adds, changes and removes providers in the dashboard.
Returns the single sign-on providers of the organization with their domains.
| orgId | integer Optional for API-key requests; defaults to the API key's organization. If provided, it must match the key's organization. |
[- {
- "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": [
- {
- "id": 0,
- "domain": "string",
- "verified": true,
- "verificationRecordName": "string",
- "verificationRecordType": "string",
- "verificationRecordValue": "string",
- "verifiedAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]Returns one single sign-on provider with its domains.
| id required | integer |
{- "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": [
- {
- "id": 0,
- "domain": "string",
- "verified": true,
- "verificationRecordName": "string",
- "verificationRecordType": "string",
- "verificationRecordValue": "string",
- "verifiedAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Returns projects matching the request filters.
| orgId | integer Optional for API-key requests; defaults to the API key's organization. If provided, it must match the key's organization. |
[- {
- "id": 0,
- "name": "string",
- "title": "string",
- "orgId": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]Creates a project and returns the created resource.
| 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 |
{- "orgId": 0,
- "name": "string",
- "title": "string",
- "teamIds": [
- 0
], - "orgMembershipIds": [
- 0
], - "role": "string"
}{- "id": 0,
- "name": "string",
- "title": "string",
- "orgId": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Returns the project identified by name.
| name required | string |
| orgId | integer Optional for API-key requests; defaults to the API key's organization. If provided, it must match the key's organization. |
{- "id": 0,
- "name": "string",
- "title": "string",
- "orgId": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Returns the project identified by the request path.
| id required | integer |
{- "id": 0,
- "name": "string",
- "title": "string",
- "orgId": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Updates the project and returns the updated resource.
| id required | integer |
| title required | string |
{- "title": "string"
}{- "id": 0,
- "name": "string",
- "title": "string",
- "orgId": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Returns apps matching the request filters.
| 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 |
[- {
- "id": 0,
- "name": "string",
- "title": "string",
- "status": "string",
- "clusterApp": true,
- "orgId": 0,
- "ownershipScope": "org",
- "ownerProjectId": 0,
- "settings": {
- "previewEnvironments": {
- "enabled": true,
- "baseAppEnvironmentId": 0,
- "environmentType": "test",
- "imports": [
- {
- "appServiceName": "string",
- "importName": "string",
- "backupName": "string"
}
], - "buildDrafts": true,
- "runCronJobs": true,
- "maxConcurrent": 0,
- "idleTtlDays": 0,
- "basicAuth": true,
- "basicAuthUsername": "string"
}
}, - "creatableEnvironmentTypes": [
- "prod"
], - "previewsAvailable": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]Creates an app and returns the created resource.
| 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. |
{- "executionMode": "standard",
- "workspace": {
- "branch": "string",
- "storageClassName": "string",
- "storageServiceName": "string",
- "codeSize": 10,
- "homeSize": 5
}, - "orgId": 0,
- "name": "string",
- "title": "string",
- "environmentName": "string",
- "environmentTitle": "string",
- "environmentType": "prod",
- "domain": "string",
- "projectId": 0,
- "stackRevId": 0,
- "services": [
- {
- "id": 0,
- "disabled": true,
- "version": "string",
- "buildSource": {
- "buildSourceType": "string",
- "boilerplate": "string",
- "newRepoName": "string",
- "integrationId": 0,
- "remoteGitRepoId": "string",
- "gitRef": "string",
- "gitRefType": "string"
}, - "imports": [
- {
- "importName": "string",
- "source": "string",
- "url": "string",
- "backupId": 0,
- "from": {
- "databaseDbId": 0,
- "appServiceId": 0,
- "backupName": "string"
}
}
], - "volumes": [
- {
- "name": "string",
- "size": 0,
- "storageClassName": "string"
}
], - "integrations": [
- {
- "name": "string",
- "integrationIds": [
- 0
]
}
], - "settings": [
- {
- "name": "string",
- "value": "string"
}
], - "database": {
- "databaseId": 0,
- "databaseDbId": 0
}, - "resources": {
- "gpu": {
- "resourceName": "string",
- "count": 2147483647
}, - "workload": "string",
- "container": "string",
- "preset": "string",
- "requestCPU": 0,
- "requestMem": 0,
- "limitCPU": 0,
- "limitMem": 0
}, - "scalability": {
- "averageCPU": 0,
- "minReplicas": 0,
- "maxReplicas": 0
}, - "basicAuth": true
}
], - "serviceOverrides": [
- {
- "id": 0,
- "disabled": true,
- "version": "string",
- "buildSource": {
- "buildSourceType": "string",
- "boilerplate": "string",
- "newRepoName": "string",
- "integrationId": 0,
- "remoteGitRepoId": "string",
- "gitRef": "string",
- "gitRefType": "string"
}, - "settings": [
- {
- "name": "string",
- "value": "string"
}
], - "database": {
- "databaseId": 0,
- "databaseDbId": 0
}, - "basicAuth": true
}
], - "clusterId": 0,
- "ciIntegrationId": 0,
- "registryIntegrationId": 0,
- "deferInitialDeployment": false,
- "settings": {
- "autoStackUpgrade": {
- "enabled": true,
- "upgradeSettings": {
- "versions": true,
- "replicas": true,
- "resources": true,
- "integrations": true,
- "services": true,
- "settings": true,
- "links": true,
- "tokens": true,
- "configs": true,
- "cron": true,
- "volumes": true,
- "main": true
}, - "timeWindow": {
- "enabled": true,
- "start": "02:00",
- "end": "04:00",
- "timeZone": "UTC",
- "days": [
- "MONDAY"
]
}
}, - "buildImageCleanup": {
- "retention": "never"
}, - "deployment": {
- "runScriptsForOlderBuilds": true,
- "skipRollback": true
}
}, - "access": {
- "integrationId": 0,
- "mode": "PROTECTED",
- "scope": "ENTIRE_APP",
- "settings": [
- {
- "name": "string",
- "value": "string"
}
], - "host": "string",
- "endpoints": [
- {
- "appServiceName": "string",
- "appPortName": "string",
- "primary": true
}
]
}, - "basicAuth": true,
- "basicAuthUsername": "string",
- "basicAuthPassword": "pa$$word"
}{- "id": 0,
- "name": "string",
- "title": "string",
- "status": "string",
- "clusterApp": true,
- "orgId": 0,
- "ownershipScope": "org",
- "ownerProjectId": 0,
- "settings": {
- "previewEnvironments": {
- "enabled": true,
- "baseAppEnvironmentId": 0,
- "environmentType": "test",
- "imports": [
- {
- "appServiceName": "string",
- "importName": "string",
- "backupName": "string"
}
], - "buildDrafts": true,
- "runCronJobs": true,
- "maxConcurrent": 0,
- "idleTtlDays": 0,
- "basicAuth": true,
- "basicAuthUsername": "string"
}
}, - "creatableEnvironmentTypes": [
- "prod"
], - "previewsAvailable": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Returns the app identified by name, with the environment types the caller can create and whether pull request previews can work for it.
| name required | string |
| orgId | integer Optional for API-key requests; defaults to the API key's organization. If provided, it must match the key's organization. |
{- "id": 0,
- "name": "string",
- "title": "string",
- "status": "string",
- "clusterApp": true,
- "orgId": 0,
- "ownershipScope": "org",
- "ownerProjectId": 0,
- "settings": {
- "previewEnvironments": {
- "enabled": true,
- "baseAppEnvironmentId": 0,
- "environmentType": "test",
- "imports": [
- {
- "appServiceName": "string",
- "importName": "string",
- "backupName": "string"
}
], - "buildDrafts": true,
- "runCronJobs": true,
- "maxConcurrent": 0,
- "idleTtlDays": 0,
- "basicAuth": true,
- "basicAuthUsername": "string"
}
}, - "creatableEnvironmentTypes": [
- "prod"
], - "previewsAvailable": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}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.
| id required | integer |
{- "id": 0,
- "name": "string",
- "title": "string",
- "status": "string",
- "clusterApp": true,
- "orgId": 0,
- "ownershipScope": "org",
- "ownerProjectId": 0,
- "settings": {
- "previewEnvironments": {
- "enabled": true,
- "baseAppEnvironmentId": 0,
- "environmentType": "test",
- "imports": [
- {
- "appServiceName": "string",
- "importName": "string",
- "backupName": "string"
}
], - "buildDrafts": true,
- "runCronJobs": true,
- "maxConcurrent": 0,
- "idleTtlDays": 0,
- "basicAuth": true,
- "basicAuthUsername": "string"
}
}, - "creatableEnvironmentTypes": [
- "prod"
], - "previewsAvailable": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Updates the app and returns the updated resource.
| id required | integer |
| title required | string |
{- "title": "string"
}{- "id": 0,
- "name": "string",
- "title": "string",
- "status": "string",
- "clusterApp": true,
- "orgId": 0,
- "ownershipScope": "org",
- "ownerProjectId": 0,
- "settings": {
- "previewEnvironments": {
- "enabled": true,
- "baseAppEnvironmentId": 0,
- "environmentType": "test",
- "imports": [
- {
- "appServiceName": "string",
- "importName": "string",
- "backupName": "string"
}
], - "buildDrafts": true,
- "runCronJobs": true,
- "maxConcurrent": 0,
- "idleTtlDays": 0,
- "basicAuth": true,
- "basicAuthUsername": "string"
}
}, - "creatableEnvironmentTypes": [
- "prod"
], - "previewsAvailable": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Updates application-wide settings such as pull request preview environments and returns the updated app. Enabling preview environments requires an active paid subscription.
| id required | integer |
object (AppPreviewEnvironmentsSettingsInput) |
{- "previewEnvironments": {
- "enabled": true,
- "baseAppEnvironmentId": 0,
- "environmentType": "test",
- "imports": [
- {
- "appServiceName": "string",
- "importName": "string",
- "backupName": "string"
}
], - "buildDrafts": true,
- "runCronJobs": true,
- "maxConcurrent": 0,
- "idleTtlDays": 0,
- "basicAuth": true
}
}{- "id": 0,
- "name": "string",
- "title": "string",
- "status": "string",
- "clusterApp": true,
- "orgId": 0,
- "ownershipScope": "org",
- "ownerProjectId": 0,
- "settings": {
- "previewEnvironments": {
- "enabled": true,
- "baseAppEnvironmentId": 0,
- "environmentType": "test",
- "imports": [
- {
- "appServiceName": "string",
- "importName": "string",
- "backupName": "string"
}
], - "buildDrafts": true,
- "runCronJobs": true,
- "maxConcurrent": 0,
- "idleTtlDays": 0,
- "basicAuth": true,
- "basicAuthUsername": "string"
}
}, - "creatableEnvironmentTypes": [
- "prod"
], - "previewsAvailable": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Lists the vulnerabilities the app ignores, newest first. Each one applies to its package in every build of every environment of the app.
| id required | integer |
[- {
- "id": 0,
- "appId": 0,
- "vulnerabilityId": "string",
- "packageName": "string",
- "reason": "string",
- "createdAt": "2019-08-24T14:15:22Z"
}
]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.
| id required | integer |
| 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. |
{- "vulnerabilityId": "string",
- "packageName": "string",
- "reason": "string"
}{- "id": 0,
- "appId": 0,
- "vulnerabilityId": "string",
- "packageName": "string",
- "reason": "string",
- "createdAt": "2019-08-24T14:15:22Z"
}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.
| id required | integer |
{- "configured": true,
- "pullRequests": [
- {
- "number": 0,
- "title": "string",
- "url": "string",
- "remoteGitRepoId": "string",
- "repositoryUrl": "string",
- "headRef": "string",
- "baseRef": "string",
- "author": "string",
- "draft": true,
- "fromFork": true,
- "updatedAt": "2019-08-24T14:15:22Z",
- "hasPreview": true,
- "previewAppEnvironmentId": 0,
- "skipReason": "string"
}
]
}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.
| id required | integer |
| number required | integer Pull request number. |
| remoteGitRepoId | string or null Remote repository of the pull request. Required when the base environment tracks several repositories. |
{- "number": 0,
- "remoteGitRepoId": "string"
}{- "success": true,
- "taskId": 0
}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.
| id required | integer |
{- "id": 0,
- "name": "string",
- "title": "string",
- "status": "string",
- "clusterApp": true,
- "orgId": 0,
- "ownershipScope": "org",
- "ownerProjectId": 0,
- "settings": {
- "previewEnvironments": {
- "enabled": true,
- "baseAppEnvironmentId": 0,
- "environmentType": "test",
- "imports": [
- {
- "appServiceName": "string",
- "importName": "string",
- "backupName": "string"
}
], - "buildDrafts": true,
- "runCronJobs": true,
- "maxConcurrent": 0,
- "idleTtlDays": 0,
- "basicAuth": true,
- "basicAuthUsername": "string"
}
}, - "creatableEnvironmentTypes": [
- "prod"
], - "previewsAvailable": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Returns who owns the app and which projects can use it.
| id required | integer |
{- "ownershipScope": "org",
- "ownerProjectId": 0,
- "availableToAllProjects": true,
- "sharedProjects": [
- {
- "projectId": 0,
- "role": "owner"
}
]
}Changes the app owner and replaces the projects it is shared with. Returns the resulting sharing.
| id required | integer |
| 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. |
{- "ownershipScope": "org",
- "ownerProjectId": 0,
- "sharedProjects": [
- {
- "projectId": 0,
- "access": "read"
}
], - "availableToAllProjects": true
}{- "ownershipScope": "org",
- "ownerProjectId": 0,
- "availableToAllProjects": true,
- "sharedProjects": [
- {
- "projectId": 0,
- "role": "owner"
}
]
}Returns app environments matching the request filters.
| 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 |
[- {
- "executionMode": "standard",
- "workspace": {
- "ownerUserId": 0,
- "sourceAppServiceId": 0,
- "runnerState": "string",
- "preparationState": "string",
- "accessError": "string",
- "baseRef": "string",
- "branch": "string",
- "initialCommit": "string",
- "initialized": true,
- "error": "string",
- "taskId": 0
}, - "id": 0,
- "name": "string",
- "title": "string",
- "environmentType": "prod",
- "status": "string",
- "outdated": true,
- "mainDomain": "string",
- "mainDomainBasicAuth": true,
- "dnsTarget": "string",
- "mainRouteCert": {
- "issuer": "string",
- "custom": true
}, - "appId": 0,
- "clusterId": 0,
- "stackId": 0,
- "stackRevId": 0,
- "stackName": "string",
- "stackTitle": "string",
- "stackIcon": "string",
- "stackRevNumber": 0,
- "stackVersion": "string",
- "access": {
- "id": 0,
- "mode": "protected",
- "scope": "entire_app",
- "status": "string",
- "settings": [
- {
- "name": "string",
- "value": "string"
}
], - "publicRoutesSuppressed": true,
- "effectiveUrl": "string",
- "lastError": "string",
- "integrationId": 0,
- "endpoints": [
- {
- "id": 0,
- "appPortId": 0,
- "host": "string",
- "primary": true,
- "url": "string"
}
], - "resources": [
- {
- "id": 0,
- "type": "string",
- "name": "string",
- "externalId": "string",
- "status": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "routingMode": "string",
- "routingPending": true,
- "maintenanceMode": true,
- "maintenanceModeActive": true,
- "configurationReady": true,
- "configurationIssues": [
- {
- "appServiceId": 0,
- "appServiceName": "string",
- "appServiceTitle": "string",
- "code": "string",
- "name": "string",
- "title": "string",
- "message": "string"
}
], - "settings": {
- "autoStackUpgrade": {
- "enabled": true,
- "upgradeSettings": {
- "versions": true,
- "replicas": true,
- "resources": true,
- "integrations": true,
- "services": true,
- "settings": true,
- "links": true,
- "tokens": true,
- "configs": true,
- "cron": true,
- "volumes": true,
- "main": true
}, - "timeWindow": {
- "start": "02:00",
- "end": "04:00",
- "timeZone": "UTC",
- "days": [
- "MONDAY"
]
}
}, - "buildImageCleanup": {
- "retention": "never"
}, - "deployment": {
- "runScriptsForOlderBuilds": true,
- "skipRollback": true
}
}, - "preview": {
- "number": 0,
- "title": "string",
- "url": "string",
- "headRef": "string",
- "headSha": "string",
- "baseRef": "string",
- "author": "string",
- "draft": true,
- "baseAppEnvironmentId": 0,
- "lastActivityAt": "2019-08-24T14:15:22Z",
- "closedAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z"
}, - "permissions": {
- "deploy": true,
- "operate": true,
- "configure": true,
- "upgrade": true,
- "shell": true,
- "backup": true,
- "restore": true,
- "delete": true
}, - "health": {
- "cron": {
- "failingSchedulesCount": 0,
- "latestFailureAt": "2019-08-24T14:15:22Z"
}, - "backups": {
- "failingSchedulesCount": 0,
- "latestFailureAt": "2019-08-24T14:15:22Z"
}, - "vulnerabilities": {
- "critical": 0,
- "high": 0
}
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]Creates an app environment and returns the created resource.
| 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. |
{- "executionMode": "standard",
- "workspace": {
- "branch": "string",
- "storageClassName": "string",
- "storageServiceName": "string",
- "codeSize": 10,
- "homeSize": 5
}, - "appId": 0,
- "environmentName": "string",
- "environmentTitle": "string",
- "environmentType": "prod",
- "domain": "string",
- "stackRevId": 0,
- "services": [
- {
- "id": 0,
- "disabled": true,
- "version": "string",
- "buildSource": {
- "buildSourceType": "string",
- "boilerplate": "string",
- "newRepoName": "string",
- "integrationId": 0,
- "remoteGitRepoId": "string",
- "gitRef": "string",
- "gitRefType": "string"
}, - "imports": [
- {
- "importName": "string",
- "source": "string",
- "url": "string",
- "backupId": 0,
- "from": {
- "databaseDbId": 0,
- "appServiceId": 0,
- "backupName": "string"
}
}
], - "volumes": [
- {
- "name": "string",
- "size": 0,
- "storageClassName": "string"
}
], - "integrations": [
- {
- "name": "string",
- "integrationIds": [
- 0
]
}
], - "settings": [
- {
- "name": "string",
- "value": "string"
}
], - "database": {
- "databaseId": 0,
- "databaseDbId": 0
}, - "resources": {
- "gpu": {
- "resourceName": "string",
- "count": 2147483647
}, - "workload": "string",
- "container": "string",
- "preset": "string",
- "requestCPU": 0,
- "requestMem": 0,
- "limitCPU": 0,
- "limitMem": 0
}, - "scalability": {
- "averageCPU": 0,
- "minReplicas": 0,
- "maxReplicas": 0
}, - "basicAuth": true
}
], - "serviceOverrides": [
- {
- "id": 0,
- "disabled": true,
- "version": "string",
- "buildSource": {
- "buildSourceType": "string",
- "boilerplate": "string",
- "newRepoName": "string",
- "integrationId": 0,
- "remoteGitRepoId": "string",
- "gitRef": "string",
- "gitRefType": "string"
}, - "settings": [
- {
- "name": "string",
- "value": "string"
}
], - "database": {
- "databaseId": 0,
- "databaseDbId": 0
}, - "basicAuth": true
}
], - "clusterId": 0,
- "ciIntegrationId": 0,
- "registryIntegrationId": 0,
- "deferInitialDeployment": false,
- "settings": {
- "autoStackUpgrade": {
- "enabled": true,
- "upgradeSettings": {
- "versions": true,
- "replicas": true,
- "resources": true,
- "integrations": true,
- "services": true,
- "settings": true,
- "links": true,
- "tokens": true,
- "configs": true,
- "cron": true,
- "volumes": true,
- "main": true
}, - "timeWindow": {
- "enabled": true,
- "start": "02:00",
- "end": "04:00",
- "timeZone": "UTC",
- "days": [
- "MONDAY"
]
}
}, - "buildImageCleanup": {
- "retention": "never"
}, - "deployment": {
- "runScriptsForOlderBuilds": true,
- "skipRollback": true
}
}, - "access": {
- "integrationId": 0,
- "mode": "PROTECTED",
- "scope": "ENTIRE_APP",
- "settings": [
- {
- "name": "string",
- "value": "string"
}
], - "host": "string",
- "endpoints": [
- {
- "appServiceName": "string",
- "appPortName": "string",
- "primary": true
}
]
}, - "basicAuth": true,
- "basicAuthUsername": "string",
- "basicAuthPassword": "pa$$word"
}{- "executionMode": "standard",
- "workspace": {
- "ownerUserId": 0,
- "sourceAppServiceId": 0,
- "runnerState": "string",
- "preparationState": "string",
- "accessError": "string",
- "baseRef": "string",
- "branch": "string",
- "initialCommit": "string",
- "initialized": true,
- "error": "string",
- "taskId": 0
}, - "id": 0,
- "name": "string",
- "title": "string",
- "environmentType": "prod",
- "status": "string",
- "outdated": true,
- "mainDomain": "string",
- "mainDomainBasicAuth": true,
- "dnsTarget": "string",
- "mainRouteCert": {
- "issuer": "string",
- "custom": true
}, - "appId": 0,
- "clusterId": 0,
- "stackId": 0,
- "stackRevId": 0,
- "stackName": "string",
- "stackTitle": "string",
- "stackIcon": "string",
- "stackRevNumber": 0,
- "stackVersion": "string",
- "access": {
- "id": 0,
- "mode": "protected",
- "scope": "entire_app",
- "status": "string",
- "settings": [
- {
- "name": "string",
- "value": "string"
}
], - "publicRoutesSuppressed": true,
- "effectiveUrl": "string",
- "lastError": "string",
- "integrationId": 0,
- "endpoints": [
- {
- "id": 0,
- "appPortId": 0,
- "host": "string",
- "primary": true,
- "url": "string"
}
], - "resources": [
- {
- "id": 0,
- "type": "string",
- "name": "string",
- "externalId": "string",
- "status": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "routingMode": "string",
- "routingPending": true,
- "maintenanceMode": true,
- "maintenanceModeActive": true,
- "configurationReady": true,
- "configurationIssues": [
- {
- "appServiceId": 0,
- "appServiceName": "string",
- "appServiceTitle": "string",
- "code": "string",
- "name": "string",
- "title": "string",
- "message": "string"
}
], - "settings": {
- "autoStackUpgrade": {
- "enabled": true,
- "upgradeSettings": {
- "versions": true,
- "replicas": true,
- "resources": true,
- "integrations": true,
- "services": true,
- "settings": true,
- "links": true,
- "tokens": true,
- "configs": true,
- "cron": true,
- "volumes": true,
- "main": true
}, - "timeWindow": {
- "start": "02:00",
- "end": "04:00",
- "timeZone": "UTC",
- "days": [
- "MONDAY"
]
}
}, - "buildImageCleanup": {
- "retention": "never"
}, - "deployment": {
- "runScriptsForOlderBuilds": true,
- "skipRollback": true
}
}, - "preview": {
- "number": 0,
- "title": "string",
- "url": "string",
- "headRef": "string",
- "headSha": "string",
- "baseRef": "string",
- "author": "string",
- "draft": true,
- "baseAppEnvironmentId": 0,
- "lastActivityAt": "2019-08-24T14:15:22Z",
- "closedAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z"
}, - "permissions": {
- "deploy": true,
- "operate": true,
- "configure": true,
- "upgrade": true,
- "shell": true,
- "backup": true,
- "restore": true,
- "delete": true
}, - "health": {
- "cron": {
- "failingSchedulesCount": 0,
- "latestFailureAt": "2019-08-24T14:15:22Z"
}, - "backups": {
- "failingSchedulesCount": 0,
- "latestFailureAt": "2019-08-24T14:15:22Z"
}, - "vulnerabilities": {
- "critical": 0,
- "high": 0
}
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Returns the app environment identified by app and environment name, with the caller's permissions in it.
| appName required | string |
| environmentName required | string |
| orgId | integer Optional for API-key requests; defaults to the API key's organization. If provided, it must match the key's organization. |
{- "executionMode": "standard",
- "workspace": {
- "ownerUserId": 0,
- "sourceAppServiceId": 0,
- "runnerState": "string",
- "preparationState": "string",
- "accessError": "string",
- "baseRef": "string",
- "branch": "string",
- "initialCommit": "string",
- "initialized": true,
- "error": "string",
- "taskId": 0
}, - "id": 0,
- "name": "string",
- "title": "string",
- "environmentType": "prod",
- "status": "string",
- "outdated": true,
- "mainDomain": "string",
- "mainDomainBasicAuth": true,
- "dnsTarget": "string",
- "mainRouteCert": {
- "issuer": "string",
- "custom": true
}, - "appId": 0,
- "clusterId": 0,
- "stackId": 0,
- "stackRevId": 0,
- "stackName": "string",
- "stackTitle": "string",
- "stackIcon": "string",
- "stackRevNumber": 0,
- "stackVersion": "string",
- "access": {
- "id": 0,
- "mode": "protected",
- "scope": "entire_app",
- "status": "string",
- "settings": [
- {
- "name": "string",
- "value": "string"
}
], - "publicRoutesSuppressed": true,
- "effectiveUrl": "string",
- "lastError": "string",
- "integrationId": 0,
- "endpoints": [
- {
- "id": 0,
- "appPortId": 0,
- "host": "string",
- "primary": true,
- "url": "string"
}
], - "resources": [
- {
- "id": 0,
- "type": "string",
- "name": "string",
- "externalId": "string",
- "status": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "routingMode": "string",
- "routingPending": true,
- "maintenanceMode": true,
- "maintenanceModeActive": true,
- "configurationReady": true,
- "configurationIssues": [
- {
- "appServiceId": 0,
- "appServiceName": "string",
- "appServiceTitle": "string",
- "code": "string",
- "name": "string",
- "title": "string",
- "message": "string"
}
], - "settings": {
- "autoStackUpgrade": {
- "enabled": true,
- "upgradeSettings": {
- "versions": true,
- "replicas": true,
- "resources": true,
- "integrations": true,
- "services": true,
- "settings": true,
- "links": true,
- "tokens": true,
- "configs": true,
- "cron": true,
- "volumes": true,
- "main": true
}, - "timeWindow": {
- "start": "02:00",
- "end": "04:00",
- "timeZone": "UTC",
- "days": [
- "MONDAY"
]
}
}, - "buildImageCleanup": {
- "retention": "never"
}, - "deployment": {
- "runScriptsForOlderBuilds": true,
- "skipRollback": true
}
}, - "preview": {
- "number": 0,
- "title": "string",
- "url": "string",
- "headRef": "string",
- "headSha": "string",
- "baseRef": "string",
- "author": "string",
- "draft": true,
- "baseAppEnvironmentId": 0,
- "lastActivityAt": "2019-08-24T14:15:22Z",
- "closedAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z"
}, - "permissions": {
- "deploy": true,
- "operate": true,
- "configure": true,
- "upgrade": true,
- "shell": true,
- "backup": true,
- "restore": true,
- "delete": true
}, - "health": {
- "cron": {
- "failingSchedulesCount": 0,
- "latestFailureAt": "2019-08-24T14:15:22Z"
}, - "backups": {
- "failingSchedulesCount": 0,
- "latestFailureAt": "2019-08-24T14:15:22Z"
}, - "vulnerabilities": {
- "critical": 0,
- "high": 0
}
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Returns the app environment identified by the request path, with the caller's permissions in it.
| id required | integer |
{- "executionMode": "standard",
- "workspace": {
- "ownerUserId": 0,
- "sourceAppServiceId": 0,
- "runnerState": "string",
- "preparationState": "string",
- "accessError": "string",
- "baseRef": "string",
- "branch": "string",
- "initialCommit": "string",
- "initialized": true,
- "error": "string",
- "taskId": 0
}, - "id": 0,
- "name": "string",
- "title": "string",
- "environmentType": "prod",
- "status": "string",
- "outdated": true,
- "mainDomain": "string",
- "mainDomainBasicAuth": true,
- "dnsTarget": "string",
- "mainRouteCert": {
- "issuer": "string",
- "custom": true
}, - "appId": 0,
- "clusterId": 0,
- "stackId": 0,
- "stackRevId": 0,
- "stackName": "string",
- "stackTitle": "string",
- "stackIcon": "string",
- "stackRevNumber": 0,
- "stackVersion": "string",
- "access": {
- "id": 0,
- "mode": "protected",
- "scope": "entire_app",
- "status": "string",
- "settings": [
- {
- "name": "string",
- "value": "string"
}
], - "publicRoutesSuppressed": true,
- "effectiveUrl": "string",
- "lastError": "string",
- "integrationId": 0,
- "endpoints": [
- {
- "id": 0,
- "appPortId": 0,
- "host": "string",
- "primary": true,
- "url": "string"
}
], - "resources": [
- {
- "id": 0,
- "type": "string",
- "name": "string",
- "externalId": "string",
- "status": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "routingMode": "string",
- "routingPending": true,
- "maintenanceMode": true,
- "maintenanceModeActive": true,
- "configurationReady": true,
- "configurationIssues": [
- {
- "appServiceId": 0,
- "appServiceName": "string",
- "appServiceTitle": "string",
- "code": "string",
- "name": "string",
- "title": "string",
- "message": "string"
}
], - "settings": {
- "autoStackUpgrade": {
- "enabled": true,
- "upgradeSettings": {
- "versions": true,
- "replicas": true,
- "resources": true,
- "integrations": true,
- "services": true,
- "settings": true,
- "links": true,
- "tokens": true,
- "configs": true,
- "cron": true,
- "volumes": true,
- "main": true
}, - "timeWindow": {
- "start": "02:00",
- "end": "04:00",
- "timeZone": "UTC",
- "days": [
- "MONDAY"
]
}
}, - "buildImageCleanup": {
- "retention": "never"
}, - "deployment": {
- "runScriptsForOlderBuilds": true,
- "skipRollback": true
}
}, - "preview": {
- "number": 0,
- "title": "string",
- "url": "string",
- "headRef": "string",
- "headSha": "string",
- "baseRef": "string",
- "author": "string",
- "draft": true,
- "baseAppEnvironmentId": 0,
- "lastActivityAt": "2019-08-24T14:15:22Z",
- "closedAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z"
}, - "permissions": {
- "deploy": true,
- "operate": true,
- "configure": true,
- "upgrade": true,
- "shell": true,
- "backup": true,
- "restore": true,
- "delete": true
}, - "health": {
- "cron": {
- "failingSchedulesCount": 0,
- "latestFailureAt": "2019-08-24T14:15:22Z"
}, - "backups": {
- "failingSchedulesCount": 0,
- "latestFailureAt": "2019-08-24T14:15:22Z"
}, - "vulnerabilities": {
- "critical": 0,
- "high": 0
}
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Updates the app environment and returns the updated resource.
| id required | integer |
| title required | string |
{- "title": "string"
}{- "executionMode": "standard",
- "workspace": {
- "ownerUserId": 0,
- "sourceAppServiceId": 0,
- "runnerState": "string",
- "preparationState": "string",
- "accessError": "string",
- "baseRef": "string",
- "branch": "string",
- "initialCommit": "string",
- "initialized": true,
- "error": "string",
- "taskId": 0
}, - "id": 0,
- "name": "string",
- "title": "string",
- "environmentType": "prod",
- "status": "string",
- "outdated": true,
- "mainDomain": "string",
- "mainDomainBasicAuth": true,
- "dnsTarget": "string",
- "mainRouteCert": {
- "issuer": "string",
- "custom": true
}, - "appId": 0,
- "clusterId": 0,
- "stackId": 0,
- "stackRevId": 0,
- "stackName": "string",
- "stackTitle": "string",
- "stackIcon": "string",
- "stackRevNumber": 0,
- "stackVersion": "string",
- "access": {
- "id": 0,
- "mode": "protected",
- "scope": "entire_app",
- "status": "string",
- "settings": [
- {
- "name": "string",
- "value": "string"
}
], - "publicRoutesSuppressed": true,
- "effectiveUrl": "string",
- "lastError": "string",
- "integrationId": 0,
- "endpoints": [
- {
- "id": 0,
- "appPortId": 0,
- "host": "string",
- "primary": true,
- "url": "string"
}
], - "resources": [
- {
- "id": 0,
- "type": "string",
- "name": "string",
- "externalId": "string",
- "status": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "routingMode": "string",
- "routingPending": true,
- "maintenanceMode": true,
- "maintenanceModeActive": true,
- "configurationReady": true,
- "configurationIssues": [
- {
- "appServiceId": 0,
- "appServiceName": "string",
- "appServiceTitle": "string",
- "code": "string",
- "name": "string",
- "title": "string",
- "message": "string"
}
], - "settings": {
- "autoStackUpgrade": {
- "enabled": true,
- "upgradeSettings": {
- "versions": true,
- "replicas": true,
- "resources": true,
- "integrations": true,
- "services": true,
- "settings": true,
- "links": true,
- "tokens": true,
- "configs": true,
- "cron": true,
- "volumes": true,
- "main": true
}, - "timeWindow": {
- "start": "02:00",
- "end": "04:00",
- "timeZone": "UTC",
- "days": [
- "MONDAY"
]
}
}, - "buildImageCleanup": {
- "retention": "never"
}, - "deployment": {
- "runScriptsForOlderBuilds": true,
- "skipRollback": true
}
}, - "preview": {
- "number": 0,
- "title": "string",
- "url": "string",
- "headRef": "string",
- "headSha": "string",
- "baseRef": "string",
- "author": "string",
- "draft": true,
- "baseAppEnvironmentId": 0,
- "lastActivityAt": "2019-08-24T14:15:22Z",
- "closedAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z"
}, - "permissions": {
- "deploy": true,
- "operate": true,
- "configure": true,
- "upgrade": true,
- "shell": true,
- "backup": true,
- "restore": true,
- "delete": true
}, - "health": {
- "cron": {
- "failingSchedulesCount": 0,
- "latestFailureAt": "2019-08-24T14:15:22Z"
}, - "backups": {
- "failingSchedulesCount": 0,
- "latestFailureAt": "2019-08-24T14:15:22Z"
}, - "vulnerabilities": {
- "critical": 0,
- "high": 0
}
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Updates app environment settings and returns the updated app environment.
| id required | integer |
object (AppEnvironmentAutoStackUpgradeSettingsInput) | |
object Omit it to keep the current build image retention. | |
object Omit it to keep the current deployment settings. |
{- "autoStackUpgrade": {
- "enabled": true,
- "upgradeSettings": {
- "versions": true,
- "replicas": true,
- "resources": true,
- "integrations": true,
- "services": true,
- "settings": true,
- "links": true,
- "tokens": true,
- "configs": true,
- "cron": true,
- "volumes": true,
- "main": true
}, - "timeWindow": {
- "enabled": true,
- "start": "02:00",
- "end": "04:00",
- "timeZone": "UTC",
- "days": [
- "MONDAY"
]
}
}, - "buildImageCleanup": {
- "retention": "never"
}, - "deployment": {
- "runScriptsForOlderBuilds": true,
- "skipRollback": true
}
}{- "executionMode": "standard",
- "workspace": {
- "ownerUserId": 0,
- "sourceAppServiceId": 0,
- "runnerState": "string",
- "preparationState": "string",
- "accessError": "string",
- "baseRef": "string",
- "branch": "string",
- "initialCommit": "string",
- "initialized": true,
- "error": "string",
- "taskId": 0
}, - "id": 0,
- "name": "string",
- "title": "string",
- "environmentType": "prod",
- "status": "string",
- "outdated": true,
- "mainDomain": "string",
- "mainDomainBasicAuth": true,
- "dnsTarget": "string",
- "mainRouteCert": {
- "issuer": "string",
- "custom": true
}, - "appId": 0,
- "clusterId": 0,
- "stackId": 0,
- "stackRevId": 0,
- "stackName": "string",
- "stackTitle": "string",
- "stackIcon": "string",
- "stackRevNumber": 0,
- "stackVersion": "string",
- "access": {
- "id": 0,
- "mode": "protected",
- "scope": "entire_app",
- "status": "string",
- "settings": [
- {
- "name": "string",
- "value": "string"
}
], - "publicRoutesSuppressed": true,
- "effectiveUrl": "string",
- "lastError": "string",
- "integrationId": 0,
- "endpoints": [
- {
- "id": 0,
- "appPortId": 0,
- "host": "string",
- "primary": true,
- "url": "string"
}
], - "resources": [
- {
- "id": 0,
- "type": "string",
- "name": "string",
- "externalId": "string",
- "status": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "routingMode": "string",
- "routingPending": true,
- "maintenanceMode": true,
- "maintenanceModeActive": true,
- "configurationReady": true,
- "configurationIssues": [
- {
- "appServiceId": 0,
- "appServiceName": "string",
- "appServiceTitle": "string",
- "code": "string",
- "name": "string",
- "title": "string",
- "message": "string"
}
], - "settings": {
- "autoStackUpgrade": {
- "enabled": true,
- "upgradeSettings": {
- "versions": true,
- "replicas": true,
- "resources": true,
- "integrations": true,
- "services": true,
- "settings": true,
- "links": true,
- "tokens": true,
- "configs": true,
- "cron": true,
- "volumes": true,
- "main": true
}, - "timeWindow": {
- "start": "02:00",
- "end": "04:00",
- "timeZone": "UTC",
- "days": [
- "MONDAY"
]
}
}, - "buildImageCleanup": {
- "retention": "never"
}, - "deployment": {
- "runScriptsForOlderBuilds": true,
- "skipRollback": true
}
}, - "preview": {
- "number": 0,
- "title": "string",
- "url": "string",
- "headRef": "string",
- "headSha": "string",
- "baseRef": "string",
- "author": "string",
- "draft": true,
- "baseAppEnvironmentId": 0,
- "lastActivityAt": "2019-08-24T14:15:22Z",
- "closedAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z"
}, - "permissions": {
- "deploy": true,
- "operate": true,
- "configure": true,
- "upgrade": true,
- "shell": true,
- "backup": true,
- "restore": true,
- "delete": true
}, - "health": {
- "cron": {
- "failingSchedulesCount": 0,
- "latestFailureAt": "2019-08-24T14:15:22Z"
}, - "backups": {
- "failingSchedulesCount": 0,
- "latestFailureAt": "2019-08-24T14:15:22Z"
}, - "vulnerabilities": {
- "critical": 0,
- "high": 0
}
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}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.
| id required | integer |
| 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. |
[- {
- "type": "string",
- "reason": "string",
- "message": "string",
- "objectKind": "string",
- "objectName": "string",
- "appServiceId": 0,
- "source": "string",
- "count": 0,
- "firstSeen": "2019-08-24T14:15:22Z",
- "lastSeen": "2019-08-24T14:15:22Z"
}
]Enables or disables the fixed maintenance response on all public HTTP routes while application workloads continue running.
| id required | integer |
| enabled required | boolean |
{- "enabled": true
}{- "success": true,
- "taskId": 0
}Returns the CI and registry integrations used by future app environment builds. Integration ID 0 identifies the built-in Wodby service.
| id required | integer |
{- "appEnvironmentId": 0,
- "ciIntegrationId": 0,
- "registryIntegrationId": 0,
- "registryRepository": "string"
}Updates the CI and registry integrations used by future app environment builds. Integration ID 0 selects the built-in Wodby service.
| id required | integer |
| 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. |
{- "ciIntegrationId": 0,
- "registryIntegrationId": 0
}{- "appEnvironmentId": 0,
- "ciIntegrationId": 0,
- "registryIntegrationId": 0,
- "registryRepository": "string"
}Upgrades an app environment stack using the selected upgrade sections.
| id required | integer |
| 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 |
{- "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
}{- "success": true,
- "taskId": 0
}Reapplies the app environment's assigned stack revision using the selected override sections without changing its stack revision.
| id required | integer |
| 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 |
{- "versions": true,
- "replicas": true,
- "resources": true,
- "integrations": true,
- "services": true,
- "settings": true,
- "links": true,
- "tokens": true,
- "configs": true,
- "cron": true,
- "volumes": true,
- "main": true
}{- "success": true,
- "taskId": 0
}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.
| id required | integer |
| 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. |
{- "targetClusterId": 0,
- "volumes": [
- {
- "appServiceVolumeId": 0,
- "storageClassName": "string"
}
], - "existingBackupIds": [
- 0
]
}{- "success": true,
- "taskId": 0,
- "migration": {
- "id": 0,
- "appEnvironmentId": 0,
- "sourceClusterId": 0,
- "targetClusterId": 0,
- "taskId": 0,
- "deploymentId": 0,
- "status": "pending",
- "phase": "preparing",
- "components": [
- {
- "id": 0,
- "appServiceId": 0,
- "name": "string",
- "backupId": 0,
- "backupStatus": "string",
- "existingBackup": true,
- "importId": 0,
- "importStatus": "string"
}
], - "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"
}
}Returns the cluster migrations of one app environment.
| appEnvironmentId required | integer |
[- {
- "id": 0,
- "appEnvironmentId": 0,
- "sourceClusterId": 0,
- "targetClusterId": 0,
- "taskId": 0,
- "deploymentId": 0,
- "status": "pending",
- "phase": "preparing",
- "components": [
- {
- "id": 0,
- "appServiceId": 0,
- "name": "string",
- "backupId": 0,
- "backupStatus": "string",
- "existingBackup": true,
- "importId": 0,
- "importStatus": "string"
}
], - "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"
}
]Returns one cluster migration with the progress of each copied service.
| id required | integer |
{- "id": 0,
- "appEnvironmentId": 0,
- "sourceClusterId": 0,
- "targetClusterId": 0,
- "taskId": 0,
- "deploymentId": 0,
- "status": "pending",
- "phase": "preparing",
- "components": [
- {
- "id": 0,
- "appServiceId": 0,
- "name": "string",
- "backupId": 0,
- "backupStatus": "string",
- "existingBackup": true,
- "importId": 0,
- "importStatus": "string"
}
], - "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"
}Moves the app environment back to its source cluster while the source is still retained.
| id required | integer |
{- "success": true,
- "taskId": 0,
- "migration": {
- "id": 0,
- "appEnvironmentId": 0,
- "sourceClusterId": 0,
- "targetClusterId": 0,
- "taskId": 0,
- "deploymentId": 0,
- "status": "pending",
- "phase": "preparing",
- "components": [
- {
- "id": 0,
- "appServiceId": 0,
- "name": "string",
- "backupId": 0,
- "backupStatus": "string",
- "existingBackup": true,
- "importId": 0,
- "importStatus": "string"
}
], - "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"
}
}Removes the app environment's retained resources from the source cluster after a completed migration. The migration can no longer be rolled back afterwards.
| id required | integer |
{- "success": true,
- "taskId": 0,
- "migration": {
- "id": 0,
- "appEnvironmentId": 0,
- "sourceClusterId": 0,
- "targetClusterId": 0,
- "taskId": 0,
- "deploymentId": 0,
- "status": "pending",
- "phase": "preparing",
- "components": [
- {
- "id": 0,
- "appServiceId": 0,
- "name": "string",
- "backupId": 0,
- "backupStatus": "string",
- "existingBackup": true,
- "importId": 0,
- "importStatus": "string"
}
], - "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"
}
}Check the selected stack service graph. Creation separately validates repository, shared storage, access and resource limits.
| stackRevId required | integer |
| clusterId | integer or null |
| disabledServiceIds required | Array of integers |
{- "stackRevId": 0,
- "clusterId": 0,
- "disabledServiceIds": [
- 0
]
}{- "eligible": true,
- "reasons": [
- "string"
], - "sourceStackServiceId": 0,
- "consumerStackServiceIds": [
- 0
]
}Return the owner-only SSH endpoint, readiness and stable host fingerprint.
| id required | integer |
{- "ready": true,
- "reason": "string",
- "host": "string",
- "port": 0,
- "username": "string",
- "workingDirectory": "string",
- "hostKeyFingerprint": "string",
- "agents": [
- "string"
], - "gitCredentials": true,
- "aiCredits": true
}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.
| id required | integer |
{- "available": true,
- "reason": "string",
- "branch": "string",
- "upstream": "string",
- "ahead": 0,
- "behind": 0,
- "commit": "string",
- "commitSubject": "string",
- "committedAt": "2019-08-24T14:15:22Z",
- "changes": [
- {
- "path": "string",
- "originalPath": "string",
- "kind": "modified",
- "staged": true,
- "unstaged": true
}
], - "truncated": true,
- "checkedAt": "2019-08-24T14:15:22Z"
}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.
| id required | integer |
| 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. |
{- "available": true,
- "reason": "string",
- "path": "string",
- "diff": "string",
- "binary": true,
- "truncated": true
}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.
| id required | integer |
| scripts | boolean Default: true Run the environment's post-deployment scripts after the pull. |
{- "scripts": true
}{- "initiator": {
- "source": "mcp",
- "userId": 0,
- "apiKeyId": 0,
- "agentConnectionId": 0,
- "oauthClientId": "string",
- "oauthClientName": "string",
- "clientName": "string",
- "clientVersion": "string",
- "toolName": "string",
- "requestId": "string"
}, - "id": 0,
- "name": "string",
- "title": "string",
- "compactTitle": "string",
- "executionScope": "user",
- "status": "string",
- "progress": 0,
- "silent": true,
- "system": true,
- "userId": 0,
- "user": {
- "id": 0,
- "name": "string"
}, - "orgId": 0,
- "projectIds": [
- 0
], - "appId": 0,
- "appInstanceId": 0,
- "appServiceId": 0,
- "clusterId": 0,
- "databaseId": 0,
- "integrationId": 0,
- "serviceId": 0,
- "stackId": 0,
- "providerId": 0,
- "originTaskId": 0,
- "spawnedTaskIds": [
- 0
], - "repeatedTaskId": 0,
- "jobs": [
- {
- "id": 0,
- "name": "string",
- "title": "string",
- "status": "string",
- "after": [
- "string"
], - "timeout": 0,
- "isSystem": true,
- "statusTitle": "string",
- "steps": [
- {
- "id": 0,
- "position": 1,
- "name": "string",
- "status": "string",
- "logStatus": "string",
- "isSystem": true,
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "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. Workspace operations preserve the persistent checkout.
| id required | integer |
{- "initiator": {
- "source": "mcp",
- "userId": 0,
- "apiKeyId": 0,
- "agentConnectionId": 0,
- "oauthClientId": "string",
- "oauthClientName": "string",
- "clientName": "string",
- "clientVersion": "string",
- "toolName": "string",
- "requestId": "string"
}, - "id": 0,
- "name": "string",
- "title": "string",
- "compactTitle": "string",
- "executionScope": "user",
- "status": "string",
- "progress": 0,
- "silent": true,
- "system": true,
- "userId": 0,
- "user": {
- "id": 0,
- "name": "string"
}, - "orgId": 0,
- "projectIds": [
- 0
], - "appId": 0,
- "appInstanceId": 0,
- "appServiceId": 0,
- "clusterId": 0,
- "databaseId": 0,
- "integrationId": 0,
- "serviceId": 0,
- "stackId": 0,
- "providerId": 0,
- "originTaskId": 0,
- "spawnedTaskIds": [
- 0
], - "repeatedTaskId": 0,
- "jobs": [
- {
- "id": 0,
- "name": "string",
- "title": "string",
- "status": "string",
- "after": [
- "string"
], - "timeout": 0,
- "isSystem": true,
- "statusTitle": "string",
- "steps": [
- {
- "id": 0,
- "position": 1,
- "name": "string",
- "status": "string",
- "logStatus": "string",
- "isSystem": true,
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "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 the SSH runner, ending existing sessions while preserving code and home volumes.
| id required | integer |
{- "initiator": {
- "source": "mcp",
- "userId": 0,
- "apiKeyId": 0,
- "agentConnectionId": 0,
- "oauthClientId": "string",
- "oauthClientName": "string",
- "clientName": "string",
- "clientVersion": "string",
- "toolName": "string",
- "requestId": "string"
}, - "id": 0,
- "name": "string",
- "title": "string",
- "compactTitle": "string",
- "executionScope": "user",
- "status": "string",
- "progress": 0,
- "silent": true,
- "system": true,
- "userId": 0,
- "user": {
- "id": 0,
- "name": "string"
}, - "orgId": 0,
- "projectIds": [
- 0
], - "appId": 0,
- "appInstanceId": 0,
- "appServiceId": 0,
- "clusterId": 0,
- "databaseId": 0,
- "integrationId": 0,
- "serviceId": 0,
- "stackId": 0,
- "providerId": 0,
- "originTaskId": 0,
- "spawnedTaskIds": [
- 0
], - "repeatedTaskId": 0,
- "jobs": [
- {
- "id": 0,
- "name": "string",
- "title": "string",
- "status": "string",
- "after": [
- "string"
], - "timeout": 0,
- "isSystem": true,
- "statusTitle": "string",
- "steps": [
- {
- "id": 0,
- "position": 1,
- "name": "string",
- "status": "string",
- "logStatus": "string",
- "isSystem": true,
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "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. Workspace operations preserve the persistent checkout.
| id required | integer |
{- "initiator": {
- "source": "mcp",
- "userId": 0,
- "apiKeyId": 0,
- "agentConnectionId": 0,
- "oauthClientId": "string",
- "oauthClientName": "string",
- "clientName": "string",
- "clientVersion": "string",
- "toolName": "string",
- "requestId": "string"
}, - "id": 0,
- "name": "string",
- "title": "string",
- "compactTitle": "string",
- "executionScope": "user",
- "status": "string",
- "progress": 0,
- "silent": true,
- "system": true,
- "userId": 0,
- "user": {
- "id": 0,
- "name": "string"
}, - "orgId": 0,
- "projectIds": [
- 0
], - "appId": 0,
- "appInstanceId": 0,
- "appServiceId": 0,
- "clusterId": 0,
- "databaseId": 0,
- "integrationId": 0,
- "serviceId": 0,
- "stackId": 0,
- "providerId": 0,
- "originTaskId": 0,
- "spawnedTaskIds": [
- 0
], - "repeatedTaskId": 0,
- "jobs": [
- {
- "id": 0,
- "name": "string",
- "title": "string",
- "status": "string",
- "after": [
- "string"
], - "timeout": 0,
- "isSystem": true,
- "statusTitle": "string",
- "steps": [
- {
- "id": 0,
- "position": 1,
- "name": "string",
- "status": "string",
- "logStatus": "string",
- "isSystem": true,
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "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. Workspace operations preserve the persistent checkout.
| id required | integer |
{- "initiator": {
- "source": "mcp",
- "userId": 0,
- "apiKeyId": 0,
- "agentConnectionId": 0,
- "oauthClientId": "string",
- "oauthClientName": "string",
- "clientName": "string",
- "clientVersion": "string",
- "toolName": "string",
- "requestId": "string"
}, - "id": 0,
- "name": "string",
- "title": "string",
- "compactTitle": "string",
- "executionScope": "user",
- "status": "string",
- "progress": 0,
- "silent": true,
- "system": true,
- "userId": 0,
- "user": {
- "id": 0,
- "name": "string"
}, - "orgId": 0,
- "projectIds": [
- 0
], - "appId": 0,
- "appInstanceId": 0,
- "appServiceId": 0,
- "clusterId": 0,
- "databaseId": 0,
- "integrationId": 0,
- "serviceId": 0,
- "stackId": 0,
- "providerId": 0,
- "originTaskId": 0,
- "spawnedTaskIds": [
- 0
], - "repeatedTaskId": 0,
- "jobs": [
- {
- "id": 0,
- "name": "string",
- "title": "string",
- "status": "string",
- "after": [
- "string"
], - "timeout": 0,
- "isSystem": true,
- "statusTitle": "string",
- "steps": [
- {
- "id": 0,
- "position": 1,
- "name": "string",
- "status": "string",
- "logStatus": "string",
- "isSystem": true,
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}Returns the ingress annotations of an app environment, its services and routes.
| appEnvironmentId required | integer |
| types | string Comma-separated annotation types, such as ingress. |
[- {
- "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"
}
]Adds an ingress annotation to the app environment, or to one of its services or routes.
| 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" |
{- "appEnvironmentId": 0,
- "appServiceId": 0,
- "appRouteId": 0,
- "name": "string",
- "value": "string",
- "type": "ingress"
}{- "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"
}Returns one app annotation.
| id required | integer |
{- "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"
}Changes an app annotation and returns it.
| id required | integer |
| appServiceId | integer or null |
| appRouteId | integer or null |
| name required | string |
| value required | string |
{- "appServiceId": 0,
- "appRouteId": 0,
- "name": "string",
- "value": "string"
}{- "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"
}Returns the stack and service revision changes that an app environment stack upgrade would apply.
| id required | integer |
{- "previousStackVersion": "string",
- "stackVersion": "string",
- "previousStackRevNumber": 0,
- "stackRevNumber": 0,
- "serviceChanges": [
- {
- "name": "string",
- "title": "string",
- "icon": "string",
- "kind": "string",
- "previousVersion": "string",
- "version": "string",
- "previousRevNumber": 0,
- "revNumber": 0,
- "entries": [
- {
- "tag": "string",
- "description": "string"
}
]
}
], - "volumeDeletions": [
- {
- "appServiceName": "string",
- "appServiceTitle": "string",
- "volume": "string",
- "serviceRemoved": true
}
]
}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.
| id required | integer |
[- {
- "id": 0,
- "status": "string",
- "image": "string",
- "imageDeleted": true,
- "unmanagedImage": true,
- "dockerfilePath": "string",
- "dockerfileHash": "string",
- "size": 0,
- "appServiceId": 0,
- "previouslyDeployed": true,
- "currentlyDeployed": true,
- "currentBuildNumber": 0,
- "vulnerabilityScan": {
- "status": "pending",
- "counts": {
- "critical": 0,
- "high": 0,
- "medium": 0,
- "low": 0,
- "negligible": 0,
- "unknown": 0,
- "total": 0,
- "fixable": 0,
- "ignored": 0,
- "urgent": 0
}, - "scannedAt": "2019-08-24T14:15:22Z",
- "attemptedAt": "2019-08-24T14:15:22Z",
- "error": "string",
- "imageDigest": "string",
- "platform": "string",
- "scannerVersion": "string",
- "databaseBuiltAt": "2019-08-24T14:15:22Z",
- "findingsTotal": 0
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]Returns the Private App Access configuration of the app environment identified by the path.
| id required | integer |
{- "id": 0,
- "mode": "protected",
- "scope": "entire_app",
- "status": "string",
- "settings": [
- {
- "name": "string",
- "value": "string"
}
], - "publicRoutesSuppressed": true,
- "effectiveUrl": "string",
- "lastError": "string",
- "integrationId": 0,
- "endpoints": [
- {
- "id": 0,
- "appPortId": 0,
- "host": "string",
- "primary": true,
- "url": "string"
}
], - "resources": [
- {
- "id": 0,
- "type": "string",
- "name": "string",
- "externalId": "string",
- "status": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Creates Private App Access for the app environment identified by the path. An active paid subscription is required.
| id required | integer |
| 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) |
{- "integrationId": 0,
- "mode": "PROTECTED",
- "scope": "ENTIRE_APP",
- "settings": [
- {
- "name": "string",
- "value": "string"
}
], - "endpoints": [
- {
- "appPortId": 0,
- "host": "string",
- "primary": true
}
]
}{- "access": {
- "id": 0,
- "mode": "protected",
- "scope": "entire_app",
- "status": "string",
- "settings": [
- {
- "name": "string",
- "value": "string"
}
], - "publicRoutesSuppressed": true,
- "effectiveUrl": "string",
- "lastError": "string",
- "integrationId": 0,
- "endpoints": [
- {
- "id": 0,
- "appPortId": 0,
- "host": "string",
- "primary": true,
- "url": "string"
}
], - "resources": [
- {
- "id": 0,
- "type": "string",
- "name": "string",
- "externalId": "string",
- "status": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "taskId": 0
}Validates a proposed Private App Access configuration before an app environment or access resource is created. An active paid subscription is 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. |
{- "integrationId": 0,
- "mode": "PROTECTED",
- "scope": "ENTIRE_APP",
- "settings": [
- {
- "name": "string",
- "value": "string"
}
], - "host": "string",
- "endpoints": [
- {
- "appServiceName": "string",
- "appPortName": "string",
- "primary": true
}
]
}{- "valid": true
}Updates an existing Private App Access configuration and starts its reconciliation task. An active paid subscription is required.
| id required | integer |
| scope required | string Enum: "ENTIRE_APP" "SELECTED_ENDPOINTS" |
Array of objects (AppAccessSettingInput) | |
required | Array of objects (AppAccessEndpointInput) |
{- "scope": "ENTIRE_APP",
- "settings": [
- {
- "name": "string",
- "value": "string"
}
], - "endpoints": [
- {
- "appPortId": 0,
- "host": "string",
- "primary": true
}
]
}{- "access": {
- "id": 0,
- "mode": "protected",
- "scope": "entire_app",
- "status": "string",
- "settings": [
- {
- "name": "string",
- "value": "string"
}
], - "publicRoutesSuppressed": true,
- "effectiveUrl": "string",
- "lastError": "string",
- "integrationId": 0,
- "endpoints": [
- {
- "id": 0,
- "appPortId": 0,
- "host": "string",
- "primary": true,
- "url": "string"
}
], - "resources": [
- {
- "id": 0,
- "type": "string",
- "name": "string",
- "externalId": "string",
- "status": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "taskId": 0
}Returns one Private App Access configuration.
| id required | integer |
{- "id": 0,
- "mode": "protected",
- "scope": "entire_app",
- "status": "string",
- "settings": [
- {
- "name": "string",
- "value": "string"
}
], - "publicRoutesSuppressed": true,
- "effectiveUrl": "string",
- "lastError": "string",
- "integrationId": 0,
- "endpoints": [
- {
- "id": 0,
- "appPortId": 0,
- "host": "string",
- "primary": true,
- "url": "string"
}
], - "resources": [
- {
- "id": 0,
- "type": "string",
- "name": "string",
- "externalId": "string",
- "status": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Returns cleanup records for exactly one app environment or integration.
| appInstanceId | integer |
| integrationId | integer |
[- {
- "id": 0,
- "appAccessId": 0,
- "appInstanceId": 0,
- "integrationId": 0,
- "provider": "string",
- "status": "string",
- "attempts": 0,
- "lastError": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]Returns HTTP basic authentication entries for an app environment without exposing passwords or secret identifiers.
| appInstanceId required | integer |
[- {
- "id": 0,
- "appInstanceId": 0,
- "scope": "APP",
- "appServiceIds": [
- 0
], - "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"
}
]Creates an HTTP basic authentication entry at instance, service, or route scope and returns only non-secret metadata.
| 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. |
{- "appInstanceId": 0,
- "appServiceIds": [
- 0
], - "appServiceId": 0,
- "appRouteId": 0,
- "login": "string",
- "password": "pa$$word",
- "realm": "string",
- "exempt": true
}{- "id": 0,
- "appInstanceId": 0,
- "scope": "APP",
- "appServiceIds": [
- 0
], - "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"
}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.
| id required | integer |
| 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. |
{- "appServiceIds": [
- 0
], - "appServiceId": 0,
- "appRouteId": 0,
- "login": "string",
- "password": "pa$$word",
- "generatePassword": true,
- "realm": "string"
}{- "id": 0,
- "appInstanceId": 0,
- "scope": "APP",
- "appServiceIds": [
- 0
], - "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"
}Returns one HTTP basic authentication credential without its password.
| id required | integer |
{- "id": 0,
- "appInstanceId": 0,
- "scope": "APP",
- "appServiceIds": [
- 0
], - "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"
}Returns app services matching the request filters.
| appInstanceId required | integer |
[- {
- "id": 0,
- "name": "string",
- "title": "string",
- "type": "string",
- "status": "string",
- "replicas": 0,
- "scalability": {
- "averageCPU": 0,
- "minReplicas": 0,
- "maxReplicas": 0
}, - "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": [
- {
- "appServiceId": 0,
- "appServiceName": "string",
- "appServiceTitle": "string",
- "code": "string",
- "name": "string",
- "title": "string",
- "message": "string"
}
], - "appInstanceId": 0,
- "serviceRevId": 0,
- "parentAppServiceId": 0,
- "deploymentConfiguration": {
- "override": {
- "strategy": "ROLLING",
- "maxUnavailable": "string",
- "maxSurge": "string",
- "minReady": "string",
- "progressDeadline": "string",
- "shutdownGracePeriod": "string"
}, - "effective": {
- "strategy": "ROLLING",
- "maxUnavailable": "string",
- "maxSurge": "string",
- "minReady": "string",
- "progressDeadline": "string",
- "shutdownGracePeriod": "string"
}, - "workloads": [
- {
- "name": "string",
- "kind": "deployment",
- "override": {
- "strategy": "ROLLING",
- "maxUnavailable": "string",
- "maxSurge": "string",
- "minReady": "string",
- "progressDeadline": "string",
- "shutdownGracePeriod": "string"
}, - "effective": {
- "strategy": "ROLLING",
- "maxUnavailable": "string",
- "maxSurge": "string",
- "minReady": "string",
- "progressDeadline": "string",
- "shutdownGracePeriod": "string"
}
}
]
}, - "icon": "string",
- "eol": true,
- "buildSourceType": "string",
- "derivative": "string",
- "gitRepoId": 0,
- "workspaceMounts": [
- {
- "name": "string",
- "path": "string",
- "subPath": "string",
- "readOnly": true
}
], - "databaseDbId": 0,
- "databaseUserId": 0,
- "customizations": [
- {
- "section": "string",
- "name": "string",
- "title": "string"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]Returns the app service identified by the request path.
| id required | integer |
{- "id": 0,
- "name": "string",
- "title": "string",
- "type": "string",
- "status": "string",
- "replicas": 0,
- "scalability": {
- "averageCPU": 0,
- "minReplicas": 0,
- "maxReplicas": 0
}, - "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": [
- {
- "appServiceId": 0,
- "appServiceName": "string",
- "appServiceTitle": "string",
- "code": "string",
- "name": "string",
- "title": "string",
- "message": "string"
}
], - "appInstanceId": 0,
- "serviceRevId": 0,
- "parentAppServiceId": 0,
- "deploymentConfiguration": {
- "override": {
- "strategy": "ROLLING",
- "maxUnavailable": "string",
- "maxSurge": "string",
- "minReady": "string",
- "progressDeadline": "string",
- "shutdownGracePeriod": "string"
}, - "effective": {
- "strategy": "ROLLING",
- "maxUnavailable": "string",
- "maxSurge": "string",
- "minReady": "string",
- "progressDeadline": "string",
- "shutdownGracePeriod": "string"
}, - "workloads": [
- {
- "name": "string",
- "kind": "deployment",
- "override": {
- "strategy": "ROLLING",
- "maxUnavailable": "string",
- "maxSurge": "string",
- "minReady": "string",
- "progressDeadline": "string",
- "shutdownGracePeriod": "string"
}, - "effective": {
- "strategy": "ROLLING",
- "maxUnavailable": "string",
- "maxSurge": "string",
- "minReady": "string",
- "progressDeadline": "string",
- "shutdownGracePeriod": "string"
}
}
]
}, - "icon": "string",
- "eol": true,
- "buildSourceType": "string",
- "derivative": "string",
- "gitRepoId": 0,
- "workspaceMounts": [
- {
- "name": "string",
- "path": "string",
- "subPath": "string",
- "readOnly": true
}
], - "databaseDbId": 0,
- "databaseUserId": 0,
- "customizations": [
- {
- "section": "string",
- "name": "string",
- "title": "string"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Updates the app service and returns the updated resource.
| id required | integer |
| 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. |
{- "replicas": 0,
- "scalability": {
- "enabled": true,
- "averageCPU": 0,
- "minReplicas": 0,
- "maxReplicas": 0
}, - "version": "string",
- "disabled": true,
- "main": true,
- "buildSource": {
- "buildSourceType": "string",
- "boilerplate": "string",
- "newRepoName": "string",
- "integrationId": 0,
- "remoteGitRepoId": "string",
- "gitRef": "string",
- "gitRefType": "string"
}, - "deployment": {
- "strategy": "ROLLING",
- "maxUnavailable": "string",
- "maxSurge": "string",
- "minReady": "string",
- "progressDeadline": "string",
- "shutdownGracePeriod": "string",
- "workloads": [
- {
- "strategy": "ROLLING",
- "maxUnavailable": "string",
- "maxSurge": "string",
- "minReady": "string",
- "progressDeadline": "string",
- "shutdownGracePeriod": "string",
- "name": "string"
}
]
}
}{- "id": 0,
- "name": "string",
- "title": "string",
- "type": "string",
- "status": "string",
- "replicas": 0,
- "scalability": {
- "averageCPU": 0,
- "minReplicas": 0,
- "maxReplicas": 0
}, - "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": [
- {
- "appServiceId": 0,
- "appServiceName": "string",
- "appServiceTitle": "string",
- "code": "string",
- "name": "string",
- "title": "string",
- "message": "string"
}
], - "appInstanceId": 0,
- "serviceRevId": 0,
- "parentAppServiceId": 0,
- "deploymentConfiguration": {
- "override": {
- "strategy": "ROLLING",
- "maxUnavailable": "string",
- "maxSurge": "string",
- "minReady": "string",
- "progressDeadline": "string",
- "shutdownGracePeriod": "string"
}, - "effective": {
- "strategy": "ROLLING",
- "maxUnavailable": "string",
- "maxSurge": "string",
- "minReady": "string",
- "progressDeadline": "string",
- "shutdownGracePeriod": "string"
}, - "workloads": [
- {
- "name": "string",
- "kind": "deployment",
- "override": {
- "strategy": "ROLLING",
- "maxUnavailable": "string",
- "maxSurge": "string",
- "minReady": "string",
- "progressDeadline": "string",
- "shutdownGracePeriod": "string"
}, - "effective": {
- "strategy": "ROLLING",
- "maxUnavailable": "string",
- "maxSurge": "string",
- "minReady": "string",
- "progressDeadline": "string",
- "shutdownGracePeriod": "string"
}
}
]
}, - "icon": "string",
- "eol": true,
- "buildSourceType": "string",
- "derivative": "string",
- "gitRepoId": 0,
- "workspaceMounts": [
- {
- "name": "string",
- "path": "string",
- "subPath": "string",
- "readOnly": true
}
], - "databaseDbId": 0,
- "databaseUserId": 0,
- "customizations": [
- {
- "section": "string",
- "name": "string",
- "title": "string"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}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.
| id required | integer |
| workload | string or null |
| container | string or null |
| pod | string or null |
{- "workload": "string",
- "container": "string",
- "pod": "string"
}{- "id": 0
}Returns environment variables configured for an app service.
| id required | integer |
[- {
- "id": 0,
- "appServiceId": 0,
- "workload": "string",
- "container": "string",
- "name": "string",
- "value": "string",
- "valueSecretId": 0,
- "runtime": true,
- "build": true,
- "envType": "string",
- "source": {
- "fromService": true,
- "fromStack": true,
- "fromWodby": true,
- "setting": "string",
- "link": "string",
- "integration": "string"
}, - "createdAt": "2019-08-24T14:15:22Z"
}
]Creates an environment variable for an app service.
| id required | integer |
| 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 |
{- "workload": "string",
- "container": "string",
- "name": "string",
- "value": "string",
- "secret": true,
- "runtime": true,
- "build": true
}{- "id": 0,
- "appServiceId": 0,
- "workload": "string",
- "container": "string",
- "name": "string",
- "value": "string",
- "valueSecretId": 0,
- "runtime": true,
- "build": true,
- "envType": "string",
- "source": {
- "fromService": true,
- "fromStack": true,
- "fromWodby": true,
- "setting": "string",
- "link": "string",
- "integration": "string"
}, - "createdAt": "2019-08-24T14:15:22Z"
}Updates an app service environment variable.
| id required | integer |
| value | string or null non-empty |
| secret required | boolean |
| runtime | boolean or null |
| build | boolean or null |
{- "value": "string",
- "secret": true,
- "runtime": true,
- "build": true
}{- "id": 0,
- "appServiceId": 0,
- "workload": "string",
- "container": "string",
- "name": "string",
- "value": "string",
- "valueSecretId": 0,
- "runtime": true,
- "build": true,
- "envType": "string",
- "source": {
- "fromService": true,
- "fromStack": true,
- "fromWodby": true,
- "setting": "string",
- "link": "string",
- "integration": "string"
}, - "createdAt": "2019-08-24T14:15:22Z"
}Returns Helm values configured for an app service.
| id required | integer |
[- {
- "id": 0,
- "appServiceId": 0,
- "name": "string",
- "value": "string",
- "valueSecretId": 0,
- "source": {
- "fromService": true,
- "fromStack": true
}, - "createdAt": "2019-08-24T14:15:22Z"
}
]Creates a Helm value override for an app service.
| id required | integer |
| name required | string |
| value required | string |
| secret required | boolean |
{- "name": "string",
- "value": "string",
- "secret": true
}{- "id": 0,
- "appServiceId": 0,
- "name": "string",
- "value": "string",
- "valueSecretId": 0,
- "source": {
- "fromService": true,
- "fromStack": true
}, - "createdAt": "2019-08-24T14:15:22Z"
}Updates an app service Helm value override.
| id required | integer |
| value required | string |
| secret required | boolean |
{- "value": "string",
- "secret": true
}{- "id": 0,
- "appServiceId": 0,
- "name": "string",
- "value": "string",
- "valueSecretId": 0,
- "source": {
- "fromService": true,
- "fromStack": true
}, - "createdAt": "2019-08-24T14:15:22Z"
}Returns tokens configured for an app service without revealing secret values.
| id required | integer |
[- {
- "id": 0,
- "appServiceId": 0,
- "name": "string",
- "value": "string",
- "valueSecretId": 0,
- "envType": "string",
- "createdAt": "2019-08-24T14:15:22Z"
}
]Creates a token for an app service.
| id required | integer |
| name required | string |
| value required | string |
| secret required | boolean |
{- "name": "string",
- "value": "string",
- "secret": true
}{- "id": 0,
- "appServiceId": 0,
- "name": "string",
- "value": "string",
- "valueSecretId": 0,
- "envType": "string",
- "createdAt": "2019-08-24T14:15:22Z"
}Updates an app service token value or secret flag.
| id required | integer |
| value required | string |
| secret required | boolean |
{- "value": "string",
- "secret": true
}{- "id": 0,
- "appServiceId": 0,
- "name": "string",
- "value": "string",
- "valueSecretId": 0,
- "envType": "string",
- "createdAt": "2019-08-24T14:15:22Z"
}Returns annotations configured for an app service.
| id required | integer |
[- {
- "id": 0,
- "appServiceId": 0,
- "name": "string",
- "value": "string",
- "envType": "string",
- "source": {
- "fromService": true,
- "fromStack": true,
- "fromWodby": true
}, - "createdAt": "2019-08-24T14:15:22Z"
}
]Creates an annotation for an app service.
| id required | integer |
| name required | string |
| value required | string |
{- "name": "string",
- "value": "string"
}{- "id": 0,
- "appServiceId": 0,
- "name": "string",
- "value": "string",
- "envType": "string",
- "source": {
- "fromService": true,
- "fromStack": true,
- "fromWodby": true
}, - "createdAt": "2019-08-24T14:15:22Z"
}Returns integration links configured for an app service.
| id required | integer |
[- {
- "id": 0,
- "appServiceId": 0,
- "name": "string",
- "integrationId": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]Links an integration to an app service integration slot.
| id required | integer |
| name required | string |
| integrationId required | integer |
{- "name": "string",
- "integrationId": 0
}{- "id": 0,
- "appServiceId": 0,
- "name": "string",
- "integrationId": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Returns settings configured for an app service.
| id required | integer |
[- {
- "id": 0,
- "appServiceId": 0,
- "name": "string",
- "value": "string",
- "secret": true,
- "hasValue": true,
- "var": "string",
- "runtime": true,
- "build": true,
- "fromSettingId": 0
}
]Sets a named setting value for an app service.
| id required | integer |
| name required | string |
| value required | string |
{- "value": "string"
}{- "id": 0,
- "appServiceId": 0,
- "name": "string",
- "value": "string",
- "secret": true,
- "hasValue": true,
- "var": "string",
- "runtime": true,
- "build": true,
- "fromSettingId": 0
}Sets or disables a named config override for an app service.
| id required | integer |
| name required | string |
| config | string or null |
| disabled | boolean or null |
{- "config": "string",
- "disabled": true
}{- "success": true,
- "taskId": 0
}Returns service links configured for an app service.
| id required | integer |
[- {
- "id": 0,
- "appServiceId": 0,
- "linkedAppServiceId": 0,
- "name": "string",
- "crossApp": true,
- "targetAppInstanceId": 0,
- "targetAppInstanceName": "string",
- "targetAppInstanceTitle": "string",
- "targetAppId": 0,
- "targetAppName": "string",
- "targetAppTitle": "string"
}
]Links or unlinks another app service for a named link slot. The app service may be in another app environment, of the same app or another one, when the link accepts that (crossApp) and the target's service accepts links from other environments. Linking across environments needs permission to reveal the runtime secrets of the target environment, and the target's app must belong to the same organization and be usable by this app's owner. Unlinking also removes a target in another environment or a custom target.
| id required | integer |
| name required | string |
| linkedAppServiceId | integer or null |
{- "linkedAppServiceId": 0
}{- "success": true,
- "taskId": 0
}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.
| id required | integer |
| name required | string |
[- {
- "appServiceId": 0,
- "appServiceName": "string",
- "appServiceTitle": "string",
- "crossApp": true,
- "appId": 0,
- "appTitle": "string",
- "appInstanceId": 0,
- "appInstanceTitle": "string"
}
]Returns the links of an app service that have a custom target: values entered by hand instead of another app service. A link name is either here or in the app service's links, never both. Secret values are never returned.
| id required | integer |
[- {
- "appServiceId": 0,
- "name": "string",
- "values": [
- {
- "name": "string",
- "secret": true,
- "hasValue": true,
- "value": "string"
}
]
}
]Gives a link that accepts a custom target the values it hands to the service, replacing another app service it pointed at. The values are the complete set: give every value that is not optional each time, secret ones included. An optional value left out is cleared.
| id required | integer |
| name required | string |
required | Array of objects |
{- "values": [
- {
- "name": "string",
- "value": "string"
}
]
}{- "success": true,
- "taskId": 0
}Returns the Kubernetes pods of an app service with their containers, state and resource use.
| id required | integer |
| 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. |
[- {
- "id": "string",
- "name": "string",
- "workload": "string",
- "kubeWorkloadName": "string",
- "node": "string",
- "phase": "string",
- "ready": true,
- "terminating": true,
- "reason": "string",
- "message": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "cpuUsage": 0,
- "memoryUsage": 0,
- "cpuRequest": 0,
- "memoryRequest": 0,
- "cpuLimit": 0,
- "memoryLimit": 0,
- "containers": [
- {
- "id": "string",
- "name": "string",
- "primary": true,
- "ready": true,
- "restarts": 0,
- "state": "string",
- "reason": "string",
- "message": "string",
- "exitCode": 0,
- "startedAt": "2019-08-24T14:15:22Z",
- "finishedAt": "2019-08-24T14:15:22Z",
- "lastTerminationReason": "string",
- "lastExitCode": 0,
- "lastFinishedAt": "2019-08-24T14:15:22Z",
- "cpuUsage": 0,
- "memoryUsage": 0,
- "cpuRequest": 0,
- "memoryRequest": 0,
- "cpuLimit": 0,
- "memoryLimit": 0
}
], - "conditions": [
- {
- "type": "string",
- "status": "string",
- "reason": "string",
- "message": "string",
- "lastTransitionTime": "2019-08-24T14:15:22Z"
}
]
}
]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.
| id required | integer |
[- {
- "gpu": {
- "resourceName": "string",
- "count": 2147483647
}, - "id": 0,
- "appServiceId": 0,
- "workload": "string",
- "name": "string",
- "requestCPU": 0,
- "requestMem": 0,
- "limitCPU": 0,
- "limitMem": 0
}
]Returns configured volume metadata together with effective Kubernetes storage-class state.
| id required | integer |
[- {
- "id": 0,
- "appServiceId": 0,
- "name": "string",
- "path": "string",
- "shared": true,
- "readOnly": true,
- "size": 0,
- "configuredStorageClassName": "string",
- "effectiveStorageClassNames": [
- "string"
], - "storageClassStatus": "current",
- "storageClassSelectable": true,
- "fromVolumeId": 0,
- "storageAppServiceId": 0
}
]Adds a volume that is optional in the service manifest and returns the reconciliation task identifier.
| id required | integer |
| name required | string |
| size | integer or null |
| storageClassName | string or null |
{- "name": "string",
- "size": 0,
- "storageClassName": "string"
}{- "success": true,
- "taskId": 0
}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.
| id required | integer |
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 |
{- "gpu": {
- "resourceName": "string",
- "count": 2147483647
}, - "workload": "string",
- "container": "string",
- "preset": "string",
- "requestCPU": 0,
- "requestMem": 0,
- "limitCPU": 0,
- "limitMem": 0
}{- "success": true,
- "taskId": 0
}Updates the database DB and user references used by an app service.
| id required | integer |
| databaseDbId | integer or null |
| databaseUserId | integer or null |
{- "databaseDbId": 0,
- "databaseUserId": 0
}{- "id": 0,
- "name": "string",
- "title": "string",
- "type": "string",
- "status": "string",
- "replicas": 0,
- "scalability": {
- "averageCPU": 0,
- "minReplicas": 0,
- "maxReplicas": 0
}, - "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": [
- {
- "appServiceId": 0,
- "appServiceName": "string",
- "appServiceTitle": "string",
- "code": "string",
- "name": "string",
- "title": "string",
- "message": "string"
}
], - "appInstanceId": 0,
- "serviceRevId": 0,
- "parentAppServiceId": 0,
- "deploymentConfiguration": {
- "override": {
- "strategy": "ROLLING",
- "maxUnavailable": "string",
- "maxSurge": "string",
- "minReady": "string",
- "progressDeadline": "string",
- "shutdownGracePeriod": "string"
}, - "effective": {
- "strategy": "ROLLING",
- "maxUnavailable": "string",
- "maxSurge": "string",
- "minReady": "string",
- "progressDeadline": "string",
- "shutdownGracePeriod": "string"
}, - "workloads": [
- {
- "name": "string",
- "kind": "deployment",
- "override": {
- "strategy": "ROLLING",
- "maxUnavailable": "string",
- "maxSurge": "string",
- "minReady": "string",
- "progressDeadline": "string",
- "shutdownGracePeriod": "string"
}, - "effective": {
- "strategy": "ROLLING",
- "maxUnavailable": "string",
- "maxSurge": "string",
- "minReady": "string",
- "progressDeadline": "string",
- "shutdownGracePeriod": "string"
}
}
]
}, - "icon": "string",
- "eol": true,
- "buildSourceType": "string",
- "derivative": "string",
- "gitRepoId": 0,
- "workspaceMounts": [
- {
- "name": "string",
- "path": "string",
- "subPath": "string",
- "readOnly": true
}
], - "databaseDbId": 0,
- "databaseUserId": 0,
- "customizations": [
- {
- "section": "string",
- "name": "string",
- "title": "string"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Returns cron schedules configured for an app service.
| id required | integer |
[- {
- "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"
}
]Creates a cron schedule for an app service.
| id required | integer |
| 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. |
{- "name": "string",
- "title": "string",
- "crontab": "string",
- "command": "string",
- "workload": "string",
- "disabled": true
}{- "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"
}Updates an app service cron schedule.
| id required | integer |
| disabled | boolean or null |
| title | string or null |
| crontab | string or null |
| command | string or null |
| workload | string or null |
{- "disabled": true,
- "title": "string",
- "crontab": "string",
- "command": "string",
- "workload": "string"
}{- "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"
}Returns one cron schedule of an app service.
| id required | integer |
{- "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"
}Runs an app service cron schedule immediately and returns the created task.
| id required | integer |
{- "initiator": {
- "source": "mcp",
- "userId": 0,
- "apiKeyId": 0,
- "agentConnectionId": 0,
- "oauthClientId": "string",
- "oauthClientName": "string",
- "clientName": "string",
- "clientVersion": "string",
- "toolName": "string",
- "requestId": "string"
}, - "id": 0,
- "name": "string",
- "title": "string",
- "compactTitle": "string",
- "executionScope": "user",
- "status": "string",
- "progress": 0,
- "silent": true,
- "system": true,
- "userId": 0,
- "user": {
- "id": 0,
- "name": "string"
}, - "orgId": 0,
- "projectIds": [
- 0
], - "appId": 0,
- "appInstanceId": 0,
- "appServiceId": 0,
- "clusterId": 0,
- "databaseId": 0,
- "integrationId": 0,
- "serviceId": 0,
- "stackId": 0,
- "providerId": 0,
- "originTaskId": 0,
- "spawnedTaskIds": [
- 0
], - "repeatedTaskId": 0,
- "jobs": [
- {
- "id": 0,
- "name": "string",
- "title": "string",
- "status": "string",
- "after": [
- "string"
], - "timeout": 0,
- "isSystem": true,
- "statusTitle": "string",
- "steps": [
- {
- "id": 0,
- "position": 1,
- "name": "string",
- "status": "string",
- "logStatus": "string",
- "isSystem": true,
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}Returns app service cron jobs matching the request filters.
| appInstanceId | integer |
| appServiceId | integer |
| scheduleId | integer |
| page | integer >= 1 Page number, defaults to 1 |
| pageSize | integer >= 1 Page size, defaults to 30 |
{- "items": [
- {
- "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"
}
], - "totalCount": 0,
- "nextPage": 0
}Returns the app service cron job identified by the request path.
| id required | integer |
{- "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"
}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.
| orgId | integer Optional for API-key requests; defaults to the API key's organization. If provided, it must match the key's organization. |
[- {
- "id": 0,
- "name": "string",
- "title": "string",
- "requestCPU": 0,
- "requestMem": 0,
- "limitCPU": 0,
- "limitMem": 0,
- "system": true
}
]Adds a custom resource preset to an organization. Organization owners and admins only.
| 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 |
{- "orgId": 0,
- "name": "string",
- "title": "string",
- "requestCPU": 0,
- "requestMem": 0,
- "limitCPU": 0,
- "limitMem": 0
}{- "id": 0,
- "name": "string",
- "title": "string",
- "requestCPU": 0,
- "requestMem": 0,
- "limitCPU": 0,
- "limitMem": 0,
- "system": true
}Replaces a custom preset's name, title and values. Resources already set from the preset keep their values. Organization owners and admins only.
| id required | integer |
| 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 |
{- "orgId": 0,
- "name": "string",
- "title": "string",
- "requestCPU": 0,
- "requestMem": 0,
- "limitCPU": 0,
- "limitMem": 0
}{- "id": 0,
- "name": "string",
- "title": "string",
- "requestCPU": 0,
- "requestMem": 0,
- "limitCPU": 0,
- "limitMem": 0,
- "system": true
}Deletes a custom resource preset. Resources already set from it keep their values. Organization owners and admins only.
| id required | integer |
{- "success": true,
- "taskId": 0
}Returns configured and effective storage-class choices for each app service volume.
| id required | integer |
[- {
- "volumeId": 0,
- "configuredStorageClassName": "string",
- "effectiveStorageClassNames": [
- "string"
], - "status": "string"
}
]Returns the effective default option values for an app service backup definition.
| id required | integer |
| backupName required | string |
[- {
- "name": "string",
- "values": [
- "string"
]
}
]Returns app deployments matching the request filters.
| appInstanceId required | integer |
| page | integer >= 1 Page number, defaults to 1 |
| pageSize | integer >= 1 Page size, defaults to 30 |
{- "items": [
- {
- "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": [
- {
- "id": 0,
- "number": 0,
- "status": "string",
- "appInstanceId": 0,
- "appServiceId": 0,
- "taskId": 0,
- "task": {
- "initiator": {
- "source": "mcp",
- "userId": 0,
- "apiKeyId": 0,
- "agentConnectionId": 0,
- "oauthClientId": "string",
- "oauthClientName": "string",
- "clientName": "string",
- "clientVersion": "string",
- "toolName": "string",
- "requestId": "string"
}, - "id": 0,
- "name": "string",
- "title": "string",
- "compactTitle": "string",
- "executionScope": "user",
- "status": "string",
- "progress": 0,
- "silent": true,
- "system": true,
- "userId": 0,
- "user": {
- "id": 0,
- "name": "string"
}, - "orgId": 0,
- "projectIds": [
- 0
], - "appId": 0,
- "appInstanceId": 0,
- "appServiceId": 0,
- "clusterId": 0,
- "databaseId": 0,
- "integrationId": 0,
- "serviceId": 0,
- "stackId": 0,
- "providerId": 0,
- "originTaskId": 0,
- "spawnedTaskIds": [
- 0
], - "repeatedTaskId": 0,
- "jobs": [
- {
- "id": 0,
- "name": "string",
- "title": "string",
- "status": "string",
- "after": [
- "string"
], - "timeout": 0,
- "isSystem": true,
- "statusTitle": "string",
- "steps": [
- {
- "id": null,
- "position": null,
- "name": null,
- "status": null,
- "logStatus": null,
- "isSystem": null,
- "startedAt": null,
- "endedAt": null
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}, - "appServiceBuilds": [
- {
- "id": 0,
- "status": "string",
- "image": "string",
- "imageDeleted": true,
- "unmanagedImage": true,
- "dockerfilePath": "string",
- "dockerfileHash": "string",
- "size": 0,
- "appServiceId": 0,
- "previouslyDeployed": true,
- "currentlyDeployed": true,
- "currentBuildNumber": 0,
- "vulnerabilityScan": {
- "status": "pending",
- "counts": {
- "critical": 0,
- "high": 0,
- "medium": 0,
- "low": 0,
- "negligible": 0,
- "unknown": 0,
- "total": 0,
- "fixable": 0,
- "ignored": 0,
- "urgent": 0
}, - "scannedAt": "2019-08-24T14:15:22Z",
- "attemptedAt": "2019-08-24T14:15:22Z",
- "error": "string",
- "imageDigest": "string",
- "platform": "string",
- "scannerVersion": "string",
- "databaseBuiltAt": "2019-08-24T14:15:22Z",
- "findingsTotal": 0
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "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": {
- "status": "pending",
- "counts": {
- "critical": 0,
- "high": 0,
- "medium": 0,
- "low": 0,
- "negligible": 0,
- "unknown": 0,
- "total": 0,
- "fixable": 0,
- "ignored": 0,
- "urgent": 0
}, - "scannedAt": "2019-08-24T14:15:22Z"
}
}
], - "preparationTaskId": 0,
- "preparationTask": {
- "initiator": {
- "source": "mcp",
- "userId": 0,
- "apiKeyId": 0,
- "agentConnectionId": 0,
- "oauthClientId": "string",
- "oauthClientName": "string",
- "clientName": "string",
- "clientVersion": "string",
- "toolName": "string",
- "requestId": "string"
}, - "id": 0,
- "name": "string",
- "title": "string",
- "compactTitle": "string",
- "executionScope": "user",
- "status": "string",
- "progress": 0,
- "silent": true,
- "system": true,
- "userId": 0,
- "user": {
- "id": 0,
- "name": "string"
}, - "orgId": 0,
- "projectIds": [
- 0
], - "appId": 0,
- "appInstanceId": 0,
- "appServiceId": 0,
- "clusterId": 0,
- "databaseId": 0,
- "integrationId": 0,
- "serviceId": 0,
- "stackId": 0,
- "providerId": 0,
- "originTaskId": 0,
- "spawnedTaskIds": [
- 0
], - "repeatedTaskId": 0,
- "jobs": [
- {
- "id": 0,
- "name": "string",
- "title": "string",
- "status": "string",
- "after": [
- "string"
], - "timeout": 0,
- "isSystem": true,
- "statusTitle": "string",
- "steps": [
- {
- "id": 0,
- "position": 1,
- "name": "string",
- "status": "string",
- "logStatus": "string",
- "isSystem": true,
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}, - "taskId": 0,
- "task": {
- "initiator": {
- "source": "mcp",
- "userId": 0,
- "apiKeyId": 0,
- "agentConnectionId": 0,
- "oauthClientId": "string",
- "oauthClientName": "string",
- "clientName": "string",
- "clientVersion": "string",
- "toolName": "string",
- "requestId": "string"
}, - "id": 0,
- "name": "string",
- "title": "string",
- "compactTitle": "string",
- "executionScope": "user",
- "status": "string",
- "progress": 0,
- "silent": true,
- "system": true,
- "userId": 0,
- "user": {
- "id": 0,
- "name": "string"
}, - "orgId": 0,
- "projectIds": [
- 0
], - "appId": 0,
- "appInstanceId": 0,
- "appServiceId": 0,
- "clusterId": 0,
- "databaseId": 0,
- "integrationId": 0,
- "serviceId": 0,
- "stackId": 0,
- "providerId": 0,
- "originTaskId": 0,
- "spawnedTaskIds": [
- 0
], - "repeatedTaskId": 0,
- "jobs": [
- {
- "id": 0,
- "name": "string",
- "title": "string",
- "status": "string",
- "after": [
- "string"
], - "timeout": 0,
- "isSystem": true,
- "statusTitle": "string",
- "steps": [
- {
- "id": 0,
- "position": 1,
- "name": "string",
- "status": "string",
- "logStatus": "string",
- "isSystem": true,
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}, - "postDeploymentTaskId": 0,
- "postDeploymentTask": {
- "initiator": {
- "source": "mcp",
- "userId": 0,
- "apiKeyId": 0,
- "agentConnectionId": 0,
- "oauthClientId": "string",
- "oauthClientName": "string",
- "clientName": "string",
- "clientVersion": "string",
- "toolName": "string",
- "requestId": "string"
}, - "id": 0,
- "name": "string",
- "title": "string",
- "compactTitle": "string",
- "executionScope": "user",
- "status": "string",
- "progress": 0,
- "silent": true,
- "system": true,
- "userId": 0,
- "user": {
- "id": 0,
- "name": "string"
}, - "orgId": 0,
- "projectIds": [
- 0
], - "appId": 0,
- "appInstanceId": 0,
- "appServiceId": 0,
- "clusterId": 0,
- "databaseId": 0,
- "integrationId": 0,
- "serviceId": 0,
- "stackId": 0,
- "providerId": 0,
- "originTaskId": 0,
- "spawnedTaskIds": [
- 0
], - "repeatedTaskId": 0,
- "jobs": [
- {
- "id": 0,
- "name": "string",
- "title": "string",
- "status": "string",
- "after": [
- "string"
], - "timeout": 0,
- "isSystem": true,
- "statusTitle": "string",
- "steps": [
- {
- "id": 0,
- "position": 1,
- "name": "string",
- "status": "string",
- "logStatus": "string",
- "isSystem": true,
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}, - "appServiceDeployments": [
- {
- "id": 0,
- "jobName": "string",
- "status": "string",
- "appServiceId": 0,
- "appServiceBuildId": 0,
- "previousAppServiceBuildId": 0,
- "buildSelectionKind": "string",
- "skipPostDeployment": true,
- "force": 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"
}
], - "postDeploymentScripts": [
- "string"
], - "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"
}
], - "totalCount": 0,
- "nextPage": 0
}Creates a deployment and returns the created resource.
required | Array of objects (AppServiceDeploymentRequest) |
| skipRollback | boolean or null |
{- "services": [
- {
- "appServiceId": 0,
- "appServiceBuildId": 0,
- "skipPostDeployment": true,
- "force": true
}
], - "skipRollback": true
}{- "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": [
- {
- "id": 0,
- "number": 0,
- "status": "string",
- "appInstanceId": 0,
- "appServiceId": 0,
- "taskId": 0,
- "task": {
- "initiator": {
- "source": "mcp",
- "userId": 0,
- "apiKeyId": 0,
- "agentConnectionId": 0,
- "oauthClientId": "string",
- "oauthClientName": "string",
- "clientName": "string",
- "clientVersion": "string",
- "toolName": "string",
- "requestId": "string"
}, - "id": 0,
- "name": "string",
- "title": "string",
- "compactTitle": "string",
- "executionScope": "user",
- "status": "string",
- "progress": 0,
- "silent": true,
- "system": true,
- "userId": 0,
- "user": {
- "id": 0,
- "name": "string"
}, - "orgId": 0,
- "projectIds": [
- 0
], - "appId": 0,
- "appInstanceId": 0,
- "appServiceId": 0,
- "clusterId": 0,
- "databaseId": 0,
- "integrationId": 0,
- "serviceId": 0,
- "stackId": 0,
- "providerId": 0,
- "originTaskId": 0,
- "spawnedTaskIds": [
- 0
], - "repeatedTaskId": 0,
- "jobs": [
- {
- "id": 0,
- "name": "string",
- "title": "string",
- "status": "string",
- "after": [
- "string"
], - "timeout": 0,
- "isSystem": true,
- "statusTitle": "string",
- "steps": [
- {
- "id": 0,
- "position": 1,
- "name": "string",
- "status": "string",
- "logStatus": "string",
- "isSystem": true,
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}, - "appServiceBuilds": [
- {
- "id": 0,
- "status": "string",
- "image": "string",
- "imageDeleted": true,
- "unmanagedImage": true,
- "dockerfilePath": "string",
- "dockerfileHash": "string",
- "size": 0,
- "appServiceId": 0,
- "previouslyDeployed": true,
- "currentlyDeployed": true,
- "currentBuildNumber": 0,
- "vulnerabilityScan": {
- "status": "pending",
- "counts": {
- "critical": 0,
- "high": 0,
- "medium": 0,
- "low": 0,
- "negligible": 0,
- "unknown": 0,
- "total": 0,
- "fixable": 0,
- "ignored": 0,
- "urgent": 0
}, - "scannedAt": "2019-08-24T14:15:22Z",
- "attemptedAt": "2019-08-24T14:15:22Z",
- "error": "string",
- "imageDigest": "string",
- "platform": "string",
- "scannerVersion": "string",
- "databaseBuiltAt": "2019-08-24T14:15:22Z",
- "findingsTotal": 0
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "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": {
- "status": "pending",
- "counts": {
- "critical": 0,
- "high": 0,
- "medium": 0,
- "low": 0,
- "negligible": 0,
- "unknown": 0,
- "total": 0,
- "fixable": 0,
- "ignored": 0,
- "urgent": 0
}, - "scannedAt": "2019-08-24T14:15:22Z"
}
}
], - "preparationTaskId": 0,
- "preparationTask": {
- "initiator": {
- "source": "mcp",
- "userId": 0,
- "apiKeyId": 0,
- "agentConnectionId": 0,
- "oauthClientId": "string",
- "oauthClientName": "string",
- "clientName": "string",
- "clientVersion": "string",
- "toolName": "string",
- "requestId": "string"
}, - "id": 0,
- "name": "string",
- "title": "string",
- "compactTitle": "string",
- "executionScope": "user",
- "status": "string",
- "progress": 0,
- "silent": true,
- "system": true,
- "userId": 0,
- "user": {
- "id": 0,
- "name": "string"
}, - "orgId": 0,
- "projectIds": [
- 0
], - "appId": 0,
- "appInstanceId": 0,
- "appServiceId": 0,
- "clusterId": 0,
- "databaseId": 0,
- "integrationId": 0,
- "serviceId": 0,
- "stackId": 0,
- "providerId": 0,
- "originTaskId": 0,
- "spawnedTaskIds": [
- 0
], - "repeatedTaskId": 0,
- "jobs": [
- {
- "id": 0,
- "name": "string",
- "title": "string",
- "status": "string",
- "after": [
- "string"
], - "timeout": 0,
- "isSystem": true,
- "statusTitle": "string",
- "steps": [
- {
- "id": 0,
- "position": 1,
- "name": "string",
- "status": "string",
- "logStatus": "string",
- "isSystem": true,
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}, - "taskId": 0,
- "task": {
- "initiator": {
- "source": "mcp",
- "userId": 0,
- "apiKeyId": 0,
- "agentConnectionId": 0,
- "oauthClientId": "string",
- "oauthClientName": "string",
- "clientName": "string",
- "clientVersion": "string",
- "toolName": "string",
- "requestId": "string"
}, - "id": 0,
- "name": "string",
- "title": "string",
- "compactTitle": "string",
- "executionScope": "user",
- "status": "string",
- "progress": 0,
- "silent": true,
- "system": true,
- "userId": 0,
- "user": {
- "id": 0,
- "name": "string"
}, - "orgId": 0,
- "projectIds": [
- 0
], - "appId": 0,
- "appInstanceId": 0,
- "appServiceId": 0,
- "clusterId": 0,
- "databaseId": 0,
- "integrationId": 0,
- "serviceId": 0,
- "stackId": 0,
- "providerId": 0,
- "originTaskId": 0,
- "spawnedTaskIds": [
- 0
], - "repeatedTaskId": 0,
- "jobs": [
- {
- "id": 0,
- "name": "string",
- "title": "string",
- "status": "string",
- "after": [
- "string"
], - "timeout": 0,
- "isSystem": true,
- "statusTitle": "string",
- "steps": [
- {
- "id": 0,
- "position": 1,
- "name": "string",
- "status": "string",
- "logStatus": "string",
- "isSystem": true,
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}, - "postDeploymentTaskId": 0,
- "postDeploymentTask": {
- "initiator": {
- "source": "mcp",
- "userId": 0,
- "apiKeyId": 0,
- "agentConnectionId": 0,
- "oauthClientId": "string",
- "oauthClientName": "string",
- "clientName": "string",
- "clientVersion": "string",
- "toolName": "string",
- "requestId": "string"
}, - "id": 0,
- "name": "string",
- "title": "string",
- "compactTitle": "string",
- "executionScope": "user",
- "status": "string",
- "progress": 0,
- "silent": true,
- "system": true,
- "userId": 0,
- "user": {
- "id": 0,
- "name": "string"
}, - "orgId": 0,
- "projectIds": [
- 0
], - "appId": 0,
- "appInstanceId": 0,
- "appServiceId": 0,
- "clusterId": 0,
- "databaseId": 0,
- "integrationId": 0,
- "serviceId": 0,
- "stackId": 0,
- "providerId": 0,
- "originTaskId": 0,
- "spawnedTaskIds": [
- 0
], - "repeatedTaskId": 0,
- "jobs": [
- {
- "id": 0,
- "name": "string",
- "title": "string",
- "status": "string",
- "after": [
- "string"
], - "timeout": 0,
- "isSystem": true,
- "statusTitle": "string",
- "steps": [
- {
- "id": 0,
- "position": 1,
- "name": "string",
- "status": "string",
- "logStatus": "string",
- "isSystem": true,
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}, - "appServiceDeployments": [
- {
- "id": 0,
- "jobName": "string",
- "status": "string",
- "appServiceId": 0,
- "appServiceBuildId": 0,
- "previousAppServiceBuildId": 0,
- "buildSelectionKind": "string",
- "skipPostDeployment": true,
- "force": 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"
}
], - "postDeploymentScripts": [
- "string"
], - "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"
}Creates a deployment from a CI workflow request.
| appBuildId required | integer |
required | Array of objects (ServiceDeploymentInput) |
| skipPostDeployment required | boolean |
{- "appBuildId": 0,
- "services": [
- {
- "name": "string",
- "image": "string",
- "unmanagedImage": true,
- "dockerfilePath": "string",
- "dockerfileHash": "string"
}
], - "skipPostDeployment": true
}{- "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": [
- {
- "id": 0,
- "number": 0,
- "status": "string",
- "appInstanceId": 0,
- "appServiceId": 0,
- "taskId": 0,
- "task": {
- "initiator": {
- "source": "mcp",
- "userId": 0,
- "apiKeyId": 0,
- "agentConnectionId": 0,
- "oauthClientId": "string",
- "oauthClientName": "string",
- "clientName": "string",
- "clientVersion": "string",
- "toolName": "string",
- "requestId": "string"
}, - "id": 0,
- "name": "string",
- "title": "string",
- "compactTitle": "string",
- "executionScope": "user",
- "status": "string",
- "progress": 0,
- "silent": true,
- "system": true,
- "userId": 0,
- "user": {
- "id": 0,
- "name": "string"
}, - "orgId": 0,
- "projectIds": [
- 0
], - "appId": 0,
- "appInstanceId": 0,
- "appServiceId": 0,
- "clusterId": 0,
- "databaseId": 0,
- "integrationId": 0,
- "serviceId": 0,
- "stackId": 0,
- "providerId": 0,
- "originTaskId": 0,
- "spawnedTaskIds": [
- 0
], - "repeatedTaskId": 0,
- "jobs": [
- {
- "id": 0,
- "name": "string",
- "title": "string",
- "status": "string",
- "after": [
- "string"
], - "timeout": 0,
- "isSystem": true,
- "statusTitle": "string",
- "steps": [
- {
- "id": 0,
- "position": 1,
- "name": "string",
- "status": "string",
- "logStatus": "string",
- "isSystem": true,
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}, - "appServiceBuilds": [
- {
- "id": 0,
- "status": "string",
- "image": "string",
- "imageDeleted": true,
- "unmanagedImage": true,
- "dockerfilePath": "string",
- "dockerfileHash": "string",
- "size": 0,
- "appServiceId": 0,
- "previouslyDeployed": true,
- "currentlyDeployed": true,
- "currentBuildNumber": 0,
- "vulnerabilityScan": {
- "status": "pending",
- "counts": {
- "critical": 0,
- "high": 0,
- "medium": 0,
- "low": 0,
- "negligible": 0,
- "unknown": 0,
- "total": 0,
- "fixable": 0,
- "ignored": 0,
- "urgent": 0
}, - "scannedAt": "2019-08-24T14:15:22Z",
- "attemptedAt": "2019-08-24T14:15:22Z",
- "error": "string",
- "imageDigest": "string",
- "platform": "string",
- "scannerVersion": "string",
- "databaseBuiltAt": "2019-08-24T14:15:22Z",
- "findingsTotal": 0
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "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": {
- "status": "pending",
- "counts": {
- "critical": 0,
- "high": 0,
- "medium": 0,
- "low": 0,
- "negligible": 0,
- "unknown": 0,
- "total": 0,
- "fixable": 0,
- "ignored": 0,
- "urgent": 0
}, - "scannedAt": "2019-08-24T14:15:22Z"
}
}
], - "preparationTaskId": 0,
- "preparationTask": {
- "initiator": {
- "source": "mcp",
- "userId": 0,
- "apiKeyId": 0,
- "agentConnectionId": 0,
- "oauthClientId": "string",
- "oauthClientName": "string",
- "clientName": "string",
- "clientVersion": "string",
- "toolName": "string",
- "requestId": "string"
}, - "id": 0,
- "name": "string",
- "title": "string",
- "compactTitle": "string",
- "executionScope": "user",
- "status": "string",
- "progress": 0,
- "silent": true,
- "system": true,
- "userId": 0,
- "user": {
- "id": 0,
- "name": "string"
}, - "orgId": 0,
- "projectIds": [
- 0
], - "appId": 0,
- "appInstanceId": 0,
- "appServiceId": 0,
- "clusterId": 0,
- "databaseId": 0,
- "integrationId": 0,
- "serviceId": 0,
- "stackId": 0,
- "providerId": 0,
- "originTaskId": 0,
- "spawnedTaskIds": [
- 0
], - "repeatedTaskId": 0,
- "jobs": [
- {
- "id": 0,
- "name": "string",
- "title": "string",
- "status": "string",
- "after": [
- "string"
], - "timeout": 0,
- "isSystem": true,
- "statusTitle": "string",
- "steps": [
- {
- "id": 0,
- "position": 1,
- "name": "string",
- "status": "string",
- "logStatus": "string",
- "isSystem": true,
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}, - "taskId": 0,
- "task": {
- "initiator": {
- "source": "mcp",
- "userId": 0,
- "apiKeyId": 0,
- "agentConnectionId": 0,
- "oauthClientId": "string",
- "oauthClientName": "string",
- "clientName": "string",
- "clientVersion": "string",
- "toolName": "string",
- "requestId": "string"
}, - "id": 0,
- "name": "string",
- "title": "string",
- "compactTitle": "string",
- "executionScope": "user",
- "status": "string",
- "progress": 0,
- "silent": true,
- "system": true,
- "userId": 0,
- "user": {
- "id": 0,
- "name": "string"
}, - "orgId": 0,
- "projectIds": [
- 0
], - "appId": 0,
- "appInstanceId": 0,
- "appServiceId": 0,
- "clusterId": 0,
- "databaseId": 0,
- "integrationId": 0,
- "serviceId": 0,
- "stackId": 0,
- "providerId": 0,
- "originTaskId": 0,
- "spawnedTaskIds": [
- 0
], - "repeatedTaskId": 0,
- "jobs": [
- {
- "id": 0,
- "name": "string",
- "title": "string",
- "status": "string",
- "after": [
- "string"
], - "timeout": 0,
- "isSystem": true,
- "statusTitle": "string",
- "steps": [
- {
- "id": 0,
- "position": 1,
- "name": "string",
- "status": "string",
- "logStatus": "string",
- "isSystem": true,
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}, - "postDeploymentTaskId": 0,
- "postDeploymentTask": {
- "initiator": {
- "source": "mcp",
- "userId": 0,
- "apiKeyId": 0,
- "agentConnectionId": 0,
- "oauthClientId": "string",
- "oauthClientName": "string",
- "clientName": "string",
- "clientVersion": "string",
- "toolName": "string",
- "requestId": "string"
}, - "id": 0,
- "name": "string",
- "title": "string",
- "compactTitle": "string",
- "executionScope": "user",
- "status": "string",
- "progress": 0,
- "silent": true,
- "system": true,
- "userId": 0,
- "user": {
- "id": 0,
- "name": "string"
}, - "orgId": 0,
- "projectIds": [
- 0
], - "appId": 0,
- "appInstanceId": 0,
- "appServiceId": 0,
- "clusterId": 0,
- "databaseId": 0,
- "integrationId": 0,
- "serviceId": 0,
- "stackId": 0,
- "providerId": 0,
- "originTaskId": 0,
- "spawnedTaskIds": [
- 0
], - "repeatedTaskId": 0,
- "jobs": [
- {
- "id": 0,
- "name": "string",
- "title": "string",
- "status": "string",
- "after": [
- "string"
], - "timeout": 0,
- "isSystem": true,
- "statusTitle": "string",
- "steps": [
- {
- "id": 0,
- "position": 1,
- "name": "string",
- "status": "string",
- "logStatus": "string",
- "isSystem": true,
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}, - "appServiceDeployments": [
- {
- "id": 0,
- "jobName": "string",
- "status": "string",
- "appServiceId": 0,
- "appServiceBuildId": 0,
- "previousAppServiceBuildId": 0,
- "buildSelectionKind": "string",
- "skipPostDeployment": true,
- "force": 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"
}
], - "postDeploymentScripts": [
- "string"
], - "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"
}Returns the deployment identified by the request path.
| id required | integer |
{- "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": [
- {
- "id": 0,
- "number": 0,
- "status": "string",
- "appInstanceId": 0,
- "appServiceId": 0,
- "taskId": 0,
- "task": {
- "initiator": {
- "source": "mcp",
- "userId": 0,
- "apiKeyId": 0,
- "agentConnectionId": 0,
- "oauthClientId": "string",
- "oauthClientName": "string",
- "clientName": "string",
- "clientVersion": "string",
- "toolName": "string",
- "requestId": "string"
}, - "id": 0,
- "name": "string",
- "title": "string",
- "compactTitle": "string",
- "executionScope": "user",
- "status": "string",
- "progress": 0,
- "silent": true,
- "system": true,
- "userId": 0,
- "user": {
- "id": 0,
- "name": "string"
}, - "orgId": 0,
- "projectIds": [
- 0
], - "appId": 0,
- "appInstanceId": 0,
- "appServiceId": 0,
- "clusterId": 0,
- "databaseId": 0,
- "integrationId": 0,
- "serviceId": 0,
- "stackId": 0,
- "providerId": 0,
- "originTaskId": 0,
- "spawnedTaskIds": [
- 0
], - "repeatedTaskId": 0,
- "jobs": [
- {
- "id": 0,
- "name": "string",
- "title": "string",
- "status": "string",
- "after": [
- "string"
], - "timeout": 0,
- "isSystem": true,
- "statusTitle": "string",
- "steps": [
- {
- "id": 0,
- "position": 1,
- "name": "string",
- "status": "string",
- "logStatus": "string",
- "isSystem": true,
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}, - "appServiceBuilds": [
- {
- "id": 0,
- "status": "string",
- "image": "string",
- "imageDeleted": true,
- "unmanagedImage": true,
- "dockerfilePath": "string",
- "dockerfileHash": "string",
- "size": 0,
- "appServiceId": 0,
- "previouslyDeployed": true,
- "currentlyDeployed": true,
- "currentBuildNumber": 0,
- "vulnerabilityScan": {
- "status": "pending",
- "counts": {
- "critical": 0,
- "high": 0,
- "medium": 0,
- "low": 0,
- "negligible": 0,
- "unknown": 0,
- "total": 0,
- "fixable": 0,
- "ignored": 0,
- "urgent": 0
}, - "scannedAt": "2019-08-24T14:15:22Z",
- "attemptedAt": "2019-08-24T14:15:22Z",
- "error": "string",
- "imageDigest": "string",
- "platform": "string",
- "scannerVersion": "string",
- "databaseBuiltAt": "2019-08-24T14:15:22Z",
- "findingsTotal": 0
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "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": {
- "status": "pending",
- "counts": {
- "critical": 0,
- "high": 0,
- "medium": 0,
- "low": 0,
- "negligible": 0,
- "unknown": 0,
- "total": 0,
- "fixable": 0,
- "ignored": 0,
- "urgent": 0
}, - "scannedAt": "2019-08-24T14:15:22Z"
}
}
], - "preparationTaskId": 0,
- "preparationTask": {
- "initiator": {
- "source": "mcp",
- "userId": 0,
- "apiKeyId": 0,
- "agentConnectionId": 0,
- "oauthClientId": "string",
- "oauthClientName": "string",
- "clientName": "string",
- "clientVersion": "string",
- "toolName": "string",
- "requestId": "string"
}, - "id": 0,
- "name": "string",
- "title": "string",
- "compactTitle": "string",
- "executionScope": "user",
- "status": "string",
- "progress": 0,
- "silent": true,
- "system": true,
- "userId": 0,
- "user": {
- "id": 0,
- "name": "string"
}, - "orgId": 0,
- "projectIds": [
- 0
], - "appId": 0,
- "appInstanceId": 0,
- "appServiceId": 0,
- "clusterId": 0,
- "databaseId": 0,
- "integrationId": 0,
- "serviceId": 0,
- "stackId": 0,
- "providerId": 0,
- "originTaskId": 0,
- "spawnedTaskIds": [
- 0
], - "repeatedTaskId": 0,
- "jobs": [
- {
- "id": 0,
- "name": "string",
- "title": "string",
- "status": "string",
- "after": [
- "string"
], - "timeout": 0,
- "isSystem": true,
- "statusTitle": "string",
- "steps": [
- {
- "id": 0,
- "position": 1,
- "name": "string",
- "status": "string",
- "logStatus": "string",
- "isSystem": true,
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}, - "taskId": 0,
- "task": {
- "initiator": {
- "source": "mcp",
- "userId": 0,
- "apiKeyId": 0,
- "agentConnectionId": 0,
- "oauthClientId": "string",
- "oauthClientName": "string",
- "clientName": "string",
- "clientVersion": "string",
- "toolName": "string",
- "requestId": "string"
}, - "id": 0,
- "name": "string",
- "title": "string",
- "compactTitle": "string",
- "executionScope": "user",
- "status": "string",
- "progress": 0,
- "silent": true,
- "system": true,
- "userId": 0,
- "user": {
- "id": 0,
- "name": "string"
}, - "orgId": 0,
- "projectIds": [
- 0
], - "appId": 0,
- "appInstanceId": 0,
- "appServiceId": 0,
- "clusterId": 0,
- "databaseId": 0,
- "integrationId": 0,
- "serviceId": 0,
- "stackId": 0,
- "providerId": 0,
- "originTaskId": 0,
- "spawnedTaskIds": [
- 0
], - "repeatedTaskId": 0,
- "jobs": [
- {
- "id": 0,
- "name": "string",
- "title": "string",
- "status": "string",
- "after": [
- "string"
], - "timeout": 0,
- "isSystem": true,
- "statusTitle": "string",
- "steps": [
- {
- "id": 0,
- "position": 1,
- "name": "string",
- "status": "string",
- "logStatus": "string",
- "isSystem": true,
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}, - "postDeploymentTaskId": 0,
- "postDeploymentTask": {
- "initiator": {
- "source": "mcp",
- "userId": 0,
- "apiKeyId": 0,
- "agentConnectionId": 0,
- "oauthClientId": "string",
- "oauthClientName": "string",
- "clientName": "string",
- "clientVersion": "string",
- "toolName": "string",
- "requestId": "string"
}, - "id": 0,
- "name": "string",
- "title": "string",
- "compactTitle": "string",
- "executionScope": "user",
- "status": "string",
- "progress": 0,
- "silent": true,
- "system": true,
- "userId": 0,
- "user": {
- "id": 0,
- "name": "string"
}, - "orgId": 0,
- "projectIds": [
- 0
], - "appId": 0,
- "appInstanceId": 0,
- "appServiceId": 0,
- "clusterId": 0,
- "databaseId": 0,
- "integrationId": 0,
- "serviceId": 0,
- "stackId": 0,
- "providerId": 0,
- "originTaskId": 0,
- "spawnedTaskIds": [
- 0
], - "repeatedTaskId": 0,
- "jobs": [
- {
- "id": 0,
- "name": "string",
- "title": "string",
- "status": "string",
- "after": [
- "string"
], - "timeout": 0,
- "isSystem": true,
- "statusTitle": "string",
- "steps": [
- {
- "id": 0,
- "position": 1,
- "name": "string",
- "status": "string",
- "logStatus": "string",
- "isSystem": true,
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}, - "appServiceDeployments": [
- {
- "id": 0,
- "jobName": "string",
- "status": "string",
- "appServiceId": 0,
- "appServiceBuildId": 0,
- "previousAppServiceBuildId": 0,
- "buildSelectionKind": "string",
- "skipPostDeployment": true,
- "force": 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"
}
], - "postDeploymentScripts": [
- "string"
], - "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"
}Creates a redeployment task for an existing deployment.
| id required | integer |
{- "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": [
- {
- "id": 0,
- "number": 0,
- "status": "string",
- "appInstanceId": 0,
- "appServiceId": 0,
- "taskId": 0,
- "task": {
- "initiator": {
- "source": "mcp",
- "userId": 0,
- "apiKeyId": 0,
- "agentConnectionId": 0,
- "oauthClientId": "string",
- "oauthClientName": "string",
- "clientName": "string",
- "clientVersion": "string",
- "toolName": "string",
- "requestId": "string"
}, - "id": 0,
- "name": "string",
- "title": "string",
- "compactTitle": "string",
- "executionScope": "user",
- "status": "string",
- "progress": 0,
- "silent": true,
- "system": true,
- "userId": 0,
- "user": {
- "id": 0,
- "name": "string"
}, - "orgId": 0,
- "projectIds": [
- 0
], - "appId": 0,
- "appInstanceId": 0,
- "appServiceId": 0,
- "clusterId": 0,
- "databaseId": 0,
- "integrationId": 0,
- "serviceId": 0,
- "stackId": 0,
- "providerId": 0,
- "originTaskId": 0,
- "spawnedTaskIds": [
- 0
], - "repeatedTaskId": 0,
- "jobs": [
- {
- "id": 0,
- "name": "string",
- "title": "string",
- "status": "string",
- "after": [
- "string"
], - "timeout": 0,
- "isSystem": true,
- "statusTitle": "string",
- "steps": [
- {
- "id": 0,
- "position": 1,
- "name": "string",
- "status": "string",
- "logStatus": "string",
- "isSystem": true,
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}, - "appServiceBuilds": [
- {
- "id": 0,
- "status": "string",
- "image": "string",
- "imageDeleted": true,
- "unmanagedImage": true,
- "dockerfilePath": "string",
- "dockerfileHash": "string",
- "size": 0,
- "appServiceId": 0,
- "previouslyDeployed": true,
- "currentlyDeployed": true,
- "currentBuildNumber": 0,
- "vulnerabilityScan": {
- "status": "pending",
- "counts": {
- "critical": 0,
- "high": 0,
- "medium": 0,
- "low": 0,
- "negligible": 0,
- "unknown": 0,
- "total": 0,
- "fixable": 0,
- "ignored": 0,
- "urgent": 0
}, - "scannedAt": "2019-08-24T14:15:22Z",
- "attemptedAt": "2019-08-24T14:15:22Z",
- "error": "string",
- "imageDigest": "string",
- "platform": "string",
- "scannerVersion": "string",
- "databaseBuiltAt": "2019-08-24T14:15:22Z",
- "findingsTotal": 0
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "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": {
- "status": "pending",
- "counts": {
- "critical": 0,
- "high": 0,
- "medium": 0,
- "low": 0,
- "negligible": 0,
- "unknown": 0,
- "total": 0,
- "fixable": 0,
- "ignored": 0,
- "urgent": 0
}, - "scannedAt": "2019-08-24T14:15:22Z"
}
}
], - "preparationTaskId": 0,
- "preparationTask": {
- "initiator": {
- "source": "mcp",
- "userId": 0,
- "apiKeyId": 0,
- "agentConnectionId": 0,
- "oauthClientId": "string",
- "oauthClientName": "string",
- "clientName": "string",
- "clientVersion": "string",
- "toolName": "string",
- "requestId": "string"
}, - "id": 0,
- "name": "string",
- "title": "string",
- "compactTitle": "string",
- "executionScope": "user",
- "status": "string",
- "progress": 0,
- "silent": true,
- "system": true,
- "userId": 0,
- "user": {
- "id": 0,
- "name": "string"
}, - "orgId": 0,
- "projectIds": [
- 0
], - "appId": 0,
- "appInstanceId": 0,
- "appServiceId": 0,
- "clusterId": 0,
- "databaseId": 0,
- "integrationId": 0,
- "serviceId": 0,
- "stackId": 0,
- "providerId": 0,
- "originTaskId": 0,
- "spawnedTaskIds": [
- 0
], - "repeatedTaskId": 0,
- "jobs": [
- {
- "id": 0,
- "name": "string",
- "title": "string",
- "status": "string",
- "after": [
- "string"
], - "timeout": 0,
- "isSystem": true,
- "statusTitle": "string",
- "steps": [
- {
- "id": 0,
- "position": 1,
- "name": "string",
- "status": "string",
- "logStatus": "string",
- "isSystem": true,
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}, - "taskId": 0,
- "task": {
- "initiator": {
- "source": "mcp",
- "userId": 0,
- "apiKeyId": 0,
- "agentConnectionId": 0,
- "oauthClientId": "string",
- "oauthClientName": "string",
- "clientName": "string",
- "clientVersion": "string",
- "toolName": "string",
- "requestId": "string"
}, - "id": 0,
- "name": "string",
- "title": "string",
- "compactTitle": "string",
- "executionScope": "user",
- "status": "string",
- "progress": 0,
- "silent": true,
- "system": true,
- "userId": 0,
- "user": {
- "id": 0,
- "name": "string"
}, - "orgId": 0,
- "projectIds": [
- 0
], - "appId": 0,
- "appInstanceId": 0,
- "appServiceId": 0,
- "clusterId": 0,
- "databaseId": 0,
- "integrationId": 0,
- "serviceId": 0,
- "stackId": 0,
- "providerId": 0,
- "originTaskId": 0,
- "spawnedTaskIds": [
- 0
], - "repeatedTaskId": 0,
- "jobs": [
- {
- "id": 0,
- "name": "string",
- "title": "string",
- "status": "string",
- "after": [
- "string"
], - "timeout": 0,
- "isSystem": true,
- "statusTitle": "string",
- "steps": [
- {
- "id": 0,
- "position": 1,
- "name": "string",
- "status": "string",
- "logStatus": "string",
- "isSystem": true,
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}, - "postDeploymentTaskId": 0,
- "postDeploymentTask": {
- "initiator": {
- "source": "mcp",
- "userId": 0,
- "apiKeyId": 0,
- "agentConnectionId": 0,
- "oauthClientId": "string",
- "oauthClientName": "string",
- "clientName": "string",
- "clientVersion": "string",
- "toolName": "string",
- "requestId": "string"
}, - "id": 0,
- "name": "string",
- "title": "string",
- "compactTitle": "string",
- "executionScope": "user",
- "status": "string",
- "progress": 0,
- "silent": true,
- "system": true,
- "userId": 0,
- "user": {
- "id": 0,
- "name": "string"
}, - "orgId": 0,
- "projectIds": [
- 0
], - "appId": 0,
- "appInstanceId": 0,
- "appServiceId": 0,
- "clusterId": 0,
- "databaseId": 0,
- "integrationId": 0,
- "serviceId": 0,
- "stackId": 0,
- "providerId": 0,
- "originTaskId": 0,
- "spawnedTaskIds": [
- 0
], - "repeatedTaskId": 0,
- "jobs": [
- {
- "id": 0,
- "name": "string",
- "title": "string",
- "status": "string",
- "after": [
- "string"
], - "timeout": 0,
- "isSystem": true,
- "statusTitle": "string",
- "steps": [
- {
- "id": 0,
- "position": 1,
- "name": "string",
- "status": "string",
- "logStatus": "string",
- "isSystem": true,
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}, - "appServiceDeployments": [
- {
- "id": 0,
- "jobName": "string",
- "status": "string",
- "appServiceId": 0,
- "appServiceBuildId": 0,
- "previousAppServiceBuildId": 0,
- "buildSelectionKind": "string",
- "skipPostDeployment": true,
- "force": 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"
}
], - "postDeploymentScripts": [
- "string"
], - "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"
}Cancels an active deployment and returns its updated state.
| id required | integer |
{- "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": [
- {
- "id": 0,
- "number": 0,
- "status": "string",
- "appInstanceId": 0,
- "appServiceId": 0,
- "taskId": 0,
- "task": {
- "initiator": {
- "source": "mcp",
- "userId": 0,
- "apiKeyId": 0,
- "agentConnectionId": 0,
- "oauthClientId": "string",
- "oauthClientName": "string",
- "clientName": "string",
- "clientVersion": "string",
- "toolName": "string",
- "requestId": "string"
}, - "id": 0,
- "name": "string",
- "title": "string",
- "compactTitle": "string",
- "executionScope": "user",
- "status": "string",
- "progress": 0,
- "silent": true,
- "system": true,
- "userId": 0,
- "user": {
- "id": 0,
- "name": "string"
}, - "orgId": 0,
- "projectIds": [
- 0
], - "appId": 0,
- "appInstanceId": 0,
- "appServiceId": 0,
- "clusterId": 0,
- "databaseId": 0,
- "integrationId": 0,
- "serviceId": 0,
- "stackId": 0,
- "providerId": 0,
- "originTaskId": 0,
- "spawnedTaskIds": [
- 0
], - "repeatedTaskId": 0,
- "jobs": [
- {
- "id": 0,
- "name": "string",
- "title": "string",
- "status": "string",
- "after": [
- "string"
], - "timeout": 0,
- "isSystem": true,
- "statusTitle": "string",
- "steps": [
- {
- "id": 0,
- "position": 1,
- "name": "string",
- "status": "string",
- "logStatus": "string",
- "isSystem": true,
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}, - "appServiceBuilds": [
- {
- "id": 0,
- "status": "string",
- "image": "string",
- "imageDeleted": true,
- "unmanagedImage": true,
- "dockerfilePath": "string",
- "dockerfileHash": "string",
- "size": 0,
- "appServiceId": 0,
- "previouslyDeployed": true,
- "currentlyDeployed": true,
- "currentBuildNumber": 0,
- "vulnerabilityScan": {
- "status": "pending",
- "counts": {
- "critical": 0,
- "high": 0,
- "medium": 0,
- "low": 0,
- "negligible": 0,
- "unknown": 0,
- "total": 0,
- "fixable": 0,
- "ignored": 0,
- "urgent": 0
}, - "scannedAt": "2019-08-24T14:15:22Z",
- "attemptedAt": "2019-08-24T14:15:22Z",
- "error": "string",
- "imageDigest": "string",
- "platform": "string",
- "scannerVersion": "string",
- "databaseBuiltAt": "2019-08-24T14:15:22Z",
- "findingsTotal": 0
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "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": {
- "status": "pending",
- "counts": {
- "critical": 0,
- "high": 0,
- "medium": 0,
- "low": 0,
- "negligible": 0,
- "unknown": 0,
- "total": 0,
- "fixable": 0,
- "ignored": 0,
- "urgent": 0
}, - "scannedAt": "2019-08-24T14:15:22Z"
}
}
], - "preparationTaskId": 0,
- "preparationTask": {
- "initiator": {
- "source": "mcp",
- "userId": 0,
- "apiKeyId": 0,
- "agentConnectionId": 0,
- "oauthClientId": "string",
- "oauthClientName": "string",
- "clientName": "string",
- "clientVersion": "string",
- "toolName": "string",
- "requestId": "string"
}, - "id": 0,
- "name": "string",
- "title": "string",
- "compactTitle": "string",
- "executionScope": "user",
- "status": "string",
- "progress": 0,
- "silent": true,
- "system": true,
- "userId": 0,
- "user": {
- "id": 0,
- "name": "string"
}, - "orgId": 0,
- "projectIds": [
- 0
], - "appId": 0,
- "appInstanceId": 0,
- "appServiceId": 0,
- "clusterId": 0,
- "databaseId": 0,
- "integrationId": 0,
- "serviceId": 0,
- "stackId": 0,
- "providerId": 0,
- "originTaskId": 0,
- "spawnedTaskIds": [
- 0
], - "repeatedTaskId": 0,
- "jobs": [
- {
- "id": 0,
- "name": "string",
- "title": "string",
- "status": "string",
- "after": [
- "string"
], - "timeout": 0,
- "isSystem": true,
- "statusTitle": "string",
- "steps": [
- {
- "id": 0,
- "position": 1,
- "name": "string",
- "status": "string",
- "logStatus": "string",
- "isSystem": true,
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}, - "taskId": 0,
- "task": {
- "initiator": {
- "source": "mcp",
- "userId": 0,
- "apiKeyId": 0,
- "agentConnectionId": 0,
- "oauthClientId": "string",
- "oauthClientName": "string",
- "clientName": "string",
- "clientVersion": "string",
- "toolName": "string",
- "requestId": "string"
}, - "id": 0,
- "name": "string",
- "title": "string",
- "compactTitle": "string",
- "executionScope": "user",
- "status": "string",
- "progress": 0,
- "silent": true,
- "system": true,
- "userId": 0,
- "user": {
- "id": 0,
- "name": "string"
}, - "orgId": 0,
- "projectIds": [
- 0
], - "appId": 0,
- "appInstanceId": 0,
- "appServiceId": 0,
- "clusterId": 0,
- "databaseId": 0,
- "integrationId": 0,
- "serviceId": 0,
- "stackId": 0,
- "providerId": 0,
- "originTaskId": 0,
- "spawnedTaskIds": [
- 0
], - "repeatedTaskId": 0,
- "jobs": [
- {
- "id": 0,
- "name": "string",
- "title": "string",
- "status": "string",
- "after": [
- "string"
], - "timeout": 0,
- "isSystem": true,
- "statusTitle": "string",
- "steps": [
- {
- "id": 0,
- "position": 1,
- "name": "string",
- "status": "string",
- "logStatus": "string",
- "isSystem": true,
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}, - "postDeploymentTaskId": 0,
- "postDeploymentTask": {
- "initiator": {
- "source": "mcp",
- "userId": 0,
- "apiKeyId": 0,
- "agentConnectionId": 0,
- "oauthClientId": "string",
- "oauthClientName": "string",
- "clientName": "string",
- "clientVersion": "string",
- "toolName": "string",
- "requestId": "string"
}, - "id": 0,
- "name": "string",
- "title": "string",
- "compactTitle": "string",
- "executionScope": "user",
- "status": "string",
- "progress": 0,
- "silent": true,
- "system": true,
- "userId": 0,
- "user": {
- "id": 0,
- "name": "string"
}, - "orgId": 0,
- "projectIds": [
- 0
], - "appId": 0,
- "appInstanceId": 0,
- "appServiceId": 0,
- "clusterId": 0,
- "databaseId": 0,
- "integrationId": 0,
- "serviceId": 0,
- "stackId": 0,
- "providerId": 0,
- "originTaskId": 0,
- "spawnedTaskIds": [
- 0
], - "repeatedTaskId": 0,
- "jobs": [
- {
- "id": 0,
- "name": "string",
- "title": "string",
- "status": "string",
- "after": [
- "string"
], - "timeout": 0,
- "isSystem": true,
- "statusTitle": "string",
- "steps": [
- {
- "id": 0,
- "position": 1,
- "name": "string",
- "status": "string",
- "logStatus": "string",
- "isSystem": true,
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}, - "appServiceDeployments": [
- {
- "id": 0,
- "jobName": "string",
- "status": "string",
- "appServiceId": 0,
- "appServiceBuildId": 0,
- "previousAppServiceBuildId": 0,
- "buildSelectionKind": "string",
- "skipPostDeployment": true,
- "force": 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"
}
], - "postDeploymentScripts": [
- "string"
], - "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"
}Returns app builds matching the request filters.
| appInstanceId required | integer |
| page | integer >= 1 Page number, defaults to 1 |
| pageSize | integer >= 1 Page size, defaults to 30 |
{- "items": [
- {
- "id": 0,
- "number": 0,
- "status": "string",
- "appInstanceId": 0,
- "appServiceId": 0,
- "taskId": 0,
- "task": {
- "initiator": {
- "source": "mcp",
- "userId": 0,
- "apiKeyId": 0,
- "agentConnectionId": 0,
- "oauthClientId": "string",
- "oauthClientName": "string",
- "clientName": "string",
- "clientVersion": "string",
- "toolName": "string",
- "requestId": "string"
}, - "id": 0,
- "name": "string",
- "title": "string",
- "compactTitle": "string",
- "executionScope": "user",
- "status": "string",
- "progress": 0,
- "silent": true,
- "system": true,
- "userId": 0,
- "user": {
- "id": 0,
- "name": "string"
}, - "orgId": 0,
- "projectIds": [
- 0
], - "appId": 0,
- "appInstanceId": 0,
- "appServiceId": 0,
- "clusterId": 0,
- "databaseId": 0,
- "integrationId": 0,
- "serviceId": 0,
- "stackId": 0,
- "providerId": 0,
- "originTaskId": 0,
- "spawnedTaskIds": [
- 0
], - "repeatedTaskId": 0,
- "jobs": [
- {
- "id": 0,
- "name": "string",
- "title": "string",
- "status": "string",
- "after": [
- "string"
], - "timeout": 0,
- "isSystem": true,
- "statusTitle": "string",
- "steps": [
- {
- "id": 0,
- "position": 1,
- "name": "string",
- "status": "string",
- "logStatus": "string",
- "isSystem": true,
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}, - "appServiceBuilds": [
- {
- "id": 0,
- "status": "string",
- "image": "string",
- "imageDeleted": true,
- "unmanagedImage": true,
- "dockerfilePath": "string",
- "dockerfileHash": "string",
- "size": 0,
- "appServiceId": 0,
- "previouslyDeployed": true,
- "currentlyDeployed": true,
- "currentBuildNumber": 0,
- "vulnerabilityScan": {
- "status": "pending",
- "counts": {
- "critical": 0,
- "high": 0,
- "medium": 0,
- "low": 0,
- "negligible": 0,
- "unknown": 0,
- "total": 0,
- "fixable": 0,
- "ignored": 0,
- "urgent": 0
}, - "scannedAt": "2019-08-24T14:15:22Z",
- "attemptedAt": "2019-08-24T14:15:22Z",
- "error": "string",
- "imageDigest": "string",
- "platform": "string",
- "scannerVersion": "string",
- "databaseBuiltAt": "2019-08-24T14:15:22Z",
- "findingsTotal": 0
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "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": {
- "status": "pending",
- "counts": {
- "critical": 0,
- "high": 0,
- "medium": 0,
- "low": 0,
- "negligible": 0,
- "unknown": 0,
- "total": 0,
- "fixable": 0,
- "ignored": 0,
- "urgent": 0
}, - "scannedAt": "2019-08-24T14:15:22Z"
}
}
], - "totalCount": 0,
- "nextPage": 0
}Creates a build and returns the created resource.
| appServiceIds required | Array of integers non-empty |
{- "appServiceIds": [
- 0
]
}{- "items": [
- {
- "id": 0,
- "number": 0,
- "status": "string",
- "appInstanceId": 0,
- "appServiceId": 0,
- "taskId": 0,
- "task": {
- "initiator": {
- "source": "mcp",
- "userId": 0,
- "apiKeyId": 0,
- "agentConnectionId": 0,
- "oauthClientId": "string",
- "oauthClientName": "string",
- "clientName": "string",
- "clientVersion": "string",
- "toolName": "string",
- "requestId": "string"
}, - "id": 0,
- "name": "string",
- "title": "string",
- "compactTitle": "string",
- "executionScope": "user",
- "status": "string",
- "progress": 0,
- "silent": true,
- "system": true,
- "userId": 0,
- "user": {
- "id": 0,
- "name": "string"
}, - "orgId": 0,
- "projectIds": [
- 0
], - "appId": 0,
- "appInstanceId": 0,
- "appServiceId": 0,
- "clusterId": 0,
- "databaseId": 0,
- "integrationId": 0,
- "serviceId": 0,
- "stackId": 0,
- "providerId": 0,
- "originTaskId": 0,
- "spawnedTaskIds": [
- 0
], - "repeatedTaskId": 0,
- "jobs": [
- {
- "id": 0,
- "name": "string",
- "title": "string",
- "status": "string",
- "after": [
- "string"
], - "timeout": 0,
- "isSystem": true,
- "statusTitle": "string",
- "steps": [
- {
- "id": 0,
- "position": 1,
- "name": "string",
- "status": "string",
- "logStatus": "string",
- "isSystem": true,
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}, - "appServiceBuilds": [
- {
- "id": 0,
- "status": "string",
- "image": "string",
- "imageDeleted": true,
- "unmanagedImage": true,
- "dockerfilePath": "string",
- "dockerfileHash": "string",
- "size": 0,
- "appServiceId": 0,
- "previouslyDeployed": true,
- "currentlyDeployed": true,
- "currentBuildNumber": 0,
- "vulnerabilityScan": {
- "status": "pending",
- "counts": {
- "critical": 0,
- "high": 0,
- "medium": 0,
- "low": 0,
- "negligible": 0,
- "unknown": 0,
- "total": 0,
- "fixable": 0,
- "ignored": 0,
- "urgent": 0
}, - "scannedAt": "2019-08-24T14:15:22Z",
- "attemptedAt": "2019-08-24T14:15:22Z",
- "error": "string",
- "imageDigest": "string",
- "platform": "string",
- "scannerVersion": "string",
- "databaseBuiltAt": "2019-08-24T14:15:22Z",
- "findingsTotal": 0
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "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": {
- "status": "pending",
- "counts": {
- "critical": 0,
- "high": 0,
- "medium": 0,
- "low": 0,
- "negligible": 0,
- "unknown": 0,
- "total": 0,
- "fixable": 0,
- "ignored": 0,
- "urgent": 0
}, - "scannedAt": "2019-08-24T14:15:22Z"
}
}
], - "taskId": 0
}Creates a build from a CI workflow request.
| 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. |
{- "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"
}{- "id": 0,
- "number": 0,
- "status": "string",
- "appInstanceId": 0,
- "appServiceId": 0,
- "taskId": 0,
- "task": {
- "initiator": {
- "source": "mcp",
- "userId": 0,
- "apiKeyId": 0,
- "agentConnectionId": 0,
- "oauthClientId": "string",
- "oauthClientName": "string",
- "clientName": "string",
- "clientVersion": "string",
- "toolName": "string",
- "requestId": "string"
}, - "id": 0,
- "name": "string",
- "title": "string",
- "compactTitle": "string",
- "executionScope": "user",
- "status": "string",
- "progress": 0,
- "silent": true,
- "system": true,
- "userId": 0,
- "user": {
- "id": 0,
- "name": "string"
}, - "orgId": 0,
- "projectIds": [
- 0
], - "appId": 0,
- "appInstanceId": 0,
- "appServiceId": 0,
- "clusterId": 0,
- "databaseId": 0,
- "integrationId": 0,
- "serviceId": 0,
- "stackId": 0,
- "providerId": 0,
- "originTaskId": 0,
- "spawnedTaskIds": [
- 0
], - "repeatedTaskId": 0,
- "jobs": [
- {
- "id": 0,
- "name": "string",
- "title": "string",
- "status": "string",
- "after": [
- "string"
], - "timeout": 0,
- "isSystem": true,
- "statusTitle": "string",
- "steps": [
- {
- "id": 0,
- "position": 1,
- "name": "string",
- "status": "string",
- "logStatus": "string",
- "isSystem": true,
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}, - "appServiceBuilds": [
- {
- "id": 0,
- "status": "string",
- "image": "string",
- "imageDeleted": true,
- "unmanagedImage": true,
- "dockerfilePath": "string",
- "dockerfileHash": "string",
- "size": 0,
- "appServiceId": 0,
- "previouslyDeployed": true,
- "currentlyDeployed": true,
- "currentBuildNumber": 0,
- "vulnerabilityScan": {
- "status": "pending",
- "counts": {
- "critical": 0,
- "high": 0,
- "medium": 0,
- "low": 0,
- "negligible": 0,
- "unknown": 0,
- "total": 0,
- "fixable": 0,
- "ignored": 0,
- "urgent": 0
}, - "scannedAt": "2019-08-24T14:15:22Z",
- "attemptedAt": "2019-08-24T14:15:22Z",
- "error": "string",
- "imageDigest": "string",
- "platform": "string",
- "scannerVersion": "string",
- "databaseBuiltAt": "2019-08-24T14:15:22Z",
- "findingsTotal": 0
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "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": {
- "status": "pending",
- "counts": {
- "critical": 0,
- "high": 0,
- "medium": 0,
- "low": 0,
- "negligible": 0,
- "unknown": 0,
- "total": 0,
- "fixable": 0,
- "ignored": 0,
- "urgent": 0
}, - "scannedAt": "2019-08-24T14:15:22Z"
}
}Returns the build identified by the request path.
| id required | integer |
{- "id": 0,
- "number": 0,
- "status": "string",
- "appInstanceId": 0,
- "appServiceId": 0,
- "taskId": 0,
- "task": {
- "initiator": {
- "source": "mcp",
- "userId": 0,
- "apiKeyId": 0,
- "agentConnectionId": 0,
- "oauthClientId": "string",
- "oauthClientName": "string",
- "clientName": "string",
- "clientVersion": "string",
- "toolName": "string",
- "requestId": "string"
}, - "id": 0,
- "name": "string",
- "title": "string",
- "compactTitle": "string",
- "executionScope": "user",
- "status": "string",
- "progress": 0,
- "silent": true,
- "system": true,
- "userId": 0,
- "user": {
- "id": 0,
- "name": "string"
}, - "orgId": 0,
- "projectIds": [
- 0
], - "appId": 0,
- "appInstanceId": 0,
- "appServiceId": 0,
- "clusterId": 0,
- "databaseId": 0,
- "integrationId": 0,
- "serviceId": 0,
- "stackId": 0,
- "providerId": 0,
- "originTaskId": 0,
- "spawnedTaskIds": [
- 0
], - "repeatedTaskId": 0,
- "jobs": [
- {
- "id": 0,
- "name": "string",
- "title": "string",
- "status": "string",
- "after": [
- "string"
], - "timeout": 0,
- "isSystem": true,
- "statusTitle": "string",
- "steps": [
- {
- "id": 0,
- "position": 1,
- "name": "string",
- "status": "string",
- "logStatus": "string",
- "isSystem": true,
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}, - "appServiceBuilds": [
- {
- "id": 0,
- "status": "string",
- "image": "string",
- "imageDeleted": true,
- "unmanagedImage": true,
- "dockerfilePath": "string",
- "dockerfileHash": "string",
- "size": 0,
- "appServiceId": 0,
- "previouslyDeployed": true,
- "currentlyDeployed": true,
- "currentBuildNumber": 0,
- "vulnerabilityScan": {
- "status": "pending",
- "counts": {
- "critical": 0,
- "high": 0,
- "medium": 0,
- "low": 0,
- "negligible": 0,
- "unknown": 0,
- "total": 0,
- "fixable": 0,
- "ignored": 0,
- "urgent": 0
}, - "scannedAt": "2019-08-24T14:15:22Z",
- "attemptedAt": "2019-08-24T14:15:22Z",
- "error": "string",
- "imageDigest": "string",
- "platform": "string",
- "scannerVersion": "string",
- "databaseBuiltAt": "2019-08-24T14:15:22Z",
- "findingsTotal": 0
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "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": {
- "status": "pending",
- "counts": {
- "critical": 0,
- "high": 0,
- "medium": 0,
- "low": 0,
- "negligible": 0,
- "unknown": 0,
- "total": 0,
- "fixable": 0,
- "ignored": 0,
- "urgent": 0
}, - "scannedAt": "2019-08-24T14:15:22Z"
}
}Returns CI build configuration for the build source owner and image targets linked to that owner. Services with independent build sources are omitted.
| id required | integer |
{- "registryHost": "string",
- "registryRepository": "string",
- "services": [
- {
- "name": "string",
- "title": "string",
- "managed": true,
- "main": true,
- "image": "string",
- "dockerfile": "string",
- "dockerignore": "string",
- "copySubdir": "string",
- "args": [
- {
- "name": "string",
- "value": "string",
- "secret": true
}
]
}
]
}Creates a deployment from the completed app build.
| id required | integer |
{- "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": [
- {
- "id": 0,
- "number": 0,
- "status": "string",
- "appInstanceId": 0,
- "appServiceId": 0,
- "taskId": 0,
- "task": {
- "initiator": {
- "source": "mcp",
- "userId": 0,
- "apiKeyId": 0,
- "agentConnectionId": 0,
- "oauthClientId": "string",
- "oauthClientName": "string",
- "clientName": "string",
- "clientVersion": "string",
- "toolName": "string",
- "requestId": "string"
}, - "id": 0,
- "name": "string",
- "title": "string",
- "compactTitle": "string",
- "executionScope": "user",
- "status": "string",
- "progress": 0,
- "silent": true,
- "system": true,
- "userId": 0,
- "user": {
- "id": 0,
- "name": "string"
}, - "orgId": 0,
- "projectIds": [
- 0
], - "appId": 0,
- "appInstanceId": 0,
- "appServiceId": 0,
- "clusterId": 0,
- "databaseId": 0,
- "integrationId": 0,
- "serviceId": 0,
- "stackId": 0,
- "providerId": 0,
- "originTaskId": 0,
- "spawnedTaskIds": [
- 0
], - "repeatedTaskId": 0,
- "jobs": [
- {
- "id": 0,
- "name": "string",
- "title": "string",
- "status": "string",
- "after": [
- "string"
], - "timeout": 0,
- "isSystem": true,
- "statusTitle": "string",
- "steps": [
- {
- "id": 0,
- "position": 1,
- "name": "string",
- "status": "string",
- "logStatus": "string",
- "isSystem": true,
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}, - "appServiceBuilds": [
- {
- "id": 0,
- "status": "string",
- "image": "string",
- "imageDeleted": true,
- "unmanagedImage": true,
- "dockerfilePath": "string",
- "dockerfileHash": "string",
- "size": 0,
- "appServiceId": 0,
- "previouslyDeployed": true,
- "currentlyDeployed": true,
- "currentBuildNumber": 0,
- "vulnerabilityScan": {
- "status": "pending",
- "counts": {
- "critical": 0,
- "high": 0,
- "medium": 0,
- "low": 0,
- "negligible": 0,
- "unknown": 0,
- "total": 0,
- "fixable": 0,
- "ignored": 0,
- "urgent": 0
}, - "scannedAt": "2019-08-24T14:15:22Z",
- "attemptedAt": "2019-08-24T14:15:22Z",
- "error": "string",
- "imageDigest": "string",
- "platform": "string",
- "scannerVersion": "string",
- "databaseBuiltAt": "2019-08-24T14:15:22Z",
- "findingsTotal": 0
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "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": {
- "status": "pending",
- "counts": {
- "critical": 0,
- "high": 0,
- "medium": 0,
- "low": 0,
- "negligible": 0,
- "unknown": 0,
- "total": 0,
- "fixable": 0,
- "ignored": 0,
- "urgent": 0
}, - "scannedAt": "2019-08-24T14:15:22Z"
}
}
], - "preparationTaskId": 0,
- "preparationTask": {
- "initiator": {
- "source": "mcp",
- "userId": 0,
- "apiKeyId": 0,
- "agentConnectionId": 0,
- "oauthClientId": "string",
- "oauthClientName": "string",
- "clientName": "string",
- "clientVersion": "string",
- "toolName": "string",
- "requestId": "string"
}, - "id": 0,
- "name": "string",
- "title": "string",
- "compactTitle": "string",
- "executionScope": "user",
- "status": "string",
- "progress": 0,
- "silent": true,
- "system": true,
- "userId": 0,
- "user": {
- "id": 0,
- "name": "string"
}, - "orgId": 0,
- "projectIds": [
- 0
], - "appId": 0,
- "appInstanceId": 0,
- "appServiceId": 0,
- "clusterId": 0,
- "databaseId": 0,
- "integrationId": 0,
- "serviceId": 0,
- "stackId": 0,
- "providerId": 0,
- "originTaskId": 0,
- "spawnedTaskIds": [
- 0
], - "repeatedTaskId": 0,
- "jobs": [
- {
- "id": 0,
- "name": "string",
- "title": "string",
- "status": "string",
- "after": [
- "string"
], - "timeout": 0,
- "isSystem": true,
- "statusTitle": "string",
- "steps": [
- {
- "id": 0,
- "position": 1,
- "name": "string",
- "status": "string",
- "logStatus": "string",
- "isSystem": true,
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}, - "taskId": 0,
- "task": {
- "initiator": {
- "source": "mcp",
- "userId": 0,
- "apiKeyId": 0,
- "agentConnectionId": 0,
- "oauthClientId": "string",
- "oauthClientName": "string",
- "clientName": "string",
- "clientVersion": "string",
- "toolName": "string",
- "requestId": "string"
}, - "id": 0,
- "name": "string",
- "title": "string",
- "compactTitle": "string",
- "executionScope": "user",
- "status": "string",
- "progress": 0,
- "silent": true,
- "system": true,
- "userId": 0,
- "user": {
- "id": 0,
- "name": "string"
}, - "orgId": 0,
- "projectIds": [
- 0
], - "appId": 0,
- "appInstanceId": 0,
- "appServiceId": 0,
- "clusterId": 0,
- "databaseId": 0,
- "integrationId": 0,
- "serviceId": 0,
- "stackId": 0,
- "providerId": 0,
- "originTaskId": 0,
- "spawnedTaskIds": [
- 0
], - "repeatedTaskId": 0,
- "jobs": [
- {
- "id": 0,
- "name": "string",
- "title": "string",
- "status": "string",
- "after": [
- "string"
], - "timeout": 0,
- "isSystem": true,
- "statusTitle": "string",
- "steps": [
- {
- "id": 0,
- "position": 1,
- "name": "string",
- "status": "string",
- "logStatus": "string",
- "isSystem": true,
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}, - "postDeploymentTaskId": 0,
- "postDeploymentTask": {
- "initiator": {
- "source": "mcp",
- "userId": 0,
- "apiKeyId": 0,
- "agentConnectionId": 0,
- "oauthClientId": "string",
- "oauthClientName": "string",
- "clientName": "string",
- "clientVersion": "string",
- "toolName": "string",
- "requestId": "string"
}, - "id": 0,
- "name": "string",
- "title": "string",
- "compactTitle": "string",
- "executionScope": "user",
- "status": "string",
- "progress": 0,
- "silent": true,
- "system": true,
- "userId": 0,
- "user": {
- "id": 0,
- "name": "string"
}, - "orgId": 0,
- "projectIds": [
- 0
], - "appId": 0,
- "appInstanceId": 0,
- "appServiceId": 0,
- "clusterId": 0,
- "databaseId": 0,
- "integrationId": 0,
- "serviceId": 0,
- "stackId": 0,
- "providerId": 0,
- "originTaskId": 0,
- "spawnedTaskIds": [
- 0
], - "repeatedTaskId": 0,
- "jobs": [
- {
- "id": 0,
- "name": "string",
- "title": "string",
- "status": "string",
- "after": [
- "string"
], - "timeout": 0,
- "isSystem": true,
- "statusTitle": "string",
- "steps": [
- {
- "id": 0,
- "position": 1,
- "name": "string",
- "status": "string",
- "logStatus": "string",
- "isSystem": true,
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}, - "appServiceDeployments": [
- {
- "id": 0,
- "jobName": "string",
- "status": "string",
- "appServiceId": 0,
- "appServiceBuildId": 0,
- "previousAppServiceBuildId": 0,
- "buildSelectionKind": "string",
- "skipPostDeployment": true,
- "force": 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"
}
], - "postDeploymentScripts": [
- "string"
], - "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"
}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.
| id required | integer |
{- "id": 0,
- "number": 0,
- "status": "string",
- "appInstanceId": 0,
- "appServiceId": 0,
- "taskId": 0,
- "task": {
- "initiator": {
- "source": "mcp",
- "userId": 0,
- "apiKeyId": 0,
- "agentConnectionId": 0,
- "oauthClientId": "string",
- "oauthClientName": "string",
- "clientName": "string",
- "clientVersion": "string",
- "toolName": "string",
- "requestId": "string"
}, - "id": 0,
- "name": "string",
- "title": "string",
- "compactTitle": "string",
- "executionScope": "user",
- "status": "string",
- "progress": 0,
- "silent": true,
- "system": true,
- "userId": 0,
- "user": {
- "id": 0,
- "name": "string"
}, - "orgId": 0,
- "projectIds": [
- 0
], - "appId": 0,
- "appInstanceId": 0,
- "appServiceId": 0,
- "clusterId": 0,
- "databaseId": 0,
- "integrationId": 0,
- "serviceId": 0,
- "stackId": 0,
- "providerId": 0,
- "originTaskId": 0,
- "spawnedTaskIds": [
- 0
], - "repeatedTaskId": 0,
- "jobs": [
- {
- "id": 0,
- "name": "string",
- "title": "string",
- "status": "string",
- "after": [
- "string"
], - "timeout": 0,
- "isSystem": true,
- "statusTitle": "string",
- "steps": [
- {
- "id": 0,
- "position": 1,
- "name": "string",
- "status": "string",
- "logStatus": "string",
- "isSystem": true,
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}, - "appServiceBuilds": [
- {
- "id": 0,
- "status": "string",
- "image": "string",
- "imageDeleted": true,
- "unmanagedImage": true,
- "dockerfilePath": "string",
- "dockerfileHash": "string",
- "size": 0,
- "appServiceId": 0,
- "previouslyDeployed": true,
- "currentlyDeployed": true,
- "currentBuildNumber": 0,
- "vulnerabilityScan": {
- "status": "pending",
- "counts": {
- "critical": 0,
- "high": 0,
- "medium": 0,
- "low": 0,
- "negligible": 0,
- "unknown": 0,
- "total": 0,
- "fixable": 0,
- "ignored": 0,
- "urgent": 0
}, - "scannedAt": "2019-08-24T14:15:22Z",
- "attemptedAt": "2019-08-24T14:15:22Z",
- "error": "string",
- "imageDigest": "string",
- "platform": "string",
- "scannerVersion": "string",
- "databaseBuiltAt": "2019-08-24T14:15:22Z",
- "findingsTotal": 0
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "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": {
- "status": "pending",
- "counts": {
- "critical": 0,
- "high": 0,
- "medium": 0,
- "low": 0,
- "negligible": 0,
- "unknown": 0,
- "total": 0,
- "fixable": 0,
- "ignored": 0,
- "urgent": 0
}, - "scannedAt": "2019-08-24T14:15:22Z"
}
}Returns app ports matching the request filters.
| appInstanceId required | integer |
[- {
- "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"
}
]Exposes the app port on the cluster's public address. Leave publicPort out to pick a free port. Returns the port.
| id required | integer |
| publicPort | integer or null [ 1 .. 65535 ] Public port on the cluster's address. |
{- "publicPort": 1
}{- "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"
}Stops exposing the app port on the cluster's public address and returns the port.
| id required | integer |
{- "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"
}Returns the settings of an app port.
| id required | integer |
[- {
- "id": 0,
- "name": "IDLE_TIMEOUT",
- "value": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]Replaces all settings of an app port. A setting left out is removed. Returns the stored settings.
| id required | integer |
required | Array of objects (AppPortSettingInput) The complete list of settings. A setting left out is removed. |
{- "settings": [
- {
- "name": "IDLE_TIMEOUT",
- "value": "string"
}
]
}[- {
- "id": 0,
- "name": "IDLE_TIMEOUT",
- "value": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]Creates or updates a named app port setting.
| id required | integer |
| name required | string (AppPortSettingName) Enum: "IDLE_TIMEOUT" "CONNECTION_LIMIT" "TCP_KEEPALIVE" |
| value required | string |
{- "value": "string"
}{- "id": 0,
- "name": "IDLE_TIMEOUT",
- "value": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Removes a named app port setting.
| id required | integer |
| name required | string (AppPortSettingName) Enum: "IDLE_TIMEOUT" "CONNECTION_LIMIT" "TCP_KEEPALIVE" |
{- "success": true,
- "taskId": 0
}Returns the endpoints of an app environment. An endpoint groups the routes and ports of one app service endpoint.
| appEnvironmentId required | integer |
[- {
- "id": 0,
- "name": "string",
- "appServiceId": 0,
- "appEnvironmentId": 0,
- "primary": true,
- "routeIds": [
- 0
], - "portIds": [
- 0
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]Returns one app endpoint with its route and port IDs.
| id required | integer |
{- "id": 0,
- "name": "string",
- "appServiceId": 0,
- "appEnvironmentId": 0,
- "primary": true,
- "routeIds": [
- 0
], - "portIds": [
- 0
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Returns the app port identified by the request path.
| id required | integer |
{- "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"
}Changes the public port of an app port and returns it.
| id required | integer |
| publicPort | integer or null [ 1 .. 65535 ] Public port on the cluster's address. |
{- "publicPort": 1
}{- "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"
}Returns the app environment's default route settings. Every route inherits them unless it overrides them.
| id required | integer |
[- {
- "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"
}
]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.
| id required | integer |
required | Array of objects (AppRouteSettingInput) The complete list of settings. A setting left out is removed. |
{- "settings": [
- {
- "name": "HTTPS_REDIRECT",
- "value": "string"
}
]
}[- {
- "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"
}
]Returns app routes matching the request filters.
| appInstanceId required | integer |
[- {
- "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": {
- "id": 0,
- "custom": true,
- "issuer": "string",
- "domain": "string",
- "dnsNames": [
- "string"
], - "routeIds": [
- 0
], - "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"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "lastSyncedAt": "2019-08-24T14:15:22Z"
}
]Creates an app route and returns the created resource.
| 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) |
{- "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": {
- "mode": "NONE",
- "certId": 0
}
}{- "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": {
- "id": 0,
- "custom": true,
- "issuer": "string",
- "domain": "string",
- "dnsNames": [
- "string"
], - "routeIds": [
- 0
], - "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"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "lastSyncedAt": "2019-08-24T14:15:22Z"
}Returns the app route identified by the request path.
| id required | integer |
{- "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": {
- "id": 0,
- "custom": true,
- "issuer": "string",
- "domain": "string",
- "dnsNames": [
- "string"
], - "routeIds": [
- 0
], - "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"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "lastSyncedAt": "2019-08-24T14:15:22Z"
}Updates the app route and returns the updated resource.
| id required | integer |
| 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) |
{- "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": {
- "mode": "NONE",
- "certId": 0
}
}{- "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": {
- "id": 0,
- "custom": true,
- "issuer": "string",
- "domain": "string",
- "dnsNames": [
- "string"
], - "routeIds": [
- 0
], - "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"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "lastSyncedAt": "2019-08-24T14:15:22Z"
}Deletes a customer route and returns the operation result. Wodby-managed technical routes cannot be deleted; disable them instead.
| id required | integer |
{- "success": true,
- "taskId": 0
}Returns route-specific setting overrides. Inherited app-environment defaults are not included.
| id required | integer |
[- {
- "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"
}
]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.
| id required | integer |
required | Array of objects (AppRouteSettingInput) The complete list of settings. A setting left out is removed. |
{- "settings": [
- {
- "name": "HTTPS_REDIRECT",
- "value": "string"
}
]
}[- {
- "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"
}
]Applies one operation to several routes of an app environment in one task.
| appEnvironmentId required | integer |
| routeIds required | Array of integers non-empty Routes of the app environment to change. |
| operation required | string Enum: "enable" "disable" "delete" |
{- "appEnvironmentId": 0,
- "routeIds": [
- 0
], - "operation": "enable"
}{- "success": true,
- "taskId": 0
}Returns the resolved route settings together with whether each value came from the app defaults, active service manifest, or route override.
| id required | integer |
[- {
- "name": "HTTPS_REDIRECT",
- "value": "string",
- "source": "APP_DEFAULT"
}
]Creates or updates a named app route setting.
| 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" |
| value required | string |
{- "value": "string"
}{- "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"
}Deletes a named app route setting and restores any applicable default.
| 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" |
{- "success": true,
- "taskId": 0
}Returns certificate metadata for an organization.
| 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. |
[- {
- "id": 0,
- "custom": true,
- "issuer": "string",
- "domain": "string",
- "dnsNames": [
- "string"
], - "routeIds": [
- 0
], - "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"
}
]Returns certificate metadata identified by the request path within the requested organization.
| id required | integer |
| orgId | integer Optional for API-key requests; defaults to the API key's organization. If provided, it must match the key's organization. |
{- "id": 0,
- "custom": true,
- "issuer": "string",
- "domain": "string",
- "dnsNames": [
- "string"
], - "routeIds": [
- 0
], - "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"
}Returns clusters matching the request filters.
| 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 |
[- {
- "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": {
- "machineType": "string",
- "minNodeCount": 0,
- "maxNodeCount": 0,
- "nodeDiskSize": 0
}, - "lastNodesReady": 0,
- "lastNodesTotal": 0,
- "region": "string",
- "zone": "string",
- "ips": [
- "string"
], - "hostname": "string",
- "integrationId": 0,
- "envId": 0,
- "envType": "prod",
- "envScope": "all",
- "allowedEnvIds": [
- 0
], - "allowedEnvTypes": [
- "prod"
], - "orgId": 0,
- "ownershipScope": "org",
- "ownerProjectId": 0,
- "availableToAllProjects": true,
- "capabilities": {
- "envoyGateway": true,
- "redirectRoutes": true
}, - "settings": {
- "autoInfrastructureUpgrade": {
- "enabled": true,
- "infra": {
- "enabled": true,
- "versionPolicy": {
- "allowSameVersion": true,
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "timeWindow": {
- "start": "02:00",
- "end": "04:00",
- "timeZone": "UTC",
- "days": [
- "MONDAY"
]
}
}, - "apps": {
- "enabled": true,
- "versionPolicy": {
- "allowSameVersion": true,
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "timeWindow": {
- "start": "02:00",
- "end": "04:00",
- "timeZone": "UTC",
- "days": [
- "MONDAY"
]
}
}
}, - "autoKubernetesUpgrade": {
- "enabled": true,
- "allowPatch": true,
- "allowMinor": true,
- "minorOnlyAfterEndOfLife": true,
- "timeWindow": {
- "start": "02:00",
- "end": "04:00",
- "timeZone": "UTC",
- "days": [
- "MONDAY"
]
}, - "includeComponentUpdates": true
}, - "clusterCapabilities": {
- "autoInstall": true,
- "stackRevisionIds": [
- 1
]
}
}, - "storageClasses": [
- {
- "name": "string",
- "provisioner": "string",
- "reclaimPolicy": "string",
- "allowVolumeExpansion": true,
- "mountOptions": [
- "string"
], - "volumeBindingMode": "string",
- "isDefault": true,
- "selectable": true
}
], - "storageClassesObservedAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]Creates a cluster and returns the created resource.
| 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. |
{- "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": {
- "machineType": "string",
- "minNodeCount": 0,
- "maxNodeCount": 1,
- "nodeDiskSize": 20
}, - "zone": "string",
- "region": "string",
- "billingOption": "string",
- "disableMonitoring": true,
- "autoInfrastructureUpgrade": true,
- "autoKubernetesUpgrade": true,
- "environmentPolicy": {
- "envId": 0,
- "envType": "prod",
- "scope": "all",
- "allowedEnvIds": [
- 0
], - "allowedEnvTypes": [
- "prod"
]
}
}{- "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": {
- "machineType": "string",
- "minNodeCount": 0,
- "maxNodeCount": 0,
- "nodeDiskSize": 0
}, - "lastNodesReady": 0,
- "lastNodesTotal": 0,
- "region": "string",
- "zone": "string",
- "ips": [
- "string"
], - "hostname": "string",
- "integrationId": 0,
- "envId": 0,
- "envType": "prod",
- "envScope": "all",
- "allowedEnvIds": [
- 0
], - "allowedEnvTypes": [
- "prod"
], - "orgId": 0,
- "ownershipScope": "org",
- "ownerProjectId": 0,
- "availableToAllProjects": true,
- "capabilities": {
- "envoyGateway": true,
- "redirectRoutes": true
}, - "settings": {
- "autoInfrastructureUpgrade": {
- "enabled": true,
- "infra": {
- "enabled": true,
- "versionPolicy": {
- "allowSameVersion": true,
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "timeWindow": {
- "start": "02:00",
- "end": "04:00",
- "timeZone": "UTC",
- "days": [
- "MONDAY"
]
}
}, - "apps": {
- "enabled": true,
- "versionPolicy": {
- "allowSameVersion": true,
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "timeWindow": {
- "start": "02:00",
- "end": "04:00",
- "timeZone": "UTC",
- "days": [
- "MONDAY"
]
}
}
}, - "autoKubernetesUpgrade": {
- "enabled": true,
- "allowPatch": true,
- "allowMinor": true,
- "minorOnlyAfterEndOfLife": true,
- "timeWindow": {
- "start": "02:00",
- "end": "04:00",
- "timeZone": "UTC",
- "days": [
- "MONDAY"
]
}, - "includeComponentUpdates": true
}, - "clusterCapabilities": {
- "autoInstall": true,
- "stackRevisionIds": [
- 1
]
}
}, - "storageClasses": [
- {
- "name": "string",
- "provisioner": "string",
- "reclaimPolicy": "string",
- "allowVolumeExpansion": true,
- "mountOptions": [
- "string"
], - "volumeBindingMode": "string",
- "isDefault": true,
- "selectable": true
}
], - "storageClassesObservedAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Returns the cluster identified by name.
| name required | string |
| orgId | integer Optional for API-key requests; defaults to the API key's organization. If provided, it must match the key's organization. |
{- "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": {
- "machineType": "string",
- "minNodeCount": 0,
- "maxNodeCount": 0,
- "nodeDiskSize": 0
}, - "lastNodesReady": 0,
- "lastNodesTotal": 0,
- "region": "string",
- "zone": "string",
- "ips": [
- "string"
], - "hostname": "string",
- "integrationId": 0,
- "envId": 0,
- "envType": "prod",
- "envScope": "all",
- "allowedEnvIds": [
- 0
], - "allowedEnvTypes": [
- "prod"
], - "orgId": 0,
- "ownershipScope": "org",
- "ownerProjectId": 0,
- "availableToAllProjects": true,
- "capabilities": {
- "envoyGateway": true,
- "redirectRoutes": true
}, - "settings": {
- "autoInfrastructureUpgrade": {
- "enabled": true,
- "infra": {
- "enabled": true,
- "versionPolicy": {
- "allowSameVersion": true,
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "timeWindow": {
- "start": "02:00",
- "end": "04:00",
- "timeZone": "UTC",
- "days": [
- "MONDAY"
]
}
}, - "apps": {
- "enabled": true,
- "versionPolicy": {
- "allowSameVersion": true,
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "timeWindow": {
- "start": "02:00",
- "end": "04:00",
- "timeZone": "UTC",
- "days": [
- "MONDAY"
]
}
}
}, - "autoKubernetesUpgrade": {
- "enabled": true,
- "allowPatch": true,
- "allowMinor": true,
- "minorOnlyAfterEndOfLife": true,
- "timeWindow": {
- "start": "02:00",
- "end": "04:00",
- "timeZone": "UTC",
- "days": [
- "MONDAY"
]
}, - "includeComponentUpdates": true
}, - "clusterCapabilities": {
- "autoInstall": true,
- "stackRevisionIds": [
- 1
]
}
}, - "storageClasses": [
- {
- "name": "string",
- "provisioner": "string",
- "reclaimPolicy": "string",
- "allowVolumeExpansion": true,
- "mountOptions": [
- "string"
], - "volumeBindingMode": "string",
- "isDefault": true,
- "selectable": true
}
], - "storageClassesObservedAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Returns the cluster identified by the request path.
| id required | integer |
{- "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": {
- "machineType": "string",
- "minNodeCount": 0,
- "maxNodeCount": 0,
- "nodeDiskSize": 0
}, - "lastNodesReady": 0,
- "lastNodesTotal": 0,
- "region": "string",
- "zone": "string",
- "ips": [
- "string"
], - "hostname": "string",
- "integrationId": 0,
- "envId": 0,
- "envType": "prod",
- "envScope": "all",
- "allowedEnvIds": [
- 0
], - "allowedEnvTypes": [
- "prod"
], - "orgId": 0,
- "ownershipScope": "org",
- "ownerProjectId": 0,
- "availableToAllProjects": true,
- "capabilities": {
- "envoyGateway": true,
- "redirectRoutes": true
}, - "settings": {
- "autoInfrastructureUpgrade": {
- "enabled": true,
- "infra": {
- "enabled": true,
- "versionPolicy": {
- "allowSameVersion": true,
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "timeWindow": {
- "start": "02:00",
- "end": "04:00",
- "timeZone": "UTC",
- "days": [
- "MONDAY"
]
}
}, - "apps": {
- "enabled": true,
- "versionPolicy": {
- "allowSameVersion": true,
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "timeWindow": {
- "start": "02:00",
- "end": "04:00",
- "timeZone": "UTC",
- "days": [
- "MONDAY"
]
}
}
}, - "autoKubernetesUpgrade": {
- "enabled": true,
- "allowPatch": true,
- "allowMinor": true,
- "minorOnlyAfterEndOfLife": true,
- "timeWindow": {
- "start": "02:00",
- "end": "04:00",
- "timeZone": "UTC",
- "days": [
- "MONDAY"
]
}, - "includeComponentUpdates": true
}, - "clusterCapabilities": {
- "autoInstall": true,
- "stackRevisionIds": [
- 1
]
}
}, - "storageClasses": [
- {
- "name": "string",
- "provisioner": "string",
- "reclaimPolicy": "string",
- "allowVolumeExpansion": true,
- "mountOptions": [
- "string"
], - "volumeBindingMode": "string",
- "isDefault": true,
- "selectable": true
}
], - "storageClassesObservedAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Updates the cluster and returns the updated resource.
| id required | integer |
| title required | string |
{- "title": "string"
}{- "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": {
- "machineType": "string",
- "minNodeCount": 0,
- "maxNodeCount": 0,
- "nodeDiskSize": 0
}, - "lastNodesReady": 0,
- "lastNodesTotal": 0,
- "region": "string",
- "zone": "string",
- "ips": [
- "string"
], - "hostname": "string",
- "integrationId": 0,
- "envId": 0,
- "envType": "prod",
- "envScope": "all",
- "allowedEnvIds": [
- 0
], - "allowedEnvTypes": [
- "prod"
], - "orgId": 0,
- "ownershipScope": "org",
- "ownerProjectId": 0,
- "availableToAllProjects": true,
- "capabilities": {
- "envoyGateway": true,
- "redirectRoutes": true
}, - "settings": {
- "autoInfrastructureUpgrade": {
- "enabled": true,
- "infra": {
- "enabled": true,
- "versionPolicy": {
- "allowSameVersion": true,
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "timeWindow": {
- "start": "02:00",
- "end": "04:00",
- "timeZone": "UTC",
- "days": [
- "MONDAY"
]
}
}, - "apps": {
- "enabled": true,
- "versionPolicy": {
- "allowSameVersion": true,
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "timeWindow": {
- "start": "02:00",
- "end": "04:00",
- "timeZone": "UTC",
- "days": [
- "MONDAY"
]
}
}
}, - "autoKubernetesUpgrade": {
- "enabled": true,
- "allowPatch": true,
- "allowMinor": true,
- "minorOnlyAfterEndOfLife": true,
- "timeWindow": {
- "start": "02:00",
- "end": "04:00",
- "timeZone": "UTC",
- "days": [
- "MONDAY"
]
}, - "includeComponentUpdates": true
}, - "clusterCapabilities": {
- "autoInstall": true,
- "stackRevisionIds": [
- 1
]
}
}, - "storageClasses": [
- {
- "name": "string",
- "provisioner": "string",
- "reclaimPolicy": "string",
- "allowVolumeExpansion": true,
- "mountOptions": [
- "string"
], - "volumeBindingMode": "string",
- "isDefault": true,
- "selectable": true
}
], - "storageClassesObservedAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Returns supported Kubernetes upgrade targets, blockers, and warnings for a cluster.
| id required | integer |
{- "currentVersion": "string",
- "providerVersion": "string",
- "provider": "string",
- "supported": true,
- "targets": [
- {
- "version": "string",
- "title": "string",
- "kind": "patch",
- "preview": true
}
], - "blockers": [
- "string"
], - "warnings": [
- "string"
], - "observedAt": "2019-08-24T14:15:22Z"
}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.
| id required | integer |
[- {
- "kind": "cilium",
- "name": "string",
- "currentVersion": "string",
- "targetVersion": "string",
- "components": [
- "string"
], - "note": "string"
}
]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.
| id required | integer |
[- {
- "name": "string",
- "version": "string",
- "source": "pod",
- "manager": "wodby",
- "namespace": "string",
- "workloadKind": "string",
- "workload": "string",
- "container": "string",
- "image": "string",
- "imageDigest": "string",
- "count": 0,
- "observedAt": "2019-08-24T14:15:22Z",
- "status": "up_to_date",
- "latestVersion": "string",
- "updatePath": "kubernetes_version"
}
]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.
| id required | integer |
[- {
- "name": "string",
- "title": "string",
- "advisory": "string",
- "advisoryTitle": "string",
- "node": "string",
- "state": "protected",
- "message": "string",
- "kernel": "string",
- "checkedAt": "2019-08-24T14:15:22Z",
- "observedAt": "2019-08-24T14:15:22Z"
}
]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.
| id required | integer |
[- {
- "advisory": "string",
- "title": "string",
- "state": "mitigated",
- "action": "upgrade_infrastructure",
- "message": "string"
}
]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.
| id required | integer |
| 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 |
{- "items": [
- {
- "id": "string",
- "summary": "string",
- "component": "operating_system",
- "affected": "string",
- "severity": "critical",
- "state": "not_fixed",
- "action": "update_kubernetes",
- "fixedIn": "string",
- "url": "string",
- "message": "string",
- "ignorable": true,
- "ignored": true,
- "ignoreId": 0,
- "exploited": true,
- "epss": 0,
- "urgent": true,
- "ignoredBeforeUrgent": true
}
], - "totalCount": 0,
- "nextPage": 0,
- "counts": {
- "critical": 0,
- "high": 0,
- "medium": 0,
- "low": 0,
- "negligible": 0,
- "unknown": 0,
- "total": 0,
- "fixable": 0,
- "ignored": 0,
- "urgent": 0
}, - "sources": [
- {
- "component": "operating_system",
- "status": "checked",
- "checkedAt": "2019-08-24T14:15:22Z",
- "message": "string"
}
], - "scanning": true,
- "restartRequired": 0,
- "waitingForUpstream": 0
}Lists the vulnerabilities the cluster ignores, newest first, including those that match nothing listed now. The ID is the cluster's.
| id required | integer |
[- {
- "id": 0,
- "clusterId": 0,
- "vulnerabilityId": "string",
- "reason": "string",
- "createdAt": "2019-08-24T14:15:22Z"
}
]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.
| id required | integer |
| 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. |
{- "vulnerabilityId": "string",
- "reason": "string"
}{- "id": 0,
- "clusterId": 0,
- "vulnerabilityId": "string",
- "reason": "string",
- "createdAt": "2019-08-24T14:15:22Z"
}Removes an ignore, so the vulnerability counts again. The ID is the ignore's. Needs permission to modify the cluster.
| id required | integer |
{- "success": true,
- "taskId": 0
}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.
| id required | integer |
{- "version": "string",
- "vulnerabilities": [
- {
- "id": "string",
- "summary": "string",
- "severity": "critical",
- "url": "string",
- "fixedIn": "string"
}
]
}Updates cluster settings and returns the updated cluster.
| id required | integer |
object (ClusterAutoInfrastructureUpgradeSettingsInput) | |
object (ClusterAutoKubernetesUpgradeSettingsInput) Omitted fields keep their current values. | |
object (ClusterCapabilityPolicy) |
{- "autoInfrastructureUpgrade": {
- "enabled": true,
- "infra": {
- "enabled": true,
- "versionPolicy": {
- "allowSameVersion": true,
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "timeWindow": {
- "enabled": true,
- "start": "02:00",
- "end": "04:00",
- "timeZone": "UTC",
- "days": [
- "MONDAY"
]
}
}, - "apps": {
- "enabled": true,
- "versionPolicy": {
- "allowSameVersion": true,
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "timeWindow": {
- "enabled": true,
- "start": "02:00",
- "end": "04:00",
- "timeZone": "UTC",
- "days": [
- "MONDAY"
]
}
}
}, - "autoKubernetesUpgrade": {
- "enabled": true,
- "allowPatch": true,
- "allowMinor": true,
- "minorOnlyAfterEndOfLife": true,
- "includeComponentUpdates": true,
- "timeWindow": {
- "enabled": true,
- "start": "02:00",
- "end": "04:00",
- "timeZone": "UTC",
- "days": [
- "MONDAY"
]
}
}, - "clusterCapabilities": {
- "autoInstall": true,
- "stackRevisionIds": [
- 1
]
}
}{- "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": {
- "machineType": "string",
- "minNodeCount": 0,
- "maxNodeCount": 0,
- "nodeDiskSize": 0
}, - "lastNodesReady": 0,
- "lastNodesTotal": 0,
- "region": "string",
- "zone": "string",
- "ips": [
- "string"
], - "hostname": "string",
- "integrationId": 0,
- "envId": 0,
- "envType": "prod",
- "envScope": "all",
- "allowedEnvIds": [
- 0
], - "allowedEnvTypes": [
- "prod"
], - "orgId": 0,
- "ownershipScope": "org",
- "ownerProjectId": 0,
- "availableToAllProjects": true,
- "capabilities": {
- "envoyGateway": true,
- "redirectRoutes": true
}, - "settings": {
- "autoInfrastructureUpgrade": {
- "enabled": true,
- "infra": {
- "enabled": true,
- "versionPolicy": {
- "allowSameVersion": true,
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "timeWindow": {
- "start": "02:00",
- "end": "04:00",
- "timeZone": "UTC",
- "days": [
- "MONDAY"
]
}
}, - "apps": {
- "enabled": true,
- "versionPolicy": {
- "allowSameVersion": true,
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "timeWindow": {
- "start": "02:00",
- "end": "04:00",
- "timeZone": "UTC",
- "days": [
- "MONDAY"
]
}
}
}, - "autoKubernetesUpgrade": {
- "enabled": true,
- "allowPatch": true,
- "allowMinor": true,
- "minorOnlyAfterEndOfLife": true,
- "timeWindow": {
- "start": "02:00",
- "end": "04:00",
- "timeZone": "UTC",
- "days": [
- "MONDAY"
]
}, - "includeComponentUpdates": true
}, - "clusterCapabilities": {
- "autoInstall": true,
- "stackRevisionIds": [
- 1
]
}
}, - "storageClasses": [
- {
- "name": "string",
- "provisioner": "string",
- "reclaimPolicy": "string",
- "allowVolumeExpansion": true,
- "mountOptions": [
- "string"
], - "volumeBindingMode": "string",
- "isDefault": true,
- "selectable": true
}
], - "storageClassesObservedAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Updates the cluster's environment type and allowed environment-type scope. Scope reductions that conflict with existing non-infrastructure app environments are rejected.
| id required | integer |
| 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" |
{- "envId": 0,
- "envType": "prod",
- "scope": "all",
- "allowedEnvIds": [
- 0
], - "allowedEnvTypes": [
- "prod"
]
}{- "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": {
- "machineType": "string",
- "minNodeCount": 0,
- "maxNodeCount": 0,
- "nodeDiskSize": 0
}, - "lastNodesReady": 0,
- "lastNodesTotal": 0,
- "region": "string",
- "zone": "string",
- "ips": [
- "string"
], - "hostname": "string",
- "integrationId": 0,
- "envId": 0,
- "envType": "prod",
- "envScope": "all",
- "allowedEnvIds": [
- 0
], - "allowedEnvTypes": [
- "prod"
], - "orgId": 0,
- "ownershipScope": "org",
- "ownerProjectId": 0,
- "availableToAllProjects": true,
- "capabilities": {
- "envoyGateway": true,
- "redirectRoutes": true
}, - "settings": {
- "autoInfrastructureUpgrade": {
- "enabled": true,
- "infra": {
- "enabled": true,
- "versionPolicy": {
- "allowSameVersion": true,
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "timeWindow": {
- "start": "02:00",
- "end": "04:00",
- "timeZone": "UTC",
- "days": [
- "MONDAY"
]
}
}, - "apps": {
- "enabled": true,
- "versionPolicy": {
- "allowSameVersion": true,
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "timeWindow": {
- "start": "02:00",
- "end": "04:00",
- "timeZone": "UTC",
- "days": [
- "MONDAY"
]
}
}
}, - "autoKubernetesUpgrade": {
- "enabled": true,
- "allowPatch": true,
- "allowMinor": true,
- "minorOnlyAfterEndOfLife": true,
- "timeWindow": {
- "start": "02:00",
- "end": "04:00",
- "timeZone": "UTC",
- "days": [
- "MONDAY"
]
}, - "includeComponentUpdates": true
}, - "clusterCapabilities": {
- "autoInstall": true,
- "stackRevisionIds": [
- 1
]
}
}, - "storageClasses": [
- {
- "name": "string",
- "provisioner": "string",
- "reclaimPolicy": "string",
- "allowVolumeExpansion": true,
- "mountOptions": [
- "string"
], - "volumeBindingMode": "string",
- "isDefault": true,
- "selectable": true
}
], - "storageClassesObservedAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Returns who owns the cluster and which projects can use it.
| id required | integer |
{- "ownershipScope": "org",
- "ownerProjectId": 0,
- "availableToAllProjects": true,
- "sharedProjects": [
- {
- "projectId": 0,
- "role": "owner"
}
]
}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.
| id required | integer |
| 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. |
{- "ownershipScope": "org",
- "ownerProjectId": 0,
- "sharedProjects": [
- {
- "projectId": 0,
- "access": "read"
}
], - "availableToAllProjects": true
}{- "ownershipScope": "org",
- "ownerProjectId": 0,
- "availableToAllProjects": true,
- "sharedProjects": [
- {
- "projectId": 0,
- "role": "owner"
}
]
}Starts a task that applies one of the updates listed for the cluster, and returns the task result.
| id required | integer |
| name required | string The update's name, as listed for the cluster. |
{- "name": "string"
}{- "success": true,
- "taskId": 0
}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.
| id required | integer |
| version required | string non-empty Target Kubernetes version from the cluster's upgrade plan. |
{- "version": "string"
}{- "success": true,
- "taskId": 0
}Changes the minimum and maximum node count of a managed cluster and starts the node pool update.
| id required | integer |
| minNodeCount required | integer >= 0 |
| maxNodeCount required | integer >= 1 |
{- "minNodeCount": 0,
- "maxNodeCount": 1
}{- "success": true,
- "taskId": 0
}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.
| id required | integer |
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. |
{- "gpuNodePool": {
- "machineType": "string",
- "minNodeCount": 0,
- "maxNodeCount": 1,
- "nodeDiskSize": 20
}
}{- "success": true,
- "taskId": 0
}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.
| id required | integer |
{- "success": true,
- "taskId": 0
}Changes the public IP address that routes to a self-hosted K3s cluster. Returns the cluster.
| id required | integer |
| publicIp required | string non-empty |
{- "publicIp": "string"
}{- "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": {
- "machineType": "string",
- "minNodeCount": 0,
- "maxNodeCount": 0,
- "nodeDiskSize": 0
}, - "lastNodesReady": 0,
- "lastNodesTotal": 0,
- "region": "string",
- "zone": "string",
- "ips": [
- "string"
], - "hostname": "string",
- "integrationId": 0,
- "envId": 0,
- "envType": "prod",
- "envScope": "all",
- "allowedEnvIds": [
- 0
], - "allowedEnvTypes": [
- "prod"
], - "orgId": 0,
- "ownershipScope": "org",
- "ownerProjectId": 0,
- "availableToAllProjects": true,
- "capabilities": {
- "envoyGateway": true,
- "redirectRoutes": true
}, - "settings": {
- "autoInfrastructureUpgrade": {
- "enabled": true,
- "infra": {
- "enabled": true,
- "versionPolicy": {
- "allowSameVersion": true,
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "timeWindow": {
- "start": "02:00",
- "end": "04:00",
- "timeZone": "UTC",
- "days": [
- "MONDAY"
]
}
}, - "apps": {
- "enabled": true,
- "versionPolicy": {
- "allowSameVersion": true,
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "timeWindow": {
- "start": "02:00",
- "end": "04:00",
- "timeZone": "UTC",
- "days": [
- "MONDAY"
]
}
}
}, - "autoKubernetesUpgrade": {
- "enabled": true,
- "allowPatch": true,
- "allowMinor": true,
- "minorOnlyAfterEndOfLife": true,
- "timeWindow": {
- "start": "02:00",
- "end": "04:00",
- "timeZone": "UTC",
- "days": [
- "MONDAY"
]
}, - "includeComponentUpdates": true
}, - "clusterCapabilities": {
- "autoInstall": true,
- "stackRevisionIds": [
- 1
]
}
}, - "storageClasses": [
- {
- "name": "string",
- "provisioner": "string",
- "reclaimPolicy": "string",
- "allowVolumeExpansion": true,
- "mountOptions": [
- "string"
], - "volumeBindingMode": "string",
- "isDefault": true,
- "selectable": true
}
], - "storageClassesObservedAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}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.
| id required | integer |
| nodeName required | string |
| force | boolean Remove the node even though it stores persistent volumes, which loses their data. |
{- "nodeName": "string",
- "force": true
}{- "success": true,
- "taskId": 0
}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.
| id required | integer |
| 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. |
{- "address": "string",
- "force": true
}{- "success": true,
- "taskId": 0
}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.
| id required | integer |
| maxPods required | integer [ 50 .. 250 ] Pods each node runs at most. |
{- "maxPods": 50
}{- "success": true,
- "taskId": 0
}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.
| id required | integer |
| nodes | Array of strings Node names from GET /cluster-k3s-nodes/{id}. Empty for the default nodes. |
{- "nodes": [
- "string"
]
}{- "success": true,
- "taskId": 0
}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.
| id required | integer |
| nodes | Array of strings Node names from GET /cluster-k3s-nodes/{id}. Empty for the default nodes. |
{- "nodes": [
- "string"
]
}{- "success": true,
- "taskId": 0
}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.
| id required | integer |
{- "success": true,
- "taskId": 0
}Registers a self-hosted K3s cluster. Run the command from GET /clusters/k3s-install-command/{id} on the server to connect it.
| 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. |
{- "orgId": 0,
- "projectId": 0,
- "availableToAllProjects": true,
- "name": "string",
- "title": "string",
- "disableMonitoring": true,
- "autoInfrastructureUpgrade": true,
- "autoKubernetesUpgrade": true,
- "environmentPolicy": {
- "envId": 0,
- "envType": "prod",
- "scope": "all",
- "allowedEnvIds": [
- 0
], - "allowedEnvTypes": [
- "prod"
]
}
}{- "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": {
- "machineType": "string",
- "minNodeCount": 0,
- "maxNodeCount": 0,
- "nodeDiskSize": 0
}, - "lastNodesReady": 0,
- "lastNodesTotal": 0,
- "region": "string",
- "zone": "string",
- "ips": [
- "string"
], - "hostname": "string",
- "integrationId": 0,
- "envId": 0,
- "envType": "prod",
- "envScope": "all",
- "allowedEnvIds": [
- 0
], - "allowedEnvTypes": [
- "prod"
], - "orgId": 0,
- "ownershipScope": "org",
- "ownerProjectId": 0,
- "availableToAllProjects": true,
- "capabilities": {
- "envoyGateway": true,
- "redirectRoutes": true
}, - "settings": {
- "autoInfrastructureUpgrade": {
- "enabled": true,
- "infra": {
- "enabled": true,
- "versionPolicy": {
- "allowSameVersion": true,
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "timeWindow": {
- "start": "02:00",
- "end": "04:00",
- "timeZone": "UTC",
- "days": [
- "MONDAY"
]
}
}, - "apps": {
- "enabled": true,
- "versionPolicy": {
- "allowSameVersion": true,
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "timeWindow": {
- "start": "02:00",
- "end": "04:00",
- "timeZone": "UTC",
- "days": [
- "MONDAY"
]
}
}
}, - "autoKubernetesUpgrade": {
- "enabled": true,
- "allowPatch": true,
- "allowMinor": true,
- "minorOnlyAfterEndOfLife": true,
- "timeWindow": {
- "start": "02:00",
- "end": "04:00",
- "timeZone": "UTC",
- "days": [
- "MONDAY"
]
}, - "includeComponentUpdates": true
}, - "clusterCapabilities": {
- "autoInstall": true,
- "stackRevisionIds": [
- 1
]
}
}, - "storageClasses": [
- {
- "name": "string",
- "provisioner": "string",
- "reclaimPolicy": "string",
- "allowVolumeExpansion": true,
- "mountOptions": [
- "string"
], - "volumeBindingMode": "string",
- "isDefault": true,
- "selectable": true
}
], - "storageClassesObservedAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Creates a cluster hosted by Wodby and billed to the organization. List machine types with GET /wodby- cloud/machine-types.
| 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. |
{- "orgId": 0,
- "projectId": 0,
- "availableToAllProjects": true,
- "demo": true,
- "singleNode": true,
- "region": "string",
- "machineType": "string",
- "minNodeCount": 0,
- "maxNodeCount": 0,
- "environmentPolicy": {
- "envId": 0,
- "envType": "prod",
- "scope": "all",
- "allowedEnvIds": [
- 0
], - "allowedEnvTypes": [
- "prod"
]
}
}{- "cluster": {
- "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": {
- "machineType": "string",
- "minNodeCount": 0,
- "maxNodeCount": 0,
- "nodeDiskSize": 0
}, - "lastNodesReady": 0,
- "lastNodesTotal": 0,
- "region": "string",
- "zone": "string",
- "ips": [
- "string"
], - "hostname": "string",
- "integrationId": 0,
- "envId": 0,
- "envType": "prod",
- "envScope": "all",
- "allowedEnvIds": [
- 0
], - "allowedEnvTypes": [
- "prod"
], - "orgId": 0,
- "ownershipScope": "org",
- "ownerProjectId": 0,
- "availableToAllProjects": true,
- "capabilities": {
- "envoyGateway": true,
- "redirectRoutes": true
}, - "settings": {
- "autoInfrastructureUpgrade": {
- "enabled": true,
- "infra": {
- "enabled": true,
- "versionPolicy": {
- "allowSameVersion": true,
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "timeWindow": {
- "start": "02:00",
- "end": "04:00",
- "timeZone": "UTC",
- "days": [
- "MONDAY"
]
}
}, - "apps": {
- "enabled": true,
- "versionPolicy": {
- "allowSameVersion": true,
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "timeWindow": {
- "start": "02:00",
- "end": "04:00",
- "timeZone": "UTC",
- "days": [
- "MONDAY"
]
}
}
}, - "autoKubernetesUpgrade": {
- "enabled": true,
- "allowPatch": true,
- "allowMinor": true,
- "minorOnlyAfterEndOfLife": true,
- "timeWindow": {
- "start": "02:00",
- "end": "04:00",
- "timeZone": "UTC",
- "days": [
- "MONDAY"
]
}, - "includeComponentUpdates": true
}, - "clusterCapabilities": {
- "autoInstall": true,
- "stackRevisionIds": [
- 1
]
}
}, - "storageClasses": [
- {
- "name": "string",
- "provisioner": "string",
- "reclaimPolicy": "string",
- "allowVolumeExpansion": true,
- "mountOptions": [
- "string"
], - "volumeBindingMode": "string",
- "isDefault": true,
- "selectable": true
}
], - "storageClassesObservedAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "taskId": 0
}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.
| id required | integer |
{- "command": "string"
}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.
| id required | integer |
{- "command": "string"
}Returns the nodes of a K3s cluster, read live from the cluster, the server first. The ID is the cluster's.
| id required | integer |
[- {
- "name": "string",
- "role": "server",
- "ready": true,
- "schedulable": true,
- "version": "string",
- "internalIp": "string",
- "externalIp": "string",
- "localVolumes": [
- "string"
], - "capacity": {
- "cpu": 0,
- "memory": 0,
- "disk": 0,
- "gpus": 0
}, - "createdAt": "2019-08-24T14:15:22Z"
}
]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.
| id required | integer |
[- {
- "name": "string",
- "ready": true,
- "schedulable": true,
- "version": "string",
- "machineType": "string",
- "zone": "string",
- "gpuNodePool": true,
- "internalIp": "string",
- "externalIp": "string",
- "capacity": {
- "cpu": 0,
- "memory": 0,
- "disk": 0,
- "gpus": 0
}, - "createdAt": "2019-08-24T14:15:22Z"
}
]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.
| id required | integer |
[- {
- "address": "string",
- "networkInterface": "string",
- "mtu": 0,
- "persistent": true,
- "persistentSource": "string"
}
]Returns the machine types available for Wodby Cloud clusters with their prices.
[- {
- "name": "string",
- "title": "string",
- "sharedCpu": true,
- "priceHourly": 0,
- "priceMonthly": 0,
- "disk": 0
}
]Returns stack and service revision changes for infrastructure apps on the cluster.
| id required | integer |
| appInstanceId | integer |
[- {
- "appInstanceId": 0,
- "appName": "string",
- "appTitle": "string",
- "previousStackVersion": "string",
- "stackVersion": "string",
- "previousStackRevNumber": 0,
- "stackRevNumber": 0,
- "serviceChanges": [
- {
- "name": "string",
- "title": "string",
- "icon": "string",
- "kind": "string",
- "previousVersion": "string",
- "version": "string",
- "previousRevNumber": 0,
- "revNumber": 0,
- "entries": [
- {
- "tag": "string",
- "description": "string"
}
]
}
]
}
]Returns databases matching the request filters.
| 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 |
[- {
- "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"
}
]Creates a database and returns the created resource.
| 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 |
{- "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
}{- "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"
}Returns the database identified by name.
| name required | string |
| orgId | integer Optional for API-key requests; defaults to the API key's organization. If provided, it must match the key's organization. |
{- "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"
}Returns the database identified by the request path.
| id required | integer |
{- "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"
}Updates the database and returns the updated resource.
| id required | integer |
| title required | string |
{- "title": "string"
}{- "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"
}Returns who owns the database and which projects can use it.
| id required | integer |
{- "ownershipScope": "org",
- "ownerProjectId": 0,
- "availableToAllProjects": true,
- "sharedProjects": [
- {
- "projectId": 0,
- "role": "owner"
}
]
}Changes the database owner and replaces the projects it is shared with. Returns the resulting sharing.
| id required | integer |
| 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. |
{- "ownershipScope": "org",
- "ownerProjectId": 0,
- "sharedProjects": [
- {
- "projectId": 0,
- "access": "read"
}
], - "availableToAllProjects": true
}{- "ownershipScope": "org",
- "ownerProjectId": 0,
- "availableToAllProjects": true,
- "sharedProjects": [
- {
- "projectId": 0,
- "role": "owner"
}
]
}Returns charset and default collation options supported by a database.
| id required | integer |
[- {
- "name": "string",
- "title": "string",
- "defaultCollation": "string",
- "default": true
}
]Returns DBs that belong to a database.
| databaseId required | integer |
[- {
- "id": 0,
- "databaseId": 0,
- "name": "string",
- "collation": "string",
- "charset": "string",
- "status": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z"
}
]Creates a DB inside a database.
| databaseId required | integer |
| name required | string |
| charset | string or null |
| collation | string or null |
{- "databaseId": 0,
- "name": "string",
- "charset": "string",
- "collation": "string"
}{- "id": 0,
- "databaseId": 0,
- "name": "string",
- "collation": "string",
- "charset": "string",
- "status": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z"
}Returns the database DB identified by the request path.
| id required | integer |
{- "id": 0,
- "databaseId": 0,
- "name": "string",
- "collation": "string",
- "charset": "string",
- "status": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z"
}Returns users that belong to a database without revealing passwords.
| databaseId required | integer |
[- {
- "id": 0,
- "databaseId": 0,
- "name": "string",
- "passwordSecretId": 0,
- "hostname": "string",
- "status": "string",
- "dbs": [
- {
- "id": 0,
- "databaseId": 0,
- "name": "string",
- "collation": "string",
- "charset": "string",
- "status": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "updatedAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z"
}
]Creates a database user and optionally grants it access to DBs.
| databaseId required | integer |
| name required | string |
| password required | string |
| hostname | string or null |
| databaseDbIds | Array of integers |
{- "databaseId": 0,
- "name": "string",
- "password": "string",
- "hostname": "string",
- "databaseDbIds": [
- 0
]
}{- "id": 0,
- "databaseId": 0,
- "name": "string",
- "passwordSecretId": 0,
- "hostname": "string",
- "status": "string",
- "dbs": [
- {
- "id": 0,
- "databaseId": 0,
- "name": "string",
- "collation": "string",
- "charset": "string",
- "status": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "updatedAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z"
}Replaces the DB grants for a database user.
| id required | integer |
| databaseDbIds required | Array of integers |
{- "databaseDbIds": [
- 0
]
}{- "id": 0,
- "databaseId": 0,
- "name": "string",
- "passwordSecretId": 0,
- "hostname": "string",
- "status": "string",
- "dbs": [
- {
- "id": 0,
- "databaseId": 0,
- "name": "string",
- "collation": "string",
- "charset": "string",
- "status": "string",
- "updatedAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "updatedAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z"
}Returns integrations matching the request filters.
| 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. |
[- {
- "id": 0,
- "title": "string",
- "status": "string",
- "scope": "string",
- "auth": "string",
- "outdated": true,
- "providerRevId": 0,
- "orgId": 0,
- "primaryEnvId": 0,
- "primaryEnvType": "prod",
- "envScope": "all",
- "allowedEnvIds": [
- 0
], - "allowedEnvTypes": [
- "prod"
], - "ownershipScope": "org",
- "ownerProjectId": 0,
- "availableToAllProjects": true,
- "icon": "string",
- "kinds": [
- {
- "id": 0,
- "name": "string",
- "title": "string",
- "type": "string",
- "status": "string"
}
], - "fieldValues": [
- {
- "id": 0,
- "field": "string",
- "value": "string"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]Creates an integration and returns the created resource.
| 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. |
{- "orgId": 0,
- "providerId": 0,
- "title": "string",
- "kinds": [
- "string"
], - "auth": "string",
- "projectId": 0,
- "availableToAllProjects": true,
- "fieldsInput": [
- {
- "name": "string",
- "value": "string",
- "envType": "dev"
}
], - "scope": "string",
- "environmentPolicy": {
- "primaryEnvId": 0,
- "primaryEnvType": "prod",
- "scope": "all",
- "allowedEnvIds": [
- 0
], - "allowedEnvTypes": [
- "prod"
]
}
}{- "id": 0,
- "title": "string",
- "status": "string",
- "scope": "string",
- "auth": "string",
- "outdated": true,
- "providerRevId": 0,
- "orgId": 0,
- "primaryEnvId": 0,
- "primaryEnvType": "prod",
- "envScope": "all",
- "allowedEnvIds": [
- 0
], - "allowedEnvTypes": [
- "prod"
], - "ownershipScope": "org",
- "ownerProjectId": 0,
- "availableToAllProjects": true,
- "icon": "string",
- "kinds": [
- {
- "id": 0,
- "name": "string",
- "title": "string",
- "type": "string",
- "status": "string"
}
], - "fieldValues": [
- {
- "id": 0,
- "field": "string",
- "value": "string"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Reuses an accessible integration when provider, kinds, scope, environment scopes, and credential values match exactly; otherwise creates it.
| 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. |
{- "orgId": 0,
- "providerId": 0,
- "title": "string",
- "kinds": [
- "string"
], - "auth": "string",
- "projectId": 0,
- "availableToAllProjects": true,
- "fieldsInput": [
- {
- "name": "string",
- "value": "string",
- "envType": "dev"
}
], - "scope": "string",
- "environmentPolicy": {
- "primaryEnvId": 0,
- "primaryEnvType": "prod",
- "scope": "all",
- "allowedEnvIds": [
- 0
], - "allowedEnvTypes": [
- "prod"
]
}
}{- "integration": {
- "id": 0,
- "title": "string",
- "status": "string",
- "scope": "string",
- "auth": "string",
- "outdated": true,
- "providerRevId": 0,
- "orgId": 0,
- "primaryEnvId": 0,
- "primaryEnvType": "prod",
- "envScope": "all",
- "allowedEnvIds": [
- 0
], - "allowedEnvTypes": [
- "prod"
], - "ownershipScope": "org",
- "ownerProjectId": 0,
- "availableToAllProjects": true,
- "icon": "string",
- "kinds": [
- {
- "id": 0,
- "name": "string",
- "title": "string",
- "type": "string",
- "status": "string"
}
], - "fieldValues": [
- {
- "id": 0,
- "field": "string",
- "value": "string"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "created": true
}Returns accessible integrations matching structured type, status, label, variable, project, and environment requirements.
| 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" |
{- "orgId": 0,
- "projectIds": [
- 0
], - "types": [
- "GIT"
], - "statuses": [
- "OK"
], - "labels": [
- "string"
], - "variables": [
- {
- "name": "string",
- "secret": false,
- "optional": false
}
], - "envId": 1,
- "envType": "prod"
}[- {
- "id": 0,
- "title": "string",
- "status": "string",
- "scope": "string",
- "auth": "string",
- "outdated": true,
- "providerRevId": 0,
- "orgId": 0,
- "primaryEnvId": 0,
- "primaryEnvType": "prod",
- "envScope": "all",
- "allowedEnvIds": [
- 0
], - "allowedEnvTypes": [
- "prod"
], - "ownershipScope": "org",
- "ownerProjectId": 0,
- "availableToAllProjects": true,
- "icon": "string",
- "kinds": [
- {
- "id": 0,
- "name": "string",
- "title": "string",
- "type": "string",
- "status": "string"
}
], - "fieldValues": [
- {
- "id": 0,
- "field": "string",
- "value": "string"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]Returns whether a file exists at an exact repository ref through the selected Git integration.
| id required | integer |
| remoteGitRepoId required | string |
| path required | string |
| ref required | string |
{- "exists": true
}Returns Kubernetes machine types matching the request filters.
| id required | integer |
| location required | string |
[- {
- "name": "string",
- "cpu": 0,
- "mem": 0,
- "disk": 0,
- "sharedCPU": true,
- "available": true,
- "family": "string",
- "minStorageSize": 0,
- "maxStorageSize": 0,
- "minIOPS": 0,
- "maxIOPS": 0,
- "defaultIOPS": 0,
- "storageOptions": [
- { }
], - "gpus": [
- {
- "manufacturer": "string",
- "model": "string",
- "count": 1,
- "memoryMiB": 0
}
]
}
]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).
| id required | integer |
{ }Returns the integration identified by the request path.
| id required | integer |
{- "id": 0,
- "title": "string",
- "status": "string",
- "scope": "string",
- "auth": "string",
- "outdated": true,
- "providerRevId": 0,
- "orgId": 0,
- "primaryEnvId": 0,
- "primaryEnvType": "prod",
- "envScope": "all",
- "allowedEnvIds": [
- 0
], - "allowedEnvTypes": [
- "prod"
], - "ownershipScope": "org",
- "ownerProjectId": 0,
- "availableToAllProjects": true,
- "icon": "string",
- "kinds": [
- {
- "id": 0,
- "name": "string",
- "title": "string",
- "type": "string",
- "status": "string"
}
], - "fieldValues": [
- {
- "id": 0,
- "field": "string",
- "value": "string"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Updates the integration and returns the updated resource.
| id required | integer |
| title required | string |
| kinds required | Array of strings |
| scope | string or null |
Array of objects (FieldInput) |
{- "title": "string",
- "kinds": [
- "string"
], - "scope": "string",
- "fieldsInput": [
- {
- "name": "string",
- "value": "string",
- "envType": "dev"
}
]
}{- "id": 0,
- "title": "string",
- "status": "string",
- "scope": "string",
- "auth": "string",
- "outdated": true,
- "providerRevId": 0,
- "orgId": 0,
- "primaryEnvId": 0,
- "primaryEnvType": "prod",
- "envScope": "all",
- "allowedEnvIds": [
- 0
], - "allowedEnvTypes": [
- "prod"
], - "ownershipScope": "org",
- "ownerProjectId": 0,
- "availableToAllProjects": true,
- "icon": "string",
- "kinds": [
- {
- "id": 0,
- "name": "string",
- "title": "string",
- "type": "string",
- "status": "string"
}
], - "fieldValues": [
- {
- "id": 0,
- "field": "string",
- "value": "string"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Returns the compatibility decision and revision details for upgrading an integration.
| id required | integer |
{- "state": "current",
- "reasons": [
- "string"
], - "removedFields": [
- "string"
], - "canDropRemovedFields": true,
- "currentRevision": {
- "id": 0,
- "name": "string",
- "icon": "string",
- "title": "string",
- "number": 0,
- "version": "string",
- "providerId": 0,
- "manifest": { },
- "permissionAudit": true,
- "createdAt": "2019-08-24T14:15:22Z"
}, - "targetRevision": {
- "id": 0,
- "name": "string",
- "icon": "string",
- "title": "string",
- "number": 0,
- "version": "string",
- "providerId": 0,
- "manifest": { },
- "permissionAudit": true,
- "createdAt": "2019-08-24T14:15:22Z"
}
}Updates the associated environment and exact allowed environment scope. Scope reductions that conflict with existing references are rejected.
| id required | integer |
| 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" |
{- "primaryEnvId": 0,
- "primaryEnvType": "prod",
- "scope": "all",
- "allowedEnvIds": [
- 0
], - "allowedEnvTypes": [
- "prod"
]
}{- "id": 0,
- "title": "string",
- "status": "string",
- "scope": "string",
- "auth": "string",
- "outdated": true,
- "providerRevId": 0,
- "orgId": 0,
- "primaryEnvId": 0,
- "primaryEnvType": "prod",
- "envScope": "all",
- "allowedEnvIds": [
- 0
], - "allowedEnvTypes": [
- "prod"
], - "ownershipScope": "org",
- "ownerProjectId": 0,
- "availableToAllProjects": true,
- "icon": "string",
- "kinds": [
- {
- "id": 0,
- "name": "string",
- "title": "string",
- "type": "string",
- "status": "string"
}
], - "fieldValues": [
- {
- "id": 0,
- "field": "string",
- "value": "string"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}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.
| id required | integer |
| page | integer >= 1 Page number, defaults to 1 |
| pageSize | integer >= 1 Page size, defaults to 30 |
{- "items": [
- {
- "id": "string",
- "category": "current",
- "kind": "application_access",
- "detail": "string",
- "target": {
- "id": 0,
- "type": "organization",
- "name": "string",
- "title": "string",
- "icon": "string",
- "parent": { }
}, - "createdAt": "2019-08-24T14:15:22Z"
}
], - "totalCount": 0,
- "nextPage": 0
}Returns who owns the integration and which projects can use it.
| id required | integer |
{- "ownershipScope": "org",
- "ownerProjectId": 0,
- "availableToAllProjects": true,
- "sharedProjects": [
- {
- "projectId": 0,
- "role": "owner"
}
]
}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.
| id required | integer |
| 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. |
{- "ownershipScope": "org",
- "ownerProjectId": 0,
- "sharedProjects": [
- {
- "projectId": 0,
- "access": "read"
}
], - "availableToAllProjects": true
}{- "ownershipScope": "org",
- "ownerProjectId": 0,
- "availableToAllProjects": true,
- "sharedProjects": [
- {
- "projectId": 0,
- "role": "owner"
}
]
}Atomically updates integration metadata, adds selected kinds, merges field values, and returns any background activation or permission-test task.
| id required | integer |
| title required | string |
| kinds required | Array of strings |
| scope | string or null |
Array of objects (FieldInput) |
{- "title": "string",
- "kinds": [
- "string"
], - "scope": "string",
- "fieldsInput": [
- {
- "name": "string",
- "value": "string",
- "envType": "dev"
}
]
}{- "integration": {
- "id": 0,
- "title": "string",
- "status": "string",
- "scope": "string",
- "auth": "string",
- "outdated": true,
- "providerRevId": 0,
- "orgId": 0,
- "primaryEnvId": 0,
- "primaryEnvType": "prod",
- "envScope": "all",
- "allowedEnvIds": [
- 0
], - "allowedEnvTypes": [
- "prod"
], - "ownershipScope": "org",
- "ownerProjectId": 0,
- "availableToAllProjects": true,
- "icon": "string",
- "kinds": [
- {
- "id": 0,
- "name": "string",
- "title": "string",
- "type": "string",
- "status": "string"
}
], - "fieldValues": [
- {
- "id": 0,
- "field": "string",
- "value": "string"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "taskId": 0,
- "warnings": [
- "string"
]
}Returns supported Private App Access modes, scopes, fields, and hostname behavior for the integration.
| id required | integer |
{- "provider": "string",
- "modes": [
- "string"
], - "scopes": [
- "string"
], - "endpointHostMode": "string",
- "fields": [
- {
- "name": "string",
- "label": "string",
- "description": "string",
- "required": true,
- "radio": true,
- "hostnameSuffix": true,
- "affectsHostname": true,
- "defaultValue": "string",
- "options": [
- {
- "value": "string",
- "label": "string",
- "flattenHostnamePrefix": true,
- "warningTitle": "string",
- "warning": "string",
- "warningUrl": "string"
}
]
}
], - "configurations": [
- {
- "mode": "string",
- "endpointHostMode": "string",
- "fields": [
- {
- "name": "string",
- "label": "string",
- "description": "string",
- "required": true,
- "radio": true,
- "hostnameSuffix": true,
- "affectsHostname": true,
- "defaultValue": "string",
- "options": [
- {
- "value": "string",
- "label": "string",
- "flattenHostnamePrefix": true,
- "warningTitle": "string",
- "warning": "string",
- "warningUrl": "string"
}
]
}
]
}
]
}Validates a Private App Access hostname against the provider settings of the integration.
| id required | integer |
Array of objects (AppAccessSettingInput) | |
| host required | string |
{- "settings": [
- {
- "name": "string",
- "value": "string"
}
], - "host": "string"
}{- "valid": true
}Upgrades an integration to its eligible provider revision and optionally drops fields removed by the target contract.
| id required | integer |
| dropRemovedFields required | boolean Permanently deletes fields absent from the target revision when the preview allows it. |
{- "dropRemovedFields": true
}{- "success": true,
- "taskId": 0
}Returns database machine types matching the request filters.
| id required | integer |
| dbType required | string |
| version required | string |
| ha | boolean Default: false |
| region | string |
| zone | string |
[- {
- "name": "string",
- "cpu": 0,
- "mem": 0,
- "disk": 0,
- "sharedCPU": true,
- "available": true,
- "family": "string",
- "minStorageSize": 0,
- "maxStorageSize": 0,
- "minIOPS": 0,
- "maxIOPS": 0,
- "defaultIOPS": 0,
- "storageOptions": [
- { }
], - "gpus": [
- {
- "manufacturer": "string",
- "model": "string",
- "count": 1,
- "memoryMiB": 0
}
]
}
]Returns providers matching the request filters.
| 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 |
{- "items": [
- {
- "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"
}
], - "totalCount": 0,
- "nextPage": 0
}Creates a private provider whose integration fields are exposed as service environment variables.
| 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 |
{- "orgId": 0,
- "projectId": 0,
- "name": "string",
- "title": "string",
- "fields": [
- {
- "name": "string",
- "label": "string",
- "variable": "string",
- "required": true,
- "secret": true
}
]
}{- "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"
}Creates a namespaced, versioned variable provider from manifest YAML.
| 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. |
{- "orgId": 0,
- "projectId": 0,
- "manifestYaml": "string"
}{- "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"
}Starts a task that imports provider.yml or all providers listed by index.yml from a Git repository.
| 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) |
{- "orgId": 0,
- "projectId": 0,
- "integrationId": 0,
- "remoteGitRepoId": "string",
- "gitRef": "string",
- "gitRefType": "string",
- "autoUpdate": {
- "enabled": true,
- "branches": true,
- "semverTags": true,
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}
}{- "success": true,
- "taskId": 0
}Starts an update from the selected ref. Changing a shared repository ref updates all repository usages.
| id required | integer |
| 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. |
{- "gitRef": "string",
- "gitRefType": "string",
- "serviceUpdates": "string"
}{- "success": true,
- "taskId": 0
}Starts an update of a non-Git provider from versioned manifest YAML.
| id required | integer |
| manifestYaml required | string Complete versioned variable provider manifest YAML. |
{- "manifestYaml": "string"
}{- "success": true,
- "taskId": 0
}Updates Git auto-update settings shared by the repository usages.
| id required | integer |
required | object (GitAutoUpdateSettingsInput) |
{- "gitAutoUpdate": {
- "enabled": true,
- "branches": true,
- "semverTags": true,
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}
}{- "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"
}Returns who owns the provider and which projects can use it.
| id required | integer |
{- "ownershipScope": "org",
- "ownerProjectId": 0,
- "availableToAllProjects": true,
- "sharedProjects": [
- {
- "projectId": 0,
- "role": "owner"
}
]
}Changes the provider owner and replaces the projects it is shared with. Returns the resulting sharing.
| id required | integer |
| 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. |
{- "ownershipScope": "org",
- "ownerProjectId": 0,
- "sharedProjects": [
- {
- "projectId": 0,
- "access": "read"
}
], - "availableToAllProjects": true
}{- "ownershipScope": "org",
- "ownerProjectId": 0,
- "availableToAllProjects": true,
- "sharedProjects": [
- {
- "projectId": 0,
- "role": "owner"
}
]
}Returns the provider identified by name.
| name required | string |
{- "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"
}Returns the provider identified by the request path.
| id required | integer |
{- "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"
}Changes the provider title and returns the provider.
| id required | integer |
| title required | string non-empty |
{- "title": "string"
}{- "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"
}Returns the provider revision identified by the request path.
| id required | integer |
{- "id": 0,
- "name": "string",
- "icon": "string",
- "title": "string",
- "number": 0,
- "version": "string",
- "providerId": 0,
- "manifest": { },
- "permissionAudit": true,
- "createdAt": "2019-08-24T14:15:22Z"
}Returns every service, stack, and provider that shares the Git repository.
| id required | integer |
{- "services": [
- {
- "id": 0,
- "name": "string",
- "title": "string"
}
], - "stacks": [
- {
- "id": 0,
- "name": "string",
- "title": "string"
}
], - "providers": [
- {
- "id": 0,
- "name": "string",
- "title": "string"
}
]
}Starts one parent task that updates every service, stack, and provider sharing the selected repository to the requested ref.
| id required | integer |
| 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. |
{- "gitRef": "string",
- "gitRefType": "string",
- "serviceUpdates": "string"
}{- "success": true,
- "taskId": 0
}Renders a Helm chart with optional values and returns detected Kubernetes resources, warnings, and chart metadata.
| 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. |
{- "sourceName": "string",
- "source": "string",
- "chart": "string",
- "version": "string",
- "release": "string",
- "namespace": "string",
- "values": { },
- "valuesYaml": "string"
}{- "chart": {
- "name": "string",
- "version": "string",
- "appVersion": "string",
- "description": "string",
- "source": "string",
- "chart": "string"
}, - "release": "string",
- "namespace": "string",
- "resourceCount": 0,
- "workloads": [
- {
- "kind": "string",
- "name": "string",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "selector": {
- "property1": "string",
- "property2": "string"
}, - "podLabels": {
- "property1": "string",
- "property2": "string"
}, - "containers": [
- {
- "name": "string",
- "image": "string",
- "command": [
- "string"
], - "args": [
- "string"
], - "ports": [
- {
- "name": "string",
- "number": 0,
- "protocol": "string"
}
], - "env": [
- "string"
]
}
], - "initContainers": [
- {
- "name": "string",
- "image": "string",
- "command": [
- "string"
], - "args": [
- "string"
], - "ports": [
- {
- "name": "string",
- "number": 0,
- "protocol": "string"
}
], - "env": [
- "string"
]
}
], - "volumes": [
- {
- "name": "string",
- "size": "string",
- "storageClassName": "string",
- "accessModes": [
- "string"
]
}
]
}
], - "services": [
- {
- "name": "string",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "selector": {
- "property1": "string",
- "property2": "string"
}, - "ports": [
- {
- "name": "string",
- "number": 0,
- "targetPort": "string",
- "protocol": "string"
}
], - "headless": true
}
], - "volumeClaims": [
- {
- "name": "string",
- "size": "string",
- "storageClassName": "string",
- "accessModes": [
- "string"
]
}
], - "crds": [
- {
- "kind": "string",
- "apiVersion": "string",
- "name": "string",
- "namespace": "string",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
], - "clusterResources": [
- {
- "kind": "string",
- "apiVersion": "string",
- "name": "string",
- "namespace": "string",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
], - "hooks": [
- {
- "kind": "string",
- "apiVersion": "string",
- "name": "string",
- "namespace": "string",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
], - "unsupportedKinds": [
- "string"
], - "warnings": [
- "string"
]
}Returns services matching the request filters.
| 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 |
{- "items": [
- {
- "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": {
- "gitAutoUpdate": {
- "enabled": true,
- "branches": true,
- "semverTags": true,
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "autoBaseRevisionUpdate": {
- "enabled": true
}
}, - "vulnerabilities": {
- "critical": 0,
- "high": 0,
- "urgent": 0
}, - "archivedAt": "2019-08-24T14:15:22Z",
- "archiveReason": "manual",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "totalCount": 0,
- "nextPage": 0
}Starts a task that imports services from a Git repository.
| 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. |
{- "orgId": 0,
- "projectId": 0,
- "integrationId": 0,
- "remoteGitRepoId": "string",
- "gitRef": "string",
- "gitRefType": "string",
- "autoUpdate": {
- "enabled": true,
- "branches": true,
- "semverTags": true,
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "registryIntegrationId": 0,
- "availableToAllProjects": true
}{- "success": true,
- "taskId": 0
}Validates a Wodby service manifest without creating a service.
| 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. |
{- "orgId": 0,
- "projectId": 0,
- "availableToAllProjects": true,
- "version": "string",
- "manifestYaml": "string",
- "files": {
- "property1": "string",
- "property2": "string"
}
}{- "valid": true,
- "error": "string",
- "resource": { },
- "manifest": { }
}Creates a non-Git Wodby service from a service manifest.
| 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. |
{- "orgId": 0,
- "projectId": 0,
- "availableToAllProjects": true,
- "version": "string",
- "manifestYaml": "string",
- "files": {
- "property1": "string",
- "property2": "string"
}
}{- "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": {
- "gitAutoUpdate": {
- "enabled": true,
- "branches": true,
- "semverTags": true,
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "autoBaseRevisionUpdate": {
- "enabled": true
}
}, - "vulnerabilities": {
- "critical": 0,
- "high": 0,
- "urgent": 0
}, - "archivedAt": "2019-08-24T14:15:22Z",
- "archiveReason": "manual",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Renders a Helm chart and returns a best-effort Wodby service manifest for review and validation.
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. |
{- "chart": {
- "sourceName": "string",
- "source": "string",
- "chart": "string",
- "version": "string",
- "release": "string",
- "namespace": "string",
- "values": { },
- "valuesYaml": "string"
}, - "serviceName": "string",
- "serviceTitle": "string",
- "serviceType": "string",
- "icon": "string"
}{- "analysis": {
- "chart": {
- "name": "string",
- "version": "string",
- "appVersion": "string",
- "description": "string",
- "source": "string",
- "chart": "string"
}, - "release": "string",
- "namespace": "string",
- "resourceCount": 0,
- "workloads": [
- {
- "kind": "string",
- "name": "string",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "selector": {
- "property1": "string",
- "property2": "string"
}, - "podLabels": {
- "property1": "string",
- "property2": "string"
}, - "containers": [
- {
- "name": "string",
- "image": "string",
- "command": [
- "string"
], - "args": [
- "string"
], - "ports": [
- {
- "name": "string",
- "number": 0,
- "protocol": "string"
}
], - "env": [
- "string"
]
}
], - "initContainers": [
- {
- "name": "string",
- "image": "string",
- "command": [
- "string"
], - "args": [
- "string"
], - "ports": [
- {
- "name": "string",
- "number": 0,
- "protocol": "string"
}
], - "env": [
- "string"
]
}
], - "volumes": [
- {
- "name": "string",
- "size": "string",
- "storageClassName": "string",
- "accessModes": [
- "string"
]
}
]
}
], - "services": [
- {
- "name": "string",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "selector": {
- "property1": "string",
- "property2": "string"
}, - "ports": [
- {
- "name": "string",
- "number": 0,
- "targetPort": "string",
- "protocol": "string"
}
], - "headless": true
}
], - "volumeClaims": [
- {
- "name": "string",
- "size": "string",
- "storageClassName": "string",
- "accessModes": [
- "string"
]
}
], - "crds": [
- {
- "kind": "string",
- "apiVersion": "string",
- "name": "string",
- "namespace": "string",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
], - "clusterResources": [
- {
- "kind": "string",
- "apiVersion": "string",
- "name": "string",
- "namespace": "string",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
], - "hooks": [
- {
- "kind": "string",
- "apiVersion": "string",
- "name": "string",
- "namespace": "string",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
], - "unsupportedKinds": [
- "string"
], - "warnings": [
- "string"
]
}, - "manifestYaml": "string",
- "manifest": { },
- "warnings": [
- "string"
]
}Starts a task that moves a Git-sourced service to another ref.
| id required | integer |
| 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. |
{- "gitRef": "string",
- "gitRefType": "string",
- "serviceUpdates": "string"
}{- "success": true,
- "taskId": 0
}Returns the services whose manifests inherit from the named service with from.
| name required | string |
[- {
- "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": {
- "gitAutoUpdate": {
- "enabled": true,
- "branches": true,
- "semverTags": true,
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "autoBaseRevisionUpdate": {
- "enabled": true
}
}, - "vulnerabilities": {
- "critical": 0,
- "high": 0,
- "urgent": 0
}, - "archivedAt": "2019-08-24T14:15:22Z",
- "archiveReason": "manual",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]Returns the service identified by name.
| name required | string |
| revNumber | integer |
{- "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": {
- "gitAutoUpdate": {
- "enabled": true,
- "branches": true,
- "semverTags": true,
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "autoBaseRevisionUpdate": {
- "enabled": true
}
}, - "vulnerabilities": {
- "critical": 0,
- "high": 0,
- "urgent": 0
}, - "archivedAt": "2019-08-24T14:15:22Z",
- "archiveReason": "manual",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Returns the service identified by the request path.
| id required | integer |
{- "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": {
- "gitAutoUpdate": {
- "enabled": true,
- "branches": true,
- "semverTags": true,
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "autoBaseRevisionUpdate": {
- "enabled": true
}
}, - "vulnerabilities": {
- "critical": 0,
- "high": 0,
- "urgent": 0
}, - "archivedAt": "2019-08-24T14:15:22Z",
- "archiveReason": "manual",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}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.
| id required | integer |
{- "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": {
- "gitAutoUpdate": {
- "enabled": true,
- "branches": true,
- "semverTags": true,
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "autoBaseRevisionUpdate": {
- "enabled": true
}
}, - "vulnerabilities": {
- "critical": 0,
- "high": 0,
- "urgent": 0
}, - "archivedAt": "2019-08-24T14:15:22Z",
- "archiveReason": "manual",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Returns an archived service to service lists, so stacks and services can use it again.
| id required | integer |
{- "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": {
- "gitAutoUpdate": {
- "enabled": true,
- "branches": true,
- "semverTags": true,
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "autoBaseRevisionUpdate": {
- "enabled": true
}
}, - "vulnerabilities": {
- "critical": 0,
- "high": 0,
- "urgent": 0
}, - "archivedAt": "2019-08-24T14:15:22Z",
- "archiveReason": "manual",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Updates an existing non-Git Wodby service from a service manifest and starts a service update task.
| id required | integer |
| 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. |
{- "version": "string",
- "manifestYaml": "string",
- "files": {
- "property1": "string",
- "property2": "string"
}
}{- "success": true,
- "taskId": 0
}Updates service settings and returns the updated service.
| id required | integer |
object (GitAutoUpdateSettingsInput) | |
object (ServiceAutoBaseRevisionUpdateSettingsInput) |
{- "gitAutoUpdate": {
- "enabled": true,
- "branches": true,
- "semverTags": true,
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "autoBaseRevisionUpdate": {
- "enabled": true
}
}{- "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": {
- "gitAutoUpdate": {
- "enabled": true,
- "branches": true,
- "semverTags": true,
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "autoBaseRevisionUpdate": {
- "enabled": true
}
}, - "vulnerabilities": {
- "critical": 0,
- "high": 0,
- "urgent": 0
}, - "archivedAt": "2019-08-24T14:15:22Z",
- "archiveReason": "manual",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Returns who owns the service and which projects can use it.
| id required | integer |
{- "ownershipScope": "org",
- "ownerProjectId": 0,
- "availableToAllProjects": true,
- "sharedProjects": [
- {
- "projectId": 0,
- "role": "owner"
}
]
}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.
| id required | integer |
| 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. |
{- "ownershipScope": "org",
- "ownerProjectId": 0,
- "sharedProjects": [
- {
- "projectId": 0,
- "access": "read"
}
], - "availableToAllProjects": true
}{- "ownershipScope": "org",
- "ownerProjectId": 0,
- "availableToAllProjects": true,
- "sharedProjects": [
- {
- "projectId": 0,
- "role": "owner"
}
]
}Returns the configuration files of a service revision with the default content Wodby resolved for one option version and platform.
| id required | integer |
| optionVersion required | string Service option version. |
| platform | string Image platform. Defaults to linux/amd64. |
[- {
- "name": "string",
- "title": "string",
- "filepath": "string",
- "manifestVersion": "string",
- "defaultSource": "image",
- "defaultConfig": "string",
- "status": "pending",
- "legacyFallback": true,
- "image": "string",
- "imageDigest": "string",
- "sourcePath": "string",
- "platform": "string",
- "error": "string",
- "fetchedAt": "2019-08-24T14:15:22Z"
}
]Returns the service revision identified by the request path.
| id required | integer |
{- "id": 0,
- "name": "string",
- "title": "string",
- "type": "string",
- "external": true,
- "number": 0,
- "version": "string",
- "serviceId": 0,
- "manifest": {
- "raw": "string",
- "scalable": true,
- "basicAuth": true,
- "labels": [
- "string"
], - "crossApp": true,
- "exports": [
- {
- "name": "string",
- "secret": true
}
], - "integrations": [
- {
- "name": "string",
- "title": "string",
- "type": "GIT",
- "labels": [
- "string"
], - "variables": [
- {
- "name": "string",
- "secret": true,
- "optional": true
}
], - "env": [
- {
- "name": "string",
- "value": "string",
- "secret": true,
- "env": "string",
- "runtime": true,
- "build": true
}
], - "required": true,
- "multiple": true
}
], - "links": [
- {
- "name": "string",
- "title": "string",
- "required": true,
- "selectors": [
- {
- "type": "string",
- "option": "string",
- "labels": [
- "string"
]
}
], - "custom": true,
- "crossApp": true,
- "values": [
- {
- "name": "string",
- "title": "string",
- "secret": true,
- "optional": true
}
]
}
], - "linkGroups": [
- {
- "name": "string",
- "title": "string",
- "links": [
- "string"
], - "min": 0
}
]
}, - "createdAt": "2019-08-24T14:15:22Z",
- "excludedBaseVersion": {
- "baseServiceRevisionId": 0,
- "baseServiceName": "string",
- "baseServiceVersion": "string",
- "baseServiceRevNumber": 0,
- "currentVersion": "string",
- "fromVersionConstraint": "string"
}
}Returns stacks matching the request filters.
| 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 |
{- "items": [
- {
- "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": [
- 0
], - "category": "javascript",
- "securityUpdates": 0,
- "orgId": 0,
- "ownershipScope": "org",
- "ownerProjectId": 0,
- "availableToAllProjects": true,
- "settings": {
- "gitAutoUpdate": {
- "enabled": true,
- "branches": true,
- "semverTags": true,
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "autoServiceRevisionUpdate": {
- "enabled": true,
- "policy": {
- "scope": "string",
- "versionPolicy": {
- "mode": "string",
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}
}
}, - "autoOriginStackUpdate": {
- "enabled": true,
- "versionPolicy": {
- "mode": "string",
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "syncOptions": {
- "deleteStackHelmValues": true,
- "deleteStackEnvVars": true,
- "deleteStackTokens": true,
- "deleteStackAnnotations": true,
- "deleteStackServices": true,
- "deleteStackServicesConfiguration": true
}
}, - "gitServiceUpdates": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "totalCount": 0,
- "nextPage": 0
}Creates a stack from catalog services without a manifest. Use POST /stacks/actions/create-from-manifest for a stack.yml.
| 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 |
{- "orgId": 0,
- "projectId": 0,
- "availableToAllProjects": true,
- "name": "string",
- "title": "string",
- "icon": "string",
- "services": [
- {
- "serviceId": 0,
- "name": "string",
- "title": "string",
- "required": true,
- "replicas": 0,
- "main": true,
- "serviceRevPinned": true
}
]
}{- "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": [
- 0
], - "category": "javascript",
- "securityUpdates": 0,
- "orgId": 0,
- "ownershipScope": "org",
- "ownerProjectId": 0,
- "availableToAllProjects": true,
- "settings": {
- "gitAutoUpdate": {
- "enabled": true,
- "branches": true,
- "semverTags": true,
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "autoServiceRevisionUpdate": {
- "enabled": true,
- "policy": {
- "scope": "string",
- "versionPolicy": {
- "mode": "string",
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}
}
}, - "autoOriginStackUpdate": {
- "enabled": true,
- "versionPolicy": {
- "mode": "string",
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "syncOptions": {
- "deleteStackHelmValues": true,
- "deleteStackEnvVars": true,
- "deleteStackTokens": true,
- "deleteStackAnnotations": true,
- "deleteStackServices": true,
- "deleteStackServicesConfiguration": true
}
}, - "gitServiceUpdates": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Returns the infrastructure stacks Wodby installs on clusters of a public Kubernetes provider.
| provider required | string Provider name, such as aws or digitalocean. |
[- {
- "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": [
- 0
], - "category": "javascript",
- "securityUpdates": 0,
- "orgId": 0,
- "ownershipScope": "org",
- "ownerProjectId": 0,
- "availableToAllProjects": true,
- "settings": {
- "gitAutoUpdate": {
- "enabled": true,
- "branches": true,
- "semverTags": true,
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "autoServiceRevisionUpdate": {
- "enabled": true,
- "policy": {
- "scope": "string",
- "versionPolicy": {
- "mode": "string",
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}
}
}, - "autoOriginStackUpdate": {
- "enabled": true,
- "versionPolicy": {
- "mode": "string",
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "syncOptions": {
- "deleteStackHelmValues": true,
- "deleteStackEnvVars": true,
- "deleteStackTokens": true,
- "deleteStackAnnotations": true,
- "deleteStackServices": true,
- "deleteStackServicesConfiguration": true
}
}, - "gitServiceUpdates": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]Returns public stacks that can be duplicated into an organization or project.
[- {
- "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": [
- 0
], - "category": "javascript",
- "securityUpdates": 0,
- "orgId": 0,
- "ownershipScope": "org",
- "ownerProjectId": 0,
- "availableToAllProjects": true,
- "settings": {
- "gitAutoUpdate": {
- "enabled": true,
- "branches": true,
- "semverTags": true,
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "autoServiceRevisionUpdate": {
- "enabled": true,
- "policy": {
- "scope": "string",
- "versionPolicy": {
- "mode": "string",
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}
}
}, - "autoOriginStackUpdate": {
- "enabled": true,
- "versionPolicy": {
- "mode": "string",
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "syncOptions": {
- "deleteStackHelmValues": true,
- "deleteStackEnvVars": true,
- "deleteStackTokens": true,
- "deleteStackAnnotations": true,
- "deleteStackServices": true,
- "deleteStackServicesConfiguration": true
}
}, - "gitServiceUpdates": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]Starts a task that imports stacks from a Git repository.
| 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. |
{- "orgId": 0,
- "projectId": 0,
- "integrationId": 0,
- "remoteGitRepoId": "string",
- "gitRef": "string",
- "gitRefType": "string",
- "autoUpdate": {
- "enabled": true,
- "branches": true,
- "semverTags": true,
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "availableToAllProjects": true
}{- "success": true,
- "taskId": 0
}Validates a Wodby stack manifest without creating a stack.
| 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. |
{- "orgId": 0,
- "projectId": 0,
- "availableToAllProjects": true,
- "version": "string",
- "manifestYaml": "string",
- "files": {
- "property1": "string",
- "property2": "string"
}
}{- "valid": true,
- "error": "string",
- "resource": { },
- "manifest": { }
}Creates a non-Git Wodby stack from a stack manifest.
| 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. |
{- "orgId": 0,
- "projectId": 0,
- "availableToAllProjects": true,
- "version": "string",
- "manifestYaml": "string",
- "files": {
- "property1": "string",
- "property2": "string"
}
}{- "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": [
- 0
], - "category": "javascript",
- "securityUpdates": 0,
- "orgId": 0,
- "ownershipScope": "org",
- "ownerProjectId": 0,
- "availableToAllProjects": true,
- "settings": {
- "gitAutoUpdate": {
- "enabled": true,
- "branches": true,
- "semverTags": true,
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "autoServiceRevisionUpdate": {
- "enabled": true,
- "policy": {
- "scope": "string",
- "versionPolicy": {
- "mode": "string",
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}
}
}, - "autoOriginStackUpdate": {
- "enabled": true,
- "versionPolicy": {
- "mode": "string",
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "syncOptions": {
- "deleteStackHelmValues": true,
- "deleteStackEnvVars": true,
- "deleteStackTokens": true,
- "deleteStackAnnotations": true,
- "deleteStackServices": true,
- "deleteStackServicesConfiguration": true
}
}, - "gitServiceUpdates": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Renders a Helm chart and returns best-effort Wodby service and stack manifests for review and validation.
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. |
{- "chart": {
- "sourceName": "string",
- "source": "string",
- "chart": "string",
- "version": "string",
- "release": "string",
- "namespace": "string",
- "values": { },
- "valuesYaml": "string"
}, - "serviceName": "string",
- "serviceTitle": "string",
- "serviceType": "string",
- "stackName": "string",
- "stackTitle": "string",
- "icon": "string"
}{- "analysis": {
- "chart": {
- "name": "string",
- "version": "string",
- "appVersion": "string",
- "description": "string",
- "source": "string",
- "chart": "string"
}, - "release": "string",
- "namespace": "string",
- "resourceCount": 0,
- "workloads": [
- {
- "kind": "string",
- "name": "string",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "selector": {
- "property1": "string",
- "property2": "string"
}, - "podLabels": {
- "property1": "string",
- "property2": "string"
}, - "containers": [
- {
- "name": "string",
- "image": "string",
- "command": [
- "string"
], - "args": [
- "string"
], - "ports": [
- {
- "name": "string",
- "number": 0,
- "protocol": "string"
}
], - "env": [
- "string"
]
}
], - "initContainers": [
- {
- "name": "string",
- "image": "string",
- "command": [
- "string"
], - "args": [
- "string"
], - "ports": [
- {
- "name": "string",
- "number": 0,
- "protocol": "string"
}
], - "env": [
- "string"
]
}
], - "volumes": [
- {
- "name": "string",
- "size": "string",
- "storageClassName": "string",
- "accessModes": [
- "string"
]
}
]
}
], - "services": [
- {
- "name": "string",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "selector": {
- "property1": "string",
- "property2": "string"
}, - "ports": [
- {
- "name": "string",
- "number": 0,
- "targetPort": "string",
- "protocol": "string"
}
], - "headless": true
}
], - "volumeClaims": [
- {
- "name": "string",
- "size": "string",
- "storageClassName": "string",
- "accessModes": [
- "string"
]
}
], - "crds": [
- {
- "kind": "string",
- "apiVersion": "string",
- "name": "string",
- "namespace": "string",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
], - "clusterResources": [
- {
- "kind": "string",
- "apiVersion": "string",
- "name": "string",
- "namespace": "string",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
], - "hooks": [
- {
- "kind": "string",
- "apiVersion": "string",
- "name": "string",
- "namespace": "string",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}
}
], - "unsupportedKinds": [
- "string"
], - "warnings": [
- "string"
]
}, - "serviceManifestYaml": "string",
- "serviceManifest": { },
- "stackManifestYaml": "string",
- "stackManifest": { },
- "warnings": [
- "string"
]
}Returns the stack identified by name.
| name required | string |
| revNumber | integer |
{- "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": [
- 0
], - "category": "javascript",
- "securityUpdates": 0,
- "orgId": 0,
- "ownershipScope": "org",
- "ownerProjectId": 0,
- "availableToAllProjects": true,
- "settings": {
- "gitAutoUpdate": {
- "enabled": true,
- "branches": true,
- "semverTags": true,
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "autoServiceRevisionUpdate": {
- "enabled": true,
- "policy": {
- "scope": "string",
- "versionPolicy": {
- "mode": "string",
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}
}
}, - "autoOriginStackUpdate": {
- "enabled": true,
- "versionPolicy": {
- "mode": "string",
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "syncOptions": {
- "deleteStackHelmValues": true,
- "deleteStackEnvVars": true,
- "deleteStackTokens": true,
- "deleteStackAnnotations": true,
- "deleteStackServices": true,
- "deleteStackServicesConfiguration": true
}
}, - "gitServiceUpdates": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Returns the stack identified by the request path.
| id required | integer |
{- "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": [
- 0
], - "category": "javascript",
- "securityUpdates": 0,
- "orgId": 0,
- "ownershipScope": "org",
- "ownerProjectId": 0,
- "availableToAllProjects": true,
- "settings": {
- "gitAutoUpdate": {
- "enabled": true,
- "branches": true,
- "semverTags": true,
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "autoServiceRevisionUpdate": {
- "enabled": true,
- "policy": {
- "scope": "string",
- "versionPolicy": {
- "mode": "string",
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}
}
}, - "autoOriginStackUpdate": {
- "enabled": true,
- "versionPolicy": {
- "mode": "string",
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "syncOptions": {
- "deleteStackHelmValues": true,
- "deleteStackEnvVars": true,
- "deleteStackTokens": true,
- "deleteStackAnnotations": true,
- "deleteStackServices": true,
- "deleteStackServicesConfiguration": true
}
}, - "gitServiceUpdates": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Updates the name and title of the stack identified by the request path.
| id required | integer |
| name required | string non-empty Unique stack machine name within the organization. |
| title required | string non-empty Human-readable stack title. |
{- "name": "string",
- "title": "string"
}{- "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": [
- 0
], - "category": "javascript",
- "securityUpdates": 0,
- "orgId": 0,
- "ownershipScope": "org",
- "ownerProjectId": 0,
- "availableToAllProjects": true,
- "settings": {
- "gitAutoUpdate": {
- "enabled": true,
- "branches": true,
- "semverTags": true,
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "autoServiceRevisionUpdate": {
- "enabled": true,
- "policy": {
- "scope": "string",
- "versionPolicy": {
- "mode": "string",
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}
}
}, - "autoOriginStackUpdate": {
- "enabled": true,
- "versionPolicy": {
- "mode": "string",
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "syncOptions": {
- "deleteStackHelmValues": true,
- "deleteStackEnvVars": true,
- "deleteStackTokens": true,
- "deleteStackAnnotations": true,
- "deleteStackServices": true,
- "deleteStackServicesConfiguration": true
}
}, - "gitServiceUpdates": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Updates stack settings and returns the updated stack.
| id required | integer |
object (GitAutoUpdateSettingsInput) | |
object (StackAutoServiceRevisionUpdateSettingsInput) | |
object (StackAutoOriginUpdateSettingsInput) | |
| gitServiceUpdates | string or null What an automatic update from Git does with existing stack services' versions; see StackSettings. |
{- "gitAutoUpdate": {
- "enabled": true,
- "branches": true,
- "semverTags": true,
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "autoServiceRevisionUpdate": {
- "enabled": true,
- "policy": {
- "scope": "string",
- "versionPolicy": {
- "mode": "string",
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}
}
}, - "autoOriginStackUpdate": {
- "enabled": true,
- "versionPolicy": {
- "mode": "string",
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "syncOptions": {
- "deleteStackHelmValues": true,
- "deleteStackEnvVars": true,
- "deleteStackTokens": true,
- "deleteStackAnnotations": true,
- "deleteStackServices": true,
- "deleteStackServicesConfiguration": true
}
}, - "gitServiceUpdates": "string"
}{- "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": [
- 0
], - "category": "javascript",
- "securityUpdates": 0,
- "orgId": 0,
- "ownershipScope": "org",
- "ownerProjectId": 0,
- "availableToAllProjects": true,
- "settings": {
- "gitAutoUpdate": {
- "enabled": true,
- "branches": true,
- "semverTags": true,
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "autoServiceRevisionUpdate": {
- "enabled": true,
- "policy": {
- "scope": "string",
- "versionPolicy": {
- "mode": "string",
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}
}
}, - "autoOriginStackUpdate": {
- "enabled": true,
- "versionPolicy": {
- "mode": "string",
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "syncOptions": {
- "deleteStackHelmValues": true,
- "deleteStackEnvVars": true,
- "deleteStackTokens": true,
- "deleteStackAnnotations": true,
- "deleteStackServices": true,
- "deleteStackServicesConfiguration": true
}
}, - "gitServiceUpdates": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Returns who owns the stack and which projects can use it.
| id required | integer |
{- "ownershipScope": "org",
- "ownerProjectId": 0,
- "availableToAllProjects": true,
- "sharedProjects": [
- {
- "projectId": 0,
- "role": "owner"
}
]
}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.
| id required | integer |
| 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. |
{- "ownershipScope": "org",
- "ownerProjectId": 0,
- "sharedProjects": [
- {
- "projectId": 0,
- "access": "read"
}
], - "availableToAllProjects": true
}{- "ownershipScope": "org",
- "ownerProjectId": 0,
- "availableToAllProjects": true,
- "sharedProjects": [
- {
- "projectId": 0,
- "role": "owner"
}
]
}Starts a task that updates the stack from its configured Git source.
| id required | integer |
| 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. |
{- "gitRef": "string",
- "gitRefType": "string",
- "serviceUpdates": "string"
}{- "success": true,
- "taskId": 0
}Duplicates the stack into the target organization or project.
| id required | integer |
| 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) |
{- "orgId": 0,
- "projectId": 0,
- "availableToAllProjects": true,
- "sourceRevId": 0,
- "settings": {
- "autoServiceRevisionUpdate": {
- "enabled": true,
- "policy": {
- "scope": "string",
- "versionPolicy": {
- "mode": "string",
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}
}
}, - "autoOriginStackUpdate": {
- "enabled": true,
- "versionPolicy": {
- "mode": "string",
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "syncOptions": {
- "deleteStackHelmValues": true,
- "deleteStackEnvVars": true,
- "deleteStackTokens": true,
- "deleteStackAnnotations": true,
- "deleteStackServices": true,
- "deleteStackServicesConfiguration": true
}
}
}
}{- "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": [
- 0
], - "category": "javascript",
- "securityUpdates": 0,
- "orgId": 0,
- "ownershipScope": "org",
- "ownerProjectId": 0,
- "availableToAllProjects": true,
- "settings": {
- "gitAutoUpdate": {
- "enabled": true,
- "branches": true,
- "semverTags": true,
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "autoServiceRevisionUpdate": {
- "enabled": true,
- "policy": {
- "scope": "string",
- "versionPolicy": {
- "mode": "string",
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}
}
}, - "autoOriginStackUpdate": {
- "enabled": true,
- "versionPolicy": {
- "mode": "string",
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "syncOptions": {
- "deleteStackHelmValues": true,
- "deleteStackEnvVars": true,
- "deleteStackTokens": true,
- "deleteStackAnnotations": true,
- "deleteStackServices": true,
- "deleteStackServicesConfiguration": true
}
}, - "gitServiceUpdates": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Syncs the stack with its origin stack revision.
| id required | integer |
| 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. |
{- "deleteStackHelmValues": true,
- "deleteStackEnvVars": true,
- "deleteStackTokens": true,
- "deleteStackAnnotations": true,
- "deleteStackServices": true,
- "deleteStackServicesConfiguration": true,
- "updateStackServices": true
}{- "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": [
- 0
], - "category": "javascript",
- "securityUpdates": 0,
- "orgId": 0,
- "ownershipScope": "org",
- "ownerProjectId": 0,
- "availableToAllProjects": true,
- "settings": {
- "gitAutoUpdate": {
- "enabled": true,
- "branches": true,
- "semverTags": true,
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "autoServiceRevisionUpdate": {
- "enabled": true,
- "policy": {
- "scope": "string",
- "versionPolicy": {
- "mode": "string",
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}
}
}, - "autoOriginStackUpdate": {
- "enabled": true,
- "versionPolicy": {
- "mode": "string",
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "syncOptions": {
- "deleteStackHelmValues": true,
- "deleteStackEnvVars": true,
- "deleteStackTokens": true,
- "deleteStackAnnotations": true,
- "deleteStackServices": true,
- "deleteStackServicesConfiguration": true
}
}, - "gitServiceUpdates": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Publishes the current stack draft as the active stack revision.
| id required | integer |
{- "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": [
- 0
], - "category": "javascript",
- "securityUpdates": 0,
- "orgId": 0,
- "ownershipScope": "org",
- "ownerProjectId": 0,
- "availableToAllProjects": true,
- "settings": {
- "gitAutoUpdate": {
- "enabled": true,
- "branches": true,
- "semverTags": true,
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "autoServiceRevisionUpdate": {
- "enabled": true,
- "policy": {
- "scope": "string",
- "versionPolicy": {
- "mode": "string",
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}
}
}, - "autoOriginStackUpdate": {
- "enabled": true,
- "versionPolicy": {
- "mode": "string",
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "syncOptions": {
- "deleteStackHelmValues": true,
- "deleteStackEnvVars": true,
- "deleteStackTokens": true,
- "deleteStackAnnotations": true,
- "deleteStackServices": true,
- "deleteStackServicesConfiguration": true
}
}, - "gitServiceUpdates": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Returns the stack revision identified by the request path.
| id required | integer |
{- "id": 0,
- "name": "string",
- "title": "string",
- "icon": "string",
- "number": 0,
- "draft": true,
- "version": "string",
- "stackId": 0,
- "manifest": "string",
- "linkIssues": [
- {
- "code": "string",
- "stackServiceId": 0,
- "stackServiceName": "string",
- "stackServiceTitle": "string",
- "linkName": "string",
- "targetStackServiceId": 0,
- "targetStackServiceName": "string",
- "targetStackServiceTitle": "string",
- "message": "string"
}
], - "createdAt": "2019-08-24T14:15:22Z"
}Returns stack services matching the request filters.
| id required | integer |
[- {
- "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": [
- {
- "vulnerabilityId": "string",
- "severity": "critical",
- "packageName": "string",
- "packageVersion": "string",
- "exploited": true,
- "epss": 0,
- "tracked": true,
- "url": "string",
- "optionVersions": [
- "string"
]
}
], - "derivative": "string",
- "parentStackServiceId": 0,
- "serviceRevId": 0,
- "serviceRevName": "string",
- "serviceRevTitle": "string",
- "serviceRevVersion": "string",
- "buildSourceIntegrationId": 0,
- "buildSourceRemoteRepoId": "string",
- "options": [
- {
- "id": 0,
- "stackServiceId": 0,
- "version": "string",
- "default": true,
- "disabled": true
}
], - "settings": [
- {
- "id": 0,
- "stackServiceId": 0,
- "name": "string",
- "value": "string",
- "secret": true,
- "hasValue": true
}
], - "containers": [
- {
- "gpu": {
- "resourceName": "string",
- "count": 2147483647
}, - "id": 0,
- "stackServiceId": 0,
- "workload": "string",
- "name": "string",
- "requestCPU": 0,
- "requestMem": 0,
- "limitCPU": 0,
- "limitMem": 0
}
], - "deploymentConfiguration": {
- "override": {
- "strategy": "ROLLING",
- "maxUnavailable": "string",
- "maxSurge": "string",
- "minReady": "string",
- "progressDeadline": "string",
- "shutdownGracePeriod": "string"
}, - "effective": {
- "strategy": "ROLLING",
- "maxUnavailable": "string",
- "maxSurge": "string",
- "minReady": "string",
- "progressDeadline": "string",
- "shutdownGracePeriod": "string"
}, - "workloads": [
- {
- "name": "string",
- "kind": "deployment",
- "override": {
- "strategy": "ROLLING",
- "maxUnavailable": "string",
- "maxSurge": "string",
- "minReady": "string",
- "progressDeadline": "string",
- "shutdownGracePeriod": "string"
}, - "effective": {
- "strategy": "ROLLING",
- "maxUnavailable": "string",
- "maxSurge": "string",
- "minReady": "string",
- "progressDeadline": "string",
- "shutdownGracePeriod": "string"
}
}
]
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]Returns the stack-level Helm values of a stack revision. They apply to every service of the stack.
| id required | integer |
[- {
- "id": 0,
- "name": "string",
- "value": "string",
- "valueSecretId": 0,
- "envType": "prod",
- "createdAt": "2019-08-24T14:15:22Z"
}
]Adds a stack-level Helm value to the stack and creates a new draft revision when needed.
| id required | integer |
| 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. |
{- "name": "string",
- "value": "string",
- "secret": true,
- "envType": "prod"
}{- "id": 0,
- "name": "string",
- "value": "string",
- "valueSecretId": 0,
- "envType": "prod",
- "createdAt": "2019-08-24T14:15:22Z"
}Changes a stack-level Helm value.
| id required | integer |
| value required | string |
| secret required | boolean |
{- "value": "string",
- "secret": true
}{- "id": 0,
- "name": "string",
- "value": "string",
- "valueSecretId": 0,
- "envType": "prod",
- "createdAt": "2019-08-24T14:15:22Z"
}Returns the stack-level tokens of a stack revision. They apply to every service of the stack.
| id required | integer |
[- {
- "id": 0,
- "name": "string",
- "value": "string",
- "valueSecretId": 0,
- "regex": "string",
- "envType": "prod",
- "createdAt": "2019-08-24T14:15:22Z"
}
]Adds a stack-level token to the stack and creates a new draft revision when needed.
| id required | integer |
| 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. |
{- "name": "string",
- "value": "string",
- "secret": true,
- "regex": "string",
- "envType": "prod"
}{- "id": 0,
- "name": "string",
- "value": "string",
- "valueSecretId": 0,
- "regex": "string",
- "envType": "prod",
- "createdAt": "2019-08-24T14:15:22Z"
}Changes a stack-level token.
| id required | integer |
| value | string or null |
| secret required | boolean |
| regex | string or null |
{- "value": "string",
- "secret": true,
- "regex": "string"
}{- "id": 0,
- "name": "string",
- "value": "string",
- "valueSecretId": 0,
- "regex": "string",
- "envType": "prod",
- "createdAt": "2019-08-24T14:15:22Z"
}Returns the stack-level annotations of a stack revision. They apply to every service of the stack.
| id required | integer |
[- {
- "id": 0,
- "name": "string",
- "value": "string",
- "envType": "prod",
- "createdAt": "2019-08-24T14:15:22Z"
}
]Adds a stack-level annotation to the stack and creates a new draft revision when needed.
| id required | integer |
| 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. |
{- "name": "string",
- "value": "string",
- "envType": "prod"
}{- "id": 0,
- "name": "string",
- "value": "string",
- "envType": "prod",
- "createdAt": "2019-08-24T14:15:22Z"
}Drops the stack's unpublished draft revision and returns the stack.
| id required | integer |
{- "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": [
- 0
], - "category": "javascript",
- "securityUpdates": 0,
- "orgId": 0,
- "ownershipScope": "org",
- "ownerProjectId": 0,
- "availableToAllProjects": true,
- "settings": {
- "gitAutoUpdate": {
- "enabled": true,
- "branches": true,
- "semverTags": true,
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "autoServiceRevisionUpdate": {
- "enabled": true,
- "policy": {
- "scope": "string",
- "versionPolicy": {
- "mode": "string",
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}
}
}, - "autoOriginStackUpdate": {
- "enabled": true,
- "versionPolicy": {
- "mode": "string",
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "syncOptions": {
- "deleteStackHelmValues": true,
- "deleteStackEnvVars": true,
- "deleteStackTokens": true,
- "deleteStackAnnotations": true,
- "deleteStackServices": true,
- "deleteStackServicesConfiguration": true
}
}, - "gitServiceUpdates": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Returns stack-wide environment variables for a stack revision.
| id required | integer |
[- {
- "id": 0,
- "name": "string",
- "value": "string",
- "valueSecretId": 0,
- "envType": "string",
- "createdAt": "2019-08-24T14:15:22Z"
}
]Creates a stack-wide environment variable.
| id required | integer |
| name required | string |
| value required | string non-empty |
| secret required | boolean |
| envType | string or null |
{- "name": "string",
- "value": "string",
- "secret": true,
- "envType": "string"
}{- "id": 0,
- "name": "string",
- "value": "string",
- "valueSecretId": 0,
- "envType": "string",
- "createdAt": "2019-08-24T14:15:22Z"
}Updates a stack-wide environment variable.
| id required | integer |
| value required | string non-empty |
| secret required | boolean |
{- "value": "string",
- "secret": true
}{- "id": 0,
- "name": "string",
- "value": "string",
- "valueSecretId": 0,
- "envType": "string",
- "createdAt": "2019-08-24T14:15:22Z"
}Starts a task that advances unpinned stack services to their eligible revisions. Send stackServiceIds to advance only those stack services.
| id required | integer |
| scope | string Default: "all" Enum: "all" "stateless_only" Limits the update to all services or stateless services. Defaults to all. |
| 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. |
{- "stackServiceIds": [
- 0
]
}{- "success": true,
- "taskId": 0
}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.
| id required | integer |
| stackServiceId required | integer Root stack service whose update to skip. Its derivatives skip it too. |
| serviceRevId required | integer Service revision to stop offering. |
{- "stackServiceId": 0,
- "serviceRevId": 0
}{- "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": [
- 0
], - "category": "javascript",
- "securityUpdates": 0,
- "orgId": 0,
- "ownershipScope": "org",
- "ownerProjectId": 0,
- "availableToAllProjects": true,
- "settings": {
- "gitAutoUpdate": {
- "enabled": true,
- "branches": true,
- "semverTags": true,
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "autoServiceRevisionUpdate": {
- "enabled": true,
- "policy": {
- "scope": "string",
- "versionPolicy": {
- "mode": "string",
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}
}
}, - "autoOriginStackUpdate": {
- "enabled": true,
- "versionPolicy": {
- "mode": "string",
- "allowPatch": true,
- "allowMinor": true,
- "allowMajor": true
}, - "syncOptions": {
- "deleteStackHelmValues": true,
- "deleteStackEnvVars": true,
- "deleteStackTokens": true,
- "deleteStackAnnotations": true,
- "deleteStackServices": true,
- "deleteStackServicesConfiguration": true
}
}, - "gitServiceUpdates": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Returns eligible service revision changes for a stack, optionally limited to one stack service.
| id required | integer |
| stackServiceId | integer |
[- {
- "stackServiceId": 0,
- "name": "string",
- "title": "string",
- "previousVersion": "string",
- "version": "string",
- "previousRevNumber": 0,
- "revNumber": 0,
- "entries": [
- {
- "tag": "string",
- "description": "string"
}
]
}
]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.
| id required | integer |
| deleteStackHelmValues | boolean or null |
| deleteStackEnvVars | boolean or null |
| deleteStackTokens | boolean or null |
| deleteStackAnnotations | boolean or null |
| deleteStackServices | boolean or null |
| deleteStackServicesConfiguration | boolean or null |
{- "deleteStackHelmValues": true,
- "deleteStackEnvVars": true,
- "deleteStackTokens": true,
- "deleteStackAnnotations": true,
- "deleteStackServices": true,
- "deleteStackServicesConfiguration": true
}{- "previousVersion": "string",
- "version": "string",
- "serviceUpdates": [
- {
- "stackServiceId": 0,
- "name": "string",
- "title": "string",
- "serviceTitle": "string",
- "previousVersion": "string",
- "version": "string",
- "reason": "string",
- "refusal": "string"
}
], - "error": "string",
- "changes": [
- {
- "sequenceId": 0,
- "level": "string",
- "message": "string"
}
]
}Returns the origin stack changes that would be synchronized into the stack.
| id required | integer |
{- "previousVersion": "string",
- "version": "string",
- "entries": [
- {
- "tag": "string",
- "description": "string"
}
]
}Returns stack services matching the request filters.
| stackRevId required | integer |
[- {
- "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": [
- {
- "vulnerabilityId": "string",
- "severity": "critical",
- "packageName": "string",
- "packageVersion": "string",
- "exploited": true,
- "epss": 0,
- "tracked": true,
- "url": "string",
- "optionVersions": [
- "string"
]
}
], - "derivative": "string",
- "parentStackServiceId": 0,
- "serviceRevId": 0,
- "serviceRevName": "string",
- "serviceRevTitle": "string",
- "serviceRevVersion": "string",
- "buildSourceIntegrationId": 0,
- "buildSourceRemoteRepoId": "string",
- "options": [
- {
- "id": 0,
- "stackServiceId": 0,
- "version": "string",
- "default": true,
- "disabled": true
}
], - "settings": [
- {
- "id": 0,
- "stackServiceId": 0,
- "name": "string",
- "value": "string",
- "secret": true,
- "hasValue": true
}
], - "containers": [
- {
- "gpu": {
- "resourceName": "string",
- "count": 2147483647
}, - "id": 0,
- "stackServiceId": 0,
- "workload": "string",
- "name": "string",
- "requestCPU": 0,
- "requestMem": 0,
- "limitCPU": 0,
- "limitMem": 0
}
], - "deploymentConfiguration": {
- "override": {
- "strategy": "ROLLING",
- "maxUnavailable": "string",
- "maxSurge": "string",
- "minReady": "string",
- "progressDeadline": "string",
- "shutdownGracePeriod": "string"
}, - "effective": {
- "strategy": "ROLLING",
- "maxUnavailable": "string",
- "maxSurge": "string",
- "minReady": "string",
- "progressDeadline": "string",
- "shutdownGracePeriod": "string"
}, - "workloads": [
- {
- "name": "string",
- "kind": "deployment",
- "override": {
- "strategy": "ROLLING",
- "maxUnavailable": "string",
- "maxSurge": "string",
- "minReady": "string",
- "progressDeadline": "string",
- "shutdownGracePeriod": "string"
}, - "effective": {
- "strategy": "ROLLING",
- "maxUnavailable": "string",
- "maxSurge": "string",
- "minReady": "string",
- "progressDeadline": "string",
- "shutdownGracePeriod": "string"
}
}
]
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]Creates a stack service and returns the created resource.
| stackId required | integer |
| serviceId required | integer |
| name required | string |
| title required | string |
| required required | boolean |
| replicas required | integer |
| serviceRevPinned | boolean or null |
{- "stackId": 0,
- "serviceId": 0,
- "name": "string",
- "title": "string",
- "required": true,
- "replicas": 0,
- "serviceRevPinned": true
}{- "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": [
- {
- "vulnerabilityId": "string",
- "severity": "critical",
- "packageName": "string",
- "packageVersion": "string",
- "exploited": true,
- "epss": 0,
- "tracked": true,
- "url": "string",
- "optionVersions": [
- "string"
]
}
], - "derivative": "string",
- "parentStackServiceId": 0,
- "serviceRevId": 0,
- "serviceRevName": "string",
- "serviceRevTitle": "string",
- "serviceRevVersion": "string",
- "buildSourceIntegrationId": 0,
- "buildSourceRemoteRepoId": "string",
- "options": [
- {
- "id": 0,
- "stackServiceId": 0,
- "version": "string",
- "default": true,
- "disabled": true
}
], - "settings": [
- {
- "id": 0,
- "stackServiceId": 0,
- "name": "string",
- "value": "string",
- "secret": true,
- "hasValue": true
}
], - "containers": [
- {
- "gpu": {
- "resourceName": "string",
- "count": 2147483647
}, - "id": 0,
- "stackServiceId": 0,
- "workload": "string",
- "name": "string",
- "requestCPU": 0,
- "requestMem": 0,
- "limitCPU": 0,
- "limitMem": 0
}
], - "deploymentConfiguration": {
- "override": {
- "strategy": "ROLLING",
- "maxUnavailable": "string",
- "maxSurge": "string",
- "minReady": "string",
- "progressDeadline": "string",
- "shutdownGracePeriod": "string"
}, - "effective": {
- "strategy": "ROLLING",
- "maxUnavailable": "string",
- "maxSurge": "string",
- "minReady": "string",
- "progressDeadline": "string",
- "shutdownGracePeriod": "string"
}, - "workloads": [
- {
- "name": "string",
- "kind": "deployment",
- "override": {
- "strategy": "ROLLING",
- "maxUnavailable": "string",
- "maxSurge": "string",
- "minReady": "string",
- "progressDeadline": "string",
- "shutdownGracePeriod": "string"
}, - "effective": {
- "strategy": "ROLLING",
- "maxUnavailable": "string",
- "maxSurge": "string",
- "minReady": "string",
- "progressDeadline": "string",
- "shutdownGracePeriod": "string"
}
}
]
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Updates the stack service and returns the updated resource.
| id required | integer |
| 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. |
{- "replicas": 0,
- "required": true,
- "basicAuthOverride": "inherit",
- "disabled": true,
- "main": true,
- "serviceRevPinned": true,
- "title": "string",
- "buildSource": {
- "buildSourceType": "string",
- "boilerplate": "string",
- "newRepoName": "string",
- "integrationId": 0,
- "remoteGitRepoId": "string",
- "gitRef": "string",
- "gitRefType": "string"
}, - "deployment": {
- "strategy": "ROLLING",
- "maxUnavailable": "string",
- "maxSurge": "string",
- "minReady": "string",
- "progressDeadline": "string",
- "shutdownGracePeriod": "string",
- "workloads": [
- {
- "strategy": "ROLLING",
- "maxUnavailable": "string",
- "maxSurge": "string",
- "minReady": "string",
- "progressDeadline": "string",
- "shutdownGracePeriod": "string",
- "name": "string"
}
]
}
}{- "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": [
- {
- "vulnerabilityId": "string",
- "severity": "critical",
- "packageName": "string",
- "packageVersion": "string",
- "exploited": true,
- "epss": 0,
- "tracked": true,
- "url": "string",
- "optionVersions": [
- "string"
]
}
], - "derivative": "string",
- "parentStackServiceId": 0,
- "serviceRevId": 0,
- "serviceRevName": "string",
- "serviceRevTitle": "string",
- "serviceRevVersion": "string",
- "buildSourceIntegrationId": 0,
- "buildSourceRemoteRepoId": "string",
- "options": [
- {
- "id": 0,
- "stackServiceId": 0,
- "version": "string",
- "default": true,
- "disabled": true
}
], - "settings": [
- {
- "id": 0,
- "stackServiceId": 0,
- "name": "string",
- "value": "string",
- "secret": true,
- "hasValue": true
}
], - "containers": [
- {
- "gpu": {
- "resourceName": "string",
- "count": 2147483647
}, - "id": 0,
- "stackServiceId": 0,
- "workload": "string",
- "name": "string",
- "requestCPU": 0,
- "requestMem": 0,
- "limitCPU": 0,
- "limitMem": 0
}
], - "deploymentConfiguration": {
- "override": {
- "strategy": "ROLLING",
- "maxUnavailable": "string",
- "maxSurge": "string",
- "minReady": "string",
- "progressDeadline": "string",
- "shutdownGracePeriod": "string"
}, - "effective": {
- "strategy": "ROLLING",
- "maxUnavailable": "string",
- "maxSurge": "string",
- "minReady": "string",
- "progressDeadline": "string",
- "shutdownGracePeriod": "string"
}, - "workloads": [
- {
- "name": "string",
- "kind": "deployment",
- "override": {
- "strategy": "ROLLING",
- "maxUnavailable": "string",
- "maxSurge": "string",
- "minReady": "string",
- "progressDeadline": "string",
- "shutdownGracePeriod": "string"
}, - "effective": {
- "strategy": "ROLLING",
- "maxUnavailable": "string",
- "maxSurge": "string",
- "minReady": "string",
- "progressDeadline": "string",
- "shutdownGracePeriod": "string"
}
}
]
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Returns environment variables configured for a stack service.
| id required | integer |
[- {
- "id": 0,
- "stackServiceId": 0,
- "workload": "string",
- "container": "string",
- "name": "string",
- "value": "string",
- "valueSecretId": 0,
- "envType": "string",
- "createdAt": "2019-08-24T14:15:22Z"
}
]Creates an environment variable for a stack service.
| id required | integer |
| workload | string or null |
| container | string or null |
| name required | string |
| value required | string non-empty |
| secret required | boolean |
| envType | string or null |
{- "workload": "string",
- "container": "string",
- "name": "string",
- "value": "string",
- "secret": true,
- "envType": "string"
}{- "id": 0,
- "stackServiceId": 0,
- "workload": "string",
- "container": "string",
- "name": "string",
- "value": "string",
- "valueSecretId": 0,
- "envType": "string",
- "createdAt": "2019-08-24T14:15:22Z"
}Updates a stack service environment variable.
| id required | integer |
| value required | string non-empty |
| secret required | boolean |
{- "value": "string",
- "secret": true
}{- "id": 0,
- "stackServiceId": 0,
- "workload": "string",
- "container": "string",
- "name": "string",
- "value": "string",
- "valueSecretId": 0,
- "envType": "string",
- "createdAt": "2019-08-24T14:15:22Z"
}Returns Helm values configured for a stack service.
| id required | integer |
[- {
- "id": 0,
- "stackServiceId": 0,
- "name": "string",
- "value": "string",
- "valueSecretId": 0,
- "envType": "string",
- "createdAt": "2019-08-24T14:15:22Z"
}
]Creates a Helm value override for a stack service.
| id required | integer |
| name required | string |
| value required | string |
| secret required | boolean |
| envType | string or null |
{- "name": "string",
- "value": "string",
- "secret": true,
- "envType": "string"
}{- "id": 0,
- "stackServiceId": 0,
- "name": "string",
- "value": "string",
- "valueSecretId": 0,
- "envType": "string",
- "createdAt": "2019-08-24T14:15:22Z"
}Updates a stack service Helm value override.
| id required | integer |
| value required | string |
| secret required | boolean |
{- "value": "string",
- "secret": true
}{- "id": 0,
- "stackServiceId": 0,
- "name": "string",
- "value": "string",
- "valueSecretId": 0,
- "envType": "string",
- "createdAt": "2019-08-24T14:15:22Z"
}Returns tokens configured for a stack service without revealing secret values.
| id required | integer |
[- {
- "id": 0,
- "stackServiceId": 0,
- "name": "string",
- "value": "string",
- "regex": "string",
- "valueSecretId": 0,
- "envType": "string",
- "createdAt": "2019-08-24T14:15:22Z"
}
]Creates a token for a stack service.
| id required | integer |
| name required | string |
| value | string or null |
| secret required | boolean |
| regex | string or null |
| envType | string or null |
{- "name": "string",
- "value": "string",
- "secret": true,
- "regex": "string",
- "envType": "string"
}{- "id": 0,
- "stackServiceId": 0,
- "name": "string",
- "value": "string",
- "regex": "string",
- "valueSecretId": 0,
- "envType": "string",
- "createdAt": "2019-08-24T14:15:22Z"
}Updates a stack service token value, secret flag, or regex.
| id required | integer |
| value | string or null |
| secret required | boolean |
| regex | string or null |
{- "value": "string",
- "secret": true,
- "regex": "string"
}{- "id": 0,
- "stackServiceId": 0,
- "name": "string",
- "value": "string",
- "regex": "string",
- "valueSecretId": 0,
- "envType": "string",
- "createdAt": "2019-08-24T14:15:22Z"
}Returns annotations configured for a stack service.
| id required | integer |
[- {
- "id": 0,
- "stackServiceId": 0,
- "name": "string",
- "value": "string",
- "envType": "string",
- "createdAt": "2019-08-24T14:15:22Z"
}
]Creates an annotation for a stack service.
| id required | integer |
| name required | string |
| value required | string |
| envType | string or null |
{- "name": "string",
- "value": "string",
- "envType": "string"
}{- "id": 0,
- "stackServiceId": 0,
- "name": "string",
- "value": "string",
- "envType": "string",
- "createdAt": "2019-08-24T14:15:22Z"
}Links an integration to a stack service integration slot.
| id required | integer |
| name required | string |
| integrationId required | integer |
{- "name": "string",
- "integrationId": 0
}{- "id": 0,
- "stackServiceId": 0,
- "name": "string",
- "integrationId": 0
}Links or unlinks another stack service for a named link slot.
| id required | integer |
| name required | string |
| linkedStackServiceId | integer or null |
{- "linkedStackServiceId": 0
}{- "success": true,
- "taskId": 0
}Sets or clears a stack service volume size.
| id required | integer |
| name required | string |
| size | integer or null |
{- "size": 0
}{- "success": true,
- "taskId": 0
}Sets or clears a named setting value for a stack service.
| id required | integer |
| name required | string |
| value | string or null |
{- "value": "string"
}{- "success": true,
- "taskId": 0
}Sets a named config override for a stack service.
| id required | integer |
| name required | string |
| config required | string |
{- "config": "string"
}{- "success": true,
- "taskId": 0
}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.
| id required | integer |
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 |
{- "gpu": {
- "resourceName": "string",
- "count": 2147483647
}, - "workload": "string",
- "container": "string",
- "preset": "string",
- "requestCPU": 0,
- "requestMem": 0,
- "limitCPU": 0,
- "limitMem": 0
}{- "success": true,
- "taskId": 0
}Replaces stack service option settings.
| id required | integer |
required | Array of objects (StackServiceOptionInput) |
{- "options": [
- {
- "version": "string",
- "default": true,
- "disabled": true
}
]
}{- "success": true,
- "taskId": 0
}Returns cron schedules configured for a stack service.
| id required | integer |
[- {
- "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"
}
]Creates a cron schedule for a stack service.
| id required | integer |
| name required | string |
| title required | string |
| crontab required | string |
| command required | string |
| workload | string or null |
| disabled | boolean or null |
| envType | string or null |
{- "name": "string",
- "title": "string",
- "crontab": "string",
- "command": "string",
- "workload": "string",
- "disabled": true,
- "envType": "string"
}{- "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"
}Updates a stack service cron schedule.
| id required | integer |
| disabled | boolean or null |
| title | string or null |
| crontab | string or null |
| command | string or null |
| workload | string or null |
| envType | string or null |
{- "disabled": true,
- "title": "string",
- "crontab": "string",
- "command": "string",
- "workload": "string",
- "envType": "string"
}{- "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"
}Returns backups matching the request filters.
| appInstanceId | integer |
| appServiceId | integer |
| databaseId | integer |
| databaseDbId | integer |
| backupName | string |
[- {
- "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": [
- {
- "name": "string",
- "values": [
- "string"
]
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
]Creates a backup and returns the created resource.
| 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) |
{- "appServiceId": 0,
- "databaseDbId": 0,
- "backupPresetId": 0,
- "backupName": "string",
- "integrationId": 0,
- "bucket": "string",
- "storageClass": "string",
- "blobStorageRegion": "eu",
- "options": [
- {
- "name": "string",
- "values": [
- "string"
]
}
]
}{- "success": true,
- "taskId": 0
}Returns the backup identified by the request path.
| id required | integer |
{- "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": [
- {
- "name": "string",
- "values": [
- "string"
]
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}Returns a short-lived URL for downloading the backup file. It needs write access to the backup.
| id required | integer |
{- "url": "string",
- "expiresAt": "2019-08-24T14:15:22Z"
}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.
| id required | integer |
{- "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": [
- {
- "name": "string",
- "values": [
- "string"
]
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}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.
| 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. |
[- {
- "id": 0,
- "appInstanceId": 0,
- "appServiceId": 0,
- "databaseId": 0,
- "databaseDbId": 0,
- "orgId": 0,
- "envId": 0,
- "envTypes": [
- "dev"
], - "backupCategory": "any",
- "projectIds": [
- 0
], - "backupName": "string",
- "integrationId": 0,
- "bucket": "string",
- "storageClass": "string",
- "blobStorageRegion": "eu",
- "options": [
- {
- "name": "string",
- "values": [
- "string"
]
}
], - "override": true,
- "auto": true,
- "disabled": true,
- "crontab": "string",
- "timeWindow": {
- "start": "02:00",
- "end": "04:00",
- "timeZone": "UTC",
- "days": [
- "MONDAY"
]
}, - "duration": 30,
- "nextRunAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]Creates a manual or scheduled backup preset.
| 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 ] |
{- "appInstanceId": 0,
- "appServiceId": 0,
- "databaseId": 0,
- "databaseDbId": 0,
- "orgId": 0,
- "envId": 0,
- "envTypes": [
- "dev"
], - "backupCategory": "any",
- "projectIds": [
- 0
], - "backupName": "string",
- "integrationId": 0,
- "bucket": "string",
- "storageClass": "string",
- "blobStorageRegion": "eu",
- "options": [
- {
- "name": "string",
- "values": [
- "string"
]
}
], - "disabled": true,
- "override": true,
- "auto": true,
- "crontab": "string",
- "timeWindow": {
- "enabled": true,
- "start": "02:00",
- "end": "04:00",
- "timeZone": "UTC",
- "days": [
- "MONDAY"
]
}, - "duration": 30
}{- "id": 0,
- "appInstanceId": 0,
- "appServiceId": 0,
- "databaseId": 0,
- "databaseDbId": 0,
- "orgId": 0,
- "envId": 0,
- "envTypes": [
- "dev"
], - "backupCategory": "any",
- "projectIds": [
- 0
], - "backupName": "string",
- "integrationId": 0,
- "bucket": "string",
- "storageClass": "string",
- "blobStorageRegion": "eu",
- "options": [
- {
- "name": "string",
- "values": [
- "string"
]
}
], - "override": true,
- "auto": true,
- "disabled": true,
- "crontab": "string",
- "timeWindow": {
- "start": "02:00",
- "end": "04:00",
- "timeZone": "UTC",
- "days": [
- "MONDAY"
]
}, - "duration": 30,
- "nextRunAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Returns the backup preset identified by the request path.
| id required | integer |
{- "id": 0,
- "appInstanceId": 0,
- "appServiceId": 0,
- "databaseId": 0,
- "databaseDbId": 0,
- "orgId": 0,
- "envId": 0,
- "envTypes": [
- "dev"
], - "backupCategory": "any",
- "projectIds": [
- 0
], - "backupName": "string",
- "integrationId": 0,
- "bucket": "string",
- "storageClass": "string",
- "blobStorageRegion": "eu",
- "options": [
- {
- "name": "string",
- "values": [
- "string"
]
}
], - "override": true,
- "auto": true,
- "disabled": true,
- "crontab": "string",
- "timeWindow": {
- "start": "02:00",
- "end": "04:00",
- "timeZone": "UTC",
- "days": [
- "MONDAY"
]
}, - "duration": 30,
- "nextRunAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Updates a backup preset's destination and schedule.
| id required | integer |
| 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 ] |
{- "envTypes": [
- "dev"
], - "backupCategory": "any",
- "projectIds": [
- 0
], - "integrationId": 0,
- "bucket": "string",
- "storageClass": "string",
- "blobStorageRegion": "eu",
- "options": [
- {
- "name": "string",
- "values": [
- "string"
]
}
], - "disabled": true,
- "override": true,
- "auto": true,
- "crontab": "string",
- "timeWindow": {
- "enabled": true,
- "start": "02:00",
- "end": "04:00",
- "timeZone": "UTC",
- "days": [
- "MONDAY"
]
}, - "duration": 30
}{- "id": 0,
- "appInstanceId": 0,
- "appServiceId": 0,
- "databaseId": 0,
- "databaseDbId": 0,
- "orgId": 0,
- "envId": 0,
- "envTypes": [
- "dev"
], - "backupCategory": "any",
- "projectIds": [
- 0
], - "backupName": "string",
- "integrationId": 0,
- "bucket": "string",
- "storageClass": "string",
- "blobStorageRegion": "eu",
- "options": [
- {
- "name": "string",
- "values": [
- "string"
]
}
], - "override": true,
- "auto": true,
- "disabled": true,
- "crontab": "string",
- "timeWindow": {
- "start": "02:00",
- "end": "04:00",
- "timeZone": "UTC",
- "days": [
- "MONDAY"
]
}, - "duration": 30,
- "nextRunAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Returns a paginated list of backups created from the preset.
| id required | integer |
| page | integer >= 1 Page number, defaults to 1 |
| pageSize | integer >= 1 Page size, defaults to 30 |
{- "items": [
- {
- "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": [
- {
- "name": "string",
- "values": [
- "string"
]
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "totalCount": 0,
- "nextPage": 0
}Returns imports matching the request filters.
| appInstanceId | integer |
| appServiceId | integer |
| databaseId | integer |
| databaseDbId | integer |
[- {
- "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"
}
]Creates an import and returns the created resource.
| appServiceId | integer or null |
| databaseDbId | integer or null |
required | object (ImportInput) |
{- "appServiceId": 0,
- "databaseDbId": 0,
- "import": {
- "importName": "string",
- "source": "string",
- "url": "string",
- "backupId": 0,
- "from": {
- "databaseDbId": 0,
- "appServiceId": 0,
- "backupName": "string"
}
}
}{- "success": true,
- "taskId": 0
}Returns the import identified by the request path.
| id required | integer |
{- "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"
}Returns tasks matching the request filters.
| 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 |
{- "items": [
- {
- "initiator": {
- "source": "mcp",
- "userId": 0,
- "apiKeyId": 0,
- "agentConnectionId": 0,
- "oauthClientId": "string",
- "oauthClientName": "string",
- "clientName": "string",
- "clientVersion": "string",
- "toolName": "string",
- "requestId": "string"
}, - "id": 0,
- "name": "string",
- "title": "string",
- "compactTitle": "string",
- "executionScope": "user",
- "status": "string",
- "progress": 0,
- "silent": true,
- "system": true,
- "userId": 0,
- "user": {
- "id": 0,
- "name": "string"
}, - "orgId": 0,
- "projectIds": [
- 0
], - "appId": 0,
- "appInstanceId": 0,
- "appServiceId": 0,
- "clusterId": 0,
- "databaseId": 0,
- "integrationId": 0,
- "serviceId": 0,
- "stackId": 0,
- "providerId": 0,
- "originTaskId": 0,
- "spawnedTaskIds": [
- 0
], - "repeatedTaskId": 0,
- "jobs": [
- {
- "id": 0,
- "name": "string",
- "title": "string",
- "status": "string",
- "after": [
- "string"
], - "timeout": 0,
- "isSystem": true,
- "statusTitle": "string",
- "steps": [
- {
- "id": 0,
- "position": 1,
- "name": "string",
- "status": "string",
- "logStatus": "string",
- "isSystem": true,
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "treeItems": [
- {
- "task": {
- "initiator": {
- "source": "mcp",
- "userId": 0,
- "apiKeyId": 0,
- "agentConnectionId": 0,
- "oauthClientId": "string",
- "oauthClientName": "string",
- "clientName": "string",
- "clientVersion": "string",
- "toolName": "string",
- "requestId": "string"
}, - "id": 0,
- "name": "string",
- "title": "string",
- "compactTitle": "string",
- "executionScope": "user",
- "status": "string",
- "progress": 0,
- "silent": true,
- "system": true,
- "userId": 0,
- "user": {
- "id": 0,
- "name": "string"
}, - "orgId": 0,
- "projectIds": [
- 0
], - "appId": 0,
- "appInstanceId": 0,
- "appServiceId": 0,
- "clusterId": 0,
- "databaseId": 0,
- "integrationId": 0,
- "serviceId": 0,
- "stackId": 0,
- "providerId": 0,
- "originTaskId": 0,
- "spawnedTaskIds": [
- 0
], - "repeatedTaskId": 0,
- "jobs": [
- {
- "id": 0,
- "name": "string",
- "title": "string",
- "status": "string",
- "after": [
- "string"
], - "timeout": 0,
- "isSystem": true,
- "statusTitle": "string",
- "steps": [
- {
- "id": 0,
- "position": 1,
- "name": "string",
- "status": "string",
- "logStatus": "string",
- "isSystem": true,
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}, - "parentId": 0
}
], - "treeTruncated": true,
- "canIncludeSystem": true,
- "totalCount": 0,
- "nextPage": 0
}Returns the task identified by the request path.
| id required | integer |
{- "initiator": {
- "source": "mcp",
- "userId": 0,
- "apiKeyId": 0,
- "agentConnectionId": 0,
- "oauthClientId": "string",
- "oauthClientName": "string",
- "clientName": "string",
- "clientVersion": "string",
- "toolName": "string",
- "requestId": "string"
}, - "id": 0,
- "name": "string",
- "title": "string",
- "compactTitle": "string",
- "executionScope": "user",
- "status": "string",
- "progress": 0,
- "silent": true,
- "system": true,
- "userId": 0,
- "user": {
- "id": 0,
- "name": "string"
}, - "orgId": 0,
- "projectIds": [
- 0
], - "appId": 0,
- "appInstanceId": 0,
- "appServiceId": 0,
- "clusterId": 0,
- "databaseId": 0,
- "integrationId": 0,
- "serviceId": 0,
- "stackId": 0,
- "providerId": 0,
- "originTaskId": 0,
- "spawnedTaskIds": [
- 0
], - "repeatedTaskId": 0,
- "jobs": [
- {
- "id": 0,
- "name": "string",
- "title": "string",
- "status": "string",
- "after": [
- "string"
], - "timeout": 0,
- "isSystem": true,
- "statusTitle": "string",
- "steps": [
- {
- "id": 0,
- "position": 1,
- "name": "string",
- "status": "string",
- "logStatus": "string",
- "isSystem": true,
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z"
}Creates a repeated run for the task.
| id required | integer |
| force required | boolean |
{- "force": true
}{- "success": true,
- "taskId": 0
}Returns current inline logs for pending task steps and a temporary log URL for persisted task steps.
| id required | integer |
| 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. |
{- "status": "persisted",
- "streamId": 0,
- "url": "string",
- "lines": [
- {
- "sequenceId": 0,
- "level": "string",
- "message": "string"
}
]
}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.
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.
| orgId | integer Optional for API-key requests; defaults to the API key's organization. If provided, it must match the key's organization. |
[- {
- "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"
}
]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.
| 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. |
{- "orgId": 0,
- "message": "string",
- "approvalMode": "ask"
}{- "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"
}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.
| id required | integer |
| orgId | integer Optional for API-key requests; defaults to the API key's organization. If provided, it must match the key's organization. |
{- "chat": {
- "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"
}, - "messages": [
- {
- "id": 0,
- "role": "user",
- "content": "string",
- "tool": "string",
- "toolArguments": { },
- "approval": "pending",
- "toolDestructive": true,
- "toolTargets": [
- {
- "kind": "string",
- "name": "string",
- "argument": "string"
}
], - "isError": true,
- "createdAt": "2019-08-24T14:15:22Z"
}
]
}Deletes a chat and its messages. It does not undo what the agent did.
| id required | integer |
| orgId | integer Optional for API-key requests; defaults to the API key's organization. If provided, it must match the key's organization. |
{- "success": true,
- "taskId": 0
}Adds a message to an idle chat and starts the agent's run, which continues after the response.
| id required | integer |
| orgId | integer Optional for API-key requests; defaults to the API key's organization. If provided, it must match the key's organization. |
| message required | string [ 1 .. 32000 ] characters |
{- "message": "string"
}{- "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"
}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.
| id required | integer |
| orgId | integer Optional for API-key requests; defaults to the API key's organization. If provided, it must match the key's organization. |
| messageId required | integer The tool message that waits for approval. |
| approve required | boolean |
{- "messageId": 0,
- "approve": true
}{- "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"
}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.
| id required | integer |
| orgId | integer Optional for API-key requests; defaults to the API key's organization. If provided, it must match the key's organization. |
| messageId required | integer The ask_user message that waits for an answer. |
| answers required | Array of strings [ 1 .. 20 ] items [ items [ 1 .. 500 ] characters ] |
{- "messageId": 0,
- "answers": [
- "string"
]
}{- "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"
}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.
| id required | integer |
| orgId | integer Optional for API-key requests; defaults to the API key's organization. If provided, it must match the key's organization. |
| 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. |
{- "approvalMode": "ask"
}{- "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"
}Stops the chat's run and declines the calls that wait for approval. A chat without a run is returned as it is.
| id required | integer |
| orgId | integer Optional for API-key requests; defaults to the API key's organization. If provided, it must match the key's organization. |
{- "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"
}{- "title": "string",
- "status": 100,
- "detail": "string",
- "instance": "string",
- "code": "string",
- "message": "string",
- "errors": [
- {
- "field": "string",
- "code": "string",
- "detail": "string"
}
]
}