ReferênciaReferência da API

Referência da API

Todos os endpoints da API do eQuantic Space, gerados a partir da própria API.

A API que a aplicação web, a CLI eqs e os runners usam. Esta página é gerada a partir do documento OpenAPI da própria API, por isso lista exatamente os endpoints que ela serve.

URL base

OndeURL base
Cloud do eQuantic Spacehttps://api.app.equantic.space
Uma instalação self-hostedhttps://api.<o-seu-dominio>

Autenticação

Envie um token no cabeçalho Authorization:

bash
curl -H "Authorization: Bearer $EQS_TOKEN" https://api.app.equantic.space/v1/workspaces

O token pode ser um token de acesso pessoal ou o segredo de um service principal (consulte Acesso (RBAC)). Cada pedido é verificado face aos papéis da identidade por detrás do token.

Endpoints

Os resumos estão em inglês, tal como a API os documenta.

400 endpoints em 74 áreas

Access

GET/v1/access/assignments

Parâmetros

NomeOndeTipoDescrição
scopeTypequerystring
scopeIdquerystring
inheritedquerystring

Respostas

  • 200
POST/v1/access/assignments

Corpo do pedidoAddAssignmentDto

Respostas

  • 201
DELETE/v1/access/assignments/{id}

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 204
GET/v1/access/effective

Parâmetros

NomeOndeTipoDescrição
principalTypequerystring
principalIdobrigatórioquerystring
scopeTypequerystring
scopeIdquerystring

Respostas

  • 200
GET/v1/access/roles

Respostas

  • 200
POST/v1/access/roles

Corpo do pedidoCreateRoleDto

Respostas

  • 201
PATCH/v1/access/roles/{id}

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Corpo do pedidoUpdateRoleDto

Respostas

  • 200
DELETE/v1/access/roles/{id}

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 204
GET/v1/access/scopes

Respostas

  • 200
GET/v1/access/service-principals

Respostas

  • 200
POST/v1/access/service-principals

Corpo do pedidoCreateSpDto

Respostas

  • 201
GET/v1/access/service-principals/{id}

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring
scopeTypequerystring
scopeIdquerystring

Respostas

  • 200
PATCH/v1/access/service-principals/{id}

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Corpo do pedidoUpdateSpDto

Respostas

  • 200
DELETE/v1/access/service-principals/{id}

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 204
POST/v1/access/service-principals/{id}/assignments

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Corpo do pedidoAddSpAssignmentDto

Respostas

  • 201
DELETE/v1/access/service-principals/{id}/assignments/{assignmentId}

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring
assignmentIdobrigatóriopathstring

Respostas

  • 204
POST/v1/access/service-principals/{id}/certificates

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Corpo do pedidoAddSpCertDto

Respostas

  • 201
POST/v1/access/service-principals/{id}/credentials

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Corpo do pedidoAddSpCredentialDto

Respostas

  • 201
DELETE/v1/access/service-principals/{id}/credentials/{credentialId}

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring
credentialIdobrigatóriopathstring

Respostas

  • 204
GET/v1/access/tokens

Respostas

  • 200
POST/v1/access/tokens

Corpo do pedidoCreateTokenDto

Respostas

  • 201
DELETE/v1/access/tokens/{id}

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 204

App

GET/

Respostas

  • 200
GET/health

Respostas

  • 200

ArtifactBlob

GET/_apis/results/download/{id}

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 200
PUT/_apis/results/upload/{uploadId}

Parâmetros

NomeOndeTipoDescrição
uploadIdobrigatóriopathstring
blockidqueryobject
compqueryobject

Respostas

  • 201

ArtifactResults

POST/twirp/github.actions.results.api.v1.ArtifactService/CreateArtifact

Respostas

  • 201
POST/twirp/github.actions.results.api.v1.ArtifactService/FinalizeArtifact

Respostas

  • 201
POST/twirp/github.actions.results.api.v1.ArtifactService/GetSignedArtifactURL

Respostas

  • 201
POST/twirp/github.actions.results.api.v1.ArtifactService/ListArtifacts

Respostas

  • 201

Artifacts

GET/v1/artifacts

Respostas

  • 200
POST/v1/artifacts

Corpo do pedidoCreateArtifactRepoDto

NomeTipoDescrição
typeobrigatório"container" | "npm" | "maven" | "nuget" | "rubygems" | "pypi"
nameobrigatóriostring
visibilityobrigatório"private" | "public" | "internal"
descriptionstring
immutableTagsboolean
scanOnPushboolean

Respostas

  • 201
GET/v1/artifacts/{id}

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 200
PATCH/v1/artifacts/{id}

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Corpo do pedidoUpdateArtifactRepoDto

NomeTipoDescrição
visibility"private" | "public" | "internal"
descriptionstring
immutableTagsboolean
scanOnPushboolean
requireSignedPullboolean

Respostas

  • 204
DELETE/v1/artifacts/{id}

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 204
POST/v1/artifacts/{id}/policies

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Corpo do pedidoCreatePolicyDto

NomeTipoDescrição
nameobrigatóriostring
kindobrigatório"keep-n" | "age" | "policy"
scopeobrigatóriostring
valueobrigatórionumber
actionobrigatório"keep" | "delete" | "block"
enabledboolean

Respostas

  • 201
PATCH/v1/artifacts/{id}/policies/{policyId}

Parâmetros

NomeOndeTipoDescrição
policyIdobrigatóriopathstring

Corpo do pedidoUpdatePolicyDto

NomeTipoDescrição
namestring
kind"keep-n" | "age" | "policy"
scopestring
valuenumber
action"keep" | "delete" | "block"
enabledboolean

Respostas

  • 204
DELETE/v1/artifacts/{id}/policies/{policyId}

Parâmetros

NomeOndeTipoDescrição
policyIdobrigatóriopathstring

Respostas

  • 204
GET/v1/artifacts/{id}/retention/preview

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 200
GET/v1/artifacts/{id}/signing-keys

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 200
POST/v1/artifacts/{id}/signing-keys

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Corpo do pedidoAddSigningKeyDto

NomeTipoDescrição
nameobrigatóriostring
publicKeyobrigatóriostringPEM-encoded cosign public key (`cosign.pub`).

Respostas

  • 201
DELETE/v1/artifacts/{id}/signing-keys/{keyId}

Parâmetros

NomeOndeTipoDescrição
keyIdobrigatóriopathstring

Respostas

  • 204
GET/v1/artifacts/{id}/versions/{tag}/layers

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring
tagobrigatóriopathstring

Respostas

  • 200
GET/v1/artifacts/usage

Respostas

  • 200

AzureAccount

GET/v1/accounts/azure-devopsConnection state (organization + connections) for the connect UI (P1c).

Respostas

  • 200
PUT/v1/accounts/azure-devopsConnect (or re-auth) an Azure DevOps organization with a PAT.

Corpo do pedidoConnectAzureAccountDto

NomeTipoDescrição
organizationobrigatóriostringOrganization name only — `equantic` in `https://dev.azure.com/equantic`.
patobrigatóriostringAzure DevOps personal access token (Code read scope at minimum).

Respostas

  • 200
GET/v1/accounts/azure-devops/repositories

Respostas

  • 200

BitbucketAccount

GET/v1/accounts/bitbucketConnection state (login + connections) for the connect UI.

Respostas

  • 200
PUT/v1/accounts/bitbucketConnect (or re-auth) a Bitbucket account with a username + secret pair.

Corpo do pedidoConnectBitbucketAccountDto

NomeTipoDescrição
usernameobrigatóriostringHTTP Basic username (ADR-025 B1): the Bitbucket USERNAME when pairing with an app password, or the Atlassian account E-MAIL when pairing with the newer API tokens. Stored as the connection's login and replayed on every Basic call.
secretobrigatóriostringApp password or Atlassian API token (repository read at minimum).
workspaceobrigatóriostringThe Bitbucket WORKSPACE slug to list repositories under — `equantic` in `bitbucket.org/equantic`. REQUIRED since CHANGE-2770 (the user-wide listing endpoints return HTTP 410); stored on the account's `host`. A workspace id is a slug: letters/numbers plus `-`/`_`.

Respostas

  • 200
GET/v1/accounts/bitbucket/repositories

Respostas

  • 200

Boards

POST/v1/containers/{containerId}/stages

Parâmetros

NomeOndeTipoDescrição
containerIdobrigatóriopathstring

Corpo do pedidoCreateStageDto

NomeTipoDescrição
nameobrigatóriostring
stageType"TODO" | "IN_PROGRESS" | "REVIEW" | "TESTING" | "DONE" | "BLOCKED" | "CUSTOM"
colorstring

Respostas

  • 201
GET/v1/containers/{containerId}/views

Parâmetros

NomeOndeTipoDescrição
containerIdobrigatóriopathstring

Respostas

  • 200
POST/v1/containers/{containerId}/views

Parâmetros

NomeOndeTipoDescrição
containerIdobrigatóriopathstring

Corpo do pedidoCreateViewDto

NomeTipoDescrição
nameobrigatóriostring
typeobrigatório"TABLE" | "LIST" | "BOARD" | "CALENDAR" | "TIMELINE" | "GANTT"
configobjectfilters/sorts/groupBy/columns keyed by fieldId — stored, executed client-side.
isDefaultboolean

Respostas

  • 201
GET/v1/containers/{containerId}/workflow

Parâmetros

NomeOndeTipoDescrição
containerIdobrigatóriopathstring

Respostas

  • 200
PUT/v1/items/{id}/stage

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Corpo do pedidoSetItemStageDto

NomeTipoDescrição
stageIdstringThe target stage; omit / null to unstage the item.

Respostas

  • 200
PATCH/v1/stages/{id}

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Corpo do pedidoUpdateStageDto

NomeTipoDescrição
namestring
colorstringnull clears the color.
stageType"TODO" | "IN_PROGRESS" | "REVIEW" | "TESTING" | "DONE" | "BLOCKED" | "CUSTOM"
afterStageIdstringReorder: place after this stage (omit / null for the first column).

Respostas

  • 200
DELETE/v1/stages/{id}

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 204
PATCH/v1/views/{id}

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Corpo do pedidoUpdateViewDto

NomeTipoDescrição
namestring
configobject
isDefaultboolean

Respostas

  • 200
DELETE/v1/views/{id}

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 204

BranchProtections

GET/v1/repositories/{repositoryId}/branch-protections

Parâmetros

NomeOndeTipoDescrição
repositoryIdobrigatóriopathstring

Respostas

  • 200
