Resource: AssetRelationship
An assetRelationship
resource identifies two related assets in which one asset is treated as a parent (containing) asset and the other is a child (contained) asset. For example, a television show asset contains season assets, and each season asset contains episode assets.
JSON representation |
---|
{ "kind": string, "id": string, "parentAssetId": string, "childAssetId": string } |
Fields | |
---|---|
kind |
The type of the API resource. For this resource, the value is |
id |
A value that YouTube assigns and uses to uniquely identify the asset relationship. |
parentAssetId |
The ID of the parent (containing) asset. |
childAssetId |
The ID of the child (contained) asset. |
Methods |
|
---|---|
|
Deletes a relationship between two assets. |
|
Creates a relationship that links two assets. |
|
Retrieves a list of relationships for a given asset. |