Download OpenAPI specification:Download
Summary of Westfield Movie API endpoints.
Request an array of movies filtered by allowed parameters.
centre_id required | string Example: sanfrancisco,sydney,london Centre identifier. Request movies with centre_id. Lowercase code name for a specific centre. |
date | string <date> Example: date=2015-07-30 Play date. Request the movies playing on play date. |
end_date | string <date> Example: end_date=2015-07-22 End date. Request the movies playing on or before end date of a range. |
fields | string Example: fields=_links Fields in response. Array that lists the fields requested. If empty or not supplied, all attributes will be returned. |
page | integer Default: 1 Example: page=2 Results page number. Specific page of results to request when paginating. |
per_page | integer Default: 10 Example: per_page=25 Results per page. Number of items per result set when paginating. |
start_date | string <date> Example: start_date=2015-07-22 Start date. Request the movies playing on or after start date of a range. |
updated_since | string <date-time> Example: updated_since=2015-04-02 Updated since. Request the movies updated since a specific date and time. ISO-8601 format. |
{- "data": [
- {
- "_links": {
}, - "classification": {
- "body": "string",
- "detail": "moderate fantasy violence, threat",
- "rating": "M"
}, - "directors": [
- "string"
], - "genres": [
- "string"
], - "movie_id": 0,
- "sessions": [
- {
- "_links": {
}, - "session_type": "string",
- "start_time": "2018-03-21T21:43:56Z",
- "store_id": 0
}
], - "source_attribution_text": "string",
- "source_attribution_uri": "string",
- "synopsis": "string",
- "time_zone": "string",
- "title": "string",
- "top_cast": [
- "string"
], - "updated_at": "2018-03-21T21:43:56Z"
}
], - "errors": { },
- "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100,
- "origin": "CentreService"
}
}
Request a single movie.
centre_id required | string Example: sanfrancisco,sydney,london Centre identifier. Request the movie with centre_id. Lowercase code name for a specific centre. |
movie_id required | integer <int64> Example: 4592 Movie identifier. Request the movie with movie_id. |
end_date | string <date> Example: end_date=2015-07-22 End date. Request the sessions of this movie playing on or before end date of a range. |
fields | string Example: fields=_links Fields in response. Array that lists the fields requested. If empty or not supplied, all attributes will be returned. |
start_date | string <date> Example: start_date=2015-07-22 Start date. Request the sessions of this movie playing on or after start date of a range. |
{- "data": {
- "_links": {
- "trailers": [
- {
- "href": "string",
- "quality": "string",
- "run_time": 0
}
], - "trailer_high_res": {
- "href": "string",
- "quality": "string",
- "run_time": 0
}, - "trailer_low_res": {
- "href": "string",
- "quality": "string",
- "run_time": 0
}
}, - "classification": {
- "body": "string",
- "detail": "moderate fantasy violence, threat",
- "rating": "M"
}, - "classification_body": "string",
- "classification_detail": "string",
- "directors": [
- "string"
], - "genres": [
- "string"
], - "movie_id": 0,
- "run_time": 0,
- "sessions": [
- {
- "_links": {
}, - "session_type": "string",
- "start_time": "2018-03-21T21:43:56Z",
- "store_id": 0
}
], - "source_attribution_text": "string",
- "source_attribution_uri": "string",
- "synopsis": "string",
- "time_zone": "string",
- "title": "string",
- "top_cast": [
- "string"
], - "updated_at": "2018-03-21T21:43:56Z"
}, - "errors": { },
- "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100,
- "origin": "CentreService"
}
}
Request to run task
task required | string Task name |
{- "task": "populate-centers"
}
{- "data": {
- "taskArn": "string",
- "version": "string",
- "createdAt": "2019-08-24T14:15:22Z"
}, - "errors": { },
- "meta": {
- "api_version": "1",
- "deprecation_information": {
- "deprecated_at": "2018-03-21T00:00:00Z",
- "goes_away_at": "2018-06-21T00:00:00Z",
}, - "origin": "CenterDirectoryService",
- "page": 1,
- "page_count": 10,
- "per_page": 25,
- "total": 100
}
}