Notifications
Update notification preferences for the current user
Changed onStore the current user's notification preferences. Sent as a single bulk request; the stored state is returned so the client can re-seed from the server.
put/pimcore-studio/api/notifications/subscriptions
Request
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /pimcore-studio/api/notifications/subscriptions
- Auth: none declared
Request body
Example request
{
"items": [
{
"typeId": "info",
"subscribed": true
}
]
}Response
The stored notification preferences for the current user
Example response
{
"availableChannels": [
{
"id": "popup",
"unavailableReasonKey": "notifications.channel.email.no-address"
}
],
"items": [
{
"typeId": "info",
"group": "general",
"subscribed": true,
"channels": [
{
"id": "popup",
"enabled": true,
"supported": true
}
]
}
]
}Changes
- info
endpoint added
- info