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

@@ -355,6 +355,83 @@
}
}
},
"/roles": {
"get": {
"security": [
{
"ApiKeyAuth": []
}
],
"description": "Get a list of all roles in the system",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Roles"
],
"summary": "Get all roles",
"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"
}
}
}
}
},
"/roles/{id}": {
"get": {
"security": [
{
"ApiKeyAuth": []
}
],
"description": "Get detailed information about a specific role",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Roles"
],
"summary": "Get role by ID",
"parameters": [
{
"type": "string",
"description": "Role ID",
"name": "id",
"in": "path",
"required": true
}
],
"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"
}
}
}
}
},
"/tiles/metadata": {
"get": {
"description": "Retrieve map metadata",