From 90667d96c790b0c45b2505511e65cebcd0faf9c4 Mon Sep 17 00:00:00 2001 From: mstar Date: Wed, 16 Oct 2024 12:59:46 +0200 Subject: [PATCH] Added list of all Masto endpoints This list does not include what data goes where, only the endpoints themselves (url and method) --- masto-api-endpoints.txt | 232 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 232 insertions(+) create mode 100644 masto-api-endpoints.txt diff --git a/masto-api-endpoints.txt b/masto-api-endpoints.txt new file mode 100644 index 0000000..dc4a41e --- /dev/null +++ b/masto-api-endpoints.txt @@ -0,0 +1,232 @@ +State 27.03.2024 + +POST /api/v1/apps +GET /api/v1/apps/verify_credentials +GET /oauth/authorize +POST /oauth/token +POST /oauth/revoke +GET /.well-known/oauth-authorization-server +POST /api/v1/emails/confirmations +POST /api/v1/accounts +GET /api/v1/accounts/verify_credentials +PATCH /api/v1/accounts/update_credentials +GET /api/v1/accounts/:id +GET /api/v1/accounts +GET /api/v1/accounts/:id/statuses +GET /api/v1/accounts/:id/followers +GET /api/v1/accounts/:id/following +GET /api/v1/accounts/:id/featured_tags +GET /api/v1/accounts/:id/lists +POST /api/v1/accounts/:id/follow +POST /api/v1/accounts/:id/unfollow +POST /api/v1/accounts/:id/remove_from_followers +POST /api/v1/accounts/:id/block +POST /api/v1/accounts/:id/unblock +POST /api/v1/accounts/:id/mute +POST /api/v1/accounts/:id/unmute +POST /api/v1/accounts/:id/pin +POST /api/v1/accounts/:id/unpin +POST /api/v1/accounts/:id/note +GET /api/v1/accounts/relationships +GET /api/v1/accounts/familiar_followers +GET /api/v1/accounts/search +GET /api/v1/accounts/lookup +Deprecated GET /api/v1/accounts/:id/identity_proofs +GET /api/v1/bookmarks +GET /api/v1/favourites +GET /api/v1/mutes +GET /api/v1/blocks +GET /api/v1/domain_blocks +POST /api/v1/domain_blocks +DELETE /api/v1/domain_blocks +GET /api/v2/filters +GET /api/v2/filters/:id +POST /api/v2/filters +PUT /api/v2/filters/:id +DELETE /api/v2/filters/:id +GET /api/v2/filters/:filter_id/keywords +POST /api/v2/filters/:filter_id/keywords +GET /api/v2/filters/keywords/:id +PUT /api/v2/filters/keywords/:id +DELETE /api/v2/filters/keywords/:id +GET /api/v2/filters/:filter_id/statuses +POST /api/v2/filters/:filter_id/statuses +GET /api/v2/filters/statuses/:id +DELETE /api/v2/filters/statuses/:id +Deprecated GET /api/v1/filters +Deprecated GET /api/v1/filters/:id +Deprecated POST /api/v1/filters +Deprecated PUT /api/v1/filters/:id +Deprecated DELETE /api/v1/filters/:id +POST /api/v1/reports +GET /api/v1/follow_requests +POST /api/v1/follow_requests/:account_id/authorize +POST /api/v1/follow_requests/:account_id/reject +GET /api/v1/endorsements +GET /api/v1/featured_tags +POST /api/v1/featured_tags +DELETE /api/v1/featured_tags/:id +GET /api/v1/featured_tags/suggestions +GET /api/v1/preferences +GET /api/v1/followed_tags +GET /api/v2/suggestions +DELETE /api/v1/suggestions/:account_id +Deprecated GET /api/v1/suggestions +GET /api/v1/tags/:id +POST /api/v1/tags/:id/follow +POST /api/v1/tags/:id/unfollow +DELETE /api/v1/profile/avatar +DELETE /api/v1/profile/header +POST /api/v1/statuses +GET /api/v1/statuses/:id +GET /api/v1/statuses +DELETE /api/v1/statuses/:id +GET /api/v1/statuses/:id/context +POST /api/v1/statuses/:id/translate +GET /api/v1/statuses/:id/reblogged_by +GET /api/v1/statuses/:id/favourited_by +POST /api/v1/statuses/:id/favourite +POST /api/v1/statuses/:id/unfavourite +POST /api/v1/statuses/:id/reblog +POST /api/v1/statuses/:id/unreblog +POST /api/v1/statuses/:id/bookmark +POST /api/v1/statuses/:id/unbookmark +POST /api/v1/statuses/:id/mute +POST /api/v1/statuses/:id/unmute +POST /api/v1/statuses/:id/pin +POST /api/v1/statuses/:id/unpin +PUT /api/v1/statuses/:id +GET /api/v1/statuses/:id/history +GET /api/v1/statuses/:id/source +Deprecated GET /api/v1/statuses/:id/card +POST /api/v2/media +GET /api/v1/media/:id +PUT /api/v1/media/:id +Deprecated POST /api/v1/media +GET /api/v1/polls/:id +POST /api/v1/polls/:id/votes +GET /api/v1/scheduled_statuses +GET /api/v1/scheduled_statuses/:id +PUT /api/v1/scheduled_statuses/:id +DELETE /api/v1/scheduled_statuses/:id +GET /api/v1/timelines/public +GET /api/v1/timelines/tag/:hashtag +GET /api/v1/timelines/home +GET /api/v1/timelines/link?url=:url +GET /api/v1/timelines/list/:list_id +Deprecated GET /api/v1/timelines/direct +GET /api/v1/conversations +DELETE /api/v1/conversations/:id +POST /api/v1/conversations/:id/read +GET /api/v1/lists +GET /api/v1/lists/:id +POST /api/v1/lists +PUT /api/v1/lists/:id +DELETE /api/v1/lists/:id +GET /api/v1/lists/:id/accounts +POST /api/v1/lists/:id/accounts +DELETE /api/v1/lists/:id/accounts +GET /api/v1/markers +POST /api/v1/markers +GET /api/v1/streaming/health +GET /api/v1/streaming/user +GET /api/v1/streaming/user/notification +GET /api/v1/streaming/public +GET /api/v1/streaming/public/local +GET /api/v1/streaming/public/remote +GET /api/v1/streaming/hashtag +GET /api/v1/streaming/hashtag/local +GET /api/v1/streaming/list +GET /api/v1/streaming/direct +GET /api/v2/notifications +GET /api/v2/notifications/:group_key +POST /api/v2/notifications/:group_key/dismiss +GET /api/v2/notifications/:group_key/accounts +GET /api/v2/notifications/unread_count +GET /api/v1/notifications +GET /api/v1/notifications/:id +POST /api/v1/notifications/clear +POST /api/v1/notifications/:id/dismiss +Removed POST /api/v1/notifications/dismiss +GET /api/v1/notifications/unread_count +GET /api/v2/notifications/policy +PATCH /api/v2/notifications/policy +GET /api/v1/notifications/requests +GET /api/v1/notifications/requests/:id +POST /api/v1/notifications/requests/:id/accept +POST /api/v1/notifications/requests/:id/dismiss +POST /api/v1/notifications/requests/accept +POST /api/v1/notifications/requests/dismiss +GET /api/v1/notifications/requests/merged +POST /api/v1/push/subscription +GET /api/v1/push/subscription +PUT /api/v1/push/subscription +DELETE /api/v1/push/subscription +GET /api/v2/search +Removed GET /api/v1/search +GET /api/v2/instance +GET /api/v1/instance/peers +GET /api/v1/instance/activity +GET /api/v1/instance/rules +GET /api/v1/instance/domain_blocks +GET /api/v1/instance/extended_description +GET /api/v1/instance/translation_languages +Deprecated GET /api/v1/instance +GET /api/v1/trends/tags +GET /api/v1/trends/statuses +GET /api/v1/trends/links +GET /api/v1/directory +GET /api/v1/custom_emojis +GET /api/v1/announcements +POST /api/v1/announcements/:id/dismiss +PUT /api/v1/announcements/:id/reactions/:name +DELETE /api/v1/announcements/:id/reactions/:name +GET /api/v1/admin/accounts +GET /api/v2/admin/accounts +GET /api/v1/admin/accounts/:id +POST /api/v1/admin/accounts/:id/approve +POST /api/v1/admin/accounts/:id/reject +DELETE /api/v1/admin/accounts/:id +POST /api/v1/admin/accounts/:id/action +POST /api/v1/admin/accounts/:id/enable +POST /api/v1/admin/accounts/:id/unsilence +POST /api/v1/admin/accounts/:id/unsuspend +POST /api/v1/admin/accounts/:id/unsensitive +GET /api/v1/admin/canonical_email_blocks +GET /api/v1/admin/canonical_email_blocks/:id +POST /api/v1/admin/canonical_email_blocks/test +POST /api/v1/admin/canonical_email_blocks +DELETE /api/v1/admin/canonical_email_blocks/:id +POST /api/v1/admin/dimensions +GET /api/v1/admin/domain_allows +GET /api/v1/admin/domain_allows/:id +POST /api/v1/admin/domain_allows +DELETE /api/v1/admin/domain_allows/:id +GET /api/v1/admin/domain_blocks +GET /api/v1/admin/domain_blocks/:id +POST /api/v1/admin/domain_blocks +PUT /api/v1/admin/domain_blocks/:id +DELETE /api/v1/admin/domain_blocks/:id +GET /api/v1/admin/email_domain_blocks +GET /api/v1/admin/email_domain_blocks/:id +POST /api/v1/admin/email_domain_blocks +DELETE /api/v1/admin/email_domain_blocks/:id +GET /api/v1/admin/ip_blocks +GET /api/v1/admin/ip_blocks/:id +POST /api/v1/admin/ip_blocks +PUT /api/v1/admin/ip_blocks/:id +DELETE /api/v1/admin/ip_blocks/:id +POST /api/v1/admin/measures +GET /api/v1/admin/reports +GET /api/v1/admin/reports/:id +PUT /api/v1/admin/reports/:id +POST /api/v1/admin/reports/:id/assign_to_self +POST /api/v1/admin/reports/:id/unassign +POST /api/v1/admin/reports/:id/resolve +POST /api/v1/admin/reports/:id/reopen +POST /api/v1/admin/retention +GET /api/v1/admin/trends/links +GET /api/v1/admin/trends/statuses +GET /api/v1/admin/trends/tags +Removed GET /api/proofs +GET /api/oembed