PUT/v1/repositories/{repositoryId}/branch-protectionsUpserts THE rule for `branchPattern` (the body's key). PUT is declarative full state — omitted fields fall back to the defaults, they never keep the previous value.

Parâmetros

NomeOndeTipoDescrição
repositoryIdobrigatóriopathstring

Corpo do pedidoPutBranchProtectionDto

NomeTipoDescrição
branchPatternobrigatóriostringExact branch name (`main`) or a simple segment-scoped `*` glob (`release/*`).
requiredApprovalsnumber
requireChecksboolean
requireLinearboolean
requireUpToDateboolean
dismissStaleboolean
blockOnUnresolvedBlockingboolean
strategies"merge" | "squash" | "rebase"[]
defaultStrategy"merge" | "squash" | "rebase"

Respostas

  • 200
DELETE/v1/repositories/{repositoryId}/branch-protections/{ruleId}

Parâmetros

NomeOndeTipoDescrição
repositoryIdobrigatóriopathstring
ruleIdobrigatóriopathstring

Respostas

  • 204

Cache

GET/_apis/artifactcache/artifacts/{id}Streams a committed entry — the target of every download URL we hand out, v1 and v2 alike. Answers `Range` with a 206 because that is how the Azure URLs GitHub issues behave, and buildkit's `type=gha` reads cache blobs through a ReaderAt that asks for `bytes=<offset>-`.

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring
tokenqueryobject

Respostas

  • 200
GET/_apis/artifactcache/cache

Parâmetros

NomeOndeTipoDescrição
keysobrigatórioquerystring
versionobrigatórioquerystring

Respostas

  • 200
POST/_apis/artifactcache/caches

Respostas

  • 201
POST/_apis/artifactcache/caches/{cacheId}

Parâmetros

NomeOndeTipoDescrição
cacheIdobrigatóriopathstring

Respostas

  • 204
PATCH/_apis/artifactcache/caches/{cacheId}

Parâmetros

NomeOndeTipoDescrição
cacheIdobrigatóriopathstring

Respostas

  • 204

CacheBlob

PUT/_apis/results/cache-upload/{uploadId}

Parâmetros

NomeOndeTipoDescrição
uploadIdobrigatóriopathstring
blockidqueryobject
compqueryobject

Respostas

  • 201

CacheResults

POST/twirp/github.actions.results.api.v1.CacheService/CreateCacheEntry

Respostas

  • 200
POST/twirp/github.actions.results.api.v1.CacheService/FinalizeCacheEntryUpload

Respostas

  • 200
POST/twirp/github.actions.results.api.v1.CacheService/GetCacheEntryDownloadURL

Respostas

  • 200

Catalog

GET/v1/catalog/categories

Respostas

  • 200
GET/v1/catalog/services

Parâmetros

NomeOndeTipoDescrição
categoryobrigatórioquerystring

Respostas

  • 200
GET/v1/catalog/services/{id}

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 200

CiStorage

GET/v1/ci-storage

Respostas

  • 200
PUT/v1/ci-storage/policySaves the policy. The next sweep, at most an hour away, applies it.

Corpo do pedidoCiStoragePolicyDto

NomeTipoDescrição
cacheIdleDaysnumberA cache entry nobody restored in more than this many days goes. 0 = never.
cacheRepoLimitGbnumberA repository's cache limit, in GB. 0 = no limit.
artifactRetentionDaysnumberArtifact retention in days: GitHub allows 1 to 400.
logRetentionDaysnumberRun log retention in days. 0 = never remove.
storageLimitGbnumberThe most cache and artifacts may hold together, in GB. Null = automatic (a fifth of the volume), 0 = no total limit.
diskFloorPercentnumberThe share of the volume kept free, in percent. 0 = off.

Respostas

  • 200
POST/v1/ci-storage/previewWhat a candidate policy would come to on this disk, without saving it: the limit it sets, the disk's floor, and whether CI is over. The screen shows it while the operator types, from the same arithmetic the sweep uses, instead of a copy of that arithmetic in the browser. An empty field is the default, as it would be once saved.

Corpo do pedidoCiStoragePolicyDto

NomeTipoDescrição
cacheIdleDaysnumberA cache entry nobody restored in more than this many days goes. 0 = never.
cacheRepoLimitGbnumberA repository's cache limit, in GB. 0 = no limit.
artifactRetentionDaysnumberArtifact retention in days: GitHub allows 1 to 400.
logRetentionDaysnumberRun log retention in days. 0 = never remove.
storageLimitGbnumberThe most cache and artifacts may hold together, in GB. Null = automatic (a fifth of the volume), 0 = no total limit.
diskFloorPercentnumberThe share of the volume kept free, in percent. 0 = off.

Respostas

  • 200
POST/v1/ci-storage/sweepStarts a sweep now, for an operator who just lowered a limit, and answers as soon as it is recorded: the pass runs on, and the screen follows it in `sweeps`. `started` is false when this replica was already sweeping.

Respostas

  • 202

CodeBrowser

GET/v1/repositories/{repositoryId}/code/branchesBranch names + the default branch (the ref picker).

Parâmetros

NomeOndeTipoDescrição
repositoryIdobrigatóriopathstring

Respostas

  • 200
GET/v1/repositories/{repositoryId}/code/detect-stackInferred build stack (buildpack, port, relevant files, suggested env) from the repo's real files — backs the deploy wizard's "detect stack".

Parâmetros

NomeOndeTipoDescrição
repositoryIdobrigatóriopathstring
refquerystring

Respostas

  • 200
GET/v1/repositories/{repositoryId}/code/fileRaw content of a single file.

Parâmetros

NomeOndeTipoDescrição
repositoryIdobrigatóriopathstring
pathobrigatórioquerystring
refquerystring

Respostas

  • 200
GET/v1/repositories/{repositoryId}/code/filepathsEvery file path at a ref (recursive) for the file finder.

Parâmetros

NomeOndeTipoDescrição
repositoryIdobrigatóriopathstring
refquerystring

Respostas

  • 200
GET/v1/repositories/{repositoryId}/code/rawRaw file bytes — backs the README image proxy so private-repo images load with the owner's token. Served with `nosniff` + a locked-down CSP so a non-image path can never execute as active content in our origin.

Parâmetros

NomeOndeTipoDescrição
repositoryIdobrigatóriopathstring
pathobrigatórioquerystring
refquerystring

Respostas

  • 200
GET/v1/repositories/{repositoryId}/code/treeDirectory listing at `path` (root when omitted).

Parâmetros

NomeOndeTipoDescrição
repositoryIdobrigatóriopathstring
refquerystring
pathqueryobject

Respostas

  • 200

Comments

GET/v1/blocks/{id}/comments

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 200
POST/v1/blocks/{id}/comments

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Corpo do pedidoCreateCommentDto

NomeTipoDescrição
bodyobrigatóriostring
mentionsstring[]Mentioned user ids.
parentCommentIdstringReply to this comment (must be on the same target); omit for top-level.

Respostas

  • 201
PATCH/v1/comments/{id}

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Corpo do pedidoUpdateCommentDto

NomeTipoDescrição
bodystring
mentionsstring[]

Respostas

  • 200
DELETE/v1/comments/{id}As editing: its author, or whoever may update the item.

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 204
POST/v1/comments/{id}/reactions

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Corpo do pedidoReactionDto

NomeTipoDescrição
emojiobrigatóriostringThe emoji to add (e.g. "👍", "🎉").

Respostas

  • 204
DELETE/v1/comments/{id}/reactions/{emoji}

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring
emojiobrigatóriopathstring

Respostas

  • 204
PUT/v1/comments/{id}/resolution

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Corpo do pedidoResolveCommentDto

NomeTipoDescrição
resolvedobrigatóriobooleantrue resolves the comment, false reopens it.

Respostas

  • 200
GET/v1/docs/{id}/comments

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 200
POST/v1/docs/{id}/comments

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Corpo do pedidoCreateCommentDto

NomeTipoDescrição
bodyobrigatóriostring
mentionsstring[]Mentioned user ids.
parentCommentIdstringReply to this comment (must be on the same target); omit for top-level.

Respostas

  • 201
GET/v1/items/{id}/comments

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 200
POST/v1/items/{id}/comments

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Corpo do pedidoCreateCommentDto

NomeTipoDescrição
bodyobrigatóriostring
mentionsstring[]Mentioned user ids.
parentCommentIdstringReply to this comment (must be on the same target); omit for top-level.

Respostas

  • 201

Containers

GET/v1/container-types

Respostas

  • 200
POST/v1/container-types

Corpo do pedidoCreateContainerTypeDto

NomeTipoDescrição
nameobrigatóriostring
iconstring
colorstring
allowedChildTypeIdsstring[]ContainerType ids this type may directly nest (empty = leaf).
allowedItemTypeIdsstring[]ItemType ids this type may directly hold (F2; reserved).

Respostas

  • 201
PATCH/v1/containers/{id}

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Corpo do pedidoUpdateContainerDto

NomeTipoDescrição
namestring
configobject

Respostas

  • 200
DELETE/v1/containers/{id}

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 204
POST/v1/containers/{id}/duplicate

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 201
POST/v1/containers/{id}/move

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Corpo do pedidoMoveContainerDto

NomeTipoDescrição
parentContainerIdstringNew parent; omit / null to move to the top level (under the Space).
afterContainerIdstringPlace directly after this sibling; omit / null for the first position.
spaceIdstringMove to another Space of the same workspace; omit to stay where it is. The whole subtree follows, and the items' Space-scoped links (sprint, key result, tags) are dropped — they belong to the Space being left.

Respostas

  • 201
GET/v1/spaces/{spaceId}/containers

Parâmetros

NomeOndeTipoDescrição
spaceIdobrigatóriopathstring

Respostas

  • 200
POST/v1/spaces/{spaceId}/containers

Parâmetros

NomeOndeTipoDescrição
spaceIdobrigatóriopathstring

Corpo do pedidoCreateContainerDto

NomeTipoDescrição
nameobrigatóriostring
containerTypeIdobrigatóriostring
parentContainerIdstringOmit / null for a top-level container directly under the Space.
configobject

Respostas

  • 201

Dependencies

DELETE/v1/dependencies/{id}

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 204
GET/v1/items/{id}/dependencies

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 200
POST/v1/items/{id}/dependencies

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Corpo do pedidoAddItemDependencyDto

NomeTipoDescrição
targetItemIdobrigatóriostringThe other item in the relation.
typeobrigatório"blocks" | "blocked_by"`blocks` → this item blocks the target; `blocked_by` → the target blocks it.

Respostas

  • 201

DeployCluster

DELETE/v1/deploy/clusterDeprovisions the active workspace's vcluster — reclaims the whole cluster. Running workloads are removed and the services marked stopped; the records survive and a redeploy re-provisions. Irreversible until the next deploy.

Respostas

  • 204

DeploymentLogs

GET/v1/deployments/{deploymentId}/logsLive build/deploy logs for a Deployment (Server-Sent Events).

Parâmetros

NomeOndeTipoDescrição
deploymentIdobrigatóriopathstring

Respostas

  • 200
GET/v1/deployments/{deploymentId}/logs/historyThe persisted log of a finished deploy (after the live SSE channel is gone).

Parâmetros

NomeOndeTipoDescrição
deploymentIdobrigatóriopathstring

Respostas

  • 200

DocCollab

POST/v1/docs/{id}/collab/token

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 201

Docs

PATCH/v1/blocks/{id}

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Corpo do pedidoUpdateBlockDto

NomeTipoDescrição
blockType"PARAGRAPH" | "HEADING_1" | "HEADING_2" | "HEADING_3" | "BULLET_ITEM" | "NUMBERED_ITEM" | "TODO" | "QUOTE" | "CODE" | "DIVIDER" | "CALLOUT" | "TOGGLE" | "IMAGE" | "FILE" | "EMBED" | "TABLE" | "MERMAID" | "EQUATION"
contentobjectnull clears the block's content.

Respostas

  • 200
DELETE/v1/blocks/{id}

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 204
POST/v1/blocks/{id}/move

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Corpo do pedidoMoveBlockDto

NomeTipoDescrição
parentBlockIdstringNew parent block (nest/indent); omit / null for top-level in the doc.
afterBlockIdstringPlace after this sibling block; omit / null for the first position.

Respostas

  • 201
POST/v1/docs/{docId}/blocks

Parâmetros

NomeOndeTipoDescrição
docIdobrigatóriopathstring

Corpo do pedidoCreateBlockDto

NomeTipoDescrição
blockTypeobrigatório"PARAGRAPH" | "HEADING_1" | "HEADING_2" | "HEADING_3" | "BULLET_ITEM" | "NUMBERED_ITEM" | "TODO" | "QUOTE" | "CODE" | "DIVIDER" | "CALLOUT" | "TOGGLE" | "IMAGE" | "FILE" | "EMBED" | "TABLE" | "MERMAID" | "EQUATION"
contentobject
parentBlockIdstringNest under this block (list item, table cell); omit for top-level.
afterBlockIdstringPlace after this sibling block; omit / null for the first position.

Respostas

  • 201
GET/v1/docs/{id}

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 200
PATCH/v1/docs/{id}

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Corpo do pedidoUpdateDocDto

NomeTipoDescrição
titlestring
iconstringnull clears the icon.
isArchivedboolean

Respostas

  • 200
DELETE/v1/docs/{id}

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 204
POST/v1/docs/{id}/move

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Corpo do pedidoMoveDocDto

NomeTipoDescrição
parentDocIdstringNew parent doc; omit / null for the top level under the Space.
afterDocIdstringPlace after this sibling; omit / null for the first position.

Respostas

  • 201
GET/v1/spaces/{spaceId}/docs

Parâmetros

NomeOndeTipoDescrição
spaceIdobrigatóriopathstring

Respostas

  • 200
POST/v1/spaces/{spaceId}/docs

Parâmetros

NomeOndeTipoDescrição
spaceIdobrigatóriopathstring

Corpo do pedidoCreateDocDto

NomeTipoDescrição
titleobrigatóriostring
parentDocIdstringOmit / null for a top-level doc under the Space.
iconstring

Respostas

  • 201

DocUploads

POST/v1/docs/{docId}/uploads`POST /v1/docs/:docId/uploads` — raw-body upload (the global body parser skips `/v1/docs` uploads via RAW_STREAM_PREFIXES, so `req` is the unparsed stream). Filename from `x-filename`, content-type from `content-type`.

Parâmetros

NomeOndeTipoDescrição
docIdobrigatóriopathstring

Respostas

  • 201
GET/v1/uploads/{splat}`GET /v1/uploads/*splat` — serves an upload by its full key (which contains slashes). 404 when the key is unknown. Content-type is derived from the key's extension; the body is streamed back inline.

Respostas

  • 200

DocVersions

GET/v1/docs/{id}/versions

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 200
POST/v1/docs/{id}/versions

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Corpo do pedidoCaptureDocVersionDto

Respostas

  • 201
GET/v1/docs/{id}/versions/{versionId}/content

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring
versionIdobrigatóriopathstring

Respostas

  • 200

Fleet

POST/v1/fleet/join-grantReserves a slot + mints a single-use join grant for a new VPS.

Corpo do pedidoRequestJoinGrantDto

NomeTipoDescrição
roleobrigatório"server" | "agent"The k3s role the new node will take.

Respostas

  • 201
GET/v1/fleet/nodesThe fleet's nodes + the control-plane quorum summary (one round-trip).

Respostas

  • 200
GET/v1/fleet/nodes/{id}

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 200
DELETE/v1/fleet/nodes/{id}

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 204
POST/v1/fleet/nodes/{id}/cordon

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 204
POST/v1/fleet/nodes/{id}/drain

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 204
POST/v1/fleet/nodes/provisionAuto-provisions a VPS that self-joins (ADR-017, Phase C slice 2): creates the cloud server from a saved provider credential with cloud-init that runs the fleet join one-liner on first boot. Returns metadata only — never the grant.

Corpo do pedidoProvisionNodeDto

NomeTipoDescrição
providerConfigIdobrigatóriostring (uuid)The registered FleetProvider credential to create the VPS with.
regionobrigatóriostringProvider region/location slug (provider-specific).
serverTypeobrigatóriostringProvider server-type/size slug (provider-specific).
roleobrigatório"server" | "agent"The k3s role the new node will take.
namestringOptional server name; defaults to `eqs-<shortId>` when omitted.

Respostas

  • 201
POST/v1/fleet/nodes/registerRedeems a join grant — the caller is the unauthenticated new node, the grant is its credential. Returns what the join script needs to wire into the cluster (stubbed 503 this slice).

Corpo do pedidoRegisterNodeDto

NomeTipoDescrição
tokenobrigatóriostringThe single-use join grant the node was handed at provisioning time.
wgPublicKeyobrigatóriostringThe node's WireGuard public key (the private key never leaves the box).
publicIpstringThe node's public IP / wg endpoint, when it has one.
k3sNodeNamestringThe k3s node name the box will register under, when known up front.

Respostas

  • 201
GET/v1/fleet/peersThe WireGuard mesh registry — a joined node's host-side sync agent pulls this (authenticated with its long-lived node token) and reconciles its own `wg0`. `@Public()` because the caller is a node, not a session user; the node token is the credential.

Parâmetros

NomeOndeTipoDescrição
authorizationobrigatórioheaderstring

Respostas

  • 200

FleetProviders

GET/v1/fleet/providersLists registered credentials (metadata only — no tokens).

Respostas

  • 200
POST/v1/fleet/providersRegisters a credential (verifies the token live, then encrypts it).

Corpo do pedidoCreateFleetProviderDto

NomeTipoDescrição
nameobrigatóriostringThe operator's label, e.g. "Hetzner prod".
providerobrigatório"hetzner" | "digitalocean"Which cloud this credential talks to.
tokenobrigatóriostringThe provider API token (verified live, then encrypted at rest).
defaultRegionstringDefault location/region slug for created VPSs (provider-specific).
defaultServerTypestringDefault server type/size slug for created VPSs (provider-specific).

Respostas

  • 201
DELETE/v1/fleet/providers/{id}Removes a credential (soft delete).

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 204

GithubAccount

GET/v1/accounts/github

Respostas

  • 200
PUT/v1/accounts/github

Corpo do pedidoConnectGithubAccountDto

NomeTipoDescrição
tokenobrigatóriostringPersonal access token (classic or fine-grained).

Respostas

  • 200
DELETE/v1/accounts/githubDisconnect every GitHub connection in the workspace.

Respostas

  • 204
PUT/v1/accounts/github/appConnect a BYO GitHub App by its credentials (the workspace's own App).

Corpo do pedidoConnectGithubAppDto

NomeTipoDescrição
installationIdobrigatóriostring
appIdobrigatóriostring
clientIdobrigatóriostring
clientSecretstring
privateKeyobrigatóriostring
webhookSecretstring

Respostas

  • 200
GET/v1/accounts/github/app/configGitHub App configuration for the connect-flow UI (managed availability).

Respostas

  • 200
GET/v1/accounts/github/app/installation-lookup"Already installed?" — look the managed App's installation up on an org/user, so an existing installation connects without a new install round-trip (the Install button stays for other orgs).

Parâmetros

NomeOndeTipoDescrição
ownerqueryobject

Respostas

  • 200
POST/v1/accounts/github/app/managedFinalize a managed install (the platform App) from its installation id.

Corpo do pedidoConnectGithubManagedAppDto

NomeTipoDescrição
installationIdobrigatóriostring

Respostas

  • 201
DELETE/v1/accounts/github/connections/{id}Disconnect one connection (App installation) by its id.

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 204
GET/v1/accounts/github/repositories

Respostas

  • 200

GithubIssues

GET/v1/github/repos/{owner}/{repo}/issues

Parâmetros

NomeOndeTipoDescrição
ownerobrigatóriopathstring
repoobrigatóriopathstring
statequery"open" | "closed" | "all"open (the default), closed or all.
assigneequerystringA login, `@me`, `none` (unassigned) or `*` (assigned to anyone).
authorquerystringA login or `@me`.
mentionquerystringA login or `@me`: the issues that mention them.
appquerystringA GitHub App's slug: the issues it opened.
labelsquerystringLabel names, separated by commas: the issue carries all of them.
milestonequerystringA milestone's number or title, `none` or `*`.
typequerystringAn issue type's name, `none` or `*`.
searchquerystringWords to search for, in GitHub's search syntax.
limitquerynumber30 by default.

Respostas

  • 200
POST/v1/github/repos/{owner}/{repo}/issues

Parâmetros

NomeOndeTipoDescrição
ownerobrigatóriopathstring
repoobrigatóriopathstring

Corpo do pedidoCreateGithubIssueDto

NomeTipoDescrição
titleobrigatóriostring
bodystring
assigneesstring[]Logins, or `@me`.
labelsstring[]
milestonestringA milestone's number or title.
typestringAn issue type's name.
parentnumberThe number of the issue this one is a sub-issue of.
blockedBynumber[]Issues, by number, that block it.
blockingnumber[]Issues, by number, it blocks.

Respostas

  • 201
GET/v1/github/repos/{owner}/{repo}/issues/{number}

Parâmetros

NomeOndeTipoDescrição
ownerobrigatóriopathstring
repoobrigatóriopathstring
numberobrigatóriopathnumber
commentsquerybooleanWith its comments.
relationsquerybooleanWith its parent, its sub-issues, and what blocks it and what it blocks.

Respostas

  • 200
PATCH/v1/github/repos/{owner}/{repo}/issues/{number}

Parâmetros

NomeOndeTipoDescrição
ownerobrigatóriopathstring
repoobrigatóriopathstring
numberobrigatóriopathnumber

Corpo do pedidoEditGithubIssueDto

NomeTipoDescrição
titlestring
bodystring
addAssigneesstring[]
removeAssigneesstring[]
addLabelsstring[]
removeLabelsstring[]
milestonestringA milestone's number or title; null takes it off.
typestringAn issue type's name; null takes it off.
parentnumberThe number of the issue it becomes a sub-issue of.
removeParentbooleanTakes it off its parent.
addBlockedBynumber[]Issues, by number, that block it from now on.
removeBlockedBynumber[]
addBlockingnumber[]Issues, by number, it blocks from now on.
removeBlockingnumber[]
addSubIssuesnumber[]Issues, by number, that become its sub-issues.
removeSubIssuesnumber[]

Respostas

  • 200
DELETE/v1/github/repos/{owner}/{repo}/issues/{number}GitHub cannot undo it, so it needs `issue.delete`, which only owners hold.

Parâmetros

NomeOndeTipoDescrição
ownerobrigatóriopathstring
repoobrigatóriopathstring
numberobrigatóriopathnumber

Respostas

  • 204
GET/v1/github/repos/{owner}/{repo}/issues/{number}/branchesgh issue develop --list.

Parâmetros

NomeOndeTipoDescrição
ownerobrigatóriopathstring
repoobrigatóriopathstring
numberobrigatóriopathnumber

Respostas

  • 200
POST/v1/github/repos/{owner}/{repo}/issues/{number}/branchesgh issue develop: a branch linked to the issue.

Parâmetros

NomeOndeTipoDescrição
ownerobrigatóriopathstring
repoobrigatóriopathstring
numberobrigatóriopathnumber

Corpo do pedidoCreateGithubIssueBranchDto

NomeTipoDescrição
repositorystringAnother repository for the branch, as `owner/name`, as a fork.
namestringBy default, as GitHub names it: the number and the title.
basestringThe branch it starts from; by default the repository's default branch.

Respostas

  • 201
POST/v1/github/repos/{owner}/{repo}/issues/{number}/close

Parâmetros

NomeOndeTipoDescrição
ownerobrigatóriopathstring
repoobrigatóriopathstring
numberobrigatóriopathnumber

Corpo do pedidoCloseGithubIssueDto

NomeTipoDescrição
reason"COMPLETED" | "NOT_PLANNED" | "DUPLICATE"COMPLETED (the default), NOT_PLANNED or DUPLICATE.
commentstringPosted before it is closed.
duplicateOfnumberWith DUPLICATE: the number of the issue it duplicates.

Respostas

  • 200
POST/v1/github/repos/{owner}/{repo}/issues/{number}/comments

Parâmetros

NomeOndeTipoDescrição
ownerobrigatóriopathstring
repoobrigatóriopathstring
numberobrigatóriopathnumber

Corpo do pedidoCommentGithubIssueDto

NomeTipoDescrição
bodyobrigatóriostring

Respostas

  • 201
PATCH/v1/github/repos/{owner}/{repo}/issues/{number}/comments/lastgh issue comment --edit-last: the member's last comment, which GitHub may show as the App's (see GithubMemberComments).

Parâmetros

NomeOndeTipoDescrição
ownerobrigatóriopathstring
repoobrigatóriopathstring
numberobrigatóriopathnumber

Corpo do pedidoEditLastGithubCommentDto

NomeTipoDescrição
bodyobrigatóriostring
createIfNonebooleanComment instead, when the member has none to edit.

Respostas

  • 200
DELETE/v1/github/repos/{owner}/{repo}/issues/{number}/comments/lastgh issue comment --delete-last: answers the comment it deleted.

Parâmetros

NomeOndeTipoDescrição
ownerobrigatóriopathstring
repoobrigatóriopathstring
numberobrigatóriopathnumber

Respostas

  • 200
POST/v1/github/repos/{owner}/{repo}/issues/{number}/lock

Parâmetros

NomeOndeTipoDescrição
ownerobrigatóriopathstring
repoobrigatóriopathstring
numberobrigatóriopathnumber

Corpo do pedidoLockGithubIssueDto

NomeTipoDescrição
reason"OFF_TOPIC" | "RESOLVED" | "SPAM" | "TOO_HEATED"

Respostas

  • 200
DELETE/v1/github/repos/{owner}/{repo}/issues/{number}/lock

Parâmetros

NomeOndeTipoDescrição
ownerobrigatóriopathstring
repoobrigatóriopathstring
numberobrigatóriopathnumber

Respostas

  • 200
POST/v1/github/repos/{owner}/{repo}/issues/{number}/pin

Parâmetros

NomeOndeTipoDescrição
ownerobrigatóriopathstring
repoobrigatóriopathstring
numberobrigatóriopathnumber

Respostas

  • 200
DELETE/v1/github/repos/{owner}/{repo}/issues/{number}/pin

Parâmetros

NomeOndeTipoDescrição
ownerobrigatóriopathstring
repoobrigatóriopathstring
numberobrigatóriopathnumber

Respostas

  • 200
POST/v1/github/repos/{owner}/{repo}/issues/{number}/reopen

Parâmetros

NomeOndeTipoDescrição
ownerobrigatóriopathstring
repoobrigatóriopathstring
numberobrigatóriopathnumber

Corpo do pedidoReopenGithubIssueDto

NomeTipoDescrição
commentstringPosted before it is reopened.

Respostas

  • 200
POST/v1/github/repos/{owner}/{repo}/issues/{number}/transfer

Parâmetros

NomeOndeTipoDescrição
ownerobrigatóriopathstring
repoobrigatóriopathstring
numberobrigatóriopathnumber

Corpo do pedidoTransferGithubIssueDto

NomeTipoDescrição
repositoryobrigatóriostringThe destination, as `owner/name`, of the same owner.

Respostas

  • 200
GET/v1/github/repos/{owner}/{repo}/my-issuesgh issue status: the member's open issues, assigned, mentioning them and opened by them.

Parâmetros

NomeOndeTipoDescrição
ownerobrigatóriopathstring
repoobrigatóriopathstring

Respostas

  • 200

GitlabAccount

GET/v1/accounts/gitlabConnection state (login + host + connections) for the connect UI.

Respostas

  • 200
PUT/v1/accounts/gitlabConnect (or re-auth) a GitLab account with a PAT (+ optional host).

Corpo do pedidoConnectGitlabAccountDto

NomeTipoDescrição
patobrigatóriostringGitLab personal access token (`read_api`/`read_repository` at minimum).
hoststringSelf-hosted GitLab base URL (ADR-025 G1), e.g. `https://gitlab.example.com`. Omit/empty for gitlab.com. Normalized and fully validated (https-only, no credentials/path) by the handler — `normalizeGitlabHost` — so the error message can be precise.

Respostas

  • 200
GET/v1/accounts/gitlab/repositories

Respostas

  • 200

Goals

GET/v1/goals/{id}

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 200
PATCH/v1/goals/{id}

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Corpo do pedidoUpdateGoalDto

NomeTipoDescrição
namestring
descriptionstringnull clears the description.
status"ON_TRACK" | "AT_RISK" | "OFF_TRACK" | "ACHIEVED"
startDatestring
endDatestring

Respostas

  • 200
DELETE/v1/goals/{id}

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 204
POST/v1/goals/{id}/key-results

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Corpo do pedidoCreateKeyResultDto

NomeTipoDescrição
nameobrigatóriostring
targetValueobrigatórionumber
startValuenumber
currentValuenumber
unitstring
weightnumber

Respostas

  • 201
PUT/v1/items/{id}/key-result

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Corpo do pedidoSetItemKeyResultDto

NomeTipoDescrição
keyResultIdstringThe key result the item contributes to; omit / null to unlink.

Respostas

  • 200
PATCH/v1/key-results/{id}

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Corpo do pedidoUpdateKeyResultDto

NomeTipoDescrição
namestring
currentValuenumber
startValuenumber
targetValuenumber
unitstringnull clears the unit.
weightnumber

Respostas

  • 200
DELETE/v1/key-results/{id}

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 204
GET/v1/spaces/{spaceId}/goals

Parâmetros

NomeOndeTipoDescrição
spaceIdobrigatóriopathstring

Respostas

  • 200
POST/v1/spaces/{spaceId}/goals

Parâmetros

NomeOndeTipoDescrição
spaceIdobrigatóriopathstring

Corpo do pedidoCreateGoalDto

NomeTipoDescrição
nameobrigatóriostring
descriptionstring
startDatestring
endDatestring

Respostas

  • 201

ItemLifecycle

POST/v1/items/{id}/close

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Corpo do pedidoCloseItemDto

NomeTipoDescrição
reason"COMPLETED" | "NOT_PLANNED" | "DUPLICATE"Why it is closed: completed (the default), not planned or a duplicate.
duplicateOfstringWith DUPLICATE: the item it duplicates, by identifier or id.
commentstringLeft on the item before it closes, and not at all when it is closed already.

Respostas

  • 200
POST/v1/items/{id}/lock

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Corpo do pedidoLockItemDto

NomeTipoDescrição
reason"OFF_TOPIC" | "RESOLVED" | "SPAM" | "TOO_HEATED"

Respostas

  • 200
DELETE/v1/items/{id}/lock

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 200
POST/v1/items/{id}/pin

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 200
DELETE/v1/items/{id}/pin

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 200
GET/v1/items/{id}/relationsIts parent, its sub-items, and what blocks it and what it blocks.

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 200
POST/v1/items/{id}/reopen

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Corpo do pedidoReopenItemDto

NomeTipoDescrição
commentstringLeft on the item before it reopens, and not at all when it is open already.

Respostas

  • 200
POST/v1/items/{id}/transferMoves the item, with its sub-items, to another list, in any space.

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Corpo do pedidoTransferItemDto

NomeTipoDescrição
containerIdobrigatóriostringThe list it moves to, in its space or in another.

Respostas

  • 200
GET/v1/items/by-identifier/{identifier}

Parâmetros

NomeOndeTipoDescrição
identifierobrigatóriopathstring

Respostas

  • 200
GET/v1/me/itemsWhat is the member's: assigned to them, mentioning them, opened by them, in the spaces where they may read items.

Respostas

  • 200
GET/v1/spaces/{spaceId}/itemsPinned items first, then the most recently updated, a page at a time.

Parâmetros

NomeOndeTipoDescrição
spaceIdobrigatóriopathstring
statequery"open" | "closed" | "all"open (not in a done stage, the default), closed, or all.
assigneequerystring`me`, a user's id or their email.
tagquerystringA tag's label, in either case. Several, separated by commas, must all be on the item.
typequerystringAn item type's slug or name, in either case.
listquerystringA list's id or name, in either case.
mentionquerystring`me`, a user's id or their email: a comment on the item mentions them.
qquerystringWords the title holds, in either case.
limitquerynumber
cursorquerystringThe `next` of the previous page.

Respostas

  • 200

Items

GET/v1/containers/{containerId}/items

Parâmetros

NomeOndeTipoDescrição
containerIdobrigatóriopathstring

Respostas

  • 200
POST/v1/containers/{containerId}/items

Parâmetros

NomeOndeTipoDescrição
containerIdobrigatóriopathstring

Corpo do pedidoCreateItemDto

NomeTipoDescrição
titleobrigatóriostring
itemTypeIdobrigatóriostring
descriptionstringPlain-text description — used when no rich blocks are sent.
descriptionBlocksobject[]Rich description as editor blocks (`SerializedBlock[]`); the plain-text `description` is derived from it server-side.
estimatenumberEffort estimate (>= 0) + its unit — planning / sprint capacity.
estimateUnit"DAYS" | "HOURS" | "POINTS"
parentItemIdstringParent item (Epic▸Story▸Task); omit / null for a top-level item.
workflowStageIdstringBoard column to drop the new card into; omit / null for an unplaced item.
prioritystring
startDatestringPlanned start. With `dueDate` it makes the item a span on the timeline.
dueDatestring
customFieldsobjectCustom-field values keyed by FieldDefinition id (validated server-side).

Respostas

  • 201
GET/v1/item-types

Respostas

  • 200
POST/v1/item-types

Corpo do pedidoCreateItemTypeDto

NomeTipoDescrição
nameobrigatóriostring
pluralNameobrigatóriostring
identifierPrefixobrigatóriostringUppercase prefix for human ids, e.g. "TASK" → TASK-1.
iconstring
colorstring
hierarchyLevelnumber1=Epic … 5=Subtask.

Respostas

  • 201
GET/v1/item-types/{id}/fields

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 200
POST/v1/item-types/{id}/fields

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Corpo do pedidoCreateFieldDefinitionDto

NomeTipoDescrição
nameobrigatóriostring
fieldTypeobrigatório"DATETIME" | "DATE" | "TEXT" | "LONG_TEXT" | "NUMBER" | "CURRENCY" | "SELECT" | "MULTI_SELECT" | "USER" | "MULTI_USER" | "CHECKBOX" | "URL" | "EMAIL" | "PHONE" | "RATING" | "PROGRESS" | "RELATION" | "FORMULA"
configobjectPer-type settings: { options }, { min, max }, { expression }…
isRequiredboolean

Respostas

  • 201
GET/v1/items/{id}

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 200
PATCH/v1/items/{id}

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Corpo do pedidoUpdateItemDto

NomeTipoDescrição
titlestring
itemTypeIdstringAnother item type of the workspace; the identifier stays (ADR-039).
descriptionstringnull clears the description.
descriptionBlocksobject[]Rich description blocks; null clears. Plain text is derived server-side.
estimatenumbernull clears the estimate.
estimateUnit"DAYS" | "HOURS" | "POINTS"null clears the estimate unit.
prioritystringnull clears the priority.
startDatestringnull clears the planned start (back to a milestone).
dueDatestringnull clears the due date.

Respostas

  • 200
DELETE/v1/items/{id}

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 204
GET/v1/items/{id}/activity

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 200
PUT/v1/items/{id}/assignees

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Corpo do pedidoSetItemAssigneesDto

NomeTipoDescrição
userIdsobrigatóriostring[]The complete desired assignee set (replaces the current assignees).

Respostas

  • 200
POST/v1/items/{id}/duplicateCopy an item and its sub-items right after the original, in the same container and column. Assignees, tags, sprint, comments and links stay behind: a duplicate is a fresh start on the same work.

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Corpo do pedidoDuplicateItemDto

NomeTipoDescrição
titlestringThe copy's title; defaults to the original's with " (cópia)".

Respostas

  • 201
PUT/v1/items/{id}/fields

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Corpo do pedidoSetFieldValuesDto

NomeTipoDescrição
valuesobrigatórioobject{ [fieldDefinitionId]: value | null } — null clears that field.

Respostas

  • 200
POST/v1/items/{id}/move

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Corpo do pedidoMoveItemDto

NomeTipoDescrição
containerIdstringMove into another container (board/list); omit to stay put.
parentItemIdstringRe-parent in the item tree; omit / null for top-level.
afterItemIdstringPlace directly after this sibling; omit / null for the first position.

Respostas

  • 201

Maven

GET/maven/{splat}

Respostas

  • 200
POST/maven/{splat}

Respostas

  • 200
PUT/maven/{splat}

Respostas

  • 200
PATCH/maven/{splat}

Respostas

  • 200
DELETE/maven/{splat}

Respostas

  • 200

Me

GET/v1/me

Respostas

  • 200

Npm

GET/npm/{splat}

Respostas

  • 200
POST/npm/{splat}

Respostas

  • 200
PUT/npm/{splat}

Respostas

  • 200
PATCH/npm/{splat}

Respostas

  • 200
DELETE/npm/{splat}

Respostas

  • 200

NuGet

GET/nuget/{splat}

Respostas

  • 200
POST/nuget/{splat}

Respostas

  • 200
PUT/nuget/{splat}

Respostas

  • 200
PATCH/nuget/{splat}

Respostas

  • 200
DELETE/nuget/{splat}

Respostas

  • 200

Pipelines

POST/v1/pipelines/previewWell under the global ceiling: this is unauthenticated AND the most expensive thing an anonymous caller can ask for — parse, expression evaluation, matrix expansion and needs-graph planning, all synchronous on the event loop. A handful of previews per minute covers the landing-page demo; a flood of adversarial YAML would otherwise stall the whole api.

Corpo do pedidoPreviewPipelineDto

NomeTipoDescrição
yamlobrigatóriostringRaw workflow YAML to parse, validate and plan.

Respostas

  • 201

Previews

DELETE/v1/previews/{id}

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 204
POST/v1/previews/{id}/rebuild

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 204
GET/v1/repositories/{repositoryId}/open-prs

Parâmetros

NomeOndeTipoDescrição
repositoryIdobrigatóriopathstring

Respostas

  • 200
GET/v1/repositories/{repositoryId}/previews

Parâmetros

NomeOndeTipoDescrição
repositoryIdobrigatóriopathstring

Respostas

  • 200
POST/v1/repositories/{repositoryId}/previews

Parâmetros

NomeOndeTipoDescrição
repositoryIdobrigatóriopathstring

Corpo do pedidoCreatePreviewManuallyDto

NomeTipoDescrição
prNumberobrigatórionumberThe open pull-request number to stand a preview up for.

Respostas

  • 201

PrReviews

GET/v1/pull-requests/{id}/review-summaryThe `{approved, changes, unresolvedBlocking}` counts (F3's canMerge inputs).

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 200
GET/v1/pull-requests/{id}/reviews

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 200
POST/v1/pull-requests/{id}/reviewsSubmit (or re-submit) the caller's verdict — update-or-create per reviewer.

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Corpo do pedidoSubmitReviewDto

NomeTipoDescrição
stateobrigatório"approved" | "changes"
bodystringOptional summary accompanying the verdict.

Respostas

  • 201
GET/v1/pull-requests/{id}/threadsAll threads with comments; each carries `outdated` computed against the PR's current head (outdated threads are flagged, never hidden).

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 200
POST/v1/pull-requests/{id}/threadsOpen a thread (line-anchored when `path` is present — validated against the current persisted diff — else a PR-level conversation); `body` is the first comment.

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Corpo do pedidoCreateReviewThreadDto

NomeTipoDescrição
pathstringDiff file path to anchor to; omit for a PR-level conversation thread.
side"old" | "new"Which side of the diff the line lives on (default `new`).
linenumber1-based line number on `side`, as carried by the persisted diff's hunks.
blockingbooleanReviewer veto: while unresolved, the PR cannot merge (F3).
bodyobrigatóriostringThe thread's opening comment.

Respostas

  • 201
POST/v1/threads/{id}/comments

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Corpo do pedidoAddThreadCommentDto

NomeTipoDescrição
bodyobrigatóriostring

Respostas

  • 201
POST/v1/threads/{id}/resolveResolve. A BLOCKING thread only by its creator (the veto holder); non-blocking by anyone with review permission.

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 201
POST/v1/threads/{id}/unresolveReopen — anyone with review permission.

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 201

PullRequests

GET/v1/pull-requests/{id}

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 200
GET/v1/pull-requests/{id}/checksThe PR's native CI checks for its CURRENT head (F5a, ADR-024 D7) — fed by eQuantic CI on `prMode = equantic` repos; empty when none reported.

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 200
POST/v1/pull-requests/{id}/closeClose without merging (F3a) — the author, or anyone holding `pull_request.merge` (checked in-handler; the route rides read). Reopen is F7 — a close is final until then.

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 201
GET/v1/pull-requests/{id}/diffThe persisted diff of the PR's current head (F1b) — `pending: true` until materialized, so the UI polls instead of handling a 404.

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 200
POST/v1/pull-requests/{id}/enqueueEnqueue on the merge queue (F4a, ADR-024 D6): gated by `canMerge` with `requireUpToDate` treated as satisfied (rebase-testing against the current target IS the queue's job); any other unmet reason → 400 listing them. Entries are tested in order per (repository, targetBranch) and landed by the queue processor; the strategy is fixed at enqueue.

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Corpo do pedidoEnqueuePullRequestDto

NomeTipoDescrição
strategy"merge" | "squash" | "rebase"

Respostas

  • 201
DELETE/v1/pull-requests/{id}/enqueueRemove the PR's `waiting` entry from the merge queue (F4a) — the author, or anyone holding `pull_request.merge` (checked in-handler; the route rides read). A `testing` entry cannot be dequeued — its rebase-test is already running.

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 204
POST/v1/pull-requests/{id}/mergeMerge (F3a): re-evaluates canMerge server-side, materializes the merge in an ephemeral workdir with OUR mechanism and pushes to the provider — never the provider's merge API (ADR-024 D3/D6). Blocked → 400 listing every unmet reason. The role gate is intentionally broad (`pull_request.merge` is granted to contributors); BRANCH PROTECTION does the real gating, per merge.

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Corpo do pedidoMergePullRequestDto

NomeTipoDescrição
strategy"merge" | "squash" | "rebase"

Respostas

  • 201
GET/v1/pull-requests/{id}/merge-statusThe `canMerge` verdict + inputs (F3a, ADR-024 D5) — read-only; the merge endpoint re-evaluates server-side and never trusts this view.

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 200
GET/v1/repositories/{repositoryId}/merge-queueThe merge queue of a (repository, target branch) (F4a): live entries in queue order (1-based `position`; the testing head is 1) followed by the last 20 settled entries (`position` null) as history. `target` defaults to the repository's default branch.

Parâmetros

NomeOndeTipoDescrição
repositoryIdobrigatóriopathstring
targetquerystring

Respostas

  • 200
PUT/v1/repositories/{repositoryId}/pr-mode

Parâmetros

NomeOndeTipoDescrição
repositoryIdobrigatóriopathstring

Corpo do pedidoSetPrModeDto

NomeTipoDescrição
modeobrigatório"provider" | "equantic"

Respostas

  • 204
GET/v1/repositories/{repositoryId}/pull-requests

Parâmetros

NomeOndeTipoDescrição
repositoryIdobrigatóriopathstring
statequerystring

Respostas

  • 200
POST/v1/repositories/{repositoryId}/pull-requests

Parâmetros

NomeOndeTipoDescrição
repositoryIdobrigatóriopathstring

Corpo do pedidoCreatePullRequestDto

NomeTipoDescrição
titleobrigatóriostring
bodystring
sourceBranchobrigatóriostringBranch whose changes the PR proposes (its head sha is resolved from the forge).
targetBranchobrigatóriostringBranch the PR merges into (its head sha becomes the diff base).

Respostas

  • 201

Pypi

GET/pypitwine uploads POST to the bare `/pypi/` — a dedicated route because the `*splat` wildcard below doesn't match an empty remainder.

Respostas

  • 200
POST/pypitwine uploads POST to the bare `/pypi/` — a dedicated route because the `*splat` wildcard below doesn't match an empty remainder.

Respostas

  • 200
PUT/pypitwine uploads POST to the bare `/pypi/` — a dedicated route because the `*splat` wildcard below doesn't match an empty remainder.

Respostas

  • 200
PATCH/pypitwine uploads POST to the bare `/pypi/` — a dedicated route because the `*splat` wildcard below doesn't match an empty remainder.

Respostas

  • 200
DELETE/pypitwine uploads POST to the bare `/pypi/` — a dedicated route because the `*splat` wildcard below doesn't match an empty remainder.

Respostas

  • 200
GET/pypi/{splat}

Respostas

  • 200
POST/pypi/{splat}

Respostas

  • 200
PUT/pypi/{splat}

Respostas

  • 200
PATCH/pypi/{splat}

Respostas

  • 200
DELETE/pypi/{splat}

Respostas

  • 200

Registry

GET/v2`GET /v2/` — the OCI version probe (`docker login` hits this first). A dedicated route because the `*splat` wildcard below only matches a non-empty remainder, so `/v2` and `/v2/` would otherwise 404 and fail the handshake.

Respostas

  • 200
POST/v2`GET /v2/` — the OCI version probe (`docker login` hits this first). A dedicated route because the `*splat` wildcard below only matches a non-empty remainder, so `/v2` and `/v2/` would otherwise 404 and fail the handshake.

Respostas

  • 200
PUT/v2`GET /v2/` — the OCI version probe (`docker login` hits this first). A dedicated route because the `*splat` wildcard below only matches a non-empty remainder, so `/v2` and `/v2/` would otherwise 404 and fail the handshake.

Respostas

  • 200
PATCH/v2`GET /v2/` — the OCI version probe (`docker login` hits this first). A dedicated route because the `*splat` wildcard below only matches a non-empty remainder, so `/v2` and `/v2/` would otherwise 404 and fail the handshake.

Respostas

  • 200
DELETE/v2`GET /v2/` — the OCI version probe (`docker login` hits this first). A dedicated route because the `*splat` wildcard below only matches a non-empty remainder, so `/v2` and `/v2/` would otherwise 404 and fail the handshake.

Respostas

  • 200
GET/v2/{splat}

Respostas

  • 200
POST/v2/{splat}

Respostas

  • 200
PUT/v2/{splat}

Respostas

  • 200
PATCH/v2/{splat}

Respostas

  • 200
DELETE/v2/{splat}

Respostas

  • 200

RegistryToken

GET/v1/registry/tokens

Respostas

  • 200
POST/v1/registry/tokensCreates a token and returns the raw value ONCE (store it now).

Corpo do pedidoCreateRegistryTokenDto

NomeTipoDescrição
nameobrigatóriostring
expiresInDaysnumberOptional expiry in days (omit = never expires).

Respostas

  • 201
DELETE/v1/registry/tokens/{id}

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 204

Repositories

GET/v1/repositories

Respostas

  • 200
POST/v1/repositories

Corpo do pedidoConnectRepositoryDto

NomeTipoDescrição
fullNameobrigatóriostringGitHub/Bitbucket `owner/name` (e.g. `equantic/space-demo`), Azure DevOps `org/project/repo` (e.g. `equantic/platform/api`) or GitLab `group/subgroup/.../project` (deep subgroups) — 2–10 segments; the `RepoFullName` VO revalidates (ADR-025 P1a/G1/B1). Segments may contain spaces INSIDE (Azure project names, e.g. `equantic/My Project/api`) but never at the edges — mirrors the VO's segment rule.
provider"github" | "azure_devops" | "gitlab" | "bitbucket"SCM provider — defaults to `github` for back-compat (ADR-025 P1b).

Respostas

  • 201
GET/v1/repositories/{id}

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 200
DELETE/v1/repositories/{id}

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 204
PATCH/v1/repositories/{id}/eqs-cli

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Corpo do pedidoSetRepositoryEqsCliDto

NomeTipoDescrição
enabledobrigatórioboolean

Respostas

  • 204
PATCH/v1/repositories/{id}/pipelinesMaster switch for this repo's CI (pauses every pipeline in it).

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Corpo do pedidoSetRepositoryPipelinesDto

NomeTipoDescrição
enabledobrigatórioboolean

Respostas

  • 204
GET/v1/repositories/{id}/preview-config

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 200
PUT/v1/repositories/{id}/preview-config

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Corpo do pedidoSetRepositoryPreviewConfigDto

NomeTipoDescrição
autoCreateobrigatórioboolean"Auto-preview em PRs" — create a preview env automatically on PRs.
spaceIdobrigatóriostring (uuid)Target Space the preview environments deploy under.
baseEnvironmentIdstring (uuid)Optional base environment to clone env vars from.

Respostas

  • 200
PATCH/v1/repositories/pipelinesPauses or resumes many repositories' CI at once, all of them or none: one id the workspace does not have refuses the request with a 404 naming it.

Corpo do pedidoSetRepositoriesPipelinesDto

NomeTipoDescrição
repositoryIdsobrigatóriostring (uuid)[]The repositories to pause or resume, all of them or none.
enabledobrigatórioboolean

Respostas

  • 204

RepositoryEnvironments

GET/v1/repositories/{repositoryId}/environments

Parâmetros

NomeOndeTipoDescrição
repositoryIdobrigatóriopathstring

Respostas

  • 200
PUT/v1/repositories/{repositoryId}/environments/{name}

Parâmetros

NomeOndeTipoDescrição
repositoryIdobrigatóriopathstring
nameobrigatóriopathstring

Corpo do pedidoSetEnvironmentDto

NomeTipoDescrição
requiresApprovalobrigatóriobooleanWhether a job targeting this environment must be manually approved first.

Respostas

  • 204
DELETE/v1/repositories/{repositoryId}/environments/{name}

Parâmetros

NomeOndeTipoDescrição
repositoryIdobrigatóriopathstring
nameobrigatóriopathstring

Respostas

  • 204

RepositorySecrets

GET/v1/repositories/{repositoryId}/secrets

Parâmetros

NomeOndeTipoDescrição
repositoryIdobrigatóriopathstring

Respostas

  • 200
PUT/v1/repositories/{repositoryId}/secrets/{name}

Parâmetros

NomeOndeTipoDescrição
repositoryIdobrigatóriopathstring
nameobrigatóriopathstring

Corpo do pedidoSetSecretDto

NomeTipoDescrição
valueobrigatóriostring

Respostas

  • 204
DELETE/v1/repositories/{repositoryId}/secrets/{name}

Parâmetros

NomeOndeTipoDescrição
repositoryIdobrigatóriopathstring
nameobrigatóriopathstring

Respostas

  • 204
GET/v1/repositories/{repositoryId}/secrets/github-namesNames defined on GitHub vs. set here, to hint what's missing.

Parâmetros

NomeOndeTipoDescrição
repositoryIdobrigatóriopathstring

Respostas

  • 200

RepositoryVariables

GET/v1/repositories/{repositoryId}/variables

Parâmetros

NomeOndeTipoDescrição
repositoryIdobrigatóriopathstring

Respostas

  • 200
PUT/v1/repositories/{repositoryId}/variables/{name}

Parâmetros

NomeOndeTipoDescrição
repositoryIdobrigatóriopathstring
nameobrigatóriopathstring

Corpo do pedidoSetVariableDto

NomeTipoDescrição
valueobrigatóriostring

Respostas

  • 204
DELETE/v1/repositories/{repositoryId}/variables/{name}

Parâmetros

NomeOndeTipoDescrição
repositoryIdobrigatóriopathstring
nameobrigatóriopathstring

Respostas

  • 204

Rollout

POST/v1/admin/system/rollout

Corpo do pedidoRolloutPlanDto

NomeTipoDescrição
namespaceobrigatóriostring
jobRolloutJobDto
ensurePullSecretstring
stepsobrigatórioRolloutStepDto[]

Respostas

  • 201
GET/v1/admin/system/rollout/status

Respostas

  • 200
GET/v1/admin/system/rollout/stream

Respostas

  • 200

Rubygems

GET/rubygems/{splat}

Respostas

  • 200
POST/rubygems/{splat}

Respostas

  • 200
PUT/rubygems/{splat}

Respostas

  • 200
PATCH/rubygems/{splat}

Respostas

  • 200
DELETE/rubygems/{splat}

Respostas

  • 200

RunDeployments

GET/v1/runs/{runId}/deploymentsEverywhere this run's own images are (or were) deployed.

Parâmetros

NomeOndeTipoDescrição
runIdobrigatóriopathstring

Respostas

  • 200

RunnerHosts

GET/v1/runner-hostsEvery registered machine, including the ones that are not working.

Respostas

  • 200
POST/v1/runner-hostsRegisters a machine, or updates one already registered under that name. Leave `privateKey` out — that is the intended path: the platform mints an ed25519 pair, keeps the private half encrypted, and returns the public one for the operator to install. Supplying a key is for someone who already has a dedicated CI key.

Corpo do pedidoRegisterRunnerHostDto

NomeTipoDescrição
nameobrigatóriostringUnique, and the handle the job log names — `Running on 'mac-mini-1'`.
osobrigatório"linux" | "windows" | "macos"
addressobrigatóriostringHostname or IP the platform opens ssh to.
userobrigatóriostringThe account CI runs as. Unprivileged, please: a job is untrusted code.
portnumber
arch"amd64" | "arm64"
labelsstring[]Extra `runs-on` labels beyond the implicit OS ones (e.g. `xcode-16`).
maxConcurrencynumberJobs this machine takes at once.
privateKeystringAn existing OpenSSH private key, when the operator insists on supplying one. Encrypted before it reaches the repository and never returned.

Respostas

  • 201
DELETE/v1/runner-hosts/{id}Forgets the machine. Its authorized_keys is not touched.

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 204
POST/v1/runner-hosts/{id}/checkOpens an ssh session and asks the machine what it is.

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 200
PUT/v1/runner-hosts/{id}/idle-stopSwitches a machine this platform runs on or off (ADR-036). Only a machine whose power it owns: everything else belongs to whoever runs it.

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Corpo do pedidoRunnerHostIdleStopDto

NomeTipoDescrição
minutesobrigatórionumber

Respostas

  • 200
POST/v1/runner-hosts/{id}/power

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Corpo do pedidoRunnerHostPowerDto

NomeTipoDescrição
actionobrigatório"on" | "off"

Respostas

  • 201
PUT/v1/runner-hosts/{id}/statusonline | draining | offline.

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Corpo do pedidoRunnerHostStatusDto

NomeTipoDescrição
statusobrigatório"online" | "draining" | "offline"`draining` before a reboot, `offline` to retire, `online` to take work.

Respostas

  • 200

Runners

GET/v1/runners/capacity-policyThe CI capacity policy and what it currently buys. Super-admin: this decides how much of the machine the runner may take, which is an install-level decision rather than a workspace one.

Respostas

  • 200
PUT/v1/runners/capacity-policySaves the policy. Takes effect on the next budget refresh (≤30 s).

Corpo do pedidoCiPolicyDto

NomeTipoDescrição
targetCpuPerJobnumberCores a job is sized around; sets how MANY jobs a node offers.
minJobCpunumberFloor below which a slot is not worth offering.
minJobMemoryGinumber
platformReserveRationumberShare of each node kept for the platform itself.
minAdmissibleMemoryGinumberBelow this share, a node offers no slots and jobs wait. 0 = off.
maxConcurrentJobsnumberHard cap on concurrent jobs. 0 = no cap.
pinnedJobCpustringFixed per-job CPU; applies on its own, without the memory pin.
pinnedJobMemorystringFixed per-job memory, with its unit; applies on its own.
growJobMemorybooleanWhether a running job's memory may be raised in place as it approaches its ceiling (ADR-035). Null clears it back to the default, which is on.
maxJobMemoryGinumberNever grow one job past this. 0 = only the node's free room bounds it.
queuedCeilingMinutesnumberHow long a run may sit queued before the watchdog gives up on it, in minutes. 0 = never. A week is the ceiling on the ceiling: past that the commit it was triggered for is ancient, and a run nobody has missed in a week is not one a longer wait would have saved.
runningCeilingMinutesnumberHow long a run may be in progress. 0 = no ceiling.
jobCeilingMinutesnumberHow long ONE job may run when its own executor stopped counting, for a job that declares no `timeout-minutes` of its own. 0 = no ceiling.
minJobDiskGinumberThe disk a job slot is counted at, workspace and Docker together (ADR-038). GitHub documents 14 GB for its runner; under 1 a job cannot hold a checkout.
pinnedJobDiskstringFixed per-job disk, with its unit; applies on its own.

Respostas

  • 200
POST/v1/runners/capacity-policy/previewWhat a candidate policy WOULD yield on today's cluster, without saving it. The editor needs this because the knobs are not independently meaningful: a 25% reserve and a 4-core target together might mean "no jobs at all", and finding that out by saving and waiting for a run to queue is a cruel way to learn it. Same derivation as the live budget, same node facts, different knobs.

Corpo do pedidoCiPolicyDto

NomeTipoDescrição
targetCpuPerJobnumberCores a job is sized around; sets how MANY jobs a node offers.
minJobCpunumberFloor below which a slot is not worth offering.
minJobMemoryGinumber
platformReserveRationumberShare of each node kept for the platform itself.
minAdmissibleMemoryGinumberBelow this share, a node offers no slots and jobs wait. 0 = off.
maxConcurrentJobsnumberHard cap on concurrent jobs. 0 = no cap.
pinnedJobCpustringFixed per-job CPU; applies on its own, without the memory pin.
pinnedJobMemorystringFixed per-job memory, with its unit; applies on its own.
growJobMemorybooleanWhether a running job's memory may be raised in place as it approaches its ceiling (ADR-035). Null clears it back to the default, which is on.
maxJobMemoryGinumberNever grow one job past this. 0 = only the node's free room bounds it.
queuedCeilingMinutesnumberHow long a run may sit queued before the watchdog gives up on it, in minutes. 0 = never. A week is the ceiling on the ceiling: past that the commit it was triggered for is ancient, and a run nobody has missed in a week is not one a longer wait would have saved.
runningCeilingMinutesnumberHow long a run may be in progress. 0 = no ceiling.
jobCeilingMinutesnumberHow long ONE job may run when its own executor stopped counting, for a job that declares no `timeout-minutes` of its own. 0 = no ceiling.
minJobDiskGinumberThe disk a job slot is counted at, workspace and Docker together (ADR-038). GitHub documents 14 GB for its runner; under 1 a job cannot hold a checkout.
pinnedJobDiskstringFixed per-job disk, with its unit; applies on its own.

Respostas

  • 201
GET/v1/runners/poolLive runner-pool occupancy + waiting count (any authenticated user).

Respostas

  • 200

Runs

GET/v1/runsA page of the workspace's runs (ci-run-list), newest first unless `order` is `oldest`, narrowed to one repository, to the status a run shows and to one run number. Numbers count per repository, so `runNumber` alone lists each repository's run with that number, which is how the CLI tells a number one repository has from one several share.

Parâmetros

NomeOndeTipoDescrição
repositoryIdquerystring
limitquerynumber
offsetquerynumber
statusquery"queued" | "waiting" | "in_progress" | "success" | "failure" | "cancelled" | "timed_out" | "skipped" | "action_required" | "neutral"
orderquery"newest" | "oldest"
runNumberqueryinteger

Respostas

  • 200
GET/v1/runs/{id}

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 200
POST/v1/runs/{id}/cancel

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 200
GET/v1/runs/{id}/jobs/{jobRunId}/logs

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring
jobRunIdobrigatóriopathstring
afterSeqquerynumber

Respostas

  • 200
GET/v1/runs/{id}/jobs/{jobRunId}/logs/streamLive job logs over SSE: replays the whole persisted backlog after `afterSeq`, every page of it (the first read also enforces ownership → 404), then tails new lines as the runner produces them, completing when the job finishes. A finished run replays once and completes immediately. Subscribed before the replay so no line is lost in the gap; deduped by the monotonic `seq`.

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring
jobRunIdobrigatóriopathstring
last-event-idobrigatórioheaderstring
afterSeqquerynumber

Respostas

  • 200
POST/v1/runs/{id}/jobs/{jobRunId}/review

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring
jobRunIdobrigatóriopathstring

Corpo do pedidoReviewDeploymentDto

NomeTipoDescrição
decisionobrigatório"approve" | "reject"

Respostas

  • 200
POST/v1/runs/{id}/rerun

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Corpo do pedidoRerunRunDto

NomeTipoDescrição
modeobrigatório"all" | "failed"

Respostas

  • 200
POST/v1/runs/dispatch

Corpo do pedidoDispatchWorkflowDto

NomeTipoDescrição
repositoryIdobrigatóriostring (uuid)
workflowPathobrigatóriostringPath of the workflow file inside the repo.
refstringBranch, tag or sha to run on; defaults to the repository default branch.
inputsobjectworkflow_dispatch inputs (string values, GitHub semantics).

Respostas

  • 201

ServiceConsole

POST/v1/services/{id}/console/token

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring
podquerystring

Respostas

  • 201

ServiceData

POST/v1/services/{serviceId}/data/ddlChange structure. A permission of its own — dropping a table is not editing a row.

Parâmetros

NomeOndeTipoDescrição
serviceIdobrigatóriopathstring

Corpo do pedidoRunStatementDto

NomeTipoDescrição
statementobrigatóriostringThe statement, in the engine's own language — SQL for a relational service, a command for Redis. Never parsed by the platform.
paramsobject[]Values bound by the driver as $1…, never spliced into the statement. They are NOT written to the audit log.
limitnumberRows to return before truncating (default 100, max 10000).
timeoutMsnumberStatement timeout in milliseconds (default 15000, max 120000).

Respostas

  • 200
POST/v1/services/{serviceId}/data/execWrite rows.

Parâmetros

NomeOndeTipoDescrição
serviceIdobrigatóriopathstring

Corpo do pedidoRunStatementDto

NomeTipoDescrição
statementobrigatóriostringThe statement, in the engine's own language — SQL for a relational service, a command for Redis. Never parsed by the platform.
paramsobject[]Values bound by the driver as $1…, never spliced into the statement. They are NOT written to the audit log.
limitnumberRows to return before truncating (default 100, max 10000).
timeoutMsnumberStatement timeout in milliseconds (default 15000, max 120000).

Respostas

  • 200
POST/v1/services/{serviceId}/data/queryRead. Runs in a read-only transaction where the engine supports one.

Parâmetros

NomeOndeTipoDescrição
serviceIdobrigatóriopathstring

Corpo do pedidoRunStatementDto

NomeTipoDescrição
statementobrigatóriostringThe statement, in the engine's own language — SQL for a relational service, a command for Redis. Never parsed by the platform.
paramsobject[]Values bound by the driver as $1…, never spliced into the statement. They are NOT written to the audit log.
limitnumberRows to return before truncating (default 100, max 10000).
timeoutMsnumberStatement timeout in milliseconds (default 15000, max 120000).

Respostas

  • 200
GET/v1/services/{serviceId}/data/tablesThe reader's tables (relational engines). A read, so `data.read`.

Parâmetros

NomeOndeTipoDescrição
serviceIdobrigatóriopathstring

Respostas

  • 200
GET/v1/services/{serviceId}/data/tables/{table}One table's columns.

Parâmetros

NomeOndeTipoDescrição
serviceIdobrigatóriopathstring
tableobrigatóriopathstring

Respostas

  • 200

ServiceDomains

GET/v1/services/{serviceId}/domains

Parâmetros

NomeOndeTipoDescrição
serviceIdobrigatóriopathstring

Respostas

  • 200
POST/v1/services/{serviceId}/domains

Parâmetros

NomeOndeTipoDescrição
serviceIdobrigatóriopathstring

Corpo do pedidoAddDomainDto

NomeTipoDescrição
hostobrigatóriostringThe custom domain to attach, e.g. `app.mycompany.com`.

Respostas

  • 201
DELETE/v1/services/{serviceId}/domains/{domainId}

Parâmetros

NomeOndeTipoDescrição
serviceIdobrigatóriopathstring
domainIdobrigatóriopathstring

Respostas

  • 204
POST/v1/services/{serviceId}/domains/{domainId}/verifyRe-checks the DNS-TXT challenge; `{ verified }` reflects the new state.

Parâmetros

NomeOndeTipoDescrição
serviceIdobrigatóriopathstring
domainIdobrigatóriopathstring

Respostas

  • 201
PUT/v1/services/{serviceId}/domains/{domainId}/wwwTurns the `www.` alias of one domain on or off — idempotent, so it is also how the mode is changed. On a domain, not on the service: a service can hold several custom domains and each decides for itself.

Parâmetros

NomeOndeTipoDescrição
serviceIdobrigatóriopathstring
domainIdobrigatóriopathstring

Corpo do pedidoSetWwwAliasDto

NomeTipoDescrição
enabledobrigatórioboolean
mode"serve" | "redirect"

Respostas

  • 200
PUT/v1/services/{serviceId}/domains/addressChooses the name of the service's address under the platform's domain (ADR-040), `<name>.<deploy domain>`. The generated address keeps answering and redirects to it. Answers the service's domains. Declared before the `:domainId` routes: Express matches in order, and `address` would otherwise be read as a domain's id.

Parâmetros

NomeOndeTipoDescrição
serviceIdobrigatóriopathstring

Corpo do pedidoChooseAddressDto

NomeTipoDescrição
nameobrigatóriostringThe name of the service's address under the platform's domain, as in `cura-accounts` for `cura-accounts.apps.equantic.space`. Its rules (ADR-040) are checked by the service, which answers with the one it breaks.

Respostas

  • 200
DELETE/v1/services/{serviceId}/domains/addressClears the chosen name: the generated address is the service's again.

Parâmetros

NomeOndeTipoDescrição
serviceIdobrigatóriopathstring

Respostas

  • 204

ServiceEnvVars

GET/v1/services/{serviceId}/env

Parâmetros

NomeOndeTipoDescrição
serviceIdobrigatóriopathstring

Respostas

  • 200
PUT/v1/services/{serviceId}/env

Parâmetros

NomeOndeTipoDescrição
serviceIdobrigatóriopathstring

Corpo do pedidoSetEnvVarDto

NomeTipoDescrição
keyobrigatóriostring
valueobrigatóriostring
secretbooleanEncrypt at rest + space via a k8s Secret (default false).

Respostas

  • 204
DELETE/v1/services/{serviceId}/env/{key}

Parâmetros

NomeOndeTipoDescrição
serviceIdobrigatóriopathstring
keyobrigatóriopathstring

Respostas

  • 204
POST/v1/services/{serviceId}/env/applyRe-renders the manifest + env Secret with the current variables. Async.

Parâmetros

NomeOndeTipoDescrição
serviceIdobrigatóriopathstring

Respostas

  • 202
GET/v1/services/{serviceId}/env/pendingWhether variables are waiting for a rollout. Server-side state on purpose: the reader can leave the tab, reload, or come back tomorrow and the pending apply is still there — and it clears itself when ANY rollout picks the variables up, not only one started from this screen.

Parâmetros

NomeOndeTipoDescrição
serviceIdobrigatóriopathstring

Respostas

  • 200

ServiceExec

POST/v1/services/{id}/exec

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Corpo do pedidoExecServiceDto

NomeTipoDescrição
commandobrigatóriostring[]The command as argv. Never parsed or split by the platform — element 0 is the program, the rest are its arguments. For shell semantics, ask for a shell explicitly.
instancestringA specific instance (pod) to run in. Defaults to the freshest Running one. An instance that is not this service's is refused, never redirected.
timeoutMsnumberKilled after this many milliseconds (default 60000, max 300000). A timeout answers with exit code 124.
stdinstringWritten to the command's stdin and closed. This is how a script or a SQL file is piped in — it is NOT written to any log, unlike the command itself.

Respostas

  • 201

ServiceMetrics

GET/v1/services/{serviceId}/metricsLive CPU/mem usage for the service's pods (read-only; safe to poll).

Parâmetros

NomeOndeTipoDescrição
serviceIdobrigatóriopathstring

Respostas

  • 200
GET/v1/services/{serviceId}/metrics/historyCPU/mem time series for the service (read-only). `hours` 1–168, default 24.

Parâmetros

NomeOndeTipoDescrição
serviceIdobrigatóriopathstring
hoursquerystring

Respostas

  • 200

ServiceMq

GET/v1/services/{serviceId}/mq/queuesWhat is on the broker. Streams on NATS; refused on AMQP, which cannot.

Parâmetros

NomeOndeTipoDescrição
serviceIdobrigatóriopathstring

Respostas

  • 200
POST/v1/services/{serviceId}/mq/queues/{target}/consumeTake messages off. They do not come back.

Parâmetros

NomeOndeTipoDescrição
serviceIdobrigatóriopathstring
targetobrigatóriopathstring

Corpo do pedidoBrokerOperationDto

NomeTipoDescrição
payloadstringThe message body, for publish. Sent as bytes and never written to the audit log.
limitnumberMessages to read before truncating (default 100, max 10000).
timeoutMsnumberOperation timeout in milliseconds (default 15000, max 120000).

Respostas

  • 200
POST/v1/services/{serviceId}/mq/queues/{target}/peekLook without taking — as far as the broker allows; the result says.

Parâmetros

NomeOndeTipoDescrição
serviceIdobrigatóriopathstring
targetobrigatóriopathstring

Corpo do pedidoBrokerOperationDto

NomeTipoDescrição
payloadstringThe message body, for publish. Sent as bytes and never written to the audit log.
limitnumberMessages to read before truncating (default 100, max 10000).
timeoutMsnumberOperation timeout in milliseconds (default 15000, max 120000).

Respostas

  • 200
POST/v1/services/{serviceId}/mq/queues/{target}/publishPut one on.

Parâmetros

NomeOndeTipoDescrição
serviceIdobrigatóriopathstring
targetobrigatóriopathstring

Corpo do pedidoBrokerOperationDto

NomeTipoDescrição
payloadstringThe message body, for publish. Sent as bytes and never written to the audit log.
limitnumberMessages to read before truncating (default 100, max 10000).
timeoutMsnumberOperation timeout in milliseconds (default 15000, max 120000).

Respostas

  • 200
POST/v1/services/{serviceId}/mq/queues/{target}/purgeDiscard everything on it. `data.ddl`, not `data.write`. Not a schema change, so on the word alone it does not belong there. But `data.ddl` exists in this ADR because "editing a row and dropping a table are not the same risk", and emptying a production queue is the second kind.

Parâmetros

NomeOndeTipoDescrição
serviceIdobrigatóriopathstring
targetobrigatóriopathstring

Corpo do pedidoBrokerOperationDto

NomeTipoDescrição
payloadstringThe message body, for publish. Sent as bytes and never written to the audit log.
limitnumberMessages to read before truncating (default 100, max 10000).
timeoutMsnumberOperation timeout in milliseconds (default 15000, max 120000).

Respostas

  • 200

ServiceRuntimeLogs

GET/v1/services/{id}/instancesThe service's pods — the instance picker for the console + runtime logs.

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 200
GET/v1/services/{id}/logs/runtimeLive runtime logs (`?instance=all` or a pod name) as Server-Sent Events.

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring
instancequeryobject

Respostas

  • 200

Services

GET/v1/services/{id}

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 200
PATCH/v1/services/{id}Updates the service's runtime config, then re-rolls it.

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Corpo do pedidoUpdateServiceDto

NomeTipoDescrição
namestring
imagestringNew image ref (image-source services only).
branchstring
dockerfilePathstring
portnumber
internalboolean
publicAllowedCidrsstring[]CIDRs allowed to reach the public TCP port; empty = any source (ADR-013 F2). Validated here rather than trusted: a typo'd CIDR would be rejected by the cluster mid-rollout, and the safest place to catch it is before any of this reaches the engine.
minInstancesnumber0 = scale-to-zero.
maxInstancesnumber
cpuRequeststring
memRequeststring
cpuLimitstring
memLimitstring
healthPathstringReadiness path; blank clears it, back to the plain TCP probe.
argsstring[]Container args (replaces the image's CMD). An empty array clears them.

Respostas

  • 200
DELETE/v1/services/{id}Deletes the service + all its vcluster resources (irreversible).

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 204
GET/v1/services/{id}/connectionConnection details for a marketplace service (host/port/credentials), for the Connect dialog. Gated on `env.read` rather than `service.read`: the response carries the service's real password, so it is exactly as sensitive as revealing an env secret.

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 200
GET/v1/services/{id}/deploymentsThe service's deploy history (newest first).

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 200
GET/v1/services/{id}/provenanceWhere what this service is running came from: the version, the run that pushed it and the repository behind it (ADR-033).

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 200
POST/v1/services/{id}/redeployRe-rolls the service (rebuilds repo sources). Accepted; runs async.

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 202
POST/v1/services/{id}/restartRestarts the service's pods in place (no rebuild). Accepted; runs async.

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 202
POST/v1/services/{id}/rollbackRolls back to a prior deployment's image (redeploy, no rebuild).

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Corpo do pedidoRollbackServiceDto

NomeTipoDescrição
deploymentIdobrigatóriostringThe prior deployment to roll back to (its image is redeployed).

Respostas

  • 202
POST/v1/services/{id}/startStarts a stopped service (scale back to its floor).

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 204
POST/v1/services/{id}/stopStops the service (scale to 0, KEDA paused).

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 204

SpaceEnvVars

GET/v1/spaces/{spaceId}/env

Parâmetros

NomeOndeTipoDescrição
spaceIdobrigatóriopathstring

Respostas

  • 200
PUT/v1/spaces/{spaceId}/env

Parâmetros

NomeOndeTipoDescrição
spaceIdobrigatóriopathstring

Corpo do pedidoSetEnvVarDto

NomeTipoDescrição
keyobrigatóriostring
valueobrigatóriostring
secretbooleanEncrypt at rest + space via a k8s Secret (default false).

Respostas

  • 204
DELETE/v1/spaces/{spaceId}/env/{key}

Parâmetros

NomeOndeTipoDescrição
spaceIdobrigatóriopathstring
keyobrigatóriopathstring

Respostas

  • 204

Spaces

GET/v1/spaces

Respostas

  • 200
POST/v1/spaces

Corpo do pedidoCreateSpaceDto

NomeTipoDescrição
nameobrigatóriostring
descriptionstring
colorstring

Respostas

  • 201
GET/v1/spaces/{id}

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 200
PATCH/v1/spaces/{id}Renames the space (display name only; the slug stays stable).

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Corpo do pedidoUpdateSpaceDto

NomeTipoDescrição
nameobrigatóriostring

Respostas

  • 200
DELETE/v1/spaces/{id}Deletes the space + all its services' vcluster resources (irreversible).

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 204
POST/v1/spaces/{id}/moveMoves the space in the workspace's list, the order every member sees: first when `afterSpaceId` is null, otherwise right after that space.

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Corpo do pedidoMoveSpaceDto

NomeTipoDescrição
afterSpaceIdstringPlace the space directly after this one; omit or null to put it first. Both must belong to the active workspace.

Respostas

  • 200

SpaceServices

GET/v1/spaces/{id}/services

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 200
POST/v1/spaces/{id}/services

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Corpo do pedidoCreateServiceDto

NomeTipoDescrição
nameobrigatóriostring
sourceobrigatório"image" | "repo" | "dockerfile" | "compose"
environmentIdstring (uuid)Target environment; defaults to the space's default (production).
imagestringPrebuilt image ref (source = image).
repostringRepo "owner/name" (source = repo/dockerfile/compose).
branchstring
dockerfilePathstring
portnumber
minInstancesnumber0 = scale-to-zero.
maxInstancesnumber
cpuRequeststringPer-instance resource overrides. Omitted/blank leaves the service on the engine default, which is what most services want — the wizard only sends these when the operator opens Avançado and types a value.
memRequeststring
cpuLimitstring
memLimitstring
healthPathstringReadiness path. Set → the probe becomes an HTTP GET against it; omitted → the port just has to accept a TCP connection, which is all a portless or non-HTTP workload can promise.
argsstring[]Container args (replaces the image's CMD). A catalog service inherits the entry's args; passing them here overrides that for this one service.
internalbooleanInternal (no public domain) — ClusterIP only. Databases are internal.
statefulbooleanStateful workload (database/storage) → StatefulSet + PVC.
storageGinumberPersistent volume size in GiB (required when stateful).
dataPathstringContainer path the volume mounts at (required when stateful).
catalogServiceIdstring (uuid)Create from a catalog entry (one-click) — resolves image/port/stateful/etc.
versionstringCatalog image version (defaults to the catalog's newest).
fieldValuesobjectCatalog field values (key → value) → env vars + the PVC size.

Respostas

  • 201

Sprints

PUT/v1/items/{id}/sprint

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Corpo do pedidoSetItemSprintDto

NomeTipoDescrição
sprintIdstringThe target sprint; omit / null to remove the item from its sprint.

Respostas

  • 200
GET/v1/spaces/{spaceId}/sprints

Parâmetros

NomeOndeTipoDescrição
spaceIdobrigatóriopathstring

Respostas

  • 200
POST/v1/spaces/{spaceId}/sprints

Parâmetros

NomeOndeTipoDescrição
spaceIdobrigatóriopathstring

Corpo do pedidoCreateSprintDto

NomeTipoDescrição
nameobrigatóriostring
goalstring
startDatestring
endDatestring
capacitynumber

Respostas

  • 201
PATCH/v1/sprints/{id}

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Corpo do pedidoUpdateSprintDto

NomeTipoDescrição
namestring
goalstringnull clears the goal.
startDatestring
endDatestring
capacitynumber

Respostas

  • 200
DELETE/v1/sprints/{id}

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 204
POST/v1/sprints/{id}/transition

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Corpo do pedidoTransitionSprintDto

NomeTipoDescrição
actionobrigatório"start" | "complete"'start' (PLANNED → ACTIVE) or 'complete' (→ COMPLETED).

Respostas

  • 201

System

POST/v1/admin/system/licenseReplaces the platform licence with a new serial — the badge's action (ADR-018 amendment). Verified before it is stored, so a wrong serial cannot cost a working licence. Accepts a SERIAL only: a public key supplied here would let anyone verify a licence they signed themselves.

Corpo do pedidoApplyLicenseDto

NomeTipoDescrição
licenseKeyobrigatóriostring

Respostas

  • 201
GET/v1/admin/system/update

Respostas

  • 200
POST/v1/admin/system/update/applyTriggers an update to the given tag (or the latest). Idempotent while running.

Corpo do pedidoApplyUpdateDto

NomeTipoDescrição
versionstringTarget release tag (e.g. "v2026.06.19-142530"). Omit to update to the latest GitHub release. Constrained to a safe tag shape — it is interpolated into a release download URL and a Job manifest.

Respostas

  • 201
GET/v1/admin/system/update/status

Respostas

  • 200
GET/v1/admin/system/update/streamLive progress of the running update (Server-Sent Events).

Respostas

  • 200
GET/v1/admin/system/version

Respostas

  • 200

Tags

PUT/v1/items/{id}/tags

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Corpo do pedidoSetItemTagsDto

NomeTipoDescrição
tagIdsobrigatóriostring[]The complete desired tag set (replaces the current tags).

Respostas

  • 200
GET/v1/spaces/{spaceId}/tags

Parâmetros

NomeOndeTipoDescrição
spaceIdobrigatóriopathstring

Respostas

  • 200
POST/v1/spaces/{spaceId}/tags

Parâmetros

NomeOndeTipoDescrição
spaceIdobrigatóriopathstring

Corpo do pedidoCreateTagDto

NomeTipoDescrição
labelobrigatóriostring
colorobrigatóriostring

Respostas

  • 201

Templates

GET/v1/space-templates

Respostas

  • 200
POST/v1/spaces/{spaceId}/apply-templateMaterializes the template's whole structure into the Space.

Parâmetros

NomeOndeTipoDescrição
spaceIdobrigatóriopathstring

Corpo do pedidoApplyTemplateDto

NomeTipoDescrição
templateKeyobrigatóriostringThe template key from the catalog (e.g. "scrum", "kanban", "bug-tracker").

Respostas

  • 204

Webhooks

POST/v1/webhooks/{provider}

Parâmetros

NomeOndeTipoDescrição
providerobrigatóriopathstring

Respostas

  • 202

Wiki

GET/v1/repositories/{repositoryId}/wikiWiki availability + pages (markdown), read from the `.wiki` git repo.

Parâmetros

NomeOndeTipoDescrição
repositoryIdobrigatóriopathstring

Respostas

  • 200

Workflows

GET/v1/repositories/{repositoryId}/workflows

Parâmetros

NomeOndeTipoDescrição
repositoryIdobrigatóriopathstring

Respostas

  • 200
PATCH/v1/repositories/{repositoryId}/workflows/{workflowFileId}/enabledEnables/disables ONE pipeline. Applies to the next event; runs already in flight finish (see SetWorkflowEnabledHandler).

Parâmetros

NomeOndeTipoDescrição
repositoryIdobrigatóriopathstring
workflowFileIdobrigatóriopathstring

Corpo do pedidoSetWorkflowEnabledDto

NomeTipoDescrição
enabledobrigatórioboolean

Respostas

  • 204
GET/v1/repositories/{repositoryId}/workflows/action-metadataAction metadata (inputs) for the step assistant — any `owner/repo@ref`.

Parâmetros

NomeOndeTipoDescrição
repositoryIdobrigatóriopathstring
usesobrigatórioquerystring

Respostas

  • 200
GET/v1/repositories/{repositoryId}/workflows/contentRaw YAML of a workflow file (fetched from the provider on demand).

Parâmetros

NomeOndeTipoDescrição
repositoryIdobrigatóriopathstring
pathobrigatórioquerystring

Respostas

  • 200
PUT/v1/repositories/{repositoryId}/workflows/contentCommits edited YAML back to a workflow file (needs Contents: write).

Parâmetros

NomeOndeTipoDescrição
repositoryIdobrigatóriopathstring

Corpo do pedidoSaveWorkflowContentDto

NomeTipoDescrição
pathobrigatóriostringWorkflow path, e.g. `.github/workflows/ci.yml`.
contentobrigatóriostring
messagestringCommit message (defaults to "Update <path> via eQuantic Space").
branchstringTarget branch (defaults to the repo's default branch).

Respostas

  • 200
POST/v1/repositories/{repositoryId}/workflows/syncRe-reads `.github/workflows` from the provider and refreshes the interpreted rows. Manual counterpart to the automatic sync on connect/push — lets users pick up workflows added after the repo was connected. Provider errors are surfaced (not swallowed) so an empty refresh is explainable.

Parâmetros

NomeOndeTipoDescrição
repositoryIdobrigatóriopathstring

Respostas

  • 200

Workspace

GET/v1/workspacesThe user's workspaces, with the active one flagged.

Respostas

  • 200
POST/v1/workspacesCreate a workspace (under the user's tenant) and make it active.

Corpo do pedidoCreateWorkspaceDto

NomeTipoDescrição
nameobrigatóriostring
slugstringDesired slug; derived from the name when omitted.
typestringOnboarding hints persisted in `workspace.metadata`.
sizestring
featuresstring[]
invitesstringComma/space/newline-separated emails to invite (pending invitations).
inviteRolestring

Respostas

  • 201
PATCH/v1/workspaces/{id}Update a workspace's name and/or enabled features (owner/admin).

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Corpo do pedidoUpdateWorkspaceDto

NomeTipoDescrição
namestring
featuresstring[]

Respostas

  • 200
POST/v1/workspaces/{id}/activateSwitch the active workspace for the current session.

Parâmetros

NomeOndeTipoDescrição
idobrigatóriopathstring

Respostas

  • 204
GET/v1/workspaces/check-slugSlug-availability check for the wizard.

Parâmetros

NomeOndeTipoDescrição
slugqueryobject

Respostas

  • 200