Resource: Package
A package
resource represents a group of files that is delivered via the web, SFTP, or another delivery mechanism. The API currently supports the ability to upload a package containing exactly one metadata file or to retrieve information about a previously uploaded package.
JSON representation |
---|
{
"kind": string,
"uploaderName": string,
"content": string,
"locale": string,
"customIds": [
string
],
"name": string,
"type": string,
"timeCreated": string,
"status": string,
"statusReports": [
{
object ( |
Fields | |
---|---|
kind |
The type of the API resource. For |
uploaderName |
The uploader name. |
content |
The package's metadata file contents. |
locale |
The desired locale of the error messages as defined in BCP 47 (http: //tools.ietf.org/html/bcp47). For example, "en-US" or "de". If not // specified we will return the error messages in English ("en"). |
customIds[] |
The list of customer IDs. |
name |
The package name. |
type |
The package type. |
timeCreated |
The package creation time. The value is specified in RFC 3339 ( |
status |
The package status. |
statusReports[] |
The package status reports. |
id |
An ID that YouTube assigns and uses to uniquely identify the package. |
StatusReport
This object contains information that describes the source of the package status report.
JSON representation |
---|
{ "statusContent": string, "statusFileName": string } |
Fields | |
---|---|
statusContent |
The content of the report message. Used only in Hybrid. |
statusFileName |
Status file name. Used only in Hybrid. |
Methods |
|
---|---|
|
Retrieves information for the specified package. |
|
Inserts a metadata-only package. |