analytics

Paginated and filterable operator ranking

Changed on

Returns a backend-filtered, sorted and paginated expert ranking with patient metrics, ticket-state filters and assigned supervisors. Admin: all. Supervisor: only supervised operators. Coordinator: only operators under assigned supervisors.

get/api/analytics/operators/ranking

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/analytics/operators/ranking
  • Auth: HTTP bearer

Query parameters

searchstring nullable

Case-insensitive search on operator name.

role'PSICOLOGO' | 'NUTRIZIONISTA'

Operator profession constants.

supervisor_idstring uuid nullable

Admin-only supervisor filter.

status'active' | 'inactive' | 'new' | 'reported' | 'warned' nullable
ticket_status'open' | 'closed' nullable

Used only when status is reported or warned.

sort_by'operator_name' | 'total_patients' | 'sessions_total' | 'avg_sessions_per_patient' | 'patients_ok' | 'patients_below_frequency' | 'compliance_perc' | 'patients_dropout' | 'patients_never_started' | 'patients_concluded' | 'patients_monitoring' | 'patients_follow_up'
sort_dir'asc' | 'desc'
per_pageinteger

Page size.

pageinteger

Page number (1-based).

Response

Successful Response

totalinteger required
per_pageinteger required
pageinteger required

Changes

    • info

      added the optional property // to the response with the status

    • breaking

      the // response's property type changed from no type to object for status

    • warning

      added the new NUTRIZIONISTA enum value to the // response property for the response status

    • warning

      added the new PSICOLOGO enum value to the // response property for the response status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      removed subschema #1 subschema #2 from the // response property anyOf list for the response status

    • info

      the response property // became required for the status