-
Notifications
You must be signed in to change notification settings - Fork 91
Adobe Stock Image Search Design
Stanislav Idolov edited this page May 2, 2019
·
18 revisions

In order to provide more accurate search results should be the ability to modify the following search criteria:
| Name | Parameter Name | Description | Values |
|---|---|---|---|
| X per page | limit | Number of images per page | 32 (default); 64 |
| Image type | content_type | Asset type to display | all (default); photo; Illustration |
| Safe content | offensive | Include image with violence or nudity | only safe (default); all |
| Isolated image only | isolated | Image subject is isolated from the background by being on a uniformly colored background. | no (default); yes |
| Image orientation | orientation | images with specific orientation | all (default); horizontal; vertical; square; panoramic |
| Image color | colors | Images that have specific color | HEX |
| Price | premium | Standard or premium (more expensive) images | include Premium (default); standard |
| Parameter | Description |
|---|---|
| relevance (default) | How closely it matches your search request, closest matches first. |
| creation | Creation date in descending order (newest first). |
| popularity | In descending order by the number of views by all users. |
| nb_downloads | In descending order by the number of downloads by all users since the asset was added to Adobe Stock. |
| undiscovered | Starting with assets that have not commonly been viewed or downloaded. |
Image list interface
interface ImageListInterface
{
/**
* @param SearchCriteriaInterface $searchCriteria
* @return SearchResultsInterface
*/
public function execute(SearchCriteriaInterface $searchCriteria) : SearchResultsInterface;
}
Parameter interface
interface ParameterInterface
{
/**
* @param $value
* @param StockApiRequest $request
* @return bool
*/
public function execute($value, StockApiRequest $request) : bool;
}
Filter interface
interface FilterInterface
{
/**
* @param $value
* @param StockApiRequest $request
* @return bool
*/
public function execute($value, StockApiRequest $request) : bool;
}