Spotify
Spotify is a popular music streaming service that offers a vast library of songs, podcasts, and playlists for users to enjoy.
Type: spotify/v1
Connections
Version: 1
OAuth2 Authorization Code
Properties
Name | Label | Type | Control Type | Description | Required |
---|---|---|---|---|---|
clientId | Client Id | STRING | TEXT | true | |
clientSecret | Client Secret | STRING | TEXT | true |
Actions
Play/Resume Playback
Name: startResumePlayback
Start or resume current playback on an active device.
Properties
Name | Label | Type | Control Type | Description | Required |
---|---|---|---|---|---|
deviceId | Device ID | STRING | TEXT | false | |
__item | Item | OBJECT Properties{STRING(context_uri), [STRING](uris), INTEGER(position_ms)} | OBJECT_BUILDER | null |
JSON Example
{ "label" : "Play/Resume Playback", "name" : "startResumePlayback", "parameters" : { "deviceId" : "", "__item" : { "context_uri" : "", "uris" : [ "" ], "position_ms" : 1 } }, "type" : "spotify/v1/startResumePlayback"}
Add Items to a Playlist
Name: addItemsToPlaylist
Adds one or more items to your playlist.
Properties
Name | Label | Type | Control Type | Description | Required |
---|---|---|---|---|---|
playlist_id | Playlist ID | STRING | SELECT | true | |
uris | Tracks | ARRAY Items[STRING] | ARRAY_BUILDER | true | |
__item | Item | OBJECT Properties{INTEGER(position)} | OBJECT_BUILDER | null |
Output
Type: OBJECT
Properties
Name | Type | Control Type |
---|---|---|
body | OBJECT Properties{STRING(snapshot_id)} | OBJECT_BUILDER |
JSON Example
{ "label" : "Add Items to a Playlist", "name" : "addItemsToPlaylist", "parameters" : { "playlist_id" : "", "uris" : [ "" ], "__item" : { "position" : 1 } }, "type" : "spotify/v1/addItemsToPlaylist"}
Create Playlist
Name: createPlaylist
Creates a new playlist
Properties
Name | Label | Type | Control Type | Description | Required |
---|---|---|---|---|---|
name | Name | STRING | TEXT | The name for the new playlist. | true |
description | Description | STRING | TEXT | The description for the new playlist. | false |
public | Public | BOOLEAN Optionstrue, false | SELECT | The public status for the new playlist. | true |
collaborative | Collaborative | BOOLEAN Optionstrue, false | SELECT | If the playlist is collaborative or not. | true |
Output
Type: OBJECT
Properties
Name | Type | Control Type |
---|---|---|
collaborative | BOOLEAN Optionstrue, false | SELECT |
description | STRING | TEXT |
external_urls | OBJECT Properties{STRING(spotify)} | OBJECT_BUILDER |
href | STRING | TEXT |
id | STRING | TEXT |
name | STRING | TEXT |
type | STRING | TEXT |
uri | STRING | TEXT |
owner | OBJECT Properties{STRING(href), STRING(id), STRING(type), STRING(uri)} | OBJECT_BUILDER |
public | BOOLEAN Optionstrue, false | SELECT |
JSON Example
{ "label" : "Create Playlist", "name" : "createPlaylist", "parameters" : { "name" : "", "description" : "", "public" : false, "collaborative" : false }, "type" : "spotify/v1/createPlaylist"}