From b29bc24d3354366d3e00e69ae3b490c528c94bfd Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Thu, 3 Dec 2020 09:43:03 -0500 Subject: Add initial GraphQL documentation --- git.sr.ht/api.md | 3 +++ git.sr.ht/graphql.md | 14 ++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 git.sr.ht/graphql.md (limited to 'git.sr.ht') diff --git a/git.sr.ht/api.md b/git.sr.ht/api.md index f8c2233..c542054 100644 --- a/git.sr.ht/api.md +++ b/git.sr.ht/api.md @@ -2,6 +2,9 @@ title: git.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 git.sr.ht API allows you to browse, create, and manage repositories on git.sr.ht programmatically. This API follows the [standard sourcehut API conventions](/api-conventions.md). diff --git a/git.sr.ht/graphql.md b/git.sr.ht/graphql.md new file mode 100644 index 0000000..3d43cb2 --- /dev/null +++ b/git.sr.ht/graphql.md @@ -0,0 +1,14 @@ +--- +title: git.sr.ht's GraphQL API +toc: false +--- + +**NOTICE**: This is the documentation for git.sr.ht's new GraphQL API. For +information on the legacy REST API, see [api.md](api.md). + +git.sr.ht's GraphQL API is compatible with the standard [SourceHut GraphQL API +conventions](/graphql.md). + +See also: + +- [git.sr.ht GraphQL playground](https://git.sr.ht/graphql) -- cgit