NOTICE: This is the documentation for the legacy REST API. It is being replaced with the GraphQL API.

There are two primary APIs for accessing meta.sr.ht programmatically:

  • OAuth API: authenticating across all sr.ht services
  • User API: accessing information about the authenticated user

Each is documented on their respective pages.

About this wiki

commit 35f1d4f161bb14f4978ecce91562baf65405f50f
Author: John Cummings <john@rootabega.net>
Date:   2022-09-16T19:17:16+00:00

Explain the token link requests the necessary scopes.
Clone this wiki
https://git.sr.ht/~sircmpwn/sr.ht-docs (read-only)
git@git.sr.ht:~sircmpwn/sr.ht-docs (read/write)