# API Docs ## Docs - [API Reference](https://daun-docs.syahmi.fyi/api-reference.md) - [Delete User](https://daun-docs.syahmi.fyi/auth/delete-user.md): Deletes a user account, checks for suspension reports and OTP verification. - [Login User](https://daun-docs.syahmi.fyi/auth/login.md): Request OTP for a user - [Logout User](https://daun-docs.syahmi.fyi/auth/logout.md): Log out user from the current session - [Overview](https://daun-docs.syahmi.fyi/auth/overview.md): Authentication Overview - [Register User](https://daun-docs.syahmi.fyi/auth/register.md): Register a new user - [Get Session](https://daun-docs.syahmi.fyi/auth/session.md): Retrieve the current session - [Get User](https://daun-docs.syahmi.fyi/auth/user.md): Retrieve user information - [Verify OTP](https://daun-docs.syahmi.fyi/auth/verify.md): Verify OTP to complete user login - [Delete Folder](https://daun-docs.syahmi.fyi/bookmark/folderId/delete.md): Delete a bookmark folder - [Get Posts By FolderId](https://daun-docs.syahmi.fyi/bookmark/folderId/posts/get.md): Get posts by bookmark folder - [Update Folder](https://daun-docs.syahmi.fyi/bookmark/folderId/update.md): Update a bookmark folder - [Create Folder](https://daun-docs.syahmi.fyi/bookmark/folders/create.md): Create a new bookmark folder - [Get All Folders](https://daun-docs.syahmi.fyi/bookmark/folders/get.md): Get all bookmark folders - [Reassign Bookmark](https://daun-docs.syahmi.fyi/bookmark/reassign.md): Reassign a bookmark to a new folder - [Toggle Bookmark](https://daun-docs.syahmi.fyi/bookmark/toggle.md): Add or remove a bookmark - [Get Followers](https://daun-docs.syahmi.fyi/follow/followers.md): Fetches a list of followers for the authenticated user. - [Get Following](https://daun-docs.syahmi.fyi/follow/following.md): Fetches a list of users that the authenticated user is following. - [Toggle Follow](https://daun-docs.syahmi.fyi/follow/toggle.md): Follows or unfollows a user based on the current follow status. - [Get Unread Count](https://daun-docs.syahmi.fyi/notifications/count.md): Fetches the count of unread notifications for the authenticated user. - [Get Notifications](https://daun-docs.syahmi.fyi/notifications/get.md): Fetches a list of notifications for the authenticated user. - [Toggle Notifications](https://daun-docs.syahmi.fyi/notifications/toggle.md): Updates the read status of specified notifications for the authenticated user. - [DB Schema Overview](https://daun-docs.syahmi.fyi/overview.md): An overview of the data structures used in the database schema and their relationships - [Create Post](https://daun-docs.syahmi.fyi/post/create.md): Create a new post with media file uploads - [Delete Post](https://daun-docs.syahmi.fyi/post/delete.md): Deletes a single post based on the ID - [Get Post](https://daun-docs.syahmi.fyi/post/get.md): Retrieve a post by its Snowflake ID and username - [Get Post Children](https://daun-docs.syahmi.fyi/post/get-children.md): Get children posts by type - [Id vs SnowflakeId](https://daun-docs.syahmi.fyi/post/id-vs-snowflakeid.md): Understanding the usage of these two ID types - [Get Posts (Feed)](https://daun-docs.syahmi.fyi/post/posts/get.md): Fetches a list of posts with optional filtering by cursor, size, query, and user IDs. - [Update Post](https://daun-docs.syahmi.fyi/post/update.md): Updates an existing post based on the ID supplied - [Create Reply](https://daun-docs.syahmi.fyi/reply/create.md): Creates a new reply with the provided data. - [Delete Reply](https://daun-docs.syahmi.fyi/reply/delete.md): Deletes a reply with the given ID. - [Update Reply](https://daun-docs.syahmi.fyi/reply/update.md): Updates an existing post based on the ID supplied - [Delete Report](https://daun-docs.syahmi.fyi/report/delete-report.md): Delete a report by ID - [Get Report By Id](https://daun-docs.syahmi.fyi/report/get-report.md): Get a report by ID - [Get Reports](https://daun-docs.syahmi.fyi/report/get-reports.md): Retrieve reports - [Create Report](https://daun-docs.syahmi.fyi/report/post-report.md): Create a new report - [Create Report Status](https://daun-docs.syahmi.fyi/report/post-status.md): Update the status of a report - [Report Status & Report Reason (Enum/JSON)](https://daun-docs.syahmi.fyi/report/report-reason-enum.md) - [Delete Tokens](https://daun-docs.syahmi.fyi/tokens/delete-tokens.md): Delete FCM Token - [Get Tokens](https://daun-docs.syahmi.fyi/tokens/get-tokens.md): Get FCM Token by User ID - [Create / Update Tokens](https://daun-docs.syahmi.fyi/tokens/post-tokens.md): Register or Update FCM Token - [Push Notifications](https://daun-docs.syahmi.fyi/tokens/push.md): Send Push Notification - [Get Details](https://daun-docs.syahmi.fyi/user/get-details.md): Get current user's details - [Get Media](https://daun-docs.syahmi.fyi/user/get-media.md): Fetches media files associated with a specific username. Optionally supports pagination with cursor and size parameters. - [Get Profile](https://daun-docs.syahmi.fyi/user/get-profile.md): Get user profile by username - [Get Users By Query](https://daun-docs.syahmi.fyi/user/get-users-query.md): Retrieve users based on a search query. - [Get Users / UserIds By Tags](https://daun-docs.syahmi.fyi/user/get-users-tags.md): Retrieve user IDs based on a list of tags. - [Update Details](https://daun-docs.syahmi.fyi/user/post-details.md): Update current user's details ## OpenAPI Specs - [bookmark](https://daun-docs.syahmi.fyi/openapi/bookmark.json) - [user-media](https://daun-docs.syahmi.fyi/openapi/user-media.json) - [follow](https://daun-docs.syahmi.fyi/openapi/follow.json) - [report](https://daun-docs.syahmi.fyi/openapi/report.json) - [users](https://daun-docs.syahmi.fyi/openapi/users.json) - [reply](https://daun-docs.syahmi.fyi/openapi/reply.json) - [user](https://daun-docs.syahmi.fyi/openapi/user.json) - [post](https://daun-docs.syahmi.fyi/openapi/post.json) - [notifications](https://daun-docs.syahmi.fyi/openapi/notifications.json) - [tokens](https://daun-docs.syahmi.fyi/openapi/tokens.json) - [posts](https://daun-docs.syahmi.fyi/openapi/posts.json) - [auth](https://daun-docs.syahmi.fyi/openapi/auth.json) - [post-old](https://daun-docs.syahmi.fyi/openapi/post-old.json) - [openapi](https://daun-docs.syahmi.fyi/openapi.json)