Source Files

Search Branches

Required scopes: project.source.file (Read only).

Searches branches by name/title. Provide up to 50 projectIds, or omit them to search all projects you can access in the organization.

get/branches

Request

Query parameters

filterstring required

Search branches by name or title

projectIdsstring

Project identifiers to search across. Get via List Projects. It can be one project or a list of comma-separated ones (max 50). Optional — omit to search all projects you can access in the organization.

limitinteger

A maximum number of items to retrieve

offsetinteger

A starting offset in the collection

Response

Matched branches

Example response

{
  "data": [
    {
      "data": {
        "id": 34,
        "projectId": 2,
        "name": "develop-master",
        "title": "Master branch",
        "createdAt": "2019-09-16T13:48:04+00:00",
        "updatedAt": "2019-09-19T13:25:27+00:00",
        "exportPattern": "%three_letters_code%",
        "priority": "normal"
      }
    }
  ],
  "pagination": {
    "limit": 25
  }
}

Changes

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