Method: spreadsheetTemplate.list

Retrieves a list of spreadsheet templates for a content owner.

HTTP request

GET https://youtubepartner.googleapis.com/youtube/partner/v1/spreadsheetTemplate

The URL uses gRPC Transcoding syntax.

Query parameters

Parameters
locale

string

The locale parameter identifies the desired language for templates in the API response. The value is a string that contains a BCP-47 language code. The default value is en.

onBehalfOfContentOwner

string

The onBehalfOfContentOwner parameter identifies the content owner that the user is acting on behalf of. This parameter supports users whose accounts are associated with multiple content owners.

Request body

The request body must be empty.

Response body

A list of spreadsheet templates associated with a content owner.

If successful, the response body contains data with the following structure:

JSON representation
{
  "status": string,
  "kind": string,
  "items": [
    {
      object (SpreadsheetTemplate)
    }
  ]
}
Fields
status

string

The status of the API response.

kind

string

The type of the API response. For this operation, the value is youtubePartner#spreadsheetTemplateList.

items[]

object (SpreadsheetTemplate)

A list of spreadsheet templates (youtubePartner#spreadsheetTemplate) resources that match the request criteria.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/youtubepartner

For more information, see the OAuth 2.0 Overview.