mediafile/$mediafile_id

29Sep2009

Getting the details of a mediafile

This call gives back the details of the choosen mediafile.

Request URL

/mediafile/{mediafile_id} [GET]

Request parameters

Parameter

Type

Description

Method

Obligatory/Optional

mediafile_id

alphanumeric

the mediafile, where the information is getting from

URL

obligatory

show_stills

boolean

If it is true, then it shows all of the still informations. Default TRUE

GET

optional

 

Example request URL

/mediafile/VlN2ZDKv9rpsfmBAWpvfiw1zQ6z

Example response

<items>
    <item id="1">
      <mediafile_id>YLRTVYKyYQSBr77sD9HePE0j</mediafile_id>
      <asset_id>3N3MaHyZYkcpu6dAKGAmsF8D</asset_id>
      <app_id>1</app_id>
      <owner_id>test</owner_id>
      <group_id></group_id>
      <is_original_file>TRUE</is_original_file>
      <is_downloadable>FALSE</is_downloadable>
      <is_streamable>FALSE</is_streamable>
      <filename>Idiotwith4WD.wmv</filename>
      <uri></uri>
      <transcode_profile_id></transcode_profile_id>
      <tool></tool>
      <command></command>
      <file_extension></file_extension>
      <is_protected>FALSE</is_protected>
      <created>2009-06-23 14:45:39</created>
      <changed>2009-06-23 14:45:39</changed>
      <transcode_inherits_acl>FALSE</transcode_inherits_acl>
      <metadata>
        <video_codec></video_codec>
        <colorspace></colorspace>
        <width></width>
        <height></height>
        <fps></fps>
        <audio_codec></audio_codec>
        <sample_rate></sample_rate>
        <channels></channels>
        <file_duration></file_duration>
        <container_type></container_type>
        <bitrate></bitrate>
        <bpp></bpp>
        <filesize></filesize>
        <mime_type></mime_type>
        <created></created>
        <changed></changed>
        <is_hinted></is_hinted>
        <is_inserted_md></is_inserted_md>
      </metadata>
      <ega_download_url></ega_download_url>
      <ega_stream_url></ega_stream_url>
    </item>
  </items>

  </items>

Response fields

Field

Description

item

Full description of the mediafile belonging to an asset included technicale metadata in the standard XML-format