aboutsummaryrefslogtreecommitdiffstats
path: root/todo.sr.ht/api.md
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2021-03-23 09:44:35 +0100
committerDrew DeVault <sir@cmpwn.com>2021-03-23 09:10:20 -0400
commitbf27cb9223d2892e2b0e0498e4361667ba73944d (patch)
tree10608b863156cc05db72888425957ff39e142b70 /todo.sr.ht/api.md
parent1f82422d598f23b6cde853103207f80ef894c414 (diff)
downloadsr.ht-docs-bf27cb9223d2892e2b0e0498e4361667ba73944d.tar.gz
Link to todo.sr.ht GraphQL API docs
todo.sr.ht has a GraphQL API and a page describing it, but neither the index page nor the api page linked to it. This patch updates both pages to link to the GraphQL documentation, as is already the case for {meta,git}.sr.ht.
Diffstat (limited to 'todo.sr.ht/api.md')
-rw-r--r--todo.sr.ht/api.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/todo.sr.ht/api.md b/todo.sr.ht/api.md
index 4f8065c..39bfbfe 100644
--- a/todo.sr.ht/api.md
+++ b/todo.sr.ht/api.md
@@ -2,6 +2,9 @@
title: todo.sr.ht API reference
---
+**NOTICE**: This is the documentation for the legacy REST API. It is being
+replaced with the [GraphQL API](graphql.md).
+
The todo.sr.ht API allows you to browse, create, and manage repositories on
todo.sr.ht programmatically. This API follows the [standard sourcehut API
conventions](/api-conventions.md).