Hướng dẫn AgentFlow

count_unread_notifications

GET/notifications/unread-count
AuthorizationBearer <token>

A service principal's credential, or a person's access token, AgentFlow's own or an installed app's. A service principal's effective permissions are its role permissions intersected with the credential's scopes.

In: header

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/notifications/unread-count"
{  "latest_at": "2019-08-24T14:15:22Z",  "latest_id": "459ac7d0-87c0-4408-a73b-037a4da5081a",  "unread": 0}