This endpoint allows you to upload an image to the server's image directory.
image | image The image to be replaced (required). |
business_type | string Rent or sell (required). |
category | string The category of the image (optional). |
number | string The number of the image (optional). |
title | string The title of the image (optional). |
name | string The name of the image (optional). |
content | string The content of the image (optional). |
price | string The price of the image (optional). |
status | string The status of the image (optional). |
This endpoint allows you to search for images by specifying keywords for the title or name in the query parameters.
title | any Keyword to search for in image titles. |
name | any Keyword to search for in image names. |
business_type | any Rent or sell (required). |
number | any The number of the image (optional). |
page_number | any Current page number, start from 1. Default is |
page_size | any Page size. Default is |
exactly_match | any When exact_match is set to |
is_random | any When is_random is set to |
{- "results": [
- {
- "results": [
- {
- "info": {
- "title": "Beautiful Landscape",
- "name": "landscape.jpg"
}
}, - {
- "info": {
- "title": "Cute Animals",
- "name": "animals.png"
}
}
]
}
]
}
This endpoint allows you to replace an existing image in the server's image directory.
Note: If you want to update information only and not the image itself, do not include the 'image' parameter in the request.
image_id required | string The id of the image to be replaced. |
image | image The image to be replaced (optional). |
business_type | string Rent or sell (required). |
category | string The category of the image (optional). |
number | string The number of the image (optional). |
title | string The title of the image (optional). |
name | string The name of the image (optional). |
content | string The content of the image (optional). |
price | string The price of the image (optional). |
status | string The status of the image (optional). |