Method: spreadsheetTemplate.list

  • This API endpoint retrieves a list of spreadsheet templates for a specified content owner via a GET request to https://youtubepartner.googleapis.com/youtube/partner/v1/spreadsheetTemplate .

  • The API request supports optional query parameters, locale to specify the language and onBehalfOfContentOwner to identify the content owner, and the request body should be empty.

  • The successful response body will be in JSON format with fields including status , kind which is youtubePartner#spreadsheetTemplateList , and an items array containing the spreadsheet templates.

  • Authorization to use this API requires the https://www.googleapis.com/auth/youtubepartner OAuth scope.

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 .

Design a Mobile Site
View Site in Mobile | Classic
Share by: