Atlassian · Example Payload

Atlassian Atlassiangetthebranchingmodelforaproject Example

CodeCollaborationPlatformProductivitySoftware Development

Atlassian Atlassiangetthebranchingmodelforaproject Example is an example object payload from Atlassian, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummaryrequestExamplesresponseExamples

Example Payload

Raw ↑
{
  "operationId": "atlassianGetTheBranchingModelForAProject",
  "method": "GET",
  "path": "/workspaces/{workspace}/projects/{project_key}/branching-model",
  "summary": "Atlassian Get The Branching Model For A Project",
  "requestExamples": [],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "name": "response",
      "example": {
        "development": {
          "name": "master",
          "use_mainbranch": true
        },
        "production": {
          "name": "production",
          "use_mainbranch": false
        },
        "branch_types": [
          {
            "kind": "release",
            "prefix": "release/"
          },
          {
            "kind": "hotfix",
            "prefix": "hotfix/"
          },
          {
            "kind": "feature",
            "prefix": "feature/"
          },
          {
            "kind": "bugfix",
            "prefix": "bugfix/"
          }
        ],
        "type": "project_branching_model",
        "links": {
          "self": {
            "href": "https://api.bitbucket.org/.../branching-model"
          }
        }
      }
    }
  ]
}