Like or reaction record tracking which user liked which content item (post, comment, etc.), with target type and creation timestamp. Used for social media platforms, content engagement tracking, and reaction systems.
https://api.mockly.codes/likes?page=1&limit=10&count=10Configure your request and click Send Request to see the response here.
/likesGet a collection of likes
/social/likes/likes/:idGet a single like by ID
/social/likes/:id/likes/metaGet resource metadata and schema
/social/likes/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/likes?q=laptopGET https://api.mockly.codes/likes?q=laptop&search_fields=name,descriptionsearch_fields, all text fields are searched// Get 10 likes
fetch('https://api.mockly.codes/likes?count=10')
.then(res => res.json())
.then(data => console.log(data));import requests
response = requests.get(
'https://api.mockly.codes/likes?count=10'
)
data = response.json()curl "https://api.mockly.codes/likes?count=10"fetch('https://api.mockly.codes/likes?nocache=true')idintegerUnique identifier for the like record
random_intuser_idintegerForeign key reference to the user who liked the content
random_inttarget_idintegerID of the content item that was liked (post, comment, etc.)
random_inttarget_typestringType of content that was liked (e.g., post, comment, video, photo)
wordcreated_atstringTimestamp when the like was created
past_datedate-timecountintegerNumber of items to return (default: 10, max: 100)
seedintegerSeed for reproducible data generation
nocachebooleanBypass cache and generate fresh data on every request