Media

Gets all media in an account.

get/media

Request

  • Base URL
    https://api.reveldigital.com
  • Auth
    • OAuth 2
      Authorization codehttps://id.reveldigital.com/connect/authorize
      Token URLhttps://id.reveldigital.com/connect/token
      Scopeswebapi
    • or API key in header X-RevelDigital-ApiKey
    • or API key in query parameter api_key
  • TypeScript
    A function with typed inputs. Its response is checked against the schema.

Query parameters

idstring

Optional Media Id

takeinteger

Optional number of items to return

pageinteger

Optional number of page to return

group_idstring[]

Optional media group Id

group_namestring[]

Optional group name to filter by

Response

OK

namestring nullable

The media name

group_idstring nullable

The group id

tagsstring nullable

The tags associated with this media

advertiser_idstring nullable

The advertiser id. Optional

is_sharedboolean nullable

Is this media shared with other accounts

start_datestring date-time nullable

The start date for this media

end_datestring date-time nullable

The end date for this media

idstring nullable

The media id

group_namestring nullable

The group name

mime_typestring nullable

The MIME type for this media

file_sizeinteger

The file size in bytes

file_namestring nullable

The file name

file_urlstring nullable

The file URL

thumbnail_urlstring nullable

The thumbnail URL

uploaded_onstring date-time nullable

The date the media was uploaded

uploaded_by_idstring nullable

The user id that uploaded the media

sha_512string nullable

The SHA512 hash of the media file

widthinteger nullable

The width of the media

heightinteger nullable

The height of the media

is_approvedboolean nullable

Approval state. True = approved for playback, false = declined, null = pending review.

approved_onstring date-time nullable

Timestamp the media was approved, if applicable.

declined_onstring date-time nullable

Timestamp the media was declined, if applicable.

declined_reasonstring nullable

Reason recorded when the media was declined, if any.

Changes

No recorded changes to this operation across all 3 revisions of this API.