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 d9d617b2702e81eb674b8093a7609263094e1f8a
Author: Drew DeVault <sir@cmpwn.com>
Date:   2024-12-10T18:48:02+01:00

git.sr.ht/index: remove spacepub reference
Clone this wiki
https://git.sr.ht/~sircmpwn/sr.ht-docs (read-only)
git@git.sr.ht:~sircmpwn/sr.ht-docs (read/write)