Library_CreatePlaylist
Library_CreatePlaylist
Path Parameters
- user string required
The user id.
Request Body required
- parent string required
The parent this playlist belongs to.
playlist object required
- name string required
The id of the playlist.
- displayName string
The display name of the playlist.
- type enum required
Possible values: [
TYPE_UNSPECIFIED
,LATER
,LIKED
,CUSTOM
]The type of the playlist.
- 200
- default
OK
Schema
- name string required
The id of the playlist.
- displayName string
The display name of the playlist.
- type enum required
Possible values: [
TYPE_UNSPECIFIED
,LATER
,LIKED
,CUSTOM
]The type of the playlist.
Default error response
Schema
- code int32
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
- message string
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
details object[]
A list of messages that carry the error details. There is a common set of message types for APIs to use.
- @type string
The type of the serialized message.