Fixes: what needs doing
const url = 'http://localhost:3000/api/v1/fixes';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:3000/api/v1/fixes \ --header 'Authorization: Bearer <token>'One list of what to act on in the project, from what Insights and the library know: places still loading a replaced version (tell them with POST /api/v1/insights/notices), searches that found nothing (ask for the file with an upload link, POST /api/v1/shares) and approved assets whose license ends within 30 days, with what replaced them. Each says whether it was done; open counts the rest.
Scope: write.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Fixes
object
object
How far back stale and gaps go
How far ahead licenses are listed
What isn’t done yet: places not told, searches not requested, licenses ending with nothing to replace them, sites on an old component
Places still loading a replaced version, as Insights has them: done once notified
object
The host that loaded it; null when the request didn’t say
The agent’s key name that fetched it; null for a person or nobody in particular
The first day it was fetched, within days
The last day it was fetched
People this server knows answer for the place (a site of this project’s admins, an agent’s person): who a notice reaches unasked
Searches that found nothing, as Insights has them: done once requested
Approved assets whose license ends within licenseDays, soonest first
object
Its last day of use, YYYY-MM-DD
Days left until it, 0 on the day
This project’s live builds made with a component version a newer one replaced: done once deployed with the current one
object
object
Where the build is mounted
The version its manifest names
object
The version its Storybook shows now
object
When the current version came, ISO 8601
Examplegenerated
{ "data": { "days": 1, "licenseDays": 1, "open": 1, "stale": [ { "asset": { "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "title": "example", "version": 1, "preview": true, "supersededBy": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" }, "replacement": { "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "title": "example", "version": 1, "preview": true, "supersededBy": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" }, "referrer": "example", "client": "example", "fetches": 1, "first": "example", "last": "example", "owners": 1, "notified": { "at": "2026-04-15T12:00:00Z", "by": "example" } } ], "gaps": [ { "q": "example", "searches": 1, "first": "example", "last": "example", "requested": { "at": "2026-04-15T12:00:00Z", "by": "example" } } ], "licenses": [ { "asset": { "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "title": "example", "version": 1, "preview": true, "supersededBy": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" }, "expires": "example", "days": 1, "replacement": { "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "title": "example", "version": 1, "preview": true, "supersededBy": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" } } ], "components": [ { "site": { "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "name": "example", "slug": "example" }, "path": "example", "component": { "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "name": "example", "version": 1 }, "current": { "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "version": 1 }, "since": "example" } ] }}default
Section titled “default”An error
object
object
Examplegenerated
{ "error": { "code": "example", "message": "example", "detail": "example" }}