Method: projects.locations.inputs.preview Stay organized with collections Save and categorize content based on your preferences.
Preview the streaming content of the specified input.
HTTP request
POST https://livestream.googleapis.com/v1/{name=projects/*/locations/*/inputs/*}:preview
The URL usesgRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
name |
Required. The name of the input resource, in the form of: |
Request body
The request body must be empty.
Response body
Response message for "LivestreamService.PreviewInput"
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{"uri":string,"bearerToken":string} |
| Fields | |
|---|---|
uri |
URI to display the preview content. |
bearerToken |
A bearer token used to authenticate connections that display the preview content. The token expires after one hour. For HTTP connections, this token should be included as a bearer token inside the Authorization header. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see theAuthentication Overview.
IAM Permissions
Requires the followingIAM permission on thename resource:
livestream.inputs.preview
For more information, see theIAM documentation.
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-10 UTC.