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}:
|
|
|
|
|
$ref: './sub_api/team/team.yml#/getTeam'
|
|
|
|
|
/history/{userType}/search/{type}:
|
|
|
|
|
$ref: './sub_api/bans/bans.yml#/getUserNames'
|
|
|
|
|
/history/{userType}/{type}/{user}:
|
|
|
|
|
$ref: './sub_api/bans/bans.yml#/getHistoryForUsers'
|
|
|
|
|
/history/{userType}/{type}/{uuid}:
|
|
|
|
|
$ref: './sub_api/bans/bans.yml#/getHistoryForUuid'
|