Get Photos
GET/api/contacts/customer/:id/photos
Get Photos
Request
Path Parameters
id integerrequired
Header Parameters
X-Company-Slug stringrequired
Responses
- 200
Successful response
- application/json
- Schema
- Example (from schema)
Schema
meta
object
total numberrequired
per_page numberrequired
current_page numberrequired
last_page numberrequired
first_page numberrequired
first_page_url stringrequired
last_page_url stringrequired
next_page_url stringnullablerequired
previous_page_url stringnullablerequired
data object[]
{
"meta": {
"total": 0,
"per_page": 0,
"current_page": 0,
"last_page": 0,
"first_page": 0,
"first_page_url": "string",
"last_page_url": "string",
"next_page_url": "string",
"previous_page_url": "string"
},
"data": [
{
"id": "1",
"size": 6105,
"extension": "png",
"entity_id": "12",
"entity": "employee",
"created_by_id": "1",
"drive": "s3",
"path": "employee/12/clz8w0zsr0005thrq7xf7apw1.png",
"created_at": "2024-07-30T23:45:52.920+03:00",
"updated_at": "2024-07-30T23:45:52.920+03:00",
"url": "string"
}
]
}
Loading...