Content share record tracking which user shared which content on which platform, with timestamp. Used for social media platforms, content sharing analytics, and social engagement tracking.
https://api.mockly.codes/shares?page=1&limit=10&count=10Configure your request and click Send Request to see the response here.
/sharesGet a collection of shares
/social/shares/shares/:idGet a single share by ID
/social/shares/:id/shares/metaGet resource metadata and schema
/social/shares/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/shares?q=laptopGET https://api.mockly.codes/shares?q=laptop&search_fields=name,descriptionsearch_fields, all text fields are searched// Get 10 shares
fetch('https://api.mockly.codes/shares?count=10')
.then(res => res.json())
.then(data => console.log(data));import requests
response = requests.get(
'https://api.mockly.codes/shares?count=10'
)
data = response.json()curl "https://api.mockly.codes/shares?count=10"fetch('https://api.mockly.codes/shares?nocache=true')idintegerUnique identifier for the share record
random_intuser_idintegerForeign key reference to the user who shared the content
random_intcontent_idintegerID of the content item that was shared (post, article, etc.)
random_intplatformstringPlatform where the content was shared (e.g., facebook, twitter, linkedin, email)
wordcreated_atstringTimestamp when the content was shared
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