Atlassian · Example Payload

Atlassian Atlassiansetdefaultlevels Example

CodeCollaborationPlatformProductivitySoftware Development

Atlassian Atlassiansetdefaultlevels 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": "atlassianSetdefaultlevels",
  "method": "PUT",
  "path": "/rest/api/3/issuesecurityschemes/level/default",
  "summary": "Atlassian Set Default Issue Security Levels",
  "requestExamples": [
    {
      "contentType": "application/json",
      "example": {
        "defaultValues": [
          {
            "defaultLevelId": "20000",
            "issueSecuritySchemeId": "10000"
          },
          {
            "defaultLevelId": "30000",
            "issueSecuritySchemeId": "12000"
          }
        ]
      }
    }
  ],
  "responseExamples": [
    {
      "status": "400",
      "contentType": "application/json",
      "example": "{\"errorMessages\":[\"some-wrong-string is not a valid value. The issue security scheme ID must be a positive integer.\"],\"errors\":{}}"
    },
    {
      "status": "403",
      "contentType": "application/json",
      "example": "{\"errorMessages\":[\"You are not authorized to perform this action. Administrator privileges are required.\"],\"errors\":{}}"
    },
    {
      "status": "404",
      "contentType": "application/json",
      "example": "{\"errorMessages\":[\"Issue security scheme with ID 10000 not found.\"],\"errors\":{}}"
    }
  ]
}