For the complete documentation index, see llms.txt. This page is also available as Markdown.

notifications

Notifications API

List all current user pending notifications

get
Paramètres de requête
pageintegerOptionnel

The page to fetch

page_sizeintegerOptionnel

The page size to fetch

sortstring · enumOptionnel

The field (and direction) on which sorting apply

Valeurs possibles:
handledbooleanOptionnel
userstringOptionnel
Paramètres d'en-tête
X-Fieldsstring · maskOptionnel

An optional fields mask

Réponses
200

Success

application/json
next_pagestringOptionnel

The next page URL if exists

pageinteger · min: 1Requis

The current page

page_sizeintegerRequis

The page size used for pagination

previous_pagestringOptionnel

The previous page URL if exists

totalintegerRequis

The total paginated items

get/notifications/
GET /api/1/notifications/ HTTP/1.1
Host: www.data.gouv.fr
Accept: */*
200

Success

{
  "data": [
    {
      "created_at": "2026-01-01T00:00:00.000Z",
      "details": {},
      "handled_at": "2026-01-01T00:00:00.000Z",
      "id": "text",
      "last_modified": "2026-01-01T00:00:00.000Z",
      "user": {
        "class": "text",
        "id": "text",
        "avatar": "text",
        "avatar_thumbnail": "text",
        "first_name": "text",
        "last_name": "text",
        "page": "text",
        "slug": "text",
        "uri": "text"
      }
    }
  ],
  "next_page": "text",
  "page": 1,
  "page_size": 1,
  "previous_page": "text",
  "total": 1
}

Ce contenu vous a-t-il été utile ?