diff options
Diffstat (limited to 'git.sr.ht')
-rw-r--r-- | git.sr.ht/api.md | 3 | ||||
-rw-r--r-- | git.sr.ht/graphql.md | 14 |
2 files changed, 17 insertions, 0 deletions
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) |