ورود | ثبت نام
  • FA
  • EN

API Docs

GET /api/v1/posts/blog

Retrieves a list of posts, with support for filtering by profile type, profile ID, search, and order. This endpoint is used to retrieve blog posts for the website.

No authentication required.


Query Parameters

NameTypeRequiredDescriptionExample
searchstringNoSearch term for post title or content"workout"
idsstringNoGet specific posts by ID(s)"1,2"
orderstringNoOrder of results: ASC or DESC (default: DESC)"DESC"
per_pageintNoSet the per page count (default: 50)10

Response

200 OK

Returns a paginated list of post resources.

Schema

{
  "data": [
    { /* Post Resource */ }
  ],
  "links": { /* Pagination Data */ },
  "meta": { /* Pagination Data */ }
}

For a full schema, see Post Resource and Pagination Data.

footer wave
logo

دمبل، دنیای هوشمند ورزش و تغذیه

LinkedinInstagramXYoutubeTelegram