Jump to Content
API Reference
v0.18
v0.19
Log In
API Reference
Log In
Moon (Dark Mode)
Sun (Light Mode)
v0.19
API Reference
Get counts for your reports
Search
JUMP TO
Developer Dashboard
Authentication
Unofficial Lemmy OpenAPI Documentation
Site
Gets the site, and your user data.
get
Create your site.
post
Edit your site.
put
Block an instance.
post
Miscellaneous
Get the modlog.
get
Search lemmy.
get
Fetch a non-local / federated object.
get
Fetch federated instances.
get
Community
Get / fetch a community.
get
Create a new community.
post
Edit a community.
put
Hide a community from public / "All" view. Admins only.
put
List communities, with various filters.
get
Follow / subscribe to a community.
post
Block a community.
post
Delete a community.
post
A moderator remove for a community.
post
Transfer your community to an existing moderator.
post
Ban a user from a community.
post
Add a moderator to your community.
post
Mod
Post
Get / fetch a post.
get
Edit a post.
put
Create a post.
post
Get / fetch posts, with various filters.
get
Delete a post.
post
A moderator remove for a post.
post
Mark a post as read.
post
A moderator can lock a post ( IE disable new comments ).
post
A moderator can feature a community post ( IE stick it to the top of a community ).
post
Like / vote on a post.
post
Save a post.
put
Report a post.
post
Resolve a post report. Only a mod can do this.
put
List post reports.
get
Fetch metadata for any given site.
get
Like / vote on a comment.
post
Comment
Get / fetch comment.
get
Create a comment.
post
Edit a comment.
put
Get / fetch comments.
get
Delete a comment.
post
A moderator remove for a comment.
post
Mark a comment as read.
post
Distinguishes a comment (speak as moderator)
post
Save a comment.
put
Report a comment.
post
Resolve a comment report. Only a mod can do this.
put
List comment reports.
get
PrivateMessage
Edit a private message.
put
Create a private message.
post
Get / fetch private messages.
get
Delete a private message.
post
Mark a private message as read.
post
Create a report for a private message.
post
Resolve a report for a private message.
put
List private message reports.
get
User
Get the details for a person.
get
Register a new user.
post
Fetch a Captcha.
get
Get mentions for your user.
get
Mark a person mention as read.
post
Get comment replies.
get
Ban a person from your site.
post
Get a list of banned users
get
Block a person.
post
Log into lemmy.
post
Delete your account.
post
Reset your password.
post
Change your password from an email / token based reset.
post
Mark all replies as read.
post
Save your user settings.
put
Change your user password.
put
Get counts for your reports
get
Get your unread counts
get
Verify your email
post
Leave the Site admins.
post
Generate a TOTP / two-factor secret. Afterwards you need to call `/user/totp/update` with a valid token to enable it.
post
Enable / Disable TOTP / two-factor authentication. To enable, you need to first call `/user/totp/generate` and then pass a valid token to this. Disabling is only possible if 2FA was previously enabled. Again it is necessary to pass a valid token.
post
Export a backup of your user settings, including your saved content, followed communities, and blocks.
get
Import a backup of your user settings.
post
List login tokens for your user
get
Returns an error message if your auth token is invalid
get
[MANUAL] Logout your user, which clears the cookie and invalidates the auth token
post
Admin
Add an admin to your site.
post
Get the unread registration applications count.
get
List the registration applications.
get
Approve a registration application
put
Purge / Delete a person from the database.
post
Purge / Delete a community from the database.
post
Purge / Delete a post from the database.
post
Purge / Delete a comment from the database.
post
List a posts's likes. Admin-only.
get
List a comment's likes. Admin-only.
get
CustomEmoji
Edit an existing custom emoji
put
Create a new custom emoji
post
Delete a custom emoji
post
Powered by
Get counts for your reports
get
https://lemmy.ml/api/v3/user/report_count
Language
Shell
Node
Ruby
PHP
Python
Credentials
Bearer
URL
Base URL
https://lemmy.ml/api/v3
/user/report_count
RESPONSE
Click
Try It!
to start a request and see the response here!