Therapists

Get all therapists

Changed on

Retrieve all therapists from the database

get/therapists

Request

  • Base URL: http://localhost:8080/api/v1
  • URL: http://localhost:8080/api/v1/therapists
  • Auth: none declared

Query parameters

pageinteger

Page Number of pagination

limitinteger

Number of Items per page in pagination

Response

A list of Therapists

idstring uuid required

Unique identifier for the therapist

first_namestring required
last_namestring required
emailstring email required
schoolsinteger[]

List of school IDs associated with the therapist

district_idinteger

School district ID the therapist belongs to

school_namesstring[]

List of school names associated with the therapist

district_namestring

Name of the school district the therapist belongs to

activeboolean required

Whether the therapist is currently active

created_atstring date-time required
updated_atstring date-time required

Example response

[
  {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "first_name": "Kevin",
    "last_name": "Matilda",
    "email": "email123@example.com",
    "schools": [
      1,
      2
    ],
    "district_id": 2,
    "school_names": [
      "Generate High",
      "Sherman Center for Academic Excellence"
    ],
    "district_name": "Generate Public Schools",
    "active": true,
    "created_at": "2024-01-15T10:30:00Z",
    "updated_at": "2024-01-15T10:35:00Z"
  }
]

Changes

    • ○

      added the optional property / to the response with the status

    • ○

      added the optional property / to the response with the status

    • ○

      added the optional property / to the response with the status

    • ○

      added the optional property / to the response with the status

    • ○

      added the new optional query request parameter limit

    • ○

      added the new optional query request parameter page