support-tickets

Backs the badge and tells the client what this user may do at all: can_create for the open-ticket button, can_handle for the queue.

get/api/support-tickets/unread/count

Request

  • Base URL: https://api.corabea.it (the document declares no server; this is the origin it was published from)
  • URL: https://api.corabea.it/api/support-tickets/unread/count
  • Auth: HTTP bearer

Response

Successful Response

mineinteger required

Unread among the tickets the caller opened

inboxinteger required

Unread in the queue the caller handles

totalinteger required

Sum of the two

can_handleboolean required

Whether the caller has a queue

can_createboolean required

Whether the caller can open tickets

sees_every_ticketboolean

Whether the caller's queue is every request, filtered by assignee

Changes