diff --git a/docs/docs.go b/docs/docs.go index 6ce6173..8aa3a78 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -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": [ diff --git a/docs/swagger.json b/docs/swagger.json index 56f1bd0..d9cdea4 100644 --- a/docs/swagger.json +++ b/docs/swagger.json @@ -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": [ diff --git a/docs/swagger.yaml b/docs/swagger.yaml index dbc9096..6eaa1d1 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -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: