Mark the changelog as viewed for the authenticated user.
POST
/api/changelog/viewed
const url = 'https://api.tradr.cloud/api/changelog/viewed';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.tradr.cloud/api/changelog/viewedSets the viewer’s changelog_viewed_at to now (single-statement write, no body). Returns { lastViewedAt }, the new floor. This is the ONLY mutation in the feature — the badge’s GET never clears the indicator (REQ-5(a)(3)).
Responses
Section titled “Responses”{ lastViewedAt } — the new floor.
Not authenticated.