---
openapi: '3.0.0'
info:
version: 6.0.0
title: Mangadex API
description: 'The API powering the MangaDex service.'
license:
name: BSD 3-Clause
servers:
- url: http://localhost:3000
schemes:
- 'http'
tags:
- name: health
description: 'Service health endpoints'
- name: users
description: 'Service user endpoints'
paths:
/-/healthy:
get:
summary: Performs a quick healthcheck on the API server.
operationId: healthcheck
- health
responses:
'200':
description: 'Everything is healthy.'
/-/metrics:
summary: Retrieves some metrics about the API server and database.
operationId: metrics
description: 'A Prometheus-compatible metrics list.'
/users:
summary: Retrieves every user in the database.
operationId: getAllUsers
- users
description: 'All users in the database.'
/users/{username}:
summary: Retrieves a single user from the database.
operationId: getOneUser
parameters:
- in: path
name: username
schema:
type: string
required: true
description: The username of the user you want information on.
description: 'A single user from the database.'