List Specialists

Returns a list of specialists that fits the request parameters.

GET /speciality/v1/specialists

Query Parameters

includes

string

Relationships to include with the requested resource.

The supported relationships are :

  • service
  • parent
  • children
includes=service,partner,children

Examples

List Specialists

curl -X GET "https://api.clinia.ca/speciality/v1/specialists" \
-H "Content-Type: application/vnd.api+json"
{
"data": [
{
"attributes": {
"translations": {
"en": {
"name": {
"value": "Psychologist"
},
"wordCloud": []
},
"fr": {
"name": {
"value": "Psychologue"
},
"wordCloud": []
}
},
"createdAt": "1970-01-01T00:00:00Z",
"updatedAt": "1970-01-01T00:00:00Z",
"publishedAt": null
},
"relationships": {
"service": {
"links": {
"self": "http://speciality-api/v1/specialists/c7a8abeb-7fa7-4907-abd3-c127e9528f63/relationships/service",
"related": "http://speciality-api/v1/specialists/c7a8abeb-7fa7-4907-abd3-c127e9528f63/service"
},
"data": {
"type": "services",
"id": "213107a6-a3d0-40f3-9522-92cbc977b89d"
}
},
"parent": {
"links": {
"self": "http://speciality-api/v1/specialists/c7a8abeb-7fa7-4907-abd3-c127e9528f63/relationships/parent",
"related": "http://speciality-api/v1/specialists/c7a8abeb-7fa7-4907-abd3-c127e9528f63/parent"
}
},
"children": {
"links": {
"self": "http://speciality-api/v1/specialists/c7a8abeb-7fa7-4907-abd3-c127e9528f63/relationships/children",
"related": "http://speciality-api/v1/specialists/c7a8abeb-7fa7-4907-abd3-c127e9528f63/children"
},
"meta": {
"totalRecords": 0
},
"data": []
},
"ancestors": {
"links": {
"self": "http://speciality-api/v1/specialists/c7a8abeb-7fa7-4907-abd3-c127e9528f63/relationships/ancestors",
"related": "http://speciality-api/v1/specialists/c7a8abeb-7fa7-4907-abd3-c127e9528f63/ancestors"
},
"meta": {
"totalRecords": 0
},
"data": []
}
},
"type": "specialists",
"id": "c7a8abeb-7fa7-4907-abd3-c127e9528f63"
},
...
],
"links": {
"next": "http://speciality-api/v1/specialists?page[size]=50&page[number]=1",
"lasts": "http://speciality-api/v1/specialists?page[size]=50&page[number]=2"
},
"meta": {
"materializedPath": "",
"totalRecords": 101
}
}