POST Playlist/CreatePlaylist
Adds playlist
Request Information
URI Parameters
None.
Body Parameters
RequestCreatePlaylist| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
None. |
|
| Public | integer |
None. |
|
| UserID | integer |
None. |
|
| VideoID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Name": "sample string 1",
"Public": 2,
"UserID": 3,
"VideoID": 4
}
text/html
Sample:
{"Name":"sample string 1","Public":2,"UserID":3,"VideoID":4}
application/xml, text/xml
Sample:
<RequestCreatePlaylist xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YogaStreamAPIv2"> <Name>sample string 1</Name> <Public>2</Public> <UserID>3</UserID> <VideoID>4</VideoID> </RequestCreatePlaylist>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
CreatePlaylist| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
None. |
|
| ID | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Name": "sample string 1",
"ID": 2
}
text/html
Sample:
{"Name":"sample string 1","ID":2}
application/xml, text/xml
Sample:
<CreatePlaylist xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YogaStreamAPIv2"> <ID>2</ID> <Name>sample string 1</Name> </CreatePlaylist>