Atlassian · Example Payload

Atlassian Atlassiangetbulkpermissions Example

CodeCollaborationPlatformProductivitySoftware Development

Atlassian Atlassiangetbulkpermissions 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": "atlassianGetbulkpermissions",
  "method": "POST",
  "path": "/rest/api/3/permissions/check",
  "summary": "Atlassian Get Bulk Permissions",
  "requestExamples": [
    {
      "contentType": "application/json",
      "example": {
        "accountId": "5b10a2844c20165700ede21g",
        "globalPermissions": [
          "ADMINISTER"
        ],
        "projectPermissions": [
          {
            "issues": [
              10010,
              10011,
              10012,
              10013,
              10014
            ],
            "permissions": [
              "EDIT_ISSUES"
            ],
            "projects": [
              10001
            ]
          }
        ]
      }
    }
  ],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": "{\"globalPermissions\":[\"ADMINISTER\"],\"projectPermissions\":[{\"issues\":[10010,10013,10014],\"permission\":\"EDIT_ISSUES\",\"projects\":[10001]}]}"
    },
    {
      "status": "400",
      "contentType": "application/json",
      "example": "{\"errorMessages\":[],\"errors\":{\"PERMISSION_123\":\"Unrecognized permission\"}}"
    },
    {
      "status": "403",
      "contentType": "application/json",
      "example": "{\"errorMessages\":[\"Only Jira administrators can perform this operation.\"],\"errors\":{}}"
    }
  ]
}