---
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.'
'500':
description: 'Something is not healthy on the server.'
/-/metrics:
summary: Retrieves some metrics about the API server and database.
operationId: metrics
description: 'A Prometheus-compatible metrics list.'
description: 'Something went wrong while collecting metrics.'
/users:
summary: Retrieves every user in the database.
operationId: getAllUsers
- users
description: 'All users in the database.'
description: 'Something went wrong on the server side.'
/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.'
'404':
description: 'No such user was found.'