Atlassian · Example Payload

Atlassian Atlassianassociateschemestoprojects Example

CodeCollaborationPlatformProductivitySoftware Development

Atlassian Atlassianassociateschemestoprojects 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": "atlassianAssociateschemestoprojects",
  "method": "PUT",
  "path": "/rest/api/3/issuesecurityschemes/project",
  "summary": "Atlassian Associate Security Scheme To Project",
  "requestExamples": [
    {
      "contentType": "application/json",
      "example": {
        "oldToNewSecurityLevelMappings": [
          {
            "newLevelId": "30001",
            "oldLevelId": "30000"
          }
        ],
        "projectId": "10000",
        "schemeId": "20000"
      }
    }
  ],
  "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\":{}}"
    }
  ]
}