[RESTful Web-service Documentation]
go top

get-user-media-metadata

returns the metadata of a media file in the account

Parameter

Parameter (*=required)
Possible values
Default value
Description
id_media *
[string]
Sample: "A110111" or "2345"


lang
[string] single value
  • da
  • de
  • en
  • es
  • it
  • pl
  • pt
null
language

see also get-user-content-langs for getting all language values dynamically.

This method return the translated metadata from system and in case of language parameter null the orign user language metadata.

User-Authentication

required

Endpoint

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

Sample Request

POST http://rest.panthermedia.net/get-user-media-metadata
Accept-Version: 1.0
Content-Type: application/x-www-form-urlencoded
api_key=a5e770dadd779347e0fdd4db91ad883d0592aaca031e2c81234f3cb8008fdd1f&access_key=96c35a3d110cf36709968972e38fb8e9879d656f&timestamp=Thu,%2026Jul%202012%2014:53:44%20UTC&nonce=Im%20a%20random%20String&algo=sha1

Sample Answer

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<rsp stat="ok">
    <token>c0c0b98897b5f72b965990b50adec67264a6f07b9134173e9ac60e6b73fe0474</token>
<media>
    <id>813689</id>
    <thumb_150_url><![CDATA[http://rest.panthermedia.net/media/previews/0000000000/00813000/00813689_thumb.jpg]]></thumb_url>
    <thumb_170_url><![CDATA[http://rest.panthermedia.net/media/previews/0000000000/00813000/00813689_thumb_170.jpg]]></thumb_170_url>
    <width>3072px</width>
    <height>2304px</height>
</media>
<metadata>
    <keywords><![CDATA[clouds,weather,day,sunshine,anvil,cope,firmament,sky,flyer,aircraft,aeroplane]]></keywords>
    <title><![CDATA[Über den Wolken 2]]></title>
    <description><![CDATA[]]></description>
    <author><![CDATA[Ricardo Cescon]]></author>
    <model_release>no</model_release>
    <property_release>no</property_release>
    <editorial>no</editorial>
</metadata>
<statistic>
    <viewed>2</viewed>
    <sales_bill>0</sales_bill>
    <sales_credits>0</sales_credits>
    <sales_subscription>0</sales_subscription>
</statistic>
<status>
    <published>agency</published>
    <state value="accepted" color="green" />
    <quality>good</quality>
</status>
</rsp>