v4

latestOpenAPI 3.1.0Redoclyraw.githubusercontent.com2026-06-05101533.8 KB
Remotes

Push files to remote

Push discovered files as a remote content. Files should be sent as a multipart/form-data. Commit details like commit message and author can be sent as a JSON object in the commit field.

post/orgs/{orgId}/projects/{projectId}/remotes/{remoteId}/push

Response

Content pushed.

OR

Example response

{
  "id": "pr_01h1s5z6vf2mm1mz3hevnn9va7",
  "number": 1,
  "branchName": "main",
  "reviewers": [
    {
      "id": "usr_01h1s5z6vf2mm1mz3hevnn9va7"
    }
  ],
  "createdBy": {
    "id": "usr_01h1s5z6vf2mm1mz3hevnn9va7"
  },
  "closedById": "usr_01h1s5z6vf2mm1mz3hevnn9va7",
  "mergedById": "usr_01h1s5z6vf2mm1mz3hevnn9va7",
  "reviews": [
    {
      "id": "rev_01h1s5z6vf2mm1mz3hevnn9va7",
      "userId": "usr_01h1s5z6vf2mm1mz3hevnn9va7",
      "user": {
        "id": "usr_01h1s5z6vf2mm1mz3hevnn9va7"
      }
    }
  ]
}