Sourcehut GraphQL GraphQL API

The Sourcehut GraphQL API provides programmatic access to all sr.ht services including git hosting, Mercurial hosting, build pipelines, mailing lists, bug tracking, and account management. Each service exposes its own /query endpoint supporting HTTP POST with JSON payloads, cursor-based pagination, file uploads via multipart, webhook subscriptions, and OAuth 2.0 or personal access token authentication. Query complexity is capped at 200 by default and processing time is limited to 3 seconds per request.

API entry from apis.yml

apis.yml Raw ↑
aid: sourcehut-graphql:graphql-api
name: Sourcehut GraphQL GraphQL API
description: 'The Sourcehut GraphQL API provides programmatic access to all sr.ht services

  including git hosting, Mercurial hosting, build pipelines, mailing lists, bug

  tracking, and account management. Each service exposes its own /query endpoint

  supporting HTTP POST with JSON payloads, cursor-based pagination, file uploads

  via multipart, webhook subscriptions, and OAuth 2.0 or personal access token

  authentication. Query complexity is capped at 200 by default and processing

  time is limited to 3 seconds per request.

  '
tags:
- GraphQL
image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/apis-json-logo.jpg
humanURL: https://man.sr.ht/graphql.md
baseURL: https://git.sr.ht/query
properties:
- url: https://man.sr.ht/graphql.md
  type: Documentation
- url: graphql/sourcehut-graphql-graphql.md
  type: GraphQL