コンテンツにスキップ

/v0/notifications

GET
/v0/notifications
curl --request GET \
--url 'http://localhost:3000/v0/notifications?limit=30&include_read=false'

Get notifications

limit
number
default: 30 >= 1 <= 50
after_id

Return notes after this notification ID. Specified notification is not included.

string

Return notes after this notification ID. Specified notification is not included.

include_read
boolean | null

OK

Media type application/json
Array
Any of:
object
id
required
string
actor
required
object
type
required
Any of:
string
Allowed values: account
id
required
string
name
required
string
nickname
required
string
avatar
required
string format: uri
createdAt
required
string format: date-time
type
required
string
Allowed values: followed
Example
[
{
"actor": {
"type": "account"
},
"type": "followed"
}
]

Nothing left

Media type application/json
object
error
required

No more notes exist

string
Allowed values: NOTHING_LEFT
Example
{
"error": "NOTHING_LEFT"
}

Internal error

Media type application/json
object
error
required

Internal server error

string
Allowed values: INTERNAL_ERROR
Example
{
"error": "INTERNAL_ERROR"
}