notifications

Notifications API

List all current user pending notifications

GET//www.data.gouv.fr/api/1/notifications/
Header parameters
Response

Success

Body
created_onstring (date-time)

The notification creation datetime

detailsobject

Key-Value details depending on notification type

typestring

The notification type

Request
const response = await fetch('//www.data.gouv.fr/api/1/notifications/', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
[
  {
    "created_on": "2024-12-10T03:51:13.289Z",
    "type": "text"
  }
]

Dernière mise à jour