Source Files

Add Branch

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

post/projects/{projectId}/branches

Request

Path parameters

projectIdinteger required

Project Identifier. Get via List Projects

Request body

namestring required

Branch name

Note: Can't contain \ / : * ? " < > | symbols

titlestring

Use to provide more details for translators. Title is available in UI only

exportPatternstring

Branch export pattern. Defines branch name and path in resulting translations bundle

Note: Can't contain : * ? " < > | symbols

priority'low' | 'normal' | 'high'

Defines priority level for each branch

Example request

{
  "name": "develop-master",
  "title": "Master branch",
  "exportPattern": "%three_letters_code%",
  "priority": "normal"
}

Response

Branch was successfully created

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.