SourceHut · GraphQL Specification

Sourcehut GraphQL API

Sourcehut (sr.ht) exposes GraphQL APIs for each of its services, including Git repository hosting, Mercurial hosting, continuous integration builds, issue tracking, mailing lists, account management, paste, wikis, and static web hosting. Each service provides its own authenticated GraphQL endpoint under its subdomain. Authentication uses OAuth 2.0 access tokens or personal access tokens. The git.sr.ht GraphQL API covers repository management, git objects and references, access control lists, deploy keys, artifacts, code search, and webhook subscriptions.

Documentation Endpoint View on GitHub GitMercurialSource ControlContinuous IntegrationMailing ListsIssue TrackingDeveloper ToolsOpen SourcePrivacyGraphQLGraphQL

Overview

Sourcehut GraphQL API is a GraphQL API specification published by SourceHut on the APIs.io network.

Sourcehut (sr.ht) exposes GraphQL APIs for each of its services, including Git repository hosting, Mercurial hosting, continuous integration builds, issue tracking, mailing lists, account management, paste, wikis, and static web hosting. Each service provides its own authenticated GraphQL endpoint under its subdomain. Authentication uses OAuth 2.0 access tokens or personal access tokens. The git.sr.ht GraphQL API covers repository management, git objects and references, access control lists, deploy keys, artifacts, code search, and webhook subscriptions.

The GraphQL endpoint is available at https://git.sr.ht/api/graphql. documentation is published at https://man.sr.ht/git.sr.ht/graphql.md.

The specification includes 4 reference links.

Tagged areas include Git, Mercurial, Source Control, Continuous Integration, and Mailing Lists.

Endpoint

https://git.sr.ht/api/graphql

References

Back to SourceHut · All GraphQL Specs · GitHub