diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/api.cpp | 73 |
1 files changed, 72 insertions, 1 deletions
diff --git a/src/api.cpp b/src/api.cpp index 4a90eb2..f656dc7 100644 --- a/src/api.cpp +++ b/src/api.cpp @@ -159,6 +159,29 @@ API::API() {v1::admin_reports_id_resolve, "/api/v1/admin/reports/resolve"}, {v1::admin_reports_id_reopen, "/api/v1/admin/reports/<ID>/reopen"}, + {v1::pleroma_notifications_read, " /api/v1/pleroma/notifications/read"}, + + {v1::pleroma_accounts_id_subscribe, + "/api/v1/pleroma/accounts/<ID>/subscribe"}, + {v1::pleroma_accounts_id_unsubscribe, + "/api/v1/pleroma/accounts/<ID>/unsubscribe"}, + {v1::pleroma_accounts_id_favourites, + "/api/v1/pleroma/accounts/:id/favourites"}, + {v1::pleroma_accounts_update_avatar, + "/api/v1/pleroma/accounts/update_avatar"}, + {v1::pleroma_accounts_update_banner, + "/api/v1/pleroma/accounts/update_banner"}, + {v1::pleroma_accounts_update_background, + "/api/v1/pleroma/accounts/update_background"}, + {v1::pleroma_accounts_confirmation_resend, + "/api/v1/pleroma/accounts/confirmation_resend"}, + + {v1::pleroma_mascot, "/api/v1/pleroma/mascot"}, + + {v1::pleroma_conversations_id_statuses, + "/api/v1/pleroma/conversations/<ID>/statuses"}, + {v1::pleroma_conversations_id, "/api/v1/pleroma/conversations/<ID>"}, + {v2::search, "/api/v2/search"}, {oauth::authorize, "/oauth/authorize"}, @@ -166,7 +189,55 @@ API::API() {oauth::revoke, "/oauth/revoke"}, {other::proofs, "/api/proofs"}, - {other::oembed, "/api/oembed"} + {other::oembed, "/api/oembed"}, + + {pleroma::admin_users, "/api/pleroma/admin/users"}, + {pleroma::admin_users_follow, "/api/pleroma/admin/users/follow"}, + {pleroma::admin_users_unfollow, "/api/pleroma/admin/users/unfollow"}, + {pleroma::admin_users_nickname, "/api/pleroma/admin/users/<NICKNAME>"}, + {pleroma::admin_users_tag, "/api/pleroma/admin/users/tag"}, + {pleroma::admin_users_nickname_permission_group, + "/api/pleroma/admin/users/<NICKNAME>/permission_group"}, + {pleroma::admin_users_nickname_permission_group_permission_group, + "/api/pleroma/admin/users/<NICKNAME>/permission_group/<PERMISSION_GROUP>"}, + {pleroma::admin_users_nickname_activation_status, + "/api/pleroma/admin/users/<NICKNAME>/activation_status"}, + {pleroma::admin_users_nickname_or_id, + "/api/pleroma/admin/users/<NICKNAME_OR_ID>"}, + {pleroma::admin_users_nickname_or_id_statuses, + "/api/pleroma/admin/users/<NICKNAME_OR_ID>/statuses"}, + {pleroma::admin_relay, "/api/pleroma/admin/relay"}, + {pleroma::admin_users_invite_token, + "/api/pleroma/admin/users/invite_token"}, + {pleroma::admin_users_invites, "/api/pleroma/admin/users/invites"}, + {pleroma::admin_users_revoke_invite, + "/api/pleroma/admin/users/revoke_invite"}, + {pleroma::admin_users_email_invite, + "/api/pleroma/admin/users/email_invite"}, + {pleroma::admin_users_nickname_password_reset, + "/api/pleroma/admin/users/<NICKNAME>/password_reset"}, + {pleroma::admin_reports, "/api/pleroma/admin/reports"}, + {pleroma::admin_reports_id, "/api/pleroma/admin/reports/<ID>"}, + {pleroma::admin_reports_id_respond, + "/api/pleroma/admin/reports/<ID>/respond"}, + {pleroma::admin_statuses_id, "/api/pleroma/admin/statuses/<ID>"}, + {pleroma::admin_config_migrate_to_db, + "/api/pleroma/admin/config/migrate_to_db"}, + {pleroma::admin_config_migrate_from_db, + "/api/pleroma/admin/config/migrate_from_db"}, + {pleroma::admin_config, "/api/pleroma/admin/config"}, + + {pleroma::emoji, "/api/pleroma/emoji"}, + {pleroma::follow_import, "/api/pleroma/follow_import"}, + {pleroma::captcha, "/api/pleroma/captcha,"}, + {pleroma::delete_account, "/api/pleroma/delete_account"}, + {pleroma::disable_account, "/api/pleroma/disable_account"}, + {pleroma::account_register, "/api/pleroma/account/register"}, + + {pleroma::pleroma_notification_settings, + "/api/pleroma/pleroma/notification_settings"}, + {pleroma::pleroma_healthcheck, "/api/pleroma/pleroma/healthcheck"}, + {pleroma::pleroma_change_email, "/api/pleroma/pleroma/change_email"}, } {} |