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
|
2025-06-21 21:15:46 +00:00
|
|
|
components:
|
|
|
|
|
schemas:
|
|
|
|
|
PermissionClaim:
|
|
|
|
|
$ref: './schemas/permissions/permissions.yml#/components/schemas/PermissionClaim'
|
2025-06-29 01:15:39 +00:00
|
|
|
securitySchemes:
|
|
|
|
|
bearerAuth:
|
|
|
|
|
type: http
|
|
|
|
|
scheme: bearer
|
|
|
|
|
bearerFormat: JWT
|
2025-04-02 17:18:39 +00:00
|
|
|
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-06-29 01:15:39 +00:00
|
|
|
- name: particles
|
|
|
|
|
description: All actions related to particles
|
2025-08-05 21:11:38 +00:00
|
|
|
- name: forms
|
|
|
|
|
description: All actions shared between forms
|
|
|
|
|
- name: appeals
|
|
|
|
|
description: All action related to appeals
|
2025-04-02 17:18:39 +00:00
|
|
|
paths:
|
2025-07-31 19:32:55 +00:00
|
|
|
/api/team/{team}:
|
2025-04-10 21:16:57 +00:00
|
|
|
$ref: './schemas/team/team.yml#/getTeam'
|
2025-07-31 19:32:55 +00:00
|
|
|
/api/history/{userType}/search/{type}:
|
2025-04-10 21:16:57 +00:00
|
|
|
$ref: './schemas/bans/bans.yml#/getUserNames'
|
2025-07-31 19:32:55 +00:00
|
|
|
/api/history/{userType}/name/{type}/{user}/{page}:
|
2025-04-10 21:16:57 +00:00
|
|
|
$ref: './schemas/bans/bans.yml#/getHistoryForUsers'
|
2025-07-31 19:32:55 +00:00
|
|
|
/api/history/{userType}/name/{type}/{page}:
|
2025-04-11 16:22:07 +00:00
|
|
|
$ref: './schemas/bans/bans.yml#/getHistoryForAll'
|
2025-07-31 19:32:55 +00:00
|
|
|
/api/history/{userType}/uuid/{type}/{uuid}/{page}:
|
2025-04-10 21:16:57 +00:00
|
|
|
$ref: './schemas/bans/bans.yml#/getHistoryForUuid'
|
2025-07-31 19:32:55 +00:00
|
|
|
/api/history/{userType}/search-results/uuid/{type}/{uuid}:
|
2025-04-18 18:43:17 +00:00
|
|
|
$ref: './schemas/bans/bans.yml#/getTotalResultsForUuidSearch'
|
2025-07-31 19:32:55 +00:00
|
|
|
/api/history/{userType}/search-results/user/{type}/{user}:
|
2025-04-18 18:43:17 +00:00
|
|
|
$ref: './schemas/bans/bans.yml#/getTotalResultsForUserSearch'
|
2025-07-31 19:32:55 +00:00
|
|
|
/api/history/single/{type}/{id}:
|
2025-04-19 02:02:51 +00:00
|
|
|
$ref: './schemas/bans/bans.yml#/getHistoryById'
|
2025-07-31 19:32:55 +00:00
|
|
|
/api/history/all/{uuid}:
|
2025-05-03 02:37:47 +00:00
|
|
|
$ref: './schemas/bans/bans.yml#/getAllHistoryForUUID'
|
2025-07-31 19:32:55 +00:00
|
|
|
/api/history/total:
|
2025-04-11 21:27:20 +00:00
|
|
|
$ref: './schemas/bans/bans.yml#/getTotalPunishments'
|
2025-07-31 19:32:55 +00:00
|
|
|
/api/appeal/update-mail:
|
2025-04-12 20:51:16 +00:00
|
|
|
$ref: './schemas/forms/appeal/appeal.yml#/UpdateMail'
|
2025-07-31 19:32:55 +00:00
|
|
|
/api/appeal/minecraft-appeal:
|
2025-04-12 20:51:16 +00:00
|
|
|
$ref: './schemas/forms/appeal/appeal.yml#/MinecraftAppeal'
|
2025-07-31 19:32:55 +00:00
|
|
|
/api/appeal/discord-appeal:
|
2025-04-12 20:51:16 +00:00
|
|
|
$ref: './schemas/forms/appeal/appeal.yml#/DiscordAppeal'
|
2025-07-31 19:32:55 +00:00
|
|
|
/api/login/requestNewUserLogin/{uuid}:
|
2025-05-03 02:37:47 +00:00
|
|
|
$ref: './schemas/login/login.yml#/RequestNewUserLogin'
|
2025-07-31 19:32:55 +00:00
|
|
|
/api/login/userLogin/{code}:
|
2025-04-26 18:58:47 +00:00
|
|
|
$ref: './schemas/login/login.yml#/UserLogin'
|
2025-08-05 21:11:38 +00:00
|
|
|
/api/login/getUsername:
|
|
|
|
|
$ref: './schemas/login/login.yml#/GetUsername'
|
2025-07-31 19:32:55 +00:00
|
|
|
/api/files/save/{filename}:
|
2025-06-29 01:15:39 +00:00
|
|
|
$ref: './schemas/particles/particles.yml#/SaveFile'
|
2025-07-31 19:32:55 +00:00
|
|
|
/api/files/save/{uuid}/{filename}:
|
2025-06-29 01:15:39 +00:00
|
|
|
$ref: './schemas/particles/particles.yml#/SaveFileForUser'
|
2025-07-31 19:32:55 +00:00
|
|
|
/api/files/download/{filename}/{secret}:
|
2025-06-29 01:15:39 +00:00
|
|
|
$ref: './schemas/particles/particles.yml#/DownloadFile'
|
2025-07-31 19:32:55 +00:00
|
|
|
/api/files/download/{uuid}/{filename}:
|
2025-06-29 01:15:39 +00:00
|
|
|
$ref: './schemas/particles/particles.yml#/DownloadFileForUser'
|