API

Forgejo’s API is documented via Swagger/OpenAPI v2, the raw JSON file can be accessed via https://next.forgejo.org/swagger.v1.json. A human readable UI for the swagger file can be accessed via https://next.forgejo.org/api/swagger.

Using the API is furthermore documented in [API Usage][./usage/].