Atlassian · Example Payload

Atlassian Atlassianlistopenbranches Example

CodeCollaborationPlatformProductivitySoftware Development

Atlassian Atlassianlistopenbranches 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": "atlassianListOpenBranches",
  "method": "GET",
  "path": "/repositories/{workspace}/{repo_slug}/refs/branches",
  "summary": "Atlassian List Open Branches",
  "requestExamples": [],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "name": "response",
      "example": {
        "pagelen": 1,
        "size": 187,
        "values": [
          {
            "name": "issue-9.3/AUI-5343-assistive-class",
            "links": {
              "commits": {
                "href": "https://api.bitbucket.org/2.0/repositories/atlassian/aui/commits/issue-9.3/AUI-5343-assistive-class"
              },
              "self": {
                "href": "https://api.bitbucket.org/2.0/repositories/atlassian/aui/refs/branches/issue-9.3/AUI-5343-assistive-class"
              },
              "html": {
                "href": "https://bitbucket.org/atlassian/aui/branch/issue-9.3/AUI-5343-assistive-class"
              }
            },
            "default_merge_strategy": "squash",
            "merge_strategies": [
              "merge_commit",
              "squash",
              "fast_forward"
            ],
            "type": "branch",
            "target": {
              "hash": "e5d1cde9069fcb9f0af90403a4de2150c125a148",
              "repository": {
                "links": {
                  "self": {
                    "href": "https://api.bitbucket.org/2.0/repositories/atlassian/aui"
                  },
                  "html": {
                    "href": "https://bitbucket.org/atlassian/aui"
                  },
                  "avatar": {
                    "href": "https://bytebucket.org/ravatar/%7B585074de-7b60-4fd1-81ed-e0bc7fafbda5%7D?ts=86317"
                  }
                },
                "type": "repository",
                "name": "aui",
                "full_name": "atlassian/aui",
                "uuid": "{585074de-7b60-4fd1-81ed-e0bc7fafbda5}"
              },
              "links": {
                "self": {
                  "href": "https://api.bitbucket.org/2.0/repositories/atlassian/aui/commit/e5d1cde9069fcb9f0af90403a4de2150c125a148"
                },
                "comments": {
                  "href": "https://api.bitbucket.org/2.0/repositories/atlassian/aui/commit/e5d1cde9069fcb9f0af90403a4de2150c125a148/comments"
                },
                "patch": {
                  "href": "https://api.bitbucket.org/2.0/repositories/atlassian/aui/patch/e5d1cde9069fcb9f0af90403a4de2150c125a148"
                },
                "html": {
                  "href": "https://bitbucket.org/atlassian/aui/commits/e5d1cde9069fcb9f0af90403a4de2150c125a148"
                },
                "diff": {
                  "href": "https://api.bitbucket.org/2.0/repositories/atlassian/aui/diff/e5d1cde9069fcb9f0af90403a4de2150c125a148"
                },
                "approve": {
                  "href": "https://api.bitbucket.org/2.0/repositories/atlassian/aui/commit/e5d1cde9069fcb9f0af90403a4de2150c125a148/approve"
                },
                "statuses": {
                  "href": "https://api.bitbucket.org/2.0/repositories/atlassian/aui/commit/e5d1cde9069fcb9f0af90403a4de2150c125a148/statuses"
                }
              },
              "author": {
                "raw": "Marcin Konopka <mkonopka@atlassian.com>",
                "type": "author",
                "user": {
                  "display_name": "Marcin Konopka",
                  "uuid": "{47cc24f4-2a05-4420-88fe-0417535a110a}",
                  "links": {
                    "self": {
                      "href": "https://api.bitbucket.org/2.0/users/%7B47cc24f4-2a05-4420-88fe-0417535a110a%7D"
                    },
                    "html": {
                      "href": "https://bitbucket.org/%7B47cc24f4-2a05-4420-88fe-0417535a110a%7D/"
                    },
                    "avatar": {
                      "href": "https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/initials/MK-1.png"
                    }
                  },
                  "nickname": "Marcin Konopka",
                  "type": "user",
                  "account_id": "60113d2b47a9540069f4de03"
                }
              },
              "parents": [
                {
                  "hash": "87f7fc92b00464ae47b13ef65c91884e4ac9be51",
                  "type": "commit",
                  "links": {
                    "self": {
                      "href": "https://api.bitbucket.org/2.0/repositories/atlassian/aui/commit/87f7fc92b00464ae47b13ef65c91884e4ac9be51"
                    },
                    "html": {
                      "href": "https://bitbucket.org/atlassian/aui/commits/87f7fc92b00464ae47b13ef65c91884e4ac9be51"
                    }
                  }
                }
              ],
              "date": "2021-04-13T13:44:49+00:00",
              "message": "wip\n",
              "type": "commit"
            }
          }
        ],
        "page": 1,
        "next": "https://api.bitbucket.org/2.0/repositories/atlassian/aui/refs/branches?pagelen=1&page=2"
      }
    }
  ]
}