Media

Arguments

 api_key (required)  your API application key
 take (optional)  number of items to return per page
 page (optional)  page number to return

Example XML Request

http://api.reveldigital.com/media?api_key=xxxxxx

Example JSON Request

http://api.reveldigital.com/media.json?api_key=xxxxxx

Example Response
<media xmlns="http://api.reveldigital.com/2011/01" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
    <media>
        <advertiser_id i:nil="true"/>
        <end_date i:nil="true"/>
        <file_name>720MPGoneB.mpg</file_name>
        <file_size>7903236</file_size>
        <group_id>xxxxxx</group_id>
        <group_name>Default</group_name>
        <id>xxxxxx</id>
        <is_shared>false</is_shared>
        <mime_type>video/mpeg</mime_type>
        <name>MPGoneC</name>
        <start_date i:nil="true"/>
        <tags i:nil="true"/>
        <uploaded_by>xxxxxx</uploaded_by>
        <uploaded_on>2009-01-19T10:28:54Z</uploaded_on>
    </media>
</media>
Error Codes

400 Bad Request Invalid API key

Test Console
Comments