Retrieves a list of relationships for a given asset. The list contains relationships where the specified asset is either the parent (embedding) or child (embedded) asset in the relationship.
HTTP request
GET https://youtubepartner.googleapis.com/youtube/partner/v1/assetRelationships
The URL uses gRPC Transcoding syntax.
Query parameters
Parameters | |
---|---|
assetId |
The |
onBehalfOfContentOwner |
The |
pageToken |
The |
Request body
The request body must be empty.
Response body
A paginated list of assetRelationship
resources returned in response to a assetRelationships.list
request.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{ "kind": string, "pageInfo": { object ( |
Fields | |
---|---|
kind |
The type of the API response. For this operation, the value is |
pageInfo |
The |
items[] |
A list of |
nextPageToken |
The token that can be used as the value of the |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/youtubepartner
For more information, see the OAuth 2.0 Overview.