Add support for /api/v1/streaming/health.
This commit is contained in:
parent
3446bbf5d6
commit
7f80bff4e1
@ -373,6 +373,7 @@ strings and you can use unsupported fields in an `Entity` by converting it to
|
||||
** [x] GET /api/v1/timelines/tag/:hashtag
|
||||
** [x] GET /api/v1/timelines/list/:list_id
|
||||
* Streaming API
|
||||
** [x] GET /api/v1/streaming/health
|
||||
** [x] GET /api/v1/streaming/user
|
||||
** [x] GET /api/v1/streaming/public
|
||||
** [x] GET /api/v1/streaming/public/local
|
||||
|
@ -236,6 +236,11 @@ const return_call API::get(const Mastodon::API::v1 &call,
|
||||
strcall = "/api/v1/conversations";
|
||||
break;
|
||||
}
|
||||
case v1::streaming_health:
|
||||
{
|
||||
strcall = "/api/v1/streaming/health";
|
||||
break;
|
||||
}
|
||||
default:
|
||||
{
|
||||
ttdebug << "ERROR: Invalid argument.\n";
|
||||
|
@ -269,7 +269,7 @@ namespace Mastodon
|
||||
timelines_tag_hashtag,
|
||||
timelines_list_list_id,
|
||||
|
||||
// streaming_health,
|
||||
streaming_health,
|
||||
streaming_user,
|
||||
streaming_public,
|
||||
streaming_public_local,
|
||||
|
Reference in New Issue
Block a user