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 96d1f5b90650f055dfc866f4d341b03bf9d20c40
Author: Rens Oliemans <hallo@rensoliemans.nl>
Date:   2025-01-15T15:05:17+01:00

git.sr.ht/index: fix hut link
Clone this wiki
https://git.sr.ht/~sircmpwn/sr.ht-docs (read-only)
git@git.sr.ht:~sircmpwn/sr.ht-docs (read/write)