Atlassian · Example Payload

Atlassian Atlassianaddnotifications Example

CodeCollaborationPlatformProductivitySoftware Development

Atlassian Atlassianaddnotifications 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": "atlassianAddnotifications",
  "method": "PUT",
  "path": "/rest/api/3/notificationscheme/{id}/notification",
  "summary": "Atlassian Add Notifications To Notification Scheme",
  "requestExamples": [
    {
      "contentType": "application/json",
      "example": {
        "notificationSchemeEvents": [
          {
            "event": {
              "id": "1"
            },
            "notifications": [
              {
                "notificationType": "Group",
                "parameter": "jira-administrators"
              }
            ]
          }
        ]
      }
    }
  ],
  "responseExamples": [
    {
      "status": "400",
      "contentType": "application/json",
      "example": "{\"errorMessages\":[\"Event type with ID 2 not found.\"],\"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\":[\"Notification scheme with ID 10001 not found.\"],\"errors\":{}}"
    }
  ]
}