mirror of
https://github.com/zoriya/Aeris.git
synced 2026-06-07 20:32:41 +00:00
API: about.json: Youtube actions
This commit is contained in:
@@ -0,0 +1,89 @@
|
||||
[
|
||||
{
|
||||
"name": "Youtube",
|
||||
"actions": [
|
||||
{
|
||||
"name": "OnYtUpload",
|
||||
"description": "Event triggered on video upload",
|
||||
"params": [
|
||||
{
|
||||
"name": "channel",
|
||||
"type": "string",
|
||||
"description": "Name of the channel to watch over"
|
||||
}
|
||||
],
|
||||
"returns": [
|
||||
{
|
||||
"name": "ID",
|
||||
"description": "Youtube ID of the uploaded video"
|
||||
},
|
||||
{
|
||||
"name": "CHANNEL_ID",
|
||||
"description": "Youtube ID of the channel the video was uploaded to"
|
||||
},
|
||||
{
|
||||
"name": "TITLE",
|
||||
"description": "Title of the uploaded video"
|
||||
},
|
||||
{
|
||||
"name": "DESCRIPTION",
|
||||
"description": "Description of the uploaded video"
|
||||
},
|
||||
{
|
||||
"name": "PUBLISHED_AT",
|
||||
"description": "Date of the release"
|
||||
},
|
||||
{
|
||||
"name": "CHANNEL_TITLE",
|
||||
"description": "Name of the channel the video was uploaded to"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
///TODO implement action
|
||||
"name": "OnYtLike",
|
||||
"description": "Event triggered on video like",
|
||||
"params": [],
|
||||
"returns": []
|
||||
},
|
||||
{
|
||||
"name": "OnYtPlaylistAdd",
|
||||
"description": "Event triggered when a video is added to a playlist",
|
||||
"params": [
|
||||
{
|
||||
"name": "playlistId",
|
||||
"type": "string",
|
||||
"description": "ID of the playlist to watch over"
|
||||
}
|
||||
],
|
||||
"returns": [
|
||||
{
|
||||
"name": "ID",
|
||||
"description": "Youtube ID of the added video"
|
||||
},
|
||||
{
|
||||
"name": "CHANNEL_ID",
|
||||
"description": "Youtube ID of the channel the video was uploaded to"
|
||||
},
|
||||
{
|
||||
"name": "TITLE",
|
||||
"description": "Title of the uploaded video"
|
||||
},
|
||||
{
|
||||
"name": "DESCRIPTION",
|
||||
"description": "Description of the uploaded video"
|
||||
},
|
||||
{
|
||||
"name": "LIKED_AT",
|
||||
"description": "Date of the video like"
|
||||
},
|
||||
{
|
||||
"name": "CHANNEL_TITLE",
|
||||
"description": "Name of the channel the video was uploaded to"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"reactions": []
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user