tickets

Count of open tickets by type

Returns the number of open tickets (avvisi and segnalazioni) — i.e. status PENDING or SUSPENDED. Admin and coordinator: all. Supervisor: only supervised operators.

get/api/tickets/open-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/tickets/open-count
  • Auth: HTTP bearer

Response

Successful Response

alertsinteger required

Number of open avvisi (ALERT, PENDING or SUSPENDED)

reportsinteger required

Number of open segnalazioni (REPORT, PENDING or SUSPENDED)

totalinteger required

Total open tickets (alerts + reports)

Example response

{
  "alerts": 3,
  "reports": 2,
  "total": 5
}

Changes

No recorded changes to this operation across all 55 revisions of this API.