Preview the streaming content of the specified input.
HTTP request
POST https://livestream.googleapis.com/v1/{name=projects/*/locations/*/inputs/*}:preview
The URL uses gRPC 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 the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the name resource:
livestream.inputs.preview
For more information, see the IAM documentation.