[RESTful Web-service Documentation]
go top

get-user-media-list

returns a list of media files in the account

Parameter

Parameter (*=required)
Possible values
Default value
Description
published [string, single value]
  • all
  • agency
  • community
all

state [string, single value]
  • all
  • red  (rejected)
  • yellow  (pending)
  • black  (incomplete)
  • green  (accepted)
  • red-green  (suspend)
  • yellow-green  (accepted but metadata incomplete)
all
quality [string, single value]
  • all

following gives back the exact match:
  • insufficient
  • fair
  • good
  • very-good
  • excellent


following gives back the minimum match:

  • min-insufficient
  • min-fair
  • min-good
  • min-very-good
  • min-excellent
all
offset [integer] 0

limit [integer 1-50] 50

sort [string, single value]
  • id_media
  • quality
id_media

order [string, single value]
  • asc
  • desc
asc


User-Authentication

required 

Endpoint

http://rest.panthermedia.net/get-user-media-list

Sample Request

POST http://rest.panthermedia.net/get-user-media-list
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&auth_token=c0c0b98897b5f72b965990b50adec67264a6f07b9134173e9ac60e6b73fe0474&access_token=da857e7ff0013b003185aee5cd41178bead62e46&published[]=agency&state[]=green&offset=0&limit=5

Sample Answer

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<rsp stat="ok">
    <token>c0c0b98897b5f72b965990b50adec67264a6f07b9134173e9ac60e6b73fe0474</token>
<media>
    <m id="4909006" state="green" filename="C360_2012-09-27-17-35-48.jpg" />
    <m id="4909007" state="green" filename="C360_2012-09-27-17-36-48.jpg"/>
    <m id="4909016" state="red" filename="C360_2012-09-27-17-35-49.jpg"/>
    <m id="4909035" state="black" filename="C360_2012-09-27-17-35-50.jpg"/>
    <m id="4909040" state="black" filename="C360_2012-09-27-17-37-48.jpg"/>
</media>
</rsp>