Images
This endpoint is not generally available. For questions please contact sales.
POST /properties/{id}/images HTTP/2
The property images endpoint uploads a new image.
Example use-cases:
- Upload a new image to the property.
Request
curl -X POST 'https://quis.de/api/v2/properties/<PROPERTY-ID>/images?api_key=<YOUR-API-KEY>' \
-H 'Content-Type: multipart/form-data' \
-F 'type=default' \
-F 'caption=The kitchen' \
-F 'image=@/path/to/image.jpg'
Find the fields in the PropertyImage type description.
Field | Description | Type | Remarks |
---|---|---|---|
id | The id of the image | string | |
propertyId | The id of the property | string |
Response
{
"id": "aee52a8c-6a50-4e3f-b5bd-6aecd2d4abbd",
"propertyId": "9b4f4f58-92bb-4ea3-b623-53b2141a17de",
"type": "default",
"caption": "The kitchen",
"src": "https://quis.de/.../image.jpg",
"previewSrc": "https://quis.de/.../image.jpg",
"meta": {
"url": null,
"version": "2.14.0"
}
}
Find the fields in the PropertyImage type description.
Field | Description | Type | Remarks |
---|---|---|---|
meta | Meta information about the response | Meta |