aboutsummaryrefslogblamecommitdiffstats
path: root/api.sr.ht/installation.md
blob: d57ad2e9032aa508f25e6de7f338acd5df7a1a07 (plain) (tree)























                                                                                
---
title: api.sr.ht Installation
---

This document covers the installation steps for api.sr.ht, the GraphQL API
gateway.

# Installation

Install the `api.sr.ht` package.

## Daemons

- `api.sr.ht` — The GraphQL API gateway

## Maintenance

The gateway does not maintain any state except for the federated graph it
constructs by merging the GraphQL APIs of each service.

If polling is configured, the gateway will periodically poll the GraphQL API of
each service to check for changes to the schema and rebuild the merged schema if
necessary. Otherwise, the gateway will need to be manually restarted to rebuild
the merged schema.