Atlassian · Example Payload

Atlassian Atlassianupdatethebranchingmodelconfigforarepository Example

CodeCollaborationPlatformProductivitySoftware Development

Atlassian Atlassianupdatethebranchingmodelconfigforarepository 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": "atlassianUpdateTheBranchingModelConfigForARepository",
  "method": "PUT",
  "path": "/repositories/{workspace}/{repo_slug}/branching-model/settings",
  "summary": "Atlassian Update The Branching Model Config For A Repository",
  "requestExamples": [],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "name": "response",
      "example": {
        "development": {
          "use_mainbranch": true
        },
        "production": {
          "enabled": true,
          "use_mainbranch": false,
          "name": "production"
        },
        "branch_types": [
          {
            "kind": "bugfix",
            "enabled": true,
            "prefix": "bugfix/"
          },
          {
            "kind": "feature",
            "enabled": true,
            "prefix": "feature/"
          },
          {
            "kind": "hotfix",
            "prefix": "hotfix/"
          },
          {
            "kind": "release",
            "enabled": false
          }
        ]
      }
    }
  ]
}