Documentation Index
Fetch the complete documentation index at: https://mintlify.com/pv-pushkarverma/SkillRise/llms.txt
Use this file to discover all available pages before exploring further.
Get Posts
Authentication
Authentication is optional. If authenticated, the response includes upvote status and author flags.Query Parameters
Filter posts by specific group ID
Filter posts by tab:
"all"(default) - All posts"trending"- Posts sorted by upvotes"myGroups"- Posts from groups the user is a member of (requires authentication)
Page number for pagination (default: 1, 15 posts per page)
Response
Indicates whether the request was successful
Array of post objects
Whether there are more posts available
Total number of posts matching the query
Code Example
Response Example
Create Post
Authentication
This endpoint requires user authentication.Request Body
Post title (1-200 characters, will be trimmed)
Post content (1-5000 characters, will be trimmed)
Group ID to post in (optional, null for general posts)
Array of tag strings or comma-separated string (max 5 tags)
Response
Indicates whether the post was created successfully
The newly created post object (same structure as Get Posts response)
Error message if success is false
Code Example
Get Single Post
Path Parameters
The unique identifier of the post
Response
Includes the full post object with areplies array containing all replies. Accepted answers appear first, followed by other replies sorted by creation date.
Toggle Post Upvote
Authentication
This endpoint requires user authentication.Path Parameters
The unique identifier of the post
Response
Indicates whether the operation was successful
Updated upvote count
New upvote status (true if upvoted, false if removed)
Code Example
Toggle Post Resolved
Authentication
This endpoint requires user authentication. Only the post author can resolve/unresolve.Path Parameters
The unique identifier of the post
Response
Indicates whether the operation was successful
New resolved status
Code Example
Delete Post
Authentication
This endpoint requires user authentication. Only the post author can delete their post.Path Parameters
The unique identifier of the post
Response
Indicates whether the post was deleted successfully
Code Example
Notes
- Posts can belong to a specific group or be general (no group)
- Tags can be provided as an array or comma-separated string
- The “trending” tab sorts posts by upvote count (descending), then by creation date
- The “myGroups” tab filters posts from groups the user has joined
- Pagination returns 15 posts per page
- Deleting a post also deletes all associated replies
- Only post authors can resolve/unresolve or delete their posts
- Upvoting is a toggle action - calling it again removes the upvote