Fetches a video given its address or videoId. The response will either be a video with a set of playback URIs for ACTIVE videos, a PROCESSING state for pending videos, or a 404 error if the video does not exist. Receiving a video is a billable event, so callers of this method should be ready to use the returned URIs at the time of request.
HTTP request
GET https://aerialview.googleapis.com/v1/videos:lookupVideo
The URL uses gRPC Transcoding syntax.
Query parameters
Parameters | |
---|---|
Union parameter key . Required. A key used to look-up a video. key can be only one of the following: |
|
videoId |
An ID returned from |
address |
A US postal address. |
Request body
The request body must be empty.
Response body
An object that encapsulates all of the data about a video.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{ "uris": { string: { object ( |
Fields | |
---|---|
uris |
A mapping of media types to their URIs. This field is only included for An object containing a list of |
state |
Current state of the render request. |
metadata |
Contains the video's metadata, only set if the state is |
Uris
Contains all the uris for a given video format.
JSON representation |
---|
{ "landscapeUri": string, "portraitUri": string } |
Fields | |
---|---|
landscapeUri |
A signed short-lived URI for the media in a landscape orientation. |
portraitUri |
A signed short-lived URI for the media in a portrait orientation. |