For the complete documentation index, see llms.txt. This page is also available as Markdown.

Pull Requests

Create pull request.

post

Creates a new pull request between the specified branches.

Autorizações
AuthorizationstringObrigatório

Bearer access_token

Parâmetros de rota
topologyIdnumberObrigatório
Corpo
namestringObrigatório

Title of the pull request.

Example: Merge feature/PROJ-142-user-sync into main
descriptionstringObrigatório

Initial pull request description.

Example: Implements user sync improvements and adds retry handling for partial failures.
sourceBranchIdnumberObrigatório

Identifier of the source branch.

Example: 42
targetBranchIdnumberObrigatório

Identifier of the target branch.

Example: 1
reviewerIdsnumber[]Opcional

Ids of users which will be assigned as reviewers.

Example: [8,11]
Respostas
201Sucesso
application/json
idnumberObrigatório

Unique identifier of the pull request.

Example: 77
namestringObrigatório

Pull request title.

descriptionstringObrigatório

Current pull request description.

statusstring · enumObrigatórioValores possíveis:
createdAtstring · date-timeObrigatório

Timestamp when the pull request was created.

Example: 2026-07-13T12:00:00.000Z
updatedAtstring · date-timeObrigatório

Timestamp when the pull request was last updated.

Example: 2026-07-13T12:05:00.000Z
post/topologies/{topologyId}/fit/pull-requests
POST /topologies/{topologyId}/fit/pull-requests HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 209

{
  "name": "Merge feature/PROJ-142-user-sync into main",
  "description": "Implements user sync improvements and adds retry handling for partial failures.",
  "sourceBranchId": 42,
  "targetBranchId": 1,
  "reviewerIds": [
    8,
    11
  ]
}
{
  "id": 77,
  "name": "text",
  "description": "text",
  "status": "Open",
  "sourceBranch": {
    "id": 42,
    "name": "feature/PROJ-142-user-sync"
  },
  "targetBranch": {
    "id": 42,
    "name": "feature/PROJ-142-user-sync"
  },
  "createdBy": {
    "id": 1,
    "name": "dev dev"
  },
  "updatedBy": {
    "id": 1,
    "name": "dev dev"
  },
  "createdAt": "2026-07-13T12:00:00.000Z",
  "updatedAt": "2026-07-13T12:05:00.000Z",
  "reviewers": [
    {
      "id": 101,
      "user": {
        "id": 1,
        "name": "dev dev"
      },
      "status": "Approved",
      "createdAt": "2026-07-13T12:00:00.000Z",
      "updatedAt": "2026-07-13T12:00:00.000Z"
    }
  ]
}

Atualizado

Isto foi útil?