Inserts a metadata-only package.
HTTP request
POST https://youtubepartner.googleapis.com/youtube/partner/v1/package
The URL uses gRPC Transcoding syntax.
Query parameters
Parameters | |
---|---|
onBehalfOfContentOwner |
The |
Request body
The request body contains an instance of Package
.
Response body
A package
resource and possible errors or warnings returned in response to package.insert
request.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{ "status": string, "errors": [ { object ( |
Fields | |
---|---|
status |
The package insert status. Indicates whether the insert operation completed successfully or identifies the general cause of failure. For most cases where the insert operation failed, the errors are described in the API response's |
errors[] |
The list of errors and/or warnings. |
kind |
The type of the API response. For this operation, the value is |
resource |
The |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/youtubepartner
For more information, see the OAuth 2.0 Overview.