v2

latestOpenAPI 3.0.32026-08-07222102695.9 KB
Patient Attachment

List patient attachments for patient

get/patients/{patient_id}/patient_attachments

Path parameters

patient_idstring int64 required

Query parameters

pageinteger
per_pageinteger
sortstring[]

Comma separated search fields. See: Ordering

[
  "created_at:desc"
]
order'asc' | 'desc'
q[]string[]

Filter result by one or more fields.

See Filtering Results

Available filters:

ValueFormat
archived_atdate-time
content_typestring
created_atdate-time
descriptionstring
filenamestring
idint64
processed_atdate-time
sizeint64
updated_atdate-time
user_idint64

Response

successful operation

total_entriesinteger

Example response

{
  "patient_attachments": [
    {
      "content": {
        "links": {
          "self": "https://api.au1.cliniko.com/v1/patient_attachments/1/content"
        }
      },
      "content_type": "text/plain",
      "links": {
        "self": "https://api.au1.cliniko.com/v1/patient_attachments/1"
      },
      "patient": {
        "links": {
          "self": "https://api.au1.cliniko.com/v1/patients/1"
        }
      },
      "user": {
        "links": {
          "self": "https://api.au1.cliniko.com/v1/users/1"
        }
      }
    }
  ],
  "total_entries": 1,
  "links": {
    "self": "https://api.au1.cliniko.com/v1/patients/1/patient_attachments?page=2",
    "previous": "https://api.au1.cliniko.com/v1/patients/1/patient_attachments?page=1",
    "next": "https://api.au1.cliniko.com/v1/patients/1/patient_attachments?page=3"
  }
}