mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-23 11:01:27 +01:00
Fix JSON formatting in docs
This commit is contained in:
parent
fe9306f346
commit
ca8a9d5941
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ When the app obtains/refreshes a registration ID from Firebase, it needs to send
|
||||||
The push notifications will be triggered by the notifications of the type you can normally find in `/api/v1/notifications`. However, the push notifications will not contain any inline content. They will contain JSON data of this format ("12" is an example value):
|
The push notifications will be triggered by the notifications of the type you can normally find in `/api/v1/notifications`. However, the push notifications will not contain any inline content. They will contain JSON data of this format ("12" is an example value):
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{ notification_id: 12 }
|
{ "notification_id": 12 }
|
||||||
```
|
```
|
||||||
|
|
||||||
Your app can then retrieve the actual content of the notification from the `/api/v1/notifications/12` API endpoint.
|
Your app can then retrieve the actual content of the notification from the `/api/v1/notifications/12` API endpoint.
|
||||||
|
|
Loading…
Reference in a new issue