Streamers are plugins which send extracted data elsewhere. Streamers must be registered within the system, making them available to Crawls.
List Streamers.
https://github.com/tiredpixel/isoxya-api/blob/latest/bin/isoxya-api-list-streamer
Response parameters are as for /streamer/:streamer_id GET.
HTTP/1.1 200 OK
content-type: application/json
link: </streamer>; rel="first", </streamer?_next=2021-12-16T14:20:42.418362Z>; rel="next", </streamer?_prev=2021-12-16T14:20:42.418362Z>; rel="prev"
[
{
"channels": 1,
"href": "/streamer/b49fcc24-6562-415a-94a6-3e8dcd848aac",
"tag": "nginx",
"url": "http://isoxya-plugin-nginx.localhost"
}
]
Create a Streamer.
https://github.com/tiredpixel/isoxya-api/blob/latest/bin/isoxya-api-create-streamer
Name | Edition | Type | Description |
---|---|---|---|
channels |
Pro | number? | channels, used for scaling Streamers |
tag |
string | tag | |
url |
string | plugin endpoint URL (absolute) |
Response parameters are as for /streamer/:streamer_id GET.
POST /streamer HTTP/1.1
content-type: application/json
{
"channels": null,
"tag": "nginx",
"url": "http://isoxya-plugin-nginx.localhost"
}
HTTP/1.1 201 Created
content-type: application/json
location: /streamer/b49fcc24-6562-415a-94a6-3e8dcd848aac
{
"channels": 1,
"href": "/streamer/b49fcc24-6562-415a-94a6-3e8dcd848aac",
"tag": "nginx",
"url": "http://isoxya-plugin-nginx.localhost"
}
Delete a Streamer.
https://github.com/tiredpixel/isoxya-api/blob/latest/bin/isoxya-api-delete
HTTP/1.1 204 No Content
Read a Streamer.
https://github.com/tiredpixel/isoxya-api/blob/latest/bin/isoxya-api-read
Name | Edition | Type | Description |
---|---|---|---|
channels |
Pro | number | channels, used for scaling Streamers |
href |
string | Href | |
tag |
string | tag | |
url |
string | plugin endpoint URL (absolute) |
HTTP/1.1 200 OK
content-type: application/json
{
"channels": 1,
"href": "/streamer/b49fcc24-6562-415a-94a6-3e8dcd848aac",
"tag": "nginx",
"url": "http://isoxya-plugin-nginx.localhost"
}