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'
|
2025-04-18 18:43:17 +00:00
|
|
|
/history/{userType}/search-results/uuid/{type}/{uuid}:
|
|
|
|
|
$ref: './schemas/bans/bans.yml#/getTotalResultsForUuidSearch'
|
|
|
|
|
/history/{userType}/search-results/user/{type}/{user}:
|
|
|
|
|
$ref: './schemas/bans/bans.yml#/getTotalResultsForUserSearch'
|
2025-04-19 02:02:51 +00:00
|
|
|
/history/single/{type}/{id}:
|
|
|
|
|
$ref: './schemas/bans/bans.yml#/getHistoryById'
|
2025-04-11 21:27:20 +00:00
|
|
|
/history/total:
|
|
|
|
|
$ref: './schemas/bans/bans.yml#/getTotalPunishments'
|
2025-04-12 20:51:16 +00:00
|
|
|
/appeal/update-mail:
|
|
|
|
|
$ref: './schemas/forms/appeal/appeal.yml#/UpdateMail'
|
|
|
|
|
/appeal/minecraft-appeal:
|
|
|
|
|
$ref: './schemas/forms/appeal/appeal.yml#/MinecraftAppeal'
|
|
|
|
|
/appeal/discord-appeal:
|
|
|
|
|
$ref: './schemas/forms/appeal/appeal.yml#/DiscordAppeal'
|