Notifications

Get paginated notifications

Get all paginated notifications for current user. <br> You can specify different filters in your request body. Available filters are: <br>

<ul> <li><strong>title</strong>: Filter by title string</li> <li><strong>creationDate</strong>: Filter by creation date (on, from, to)</li> <li><strong>page</strong>: Used for offset calculation in pagination. To be used, needs to be defined together with the page.size</li> <li><strong>page.size</strong>: Used for limiting the result numbers per page. To be used, needs to be defined together with the page</li> </ul>
post/pimcore-studio/api/notifications

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /pimcore-studio/api/notifications
  • Auth: none declared

Request body

Example request

{
  "filters": {
    "page": 1,
    "pageSize": 50
  }
}

Response

Paginated notifications with total count

totalItemsinteger required

Example response

{
  "totalItems": 666,
  "items": [
    {
      "id": 23,
      "type": "info",
      "title": "Notification title",
      "hasAttachment": true,
      "creationDate": 1707312457,
      "sender": "Pimcore Admin"
    }
  ]
}

Changes