TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/pvnm4/Social-Media-Backend/llms.txt
Use this file to discover all available pages before exploring further.
GET /posts/ endpoint returns a paginated list of all posts, each enriched with an aggregated vote count. You can narrow results by filtering on post title and control the number of results returned via the Limit and skip parameters. All requests must include a valid JWT Bearer token.
Endpoint
Authorization header.
Query Parameters
Maximum number of posts to return in a single response. Defaults to
10.Number of posts to skip before returning results. Use together with
Limit to paginate through the full list of posts. Defaults to 0.Case-insensitive substring filter applied to the post
title. Only posts whose title contains this string are returned. Defaults to an empty string (no filter applied).Response
HTTP 200 OK — Returns an array ofPostOut objects.
Array of post objects, each containing a nested
Post and a vote count.Error Responses
| Status Code | Description |
|---|---|
401 Unauthorized | No token was provided or the token is invalid/expired. |