Branches

List Branches

Returns the list of branches from a repository

get/api/program/{programId}/repository/{repositoryId}/branches

Request

  • Base URL: https://cloudmanager.adobe.io
  • URL: https://cloudmanager.adobe.io/api/program/{programId}/repository/{repositoryId}/branches
  • Auth: none declared. Required headers: x-gw-ims-org-id, Authorization, x-api-key

Path parameters

programIdstring required

Identifier of the program.

repositoryIdstring required

Identifier of the repository

Headers

x-gw-ims-org-idstring required

IMS organization ID that the request is being made under.

Authorizationstring required

Bearer [token] - An access token for the technical account created through integration with Adobe IO

x-api-keystring required

IMS Client ID (API Key) which is subscribed to consume services on console.adobe.io

Response

Successful retrieval of the list of repository branches

_totalNumberOfItemsinteger

The total number of embedded items

Example response

{
  "_embedded": {
    "branches": [
      {
        "programId": "14",
        "repositoryId": 2,
        "name": "master"
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.