Source Files

Edit Branch

Required scopes: project.source.file (Read and Write).

patch/projects/{projectId}/branches/{branchId}

Request

Path parameters

projectIdinteger required

Project Identifier. Get via List Projects

branchIdinteger required

Branch Identifier. Get via List Branches

Request body

op'replace' | 'test' required

Patch operation to perform

path'/name' | '/title' | '/exportPattern' | '/priority' json-pointer required

A JSON Pointer as defined by <a href="https://tools.ietf.org/html/rfc6901" target="_blank">RFC 6901</a>

Response

Branch was successfully updated

Example response

{
  "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"
  }
}

Changes

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