Note: This endpoint can only be used by individual creators to make requests for their own,
channel-memberships-enabled YouTube channel. Reach out to your Google or YouTube representative
to request access.
A membershipsLevel resource identifies a pricing level managed
by the creator that authorized the API request.
Methods
The API supports the following methods for membershipsLevel resources:
- list
- Lists membership levels for the channel that authorized the request.
Resource representation
The following JSON structure shows the format of a membershipsLevel resource:
{
"kind": "youtube#membershipsLevel",
"etag": etag,
"id": string,
"snippet": {
"creatorChannelId": string,
"levelDetails": {
"displayName": string,
}
}
}Properties
The following table defines the properties that appear in this resource:
| Properties | |
|---|---|
kind |
stringIdentifies the API resource's type. The value will be youtube#membershipsLevel. |
etag |
etagThe Etag of this resource. |
id |
stringThe ID that YouTube assigns to uniquely identify the membership level. This value will not change even if the level's display name changes. |
snippet |
objectThe snippet object contains details about the membership level. |
snippet.creatorChannelId |
stringThe YouTube channel ID of the creator that owns the pricing level. |
snippet.levelDetails |
objectThis object contains data about the membership level. |
snippet.levelDetails.displayName |
stringThe level's display name. |