From 42b263897bb2468e3c13cb035e53c8ea8c386f09 Mon Sep 17 00:00:00 2001 From: tastytea Date: Tue, 30 Apr 2019 23:50:19 +0200 Subject: [PATCH] Split up checklists in calls and entities. --- README.adoc | 57 ++++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 50 insertions(+), 7 deletions(-) diff --git a/README.adoc b/README.adoc index 73858d6..8fdd831 100644 --- a/README.adoc +++ b/README.adoc @@ -71,6 +71,8 @@ g++ --std=c++14 -lmastodon-cpp example.cpp Learn more at and . +Not included in this list are entities. + ==== Return types * `Mastodon::return_call`: Contains the response from `Mastodon::API` calls. @@ -265,8 +267,14 @@ the filter ID with `MASTODON_CPP_FILTER_ID`. You can select the list ID with == Status of implementation +You can still use unsupported calls by using `API::get` and the others with +strings and you can use unsupported fields in an `Entity` by converting it to +`Json::Value`. + === Mastodon API +==== Calls + * Accounts ** [x] GET /api/v1/accounts/:id ** [x] POST /api/v1/accounts @@ -384,21 +392,46 @@ the filter ID with `MASTODON_CPP_FILTER_ID`. You can select the list ID with ** [x] GET /api/v1/streaming/list ** [ ] GET /api/v1/streaming/direct +==== Entities + +* [ ] Account +* [ ] Application +* [ ] Attachment +* [ ] Card +* [ ] Context +* [ ] Conversation +* [ ] Emoji +* [ ] Filter +* [ ] Instance +* [ ] List +* [ ] Mention +* [ ] Notification +* [ ] Poll +* [ ] PushSubscription +* [ ] Relationship +* [ ] Report +* [ ] Results ^(Deprecated)^ +* [ ] Status +* [ ] ScheduledStatus +* [ ] Tag +* [ ] Token + === glitch-soc API -* [x] `max_toot_chars` in /api/v1/instance +==== Calls + * [x] GET /api/v1/bookmarks * [x] POST /api/v1/statuses/:id/bookmark * [x] POST /api/v1/statuses/:id/unbookmark +==== Entities + +* [x] `max_toot_chars` in /api/v1/instance + === Pleroma API -* `pleroma` object in: - ** [ ] Statuses - ** [ ] Attachments - ** [ ] Accounts - ** [ ] Source - ** [ ] Notifications +==== Calls + * [ ] `preview` and `content_type` in POST /api/v1/statuses * [ ] `no_rich_text`, `hide_followers`, `hide_follows`, `hide_favorites` and `show_role` in /api/v1/update_credentials @@ -438,6 +471,16 @@ the filter ID with `MASTODON_CPP_FILTER_ID`. You can select the list ID with ** [ ] POST /api/pleroma/admin/email_invite ** [ ] GET /api/pleroma/admin/password_reset +==== Entities + +* `pleroma` object in: + ** [ ] Statuses + ** [ ] Attachments + ** [ ] Accounts + ** [ ] Source + ** [ ] Notifications + + == Copyright [source,text]