{"slug":"sourcehut-api","name":"SourceHut API","host":"git.sr.ht","site":"https://sr.ht","category":"devtools","docsUrl":null,"sources":[{"kind":"changelog","url":"https://man.sr.ht/graphql.md"},{"kind":"archive","url":"https://sourcehut.org/blog/2025-11-20-whats-cooking-q4-2025/"}],"url":"https://www.okapi.bot/providers/sourcehut-api/","json":"https://www.okapi.bot/api/v1/providers/sourcehut-api.json","breakingChanges":[{"slug":"the-legacy-rest-api-stops-working","api":"sourcehut-api","title":"The legacy REST API stops working","kind":"version_retirement","outcome":"fails","model":null,"announcedAt":null,"effectiveAt":"2025-11-20","scope":null,"calls":["/api/*"],"method":null,"path":"/api/*","source":{"url":"https://sourcehut.org/blog/2025-11-20-whats-cooking-q4-2025/","kind":"archive"},"quote":"the legacy REST API has finally been removed (almost) entirely","migration":"Call the GraphQL API at https://git.sr.ht/query with an OAuth 2.0 personal access token generated on meta.sr.ht.","migrationChange":null,"needsDecision":null,"text":{"summary":"On November 20, 2025, the legacy REST API was removed almost entirely. Calls sent to /api/* endpoints on git.sr.ht fail after this date. This change halts traffic to the retired REST interface.","migration":"Call the GraphQL API at git.sr.ht/query instead. Requests must use an OAuth 2.0 personal access token generated on meta.sr.ht.","by":"writer"},"publishedAt":"2026-10-23T10:18:49.280Z","updatedAt":"2026-10-24T16:49:09.682Z","status":"in_effect","tone":"broken","url":"https://www.okapi.bot/providers/sourcehut-api/breaking-changes/the-legacy-rest-api-stops-working/"}]}