SearchApi
class SearchApi implements JsonSerializable, SearchQueryInterface
Class SearchApi
The Cloudinary API search method allows you fine control on filtering and retrieving information on all the assets in your cloud with the help of query expressions in a Lucene-like query language. A few examples of what you can accomplish using the search method include:
- Searching by descriptive attributes such as public ID, filename, folders, tags, context, etc.
- Searching by file details such as type, format, file size, dimensions, etc.
- Searching by embedded data such as Exif, XMP, etc.
- Searching by analyzed data such as the number of faces, predominant colors, auto-tags, etc.
- Requesting aggregation counts on specified parameters, for example the number of assets found broken down by file format.
Methods
SearchApi constructor.
Sets the Search API endpoint.
Executes the search API request asynchronously.
Executes the search API request.
Creates a signed Search URL that can be used on the client side.
No description
Details
__construct(mixed $configuration = null)
SearchApi constructor.
$this
endpoint(string $endpoint)
Sets the Search API endpoint.
PromiseInterface
executeAsync()
Executes the search API request asynchronously.
ApiResponse
execute()
Executes the search API request.
string
toUrl(int $ttl = null, string $nextCursor = null)
Creates a signed Search URL that can be used on the client side.
jsonSerialize()
Constants
ASSETS |
|