User mention record tracking when a user is mentioned in content, with context and timestamp. Used for social media platforms, notification systems, and @mention functionality.
https://api.mockly.codes/mentions?page=1&limit=10&count=10Configure your request and click Send Request to see the response here.
/mentionsGet a collection of mentions
/social/mentions/mentions/:idGet a single mention by ID
/social/mentions/:id/mentions/metaGet resource metadata and schema
/social/mentions/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/mentions?q=laptopGET https://api.mockly.codes/mentions?q=laptop&search_fields=name,descriptionsearch_fields, all text fields are searched// Get 10 mentions
fetch('https://api.mockly.codes/mentions?count=10')
.then(res => res.json())
.then(data => console.log(data));import requests
response = requests.get(
'https://api.mockly.codes/mentions?count=10'
)
data = response.json()curl "https://api.mockly.codes/mentions?count=10"fetch('https://api.mockly.codes/mentions?nocache=true')idintegerUnique identifier for the mention record
random_intuser_idintegerForeign key reference to the user who was mentioned
random_intmentioned_inintegerID of the content item where the mention occurred (post, comment, etc.)
random_intcontextstringText context or excerpt where the mention appears
sentencecreated_atstringTimestamp when the mention 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