Files
Aeris/api/services/youtube.json
T
2022-02-24 19:34:28 +01:00

89 lines
1.9 KiB
JSON

[
{
"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": []
}
]