UPDATE: Add some api
All checks were successful
Build and Release / release (push) Successful in 1m5s

This commit is contained in:
2026-04-14 09:55:03 +07:00
parent ec6a487d37
commit 2b01cf9684
3 changed files with 89 additions and 0 deletions

View File

@@ -1505,6 +1505,40 @@ const docTemplate = `{
}
}
},
"/users/current/application": {
"get": {
"security": [
{
"BearerAuth": []
}
],
"description": "Retrieve application list of the currently authenticated user",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Users"
],
"summary": "Get current user's application",
"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"
}
}
}
}
},
"/users/current/media": {
"get": {
"security": [

View File

@@ -1498,6 +1498,40 @@
}
}
},
"/users/current/application": {
"get": {
"security": [
{
"BearerAuth": []
}
],
"description": "Retrieve application list of the currently authenticated user",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Users"
],
"summary": "Get current user's application",
"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"
}
}
}
}
},
"/users/current/media": {
"get": {
"security": [

View File

@@ -1449,6 +1449,27 @@ paths:
summary: Get current user profile
tags:
- Users
/users/current/application:
get:
consumes:
- application/json
description: Retrieve application list of the currently authenticated user
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:
- BearerAuth: []
summary: Get current user's application
tags:
- Users
/users/current/media:
get:
consumes: