Skip to content

Adobe Stock Image Search Design

Stanislav Idolov edited this page Apr 29, 2019 · 18 revisions

Overview

SearchApi

Search Parameters

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

Sorting

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.

Service Contract

interface ImageListInterface
{
    /**
     * @param SearchCriteriaInterface $searchCriteria
     * @return SearchResultsInterface
     */
    public function execute(SearchCriteriaInterface $searchCriteria) : SearchResultsInterface;
}
Clone this wiki locally