Project Branches

List active project branches

get/projects/v1/{project_id}/branches

Request

  • Base URL: https://api.run402.com
  • URL: https://api.run402.com/projects/v1/{project_id}/branches
  • Auth: one of:
    • API key in header SIGN-IN-WITH-X
    • HTTP bearer

Path parameters

project_idstring required

Run402 project ID. Public IDs are not UUIDs.

Example:prj_1741340000_0042

Response

Active branches.

Example response

{
  "branches": [
    {
      "branch_project_id": "prj_1741340000_branch",
      "parent_project_id": "prj_1741340000_0042",
      "next_actions": [
        {
          "method": "POST",
          "path": "/tiers/v1/hobby",
          "auth": "x402"
        }
      ]
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.