Add endpoints, services, and security controls for particle file management, including save and download APIs.
This commit is contained in:
@@ -10,11 +10,18 @@ components:
|
||||
schemas:
|
||||
PermissionClaim:
|
||||
$ref: './schemas/permissions/permissions.yml#/components/schemas/PermissionClaim'
|
||||
securitySchemes:
|
||||
bearerAuth:
|
||||
type: http
|
||||
scheme: bearer
|
||||
bearerFormat: JWT
|
||||
tags:
|
||||
- name: history
|
||||
description: Retrieves punishment history
|
||||
- name: team
|
||||
description: Retrieves information about the staff team
|
||||
- name: particles
|
||||
description: All actions related to particles
|
||||
paths:
|
||||
/team/{team}:
|
||||
$ref: './schemas/team/team.yml#/getTeam'
|
||||
@@ -46,3 +53,11 @@ paths:
|
||||
$ref: './schemas/login/login.yml#/RequestNewUserLogin'
|
||||
/login/userLogin/{code}:
|
||||
$ref: './schemas/login/login.yml#/UserLogin'
|
||||
/files/save/{filename}:
|
||||
$ref: './schemas/particles/particles.yml#/SaveFile'
|
||||
/files/save/{uuid}/{filename}:
|
||||
$ref: './schemas/particles/particles.yml#/SaveFileForUser'
|
||||
/files/download/{filename}/{secret}:
|
||||
$ref: './schemas/particles/particles.yml#/DownloadFile'
|
||||
/files/download/{uuid}/{filename}:
|
||||
$ref: './schemas/particles/particles.yml#/DownloadFileForUser'
|
||||
|
||||
Reference in New Issue
Block a user