mirror of
https://github.com/zoriya/Aeris.git
synced 2026-06-07 20:32:41 +00:00
API: about.json: spotify actions
This commit is contained in:
@@ -0,0 +1,44 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"name": "Spotify",
|
||||||
|
"actions": [
|
||||||
|
{
|
||||||
|
"name": "OnSpotifyAddToPlaylist",
|
||||||
|
"description": "Event triggered when a song is added to a Spotify playlist",
|
||||||
|
"params": [
|
||||||
|
{
|
||||||
|
"name": "playlistId",
|
||||||
|
"type": "string",
|
||||||
|
"description": "The Spotify ID of the playlist to watch"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"returns": [
|
||||||
|
{
|
||||||
|
"name": "ID",
|
||||||
|
"description": "ID of the added track"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "NAME",
|
||||||
|
"description": "Name of the added track"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "OnSpotifySaveToLibrary",
|
||||||
|
"description": "Event triggered when a song is added to a Spotify library",
|
||||||
|
"params": [],
|
||||||
|
"returns": [
|
||||||
|
{
|
||||||
|
"name": "ID",
|
||||||
|
"description": "ID of the added track"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "NAME",
|
||||||
|
"description": "Name of the added track"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
],
|
||||||
|
"reactions": []
|
||||||
|
}
|
||||||
|
]
|
||||||
Reference in New Issue
Block a user