curation

Create a notification

post/curation/notifications

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/curation/notifications
  • Auth
    HTTP bearer

Request body

dbCreateDateinteger

Timestamp at which the notification was created

dbUpdateDateinteger

Timestamp at which the notification was last updated

expirationinteger
idinteger

ID for the notification

messagestring
priority'LOW' | 'MEDIUM' | 'CRITICAL'
type'SITEWIDE' | 'NEWSBODY'

Type of notification

Example request

{
  "type": "SITEWIDE"
}

Response

default response

dbCreateDateinteger

Timestamp at which the notification was created

dbUpdateDateinteger

Timestamp at which the notification was last updated

expirationinteger
idinteger

ID for the notification

messagestring
priority'LOW' | 'MEDIUM' | 'CRITICAL'
type'SITEWIDE' | 'NEWSBODY'

Type of notification

Example response

{
  "type": "SITEWIDE"
}

Changes

No recorded changes to this operation across all 54 revisions of this API.