Zum Hauptinhalt springen

List all unread notifications

GET /v2/notifications/
v2
GET
notifications-list-notifications

Request

Responses

Response-Header

  • X-Pagination-Limitnumber

    The limit used to select the resources for the response

  • X-Pagination-Skipnumber

    The number of skipped items

  • X-Pagination-Pagenumber

    The calculate page of the list response. Refer to parameters to learn more.

  • X-Pagination-TotalCountnumber

    The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.

application/json

List of notifications

  • Array[
  • *object
    • createdAtstring (date-time)
      required
    • idstring (uuid)
      required
    • readboolean
      required
    • referenceobject
      required
      • aggregatestring
        required
      • domainstring
        required
      • idstring
        required
      • parentsarray of object
        • Array[
        • *object
          • aggregatestring
            required
          • domainstring
            required
          • idstring
            required
        • ]
  • severitystring (one of: success, info, warning, error)
    required
  • typestring
    required
]

Usage examples

$ curl \
--fail \
--location \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
https://api.mittwald.de/v2/notifications?status=unread&limit=50&page=1