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 7fe594442c41e5bf3f31154dde21c382cc14b02f
Author: Clément Joly <l@131719.xyz>
Date:   2021-08-01T06:30:37+00:00

Fix typo in code example
Clone this wiki
https://git.sr.ht/~sircmpwn/sr.ht-docs (read-only)
git@git.sr.ht:~sircmpwn/sr.ht-docs (read/write)