Social media post or blog post entry with content, author, publication status, and engagement metrics. Used for social platforms, blogs, and content feeds.
https://api.mockly.codes/posts?page=1&limit=10&count=10Configure your request and click Send Request to see the response here.
/postsGet a collection of posts
/content/posts/posts/:idGet a single post by ID
/content/posts/:id/posts/metaGet resource metadata and schema
/content/posts/metaThe search feature allows you to filter results by searching for text across all or specific fields. Choose between ?q= or ?search= parameter names.
Search across all text fields:
GET https://api.mockly.codes/posts?q=laptopGET https://api.mockly.codes/posts?q=laptop&search_fields=name,descriptionsearch_fields, all text fields are searchedcurl "https://api.mockly.codes/posts?page=1&limit=10&count=10"Examples reflect your current request builder settings.
idintegerUnique identifier for the post
random_intuser_idintegerForeign key reference to the user who created the post
random_inttitlestringTitle or headline of the post
sentencebodystringFull post content and body text
paragraphpublishedbooleanWhether the post is published and visible to the public
booleancreated_atstringTimestamp when the post was created
past_datedate-timeviewsintegerTotal number of times the post has been viewed
random_intlikesintegerNumber of likes or positive reactions the post has received
random_intcountintegerNumber of items to return (default: 10, max: 100)
seedintegerSeed for reproducible data generation
nocachebooleanBypass cache and generate fresh data on every request