UPDATE: get role content
All checks were successful
Build and Release / release (push) Successful in 1m31s

This commit is contained in:
2026-04-05 00:22:34 +07:00
parent 081bfe1a32
commit eb404b37e9
7 changed files with 353 additions and 0 deletions

View File

@@ -398,6 +398,54 @@ paths:
summary: Verify a security token
tags:
- Auth
/roles:
get:
consumes:
- application/json
description: Get a list of all roles in the system
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/history-api_internal_dtos_response.CommonResponse'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/history-api_internal_dtos_response.CommonResponse'
security:
- ApiKeyAuth: []
summary: Get all roles
tags:
- Roles
/roles/{id}:
get:
consumes:
- application/json
description: Get detailed information about a specific role
parameters:
- description: Role ID
in: path
name: id
required: true
type: string
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/history-api_internal_dtos_response.CommonResponse'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/history-api_internal_dtos_response.CommonResponse'
security:
- ApiKeyAuth: []
summary: Get role by ID
tags:
- Roles
/tiles/{z}/{x}/{y}:
get:
description: Fetch vector or raster map tile data by Z, X, Y coordinates