2025-04-02 17:18:39 +00:00
|
|
|
openapi: 3.0.4
|
|
|
|
|
info:
|
|
|
|
|
title: Altitude Web API
|
|
|
|
|
description: |-
|
|
|
|
|
The API for the Altitude website
|
|
|
|
|
version: 1.0.0
|
|
|
|
|
servers:
|
|
|
|
|
- url: https://alttd.com/api/v3
|
|
|
|
|
tags:
|
2025-04-10 20:46:30 +00:00
|
|
|
- name: history
|
|
|
|
|
description: Retrieves punishment history
|
|
|
|
|
- name: team
|
|
|
|
|
description: Retrieves information about the staff team
|
2025-04-02 17:18:39 +00:00
|
|
|
paths:
|
2025-04-10 20:46:30 +00:00
|
|
|
/team/{team}:
|
2025-04-10 21:16:57 +00:00
|
|
|
$ref: './schemas/team/team.yml#/getTeam'
|
2025-04-10 20:46:30 +00:00
|
|
|
/history/{userType}/search/{type}:
|
2025-04-10 21:16:57 +00:00
|
|
|
$ref: './schemas/bans/bans.yml#/getUserNames'
|
2025-04-11 16:22:07 +00:00
|
|
|
/history/{userType}/name/{type}/{user}/{page}:
|
2025-04-10 21:16:57 +00:00
|
|
|
$ref: './schemas/bans/bans.yml#/getHistoryForUsers'
|
2025-04-11 16:22:07 +00:00
|
|
|
/history/{userType}/name/{type}/{page}:
|
|
|
|
|
$ref: './schemas/bans/bans.yml#/getHistoryForAll'
|
|
|
|
|
/history/{userType}/uuid/{type}/{uuid}/{page}:
|
2025-04-10 21:16:57 +00:00
|
|
|
$ref: './schemas/bans/bans.yml#/getHistoryForUuid'
|