Search

Here you can execute a search in your instance, returning all medias that meet the search criteria.

method: GET
URL: /search.json

PARAMETERS:
{
  “media_search”, “TEXT”,
  “categories_search”, “CATEGORIES” # [optional] list of categories, separated by “,”
  “media_page”: “NUMBER” # pagination, starting on 1 (if 0 or null, no pagination) 
}
RETURN:
{
  "page": "search",
  "medias": [
    {
      “MEDIA INFORMATION” 
    }
  ],
  "pagination": {
    "current": “NUMBER”, # Current page
    "last": true/false # If last page, true
  }
}
<< Previous topic Next topic >>