[RESTful Web-service Documentation]
go top

get-user-media-count

returns the number 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

User-Authentication

required

Endpoint

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

Sample Request

POST http://rest.panthermedia.net/get-user-media-count
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[]=rejected&state[]=suspend

Sample Answer

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<rsp stat="ok">
    <token>c0c0b98897b5f72b965990b50adec67264a6f07b9134173e9ac60e6b73fe0474</token>
    <count>105</count>
</rsp>