Page Summary
-
This API endpoint retrieves a list of asset labels associated with a content owner via a GET request to
https://youtubepartner.googleapis.com/youtube/partner/v1/assetLabels. -
The request supports several query parameters, including
labelPrefix,onBehalfOfContentOwner,q, andpageToken, which allow for filtering and pagination of results. -
The request body must be empty for this endpoint.
-
A successful response returns a paginated list of
assetLabelresources, including details like kind, pageInfo, items, and anextPageTokenfor subsequent requests. -
Authorization for this endpoint requires the
https://www.googleapis.com/auth/youtubepartnerOAuth scope.
Retrieves a list of all asset labels for an owner.
HTTP request
GET https://youtubepartner.googleapis.com/youtube/partner/v1/assetLabels
The URL uses gRPC Transcoding syntax.
Query parameters
| Parameters | |
|---|---|
labelPrefix |
The |
onBehalfOfContentOwner |
The |
q |
The |
pageToken |
The |
Request body
The request body must be empty.
Response body
A paginated list of assetLabel resources returned in response to a assetLabel.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.