Movie Formats

method: getMovieFormats

This API operation returns the formats used for movies.

URL / Endpoint

GET /v1/lists/getMovieFormats

Request

PropertyTypeDescription
This operation does not accept any parameters.

Request Information

HTTP Method / Verb

Parameters can be passed to this operation using the HTTP GET method.

Headers

The REST API uses HTTP request headers to determine what data type is returned or to authenticate the developer's API key. More information can be found in the overview section.

Authentication

Your API-Key is required with every request and can be passed in as a header or a query-string parameter. Don't have an API-Key? Get one now.

Samples

GET method

https://api-sandbox.adultwork.com/v1/lists/getMovieFormats
  ?apiKey={your-api-key}

Response

PropertyTypeDescription
Formats Array of aws:MovieFormat List of MovieFormats.

Response Sample

The following example shows the price plans of a user.

[
{
"FormatName": "application/octet-stream"
},
{
"FormatName": "video/avi"
},
{
"FormatName": "video/mp4"
},
{
"FormatName": "video/mpeg"
},
{
"FormatName": "video/quicktime"
},
{
"FormatName": "video/x-ms-wmv"
}
]
<ArrayOfMovieFormats xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.Movies">
<MovieFormats>
<FormatName>application/octet-stream</FormatName>
</MovieFormats>
<MovieFormats>
<FormatName>video/avi</FormatName>
</MovieFormats>
<MovieFormats>
<FormatName>video/mp4</FormatName>
</MovieFormats>
<MovieFormats>
<FormatName>video/mpeg</FormatName>
</MovieFormats>
<MovieFormats>
<FormatName>video/quicktime</FormatName>
</MovieFormats>
<MovieFormats>
<FormatName>video/x-ms-wmv</FormatName>
</MovieFormats>
</ArrayOfMovieFormats>