Skip to main content

List all unread notifications

GET/notifications/
v2
GET
notifications-list-notifications

Request

Responses

Response headers

  • X-Pagination-Limitinteger

    The limit used to select the resources for the response

  • X-Pagination-Skipinteger

    The number of skipped items

  • X-Pagination-Pagenumber

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

  • X-Pagination-TotalCountinteger

    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&severity=success&type=string&type-not=string&limit=50&page=1