notifications

List all current user pending notifications

Changed on
get/notifications/

Request

  • Base URL
    https://dados.gov.pt/api/1
  • URL
    https://dados.gov.pt/api/1/notifications/
  • Auth
    none declared

Query parameters

pageinteger

The page to display

page_sizeinteger

The page size

sort'created' | 'last_modified' | 'handled_at' | '-created' | '-last_modified' | '-handled_at'

The field (and direction) on which sorting apply

handledboolean
userstring

Headers

X-Fieldsstring mask

An optional fields mask

Response

Success

next_pagestring

The next page URL if exists

pageinteger required

The current page

page_sizeinteger required

The page size used for pagination

previous_pagestring

The previous page URL if exists

totalinteger required

The total paginated items

Changes

    • info

      api operation id get_notifications removed and replaced with list_notifications

    • info

      added the new optional query request parameter handled

    • info

      added the new optional query request parameter page

    • info

      added the new optional query request parameter page_size

    • info

      added the new optional query request parameter sort

    • info

      added the new optional query request parameter user