Skip to content

Commit

Permalink
api documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
EmmaKnijn committed Oct 6, 2024
1 parent 1b292b5 commit ff06c14
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions faq/api.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
title: HTTP api
layout: home
parent: FAQ
---

# HTTP api
The server exposes an HTTP api with various bits of information for people to access

The root URL is `https://api.reconnected.cc`

## Endpoints
- `tps`: Returns the TPS as a float.
- `mspt`: Returns the current MSPT as a float.
- `player`: Returns the amount of players online on the server as an integer.

0 comments on commit ff06c14

Please sign in to comment.