[RESTful Web-service Documentation v1.0]
go top

get-search-filter

returns all search filter and values

Parameter

non

User-Authentication

not required

Endpoint

http://rest.panthermedia.net/get-search-filter

Sample Request

POST http://rest.panthermedia.net/get-search-filter
Accept-Version: 1.0
Content-Type: application/x-www-form-urlencoded
api_key=a5e7b0dada779347e0fdd4db91ad883d0592aaca031e2c81234f3cb8008fdd1f&access_key=9de82c2a78df66e615274eec2622b53795abb2dd&timestamp=Thu%2C%2002%20Aug%202012%2005%3A54%3A55%20UTC&nonce=123&algo=sha1

Sample Answer

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<rsp stat="ok">
  <filters total="19">
    <filter name="sort" type="single value" desc="sort order" default="buy" values="3">
      <value name="rel" desc="Relevance"/>
      <value name="buy" desc="Top-sellers"/>
      <value name="date" desc="Date"/>
    </filter>
    <filter name="type" type="single value" desc="media type" default="all" values="4">
      <value name="all" desc="All files"/>
      <value name="photos" desc="Images"/>
      <value name="illustrations" desc="Illustrations"/>
      <value name="vectors" desc="Vectors"/>
    </filter>
    <filter name="license" type="multi value, comma-separated" desc="license" default="commercial" values="2">
      <value name="commercial" desc="Commercial"/>
      <value name="extended" desc="Extended license"/>
    </filter>
    <filter name="collection" type="multi value, comma-separated" desc="collection" default="packet,subscription,standard,premium" values="4">
      <value name="packet" desc="Image package"/>
      <value name="subscription" desc="Subscription"/>
      <value name="standard" desc="Standard Collection"/>
      <value name="premium" desc="Premium Collection"/>
    </filter>
    <filter name="contributor" type="multi value, comma-separated" desc="contributor" default="panther,partner" values="2">
      <value name="panther" desc="PantherMedia"/>
      <value name="partner" desc="Partner"/>
    </filter>
    <filter name="price" type="multi value, comma-separated" desc="price" default="1,2,3" values="3">
      <value name="1" desc="low price"/>
      <value name="2" desc="medium price"/>
      <value name="3" desc="high price"/>
    </filter>
    <filter name="size" type="single value" desc="minimum size pixel" default="all" values="4">
      <value name="all" desc="All"/>
      <value name="2480" desc="minimum 2480 pixel"/>
      <value name="3508" desc="minimum 3508 pixel"/>
      <value name="5600" desc="minimum 5600 pixel"/>
    </filter>
    <filter name="orientation" type="single value" desc="orientation" default="all" values="5">
      <value name="all" desc="All"/>
      <value name="horizontal" desc="Horizontal"/>
      <value name="vertical" desc="Vertical"/>
      <value name="square" desc="Square"/>
      <value name="panorama" desc="Panorama"/>
    </filter>
    <filter name="people_number" type="single value" desc="people_number" default="all" values="8">
      <value name="all" desc="All"/>
      <value name="people_0" desc="No people"/>
      <value name="people_any" desc="With people"/>
      <value name="people_1" desc="1 Person"/>
      <value name="people_2" desc="2 People"/>
      <value name="people_3" desc="3 People"/>
      <value name="people_4" desc="4 People"/>
      <value name="people_5" desc="5 People or more"/>
    </filter>
    <filter name="people_ethnicity" type="single value" desc="people_ethnicity" default="all" values="8">
      <value name="all" desc="All"/>
      <value name="e" desc="European / Caucasian"/>
      <value name="xd" desc="American"/>
      <value name="a" desc="Asian/Middle East"/>
      <value name="f" desc="African"/>
      <value name="u" desc="Australian/Oceanian"/>
      <value name="b" desc="Multi-ethnic"/>
      <value name="x" desc="Other"/>
    </filter>
    <filter name="people_age" type="single value" desc="people_age" default="all" values="6">
      <value name="all" desc="All"/>
      <value name="babies" desc="Babies"/>
      <value name="children" desc="Kids"/>
      <value name="teenagers" desc="Teenager"/>
      <value name="adults" desc="Adult"/>
      <value name="seniors" desc="Seniors"/>
    </filter>
    <filter name="people_gender" type="multi value, comma-separated" desc="people_gender" default="" values="2">
      <value name="f" desc="Female"/>
      <value name="m" desc="Male"/>
    </filter>
    <filter name="category" type="single value" desc="category" default="-1" values="17">
      <value name="-1" desc="All"/>
      <value name="1" desc="Animals"/>
      <value name="2" desc="Architecture"/>
      <value name="4" desc="Food"/>
      <value name="7" desc="Entertainment"/>
      <value name="5" desc="Graphics"/>
      <value name="8" desc="Lifestyle"/>
      <value name="9" desc="Nature"/>
      <value name="11" desc="People"/>
      <value name="3" desc="Business"/>
      <value name="14" desc="Symbols"/>
      <value name="12" desc="Society"/>
      <value name="13" desc="Sports"/>
      <value name="6" desc="Technology"/>
      <value name="15" desc="Transport"/>
      <value name="16" desc="Travel"/>
      <value name="10" desc="Objects"/>
    </filter>
    <filter name="author" type="string" desc="author_username" default="" values="">
    </filter>
    <filter name="model" type="string" desc="model_id" default="" values="">
    </filter>
    <filter name="color" type="hexcode" desc="i.e. #FFCC00" default="" values="">
    </filter>
    <filter name="color_tolerance" type="single value" desc="color_tolerance" default="5" values="3">
      <value name="2" desc="Exact (less results)"/>
      <value name="5" desc="Standard"/>
      <value name="9" desc="Approx (more results)"/>
    </filter>
    <filter name="copyspace" type="single value" desc="copyspace" default="all" values="4">
      <value name="all" desc="All"/>
      <value name="small" desc="small copyspace"/>
      <value name="medium" desc="large copyspace"/>
      <value name="large" desc="Xlarge copyspace"/>
    </filter>
    <filter name="isolated" type="single value" desc="isolated object" default="" values="1">
      <value name="isolated" desc="Isolated object"/>
    </filter>
  </filters>
</rsp>