medol-be/docs/swagger/swagger.yaml

5799 lines
146 KiB
YAML
Raw Normal View History

2024-03-05 19:15:53 +00:00
definitions:
paginator.Pagination:
properties:
count:
type: integer
limit:
type: integer
nextPage:
type: integer
page:
type: integer
previousPage:
type: integer
sort:
type: string
sortBy:
type: string
totalPage:
type: integer
type: object
2025-02-07 04:07:13 +00:00
request.ActivityLogsCreateRequest:
properties:
activityTypeId:
type: integer
articleId:
type: integer
url:
type: string
userId:
type: integer
required:
- activityTypeId
- url
type: object
request.ActivityLogsUpdateRequest:
properties:
activityTypeId:
type: integer
articleId:
type: integer
id:
type: integer
url:
type: string
userId:
type: integer
required:
- activityTypeId
- id
- url
type: object
2025-02-17 14:02:17 +00:00
request.ArticleApprovalsCreateRequest:
properties:
articleId:
type: integer
message:
type: string
statusId:
type: integer
required:
- articleId
- message
- statusId
type: object
request.ArticleApprovalsUpdateRequest:
properties:
articleId:
type: integer
id:
type: integer
message:
type: string
statusId:
type: integer
required:
- articleId
- id
- message
- statusId
type: object
2024-03-05 19:15:53 +00:00
request.ArticleCategoriesCreateRequest:
properties:
2025-02-17 17:33:10 +00:00
createdById:
type: integer
2024-03-05 19:15:53 +00:00
description:
type: string
2025-02-10 19:25:20 +00:00
oldCategoryId:
type: integer
parentId:
type: integer
slug:
type: string
statusId:
type: integer
tags:
type: string
title:
type: string
required:
- description
- statusId
- title
type: object
request.ArticleCategoriesUpdateRequest:
properties:
2025-02-17 17:33:10 +00:00
createdById:
type: integer
description:
type: string
id:
type: integer
isPublish:
2024-03-05 19:15:53 +00:00
type: boolean
parentId:
2024-03-05 19:15:53 +00:00
type: integer
publishedAt:
2024-03-05 19:15:53 +00:00
type: string
slug:
type: string
statusId:
2024-03-05 19:15:53 +00:00
type: integer
tags:
type: string
2024-03-05 19:15:53 +00:00
title:
type: string
required:
- description
- id
- statusId
2024-03-05 19:15:53 +00:00
- title
type: object
request.ArticleCommentsCreateRequest:
properties:
articleId:
type: integer
isPublic:
type: boolean
message:
type: string
parentId:
type: integer
required:
- articleId
- message
type: object
request.ArticleCommentsUpdateRequest:
properties:
articleId:
type: integer
id:
type: integer
isPublic:
type: boolean
message:
type: string
parentId:
type: integer
required:
- articleId
- id
- message
type: object
request.ArticleFilesUpdateRequest:
properties:
articleId:
type: integer
fileAlt:
type: string
fileName:
type: string
filePath:
type: string
fileThumbnail:
type: string
fileUrl:
type: string
heightPixel:
type: string
id:
type: integer
isPublish:
type: boolean
publishedAt:
type: string
size:
type: string
statusId:
type: integer
widthPixel:
type: string
required:
- articleId
- id
- isPublish
- publishedAt
- statusId
type: object
2024-11-22 15:58:15 +00:00
request.ArticleNulisAICreateRequest:
properties:
articleId:
type: integer
categoryId:
type: integer
creatorId:
type: integer
description:
type: string
htmlDescription:
type: string
nulisAiId:
type: integer
tags:
type: string
title:
type: string
required:
- articleId
- categoryId
- creatorId
- description
- htmlDescription
- nulisAiId
- tags
- title
type: object
request.ArticleNulisAIUpdateRequest:
properties:
articleId:
type: integer
categoryId:
type: integer
creatorId:
type: integer
description:
type: string
htmlDescription:
type: string
id:
type: integer
nulisAiId:
type: integer
tags:
type: string
title:
type: string
updated_at:
type: string
required:
- articleId
- categoryId
- creatorId
- description
- htmlDescription
- id
- nulisAiId
- tags
- title
type: object
2024-03-31 15:19:45 +00:00
request.ArticlesCreateRequest:
properties:
aiArticleId:
type: integer
categoryIds:
type: string
2025-02-13 15:32:59 +00:00
createdAt:
type: string
2025-02-13 23:51:04 +00:00
createdById:
type: integer
2024-03-31 15:19:45 +00:00
description:
type: string
htmlDescription:
type: string
isDraft:
type: boolean
isPublish:
type: boolean
2024-11-07 04:39:20 +00:00
oldId:
type: integer
2024-03-31 15:19:45 +00:00
slug:
type: string
tags:
type: string
title:
type: string
typeId:
type: integer
required:
- categoryIds
2024-03-31 15:19:45 +00:00
- description
- htmlDescription
- slug
- tags
- title
- typeId
type: object
request.ArticlesUpdateRequest:
properties:
aiArticleId:
type: integer
2025-01-20 09:30:39 +00:00
categoryIds:
type: string
2024-11-07 04:31:28 +00:00
createdById:
type: integer
2024-03-31 15:19:45 +00:00
description:
type: string
htmlDescription:
type: string
isDraft:
type: boolean
isPublish:
type: boolean
2024-03-31 15:19:45 +00:00
slug:
type: string
statusId:
type: integer
tags:
type: string
title:
type: string
typeId:
type: integer
required:
2025-01-20 09:30:39 +00:00
- categoryIds
2024-03-31 15:19:45 +00:00
- description
- htmlDescription
- slug
- tags
- title
- typeId
type: object
2024-03-05 19:15:53 +00:00
request.CitiesCreateRequest:
properties:
city_name:
type: string
prov_id:
type: integer
required:
- city_name
- prov_id
type: object
request.CitiesUpdateRequest:
properties:
city_name:
type: string
id:
type: integer
prov_id:
type: integer
required:
- city_name
- id
- prov_id
type: object
2024-11-22 04:14:14 +00:00
request.CustomStaticPagesCreateRequest:
properties:
description:
type: string
htmlBody:
type: string
slug:
type: string
title:
type: string
required:
- htmlBody
- slug
- title
type: object
request.CustomStaticPagesUpdateRequest:
properties:
description:
type: string
htmlBody:
type: string
id:
type: integer
slug:
type: string
title:
type: string
updated_at:
type: string
required:
- htmlBody
- id
- slug
- title
type: object
request.MagazinesCreateRequest:
properties:
2025-01-17 08:31:01 +00:00
createdById:
type: integer
description:
type: string
2025-01-17 08:31:01 +00:00
isPublish:
type: boolean
2025-01-17 08:31:01 +00:00
pageUrl:
type: string
2025-01-17 08:31:01 +00:00
publishedAt:
type: string
2025-01-17 08:31:01 +00:00
statusId:
type: integer
2025-01-17 08:31:01 +00:00
thumbnailPath:
type: string
2025-01-17 08:31:01 +00:00
thumbnailUrl:
type: string
title:
type: string
required:
- description
2025-01-17 08:31:01 +00:00
- statusId
- title
type: object
request.MagazinesUpdateRequest:
properties:
2025-01-17 08:31:01 +00:00
createdById:
type: integer
description:
type: string
id:
type: integer
2025-01-17 08:31:01 +00:00
isPublish:
type: boolean
2025-01-17 08:31:01 +00:00
pageUrl:
type: string
2025-01-17 08:31:01 +00:00
publishedAt:
type: string
2025-01-17 08:31:01 +00:00
statusId:
type: integer
2025-01-17 08:31:01 +00:00
thumbnailPath:
type: string
2025-01-17 08:31:01 +00:00
thumbnailUrl:
type: string
title:
type: string
required:
- description
- id
2025-01-17 08:31:01 +00:00
- statusId
- title
type: object
request.MasterMenusCreateRequest:
properties:
description:
type: string
group:
type: string
icon:
type: string
moduleId:
type: integer
name:
type: string
parentMenuId:
type: integer
statusId:
type: integer
required:
- description
- group
- moduleId
- name
- statusId
type: object
request.MasterModulesCreateRequest:
properties:
description:
type: string
name:
type: string
pathUrl:
type: string
statusId:
type: integer
required:
- description
- name
- pathUrl
- statusId
type: object
request.MasterModulesUpdateRequest:
properties:
description:
type: string
id:
type: integer
name:
type: string
pathUrl:
type: string
statusId:
type: integer
required:
- description
- id
- name
- pathUrl
- statusId
type: object
request.UserForgotPassword:
properties:
username:
type: string
type: object
request.UserLevelsCreateRequest:
properties:
aliasName:
type: string
2025-02-10 01:15:20 +00:00
group:
type: string
isActive:
type: boolean
levelNumber:
type: integer
name:
type: string
parentLevelId:
type: integer
provinceId:
type: integer
required:
- aliasName
- levelNumber
- name
type: object
request.UserLevelsUpdateRequest:
properties:
aliasName:
type: string
2025-02-10 01:15:20 +00:00
group:
type: string
levelNumber:
type: integer
name:
type: string
parentLevelId:
type: integer
provinceId:
type: integer
required:
- aliasName
- levelNumber
- name
type: object
request.UserLogin:
properties:
password:
type: string
refreshToken:
type: string
username:
type: string
type: object
request.UserOtpRequest:
properties:
email:
type: string
name:
type: string
required:
- email
type: object
request.UserOtpValidation:
properties:
email:
type: string
otpCode:
type: string
type: object
request.UserResetPassword:
properties:
codeRequest:
type: string
confirmPassword:
type: string
password:
type: string
userId:
type: string
type: object
request.UserRoleAccessesCreateRequest:
properties:
isAdminEnabled:
type: boolean
isApprovalEnabled:
type: boolean
isDeleteEnabled:
type: boolean
isInsertEnabled:
type: boolean
isUpdateEnabled:
type: boolean
isViewEnabled:
type: boolean
menuId:
type: integer
required:
- isAdminEnabled
- isApprovalEnabled
- isDeleteEnabled
- isInsertEnabled
- isUpdateEnabled
- isViewEnabled
- menuId
type: object
request.UserRoleAccessesUpdateRequest:
properties:
id:
type: integer
is_admin_enabled:
type: boolean
is_approval_enabled:
type: boolean
is_delete_enabled:
type: boolean
is_insert_enabled:
type: boolean
is_update_enabled:
type: boolean
is_view_enabled:
type: boolean
menu_id:
type: integer
user_role_id:
type: integer
required:
- id
- is_admin_enabled
- is_approval_enabled
- is_delete_enabled
- is_insert_enabled
- is_update_enabled
- is_view_enabled
- menu_id
- user_role_id
type: object
request.UserRolesCreateRequest:
properties:
code:
type: string
description:
type: string
name:
type: string
statusId:
type: integer
2024-09-03 08:29:18 +00:00
userLevelIds:
items:
type: integer
type: array
userRoleAccess:
items:
$ref: '#/definitions/request.UserRoleAccessesCreateRequest'
type: array
required:
- code
- description
- name
- statusId
2024-09-03 08:29:18 +00:00
- userLevelIds
- userRoleAccess
type: object
request.UserRolesUpdateRequest:
properties:
code:
type: string
description:
type: string
level_number:
type: integer
name:
type: string
status_id:
type: integer
userLevelIds:
2024-09-03 08:29:18 +00:00
items:
type: integer
type: array
required:
- code
- description
- level_number
- name
- status_id
- userLevelIds
type: object
request.UserSavePassword:
properties:
confirmPassword:
type: string
password:
type: string
type: object
request.UsersCreateRequest:
properties:
address:
type: string
dateOfBirth:
type: string
email:
type: string
fullname:
type: string
genderType:
type: string
identityGroup:
type: string
identityGroupNumber:
type: string
identityNumber:
type: string
identityType:
type: string
lastEducation:
type: string
password:
type: string
phoneNumber:
type: string
userLevelId:
type: integer
userRoleId:
type: integer
username:
type: string
workType:
type: string
required:
- email
- fullname
- password
- userLevelId
- userRoleId
- username
type: object
request.UsersUpdateRequest:
properties:
address:
type: string
dateOfBirth:
type: string
email:
type: string
fullname:
type: string
genderType:
type: string
identityGroup:
type: string
identityGroupNumber:
type: string
identityNumber:
type: string
identityType:
type: string
lastEducation:
type: string
phoneNumber:
type: string
statusId:
type: integer
userLevelId:
type: integer
userRoleId:
type: integer
username:
type: string
workType:
type: string
required:
- email
- fullname
- userLevelId
- userRoleId
- username
type: object
response.BadRequestError:
properties:
code:
example: 400
type: integer
message:
example: bad request
type: string
success:
example: false
type: boolean
type: object
response.InternalServerError:
properties:
code:
example: 500
type: integer
message:
example: internal server error
type: string
success:
example: false
type: boolean
type: object
2024-03-05 19:15:53 +00:00
response.Response:
properties:
code:
example: 200
2024-03-05 19:15:53 +00:00
type: integer
data: {}
messages:
items: {}
type: array
meta: {}
success:
example: true
type: boolean
type: object
response.UnauthorizedError:
properties:
code:
example: 401
type: integer
message:
example: unauthorized access
type: string
success:
example: false
2024-03-05 19:15:53 +00:00
type: boolean
type: object
info:
contact: {}
paths:
2025-02-07 04:07:13 +00:00
/activity-logs:
get:
description: API for getting all ActivityLogs
parameters:
- in: query
name: activityTypeId
type: integer
- in: query
name: articleId
type: integer
- in: query
name: url
type: string
- in: query
name: userId
type: integer
- in: query
name: count
type: integer
- in: query
name: limit
type: integer
- in: query
name: nextPage
type: integer
- in: query
name: page
type: integer
- in: query
name: previousPage
type: integer
- in: query
name: sort
type: string
- in: query
name: sortBy
type: string
- in: query
name: totalPage
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
security:
- Bearer: []
summary: Get all ActivityLogs
tags:
- ActivityLogs
post:
description: API for create ActivityLogs
parameters:
- default: Bearer <Add access token here>
description: Insert your access token
in: header
name: Authorization
type: string
- description: Required payload
in: body
name: payload
required: true
schema:
$ref: '#/definitions/request.ActivityLogsCreateRequest'
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
security:
- Bearer: []
summary: Create ActivityLogs
tags:
- ActivityLogs
/activity-logs/{id}:
delete:
description: API for delete ActivityLogs
parameters:
- description: ActivityLogs ID
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
security:
- Bearer: []
summary: delete ActivityLogs
tags:
- ActivityLogs
get:
description: API for getting one ActivityLogs
parameters:
- description: ActivityLogs ID
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
security:
- Bearer: []
summary: Get one ActivityLogs
tags:
- ActivityLogs
put:
description: API for update ActivityLogs
parameters:
- description: Required payload
in: body
name: payload
required: true
schema:
$ref: '#/definitions/request.ActivityLogsUpdateRequest'
- description: ActivityLogs ID
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
security:
- Bearer: []
summary: update ActivityLogs
tags:
- ActivityLogs
2025-02-17 14:02:17 +00:00
/article-approvals:
get:
description: API for getting all ArticleApprovals
parameters:
- in: query
name: approvalAtLevel
type: integer
- in: query
name: approvalBy
type: integer
- in: query
name: articleId
type: integer
- in: query
name: message
type: string
- in: query
name: statusId
type: integer
- in: query
name: count
type: integer
- in: query
name: limit
type: integer
- in: query
name: nextPage
type: integer
- in: query
name: page
type: integer
- in: query
name: previousPage
type: integer
- in: query
name: sort
type: string
- in: query
name: sortBy
type: string
- in: query
name: totalPage
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
security:
- Bearer: []
summary: Get all ArticleApprovals
tags:
- ArticleApprovals
post:
description: API for create ArticleApprovals
parameters:
- default: Bearer <Add access token here>
description: Insert your access token
in: header
name: Authorization
required: true
type: string
- description: Required payload
in: body
name: payload
required: true
schema:
$ref: '#/definitions/request.ArticleApprovalsCreateRequest'
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
security:
- Bearer: []
summary: Create ArticleApprovals
tags:
- ArticleApprovals
/article-approvals/{id}:
delete:
description: API for delete ArticleApprovals
parameters:
- description: ArticleApprovals ID
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
security:
- Bearer: []
summary: delete ArticleApprovals
tags:
- ArticleApprovals
get:
description: API for getting one ArticleApprovals
parameters:
- description: ArticleApprovals ID
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
security:
- Bearer: []
summary: Get one ArticleApprovals
tags:
- ArticleApprovals
put:
description: API for update ArticleApprovals
parameters:
- description: Required payload
in: body
name: payload
required: true
schema:
$ref: '#/definitions/request.ArticleApprovalsUpdateRequest'
- description: ArticleApprovals ID
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
security:
- Bearer: []
summary: update ArticleApprovals
tags:
- ArticleApprovals
2024-03-05 19:15:53 +00:00
/article-categories:
get:
description: API for getting all ArticleCategories
parameters:
2025-02-17 17:33:10 +00:00
- default: Bearer <Add access token here>
description: Insert your access token
in: header
name: Authorization
required: true
type: string
- in: query
name: UserLevelId
type: integer
- in: query
name: UserLevelNumber
type: integer
- in: query
name: description
type: string
- in: query
name: isPublish
type: boolean
- in: query
name: parentId
type: integer
- in: query
name: statusId
type: integer
- in: query
name: title
type: string
- in: query
name: count
type: integer
- in: query
name: limit
type: integer
- in: query
name: nextPage
type: integer
- in: query
name: page
type: integer
- in: query
name: previousPage
type: integer
- in: query
name: sort
type: string
- in: query
name: sortBy
type: string
- in: query
name: totalPage
type: integer
2024-03-05 19:15:53 +00:00
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
2024-03-05 19:15:53 +00:00
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
2024-03-05 19:15:53 +00:00
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
2024-03-05 19:15:53 +00:00
security:
- Bearer: []
summary: Get all ArticleCategories
tags:
2024-04-29 18:17:25 +00:00
- Article Categories
2024-03-05 19:15:53 +00:00
post:
description: API for create ArticleCategories
parameters:
- default: Bearer <Add access token here>
description: Insert your access token
in: header
name: Authorization
required: true
type: string
2024-03-05 19:15:53 +00:00
- description: Required payload
in: body
name: payload
required: true
schema:
$ref: '#/definitions/request.ArticleCategoriesCreateRequest'
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
2024-03-05 19:15:53 +00:00
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
2024-03-05 19:15:53 +00:00
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
2024-03-05 19:15:53 +00:00
security:
- Bearer: []
summary: Create ArticleCategories
tags:
2024-04-29 18:17:25 +00:00
- Article Categories
2024-03-05 19:15:53 +00:00
/article-categories/{id}:
delete:
description: API for delete ArticleCategories
parameters:
- description: ArticleCategories ID
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
2024-03-05 19:15:53 +00:00
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
2024-03-05 19:15:53 +00:00
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
2024-03-05 19:15:53 +00:00
security:
- Bearer: []
summary: delete ArticleCategories
tags:
2024-04-29 18:17:25 +00:00
- Article Categories
2024-03-05 19:15:53 +00:00
get:
description: API for getting one ArticleCategories
parameters:
- description: ArticleCategories ID
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
2024-03-05 19:15:53 +00:00
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
2024-03-05 19:15:53 +00:00
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
2024-03-05 19:15:53 +00:00
security:
- Bearer: []
summary: Get one ArticleCategories
tags:
2024-04-29 18:17:25 +00:00
- Article Categories
2024-03-05 19:15:53 +00:00
put:
description: API for update ArticleCategories
parameters:
- description: Required payload
in: body
name: payload
required: true
schema:
$ref: '#/definitions/request.ArticleCategoriesUpdateRequest'
2024-03-05 19:15:53 +00:00
- description: ArticleCategories ID
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
2024-03-05 19:15:53 +00:00
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
2024-03-05 19:15:53 +00:00
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
2024-03-05 19:15:53 +00:00
security:
- Bearer: []
summary: update ArticleCategories
tags:
2024-04-29 18:17:25 +00:00
- Article Categories
2025-02-10 19:25:20 +00:00
/article-categories/old/{id}:
get:
description: API for getting one ArticleCategories
parameters:
- description: ArticleCategories Old ID
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
security:
- Bearer: []
summary: Get one ArticleCategories
tags:
- Article Categories
2025-02-17 22:00:58 +00:00
/article-categories/slug/{slug}:
get:
description: API for getting one ArticleCategories
parameters:
- description: ArticleCategories Slug
in: path
name: slug
required: true
type: string
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
security:
- Bearer: []
summary: Get one ArticleCategories
tags:
- Article Categories
/article-categories/thumbnail/{id}:
post:
description: API for Upload ArticleCategories Thumbnail
parameters:
- description: Upload thumbnail
in: formData
name: files
required: true
type: file
- description: ArticleCategories ID
in: path
name: id
required: true
type: integer
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
security:
- Bearer: []
summary: Upload ArticleCategories Thumbnail
tags:
- Article Categories
/article-categories/thumbnail/viewer/{id}:
get:
description: API for View Thumbnail of ArticleCategories
parameters:
- description: ArticleCategories ID
in: path
name: id
required: true
type: string
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
security:
- Bearer: []
summary: Viewer ArticleCategories
tags:
- Article Categories
2024-03-05 19:15:53 +00:00
/article-category-details:
get:
description: API for getting all ArticleCategoryDetails
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.Response'
"404":
description: Not Found
schema:
$ref: '#/definitions/response.Response'
"422":
description: Unprocessable Entity
schema:
$ref: '#/definitions/response.Response'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.Response'
security:
- Bearer: []
summary: Get all ArticleCategoryDetails
tags:
2024-04-29 18:17:25 +00:00
- Untags
2024-03-05 19:15:53 +00:00
post:
description: API for create ArticleCategoryDetails
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.Response'
"404":
description: Not Found
schema:
$ref: '#/definitions/response.Response'
"422":
description: Unprocessable Entity
schema:
$ref: '#/definitions/response.Response'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.Response'
security:
- Bearer: []
summary: Create ArticleCategoryDetails
tags:
2024-04-29 18:17:25 +00:00
- Untags
2024-03-05 19:15:53 +00:00
/article-category-details/{id}:
delete:
description: API for delete ArticleCategoryDetails
parameters:
- description: ArticleCategoryDetails ID
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.Response'
"404":
description: Not Found
schema:
$ref: '#/definitions/response.Response'
"422":
description: Unprocessable Entity
schema:
$ref: '#/definitions/response.Response'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.Response'
security:
- Bearer: []
summary: delete ArticleCategoryDetails
tags:
2024-04-29 18:17:25 +00:00
- Untags
2024-03-05 19:15:53 +00:00
get:
description: API for getting one ArticleCategoryDetails
parameters:
- description: ArticleCategoryDetails ID
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.Response'
"404":
description: Not Found
schema:
$ref: '#/definitions/response.Response'
"422":
description: Unprocessable Entity
schema:
$ref: '#/definitions/response.Response'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.Response'
security:
- Bearer: []
summary: Get one ArticleCategoryDetails
tags:
2024-04-29 18:17:25 +00:00
- Untags
2024-03-05 19:15:53 +00:00
put:
description: API for update ArticleCategoryDetails
parameters:
- description: ArticleCategoryDetails ID
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.Response'
"404":
description: Not Found
schema:
$ref: '#/definitions/response.Response'
"422":
description: Unprocessable Entity
schema:
$ref: '#/definitions/response.Response'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.Response'
security:
- Bearer: []
summary: update ArticleCategoryDetails
tags:
2024-04-29 18:17:25 +00:00
- Untags
/article-comments:
get:
description: API for getting all ArticleComments
parameters:
- in: query
name: articleId
type: integer
- in: query
name: commentFrom
type: integer
- in: query
name: isPublic
type: boolean
- in: query
name: message
type: string
- in: query
name: parentId
type: integer
- in: query
name: count
type: integer
- in: query
name: limit
type: integer
- in: query
name: nextPage
type: integer
- in: query
name: page
type: integer
- in: query
name: previousPage
type: integer
- in: query
name: sort
type: string
- in: query
name: sortBy
type: string
- in: query
name: totalPage
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
security:
- Bearer: []
summary: Get all ArticleComments
tags:
- ArticleComments
post:
description: API for create ArticleComments
parameters:
- default: Bearer <Add access token here>
description: Insert your access token
in: header
name: Authorization
required: true
type: string
- description: Required payload
in: body
name: payload
required: true
schema:
$ref: '#/definitions/request.ArticleCommentsCreateRequest'
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
security:
- Bearer: []
summary: Create ArticleComments
tags:
- ArticleComments
/article-comments/{id}:
delete:
description: API for delete ArticleComments
parameters:
- description: ArticleComments ID
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
security:
- Bearer: []
summary: delete ArticleComments
tags:
- ArticleComments
get:
description: API for getting one ArticleComments
parameters:
- description: ArticleComments ID
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
security:
- Bearer: []
summary: Get one ArticleComments
tags:
- ArticleComments
put:
description: API for update ArticleComments
parameters:
- description: Required payload
in: body
name: payload
required: true
schema:
$ref: '#/definitions/request.ArticleCommentsUpdateRequest'
- description: ArticleComments ID
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
security:
- Bearer: []
summary: update ArticleComments
tags:
- ArticleComments
2024-03-05 19:15:53 +00:00
/article-files:
get:
description: API for getting all ArticleFiles
parameters:
- in: query
name: articleId
type: integer
- in: query
name: fileName
type: string
- in: query
name: isPublish
type: boolean
- in: query
name: statusId
type: integer
- in: query
name: count
type: integer
- in: query
name: limit
type: integer
- in: query
name: nextPage
type: integer
- in: query
name: page
type: integer
- in: query
name: previousPage
type: integer
- in: query
name: sort
type: string
- in: query
name: sortBy
type: string
- in: query
name: totalPage
type: integer
2024-03-05 19:15:53 +00:00
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
2024-03-05 19:15:53 +00:00
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
2024-03-05 19:15:53 +00:00
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
2024-03-05 19:15:53 +00:00
security:
- Bearer: []
summary: Get all ArticleFiles
tags:
2024-04-29 18:17:25 +00:00
- Article Files
/article-files/{articleId}:
2024-03-05 19:15:53 +00:00
post:
description: API for create ArticleFiles
parameters:
- description: Upload file
in: formData
name: files
required: true
type: file
- description: Article ID
in: path
name: articleId
required: true
type: integer
produces:
- application/json
2024-03-05 19:15:53 +00:00
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
2024-03-05 19:15:53 +00:00
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
2024-03-05 19:15:53 +00:00
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
2024-03-05 19:15:53 +00:00
security:
- Bearer: []
summary: Upload ArticleFiles
2024-03-05 19:15:53 +00:00
tags:
2024-04-29 18:17:25 +00:00
- Article Files
2024-03-05 19:15:53 +00:00
/article-files/{id}:
delete:
description: API for delete ArticleFiles
parameters:
- description: ArticleFiles ID
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
2024-03-05 19:15:53 +00:00
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
2024-03-05 19:15:53 +00:00
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
2024-03-05 19:15:53 +00:00
security:
- Bearer: []
2024-04-29 18:17:25 +00:00
summary: Delete ArticleFiles
2024-03-05 19:15:53 +00:00
tags:
2024-04-29 18:17:25 +00:00
- Article Files
2024-03-05 19:15:53 +00:00
get:
description: API for getting one ArticleFiles
parameters:
- description: ArticleFiles ID
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
2024-03-05 19:15:53 +00:00
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
2024-03-05 19:15:53 +00:00
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
2024-03-05 19:15:53 +00:00
security:
- Bearer: []
summary: Get one ArticleFiles
tags:
2024-04-29 18:17:25 +00:00
- Article Files
2024-03-05 19:15:53 +00:00
put:
description: API for update ArticleFiles
parameters:
- description: Required payload
in: body
name: payload
required: true
schema:
$ref: '#/definitions/request.ArticleFilesUpdateRequest'
2024-03-05 19:15:53 +00:00
- description: ArticleFiles ID
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
2024-03-05 19:15:53 +00:00
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
2024-03-05 19:15:53 +00:00
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
2024-03-05 19:15:53 +00:00
security:
- Bearer: []
2024-04-29 18:17:25 +00:00
summary: Update ArticleFiles
2024-03-05 19:15:53 +00:00
tags:
2024-04-29 18:17:25 +00:00
- Article Files
/article-files/upload-status/{uploadId}:
get:
description: API for GetUploadStatus ArticleFiles
parameters:
- description: Upload ID of ArticleFiles
in: path
name: uploadId
required: true
type: string
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
security:
- Bearer: []
summary: GetUploadStatus ArticleFiles
tags:
- Article Files
2024-05-10 00:57:35 +00:00
/article-files/viewer/{filename}:
2024-03-05 19:15:53 +00:00
get:
description: API for create ArticleFiles
parameters:
2024-05-10 00:57:35 +00:00
- description: Article File Name
in: path
2024-05-10 00:57:35 +00:00
name: filename
required: true
type: string
2024-03-05 19:15:53 +00:00
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
2024-03-05 19:15:53 +00:00
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
2024-03-05 19:15:53 +00:00
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
2024-03-05 19:15:53 +00:00
security:
- Bearer: []
summary: Create ArticleFiles
tags:
2024-04-29 18:17:25 +00:00
- Article Files
2024-11-22 15:58:15 +00:00
/article-nulis-ai:
get:
description: API for getting all ArticleNulisAI
parameters:
- in: query
name: articleId
type: integer
- in: query
name: categoryId
type: integer
- in: query
name: creatorId
type: integer
- in: query
name: description
type: string
- in: query
name: htmlDescription
type: string
- in: query
name: nulisAiId
type: integer
- in: query
name: tags
type: string
- in: query
name: title
type: string
- in: query
name: count
type: integer
- in: query
name: limit
type: integer
- in: query
name: nextPage
type: integer
- in: query
name: page
type: integer
- in: query
name: previousPage
type: integer
- in: query
name: sort
type: string
- in: query
name: sortBy
type: string
- in: query
name: totalPage
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
security:
- Bearer: []
summary: Get all ArticleNulisAI
tags:
- ArticleNulisAI
post:
description: API for create ArticleNulisAI
parameters:
- description: Required payload
in: body
name: payload
required: true
schema:
$ref: '#/definitions/request.ArticleNulisAICreateRequest'
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
security:
- Bearer: []
summary: Create ArticleNulisAI
tags:
- ArticleNulisAI
/article-nulis-ai/{id}:
delete:
description: API for delete ArticleNulisAI
parameters:
- description: ArticleNulisAI ID
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
security:
- Bearer: []
summary: delete ArticleNulisAI
tags:
- ArticleNulisAI
get:
description: API for getting one ArticleNulisAI
parameters:
- description: ArticleNulisAI ID
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
security:
- Bearer: []
summary: Get one ArticleNulisAI
tags:
- ArticleNulisAI
put:
description: API for update ArticleNulisAI
parameters:
- description: Required payload
in: body
name: payload
required: true
schema:
$ref: '#/definitions/request.ArticleNulisAIUpdateRequest'
- description: ArticleNulisAI ID
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
security:
- Bearer: []
summary: update ArticleNulisAI
tags:
- ArticleNulisAI
/article-nulis-ai/publish:
post:
description: API for publish ArticleNulisAI
parameters:
- description: Required payload
in: body
name: payload
required: true
schema:
$ref: '#/definitions/request.ArticleNulisAIUpdateRequest'
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
security:
- Bearer: []
summary: publish ArticleNulisAI
tags:
- ArticleNulisAI
2024-03-05 19:15:53 +00:00
/articles:
get:
description: API for getting all Articles
2024-03-31 15:19:45 +00:00
parameters:
- in: query
name: category
type: string
- in: query
name: categoryId
type: integer
- in: query
name: createdById
type: integer
2024-03-31 15:19:45 +00:00
- in: query
name: description
type: string
- in: query
name: isDraft
type: boolean
2024-03-31 15:19:45 +00:00
- in: query
name: isPublish
type: boolean
- in: query
name: statusId
type: integer
- in: query
name: tags
type: string
- in: query
name: title
type: string
- in: query
name: typeId
type: integer
- in: query
name: count
type: integer
- in: query
name: limit
type: integer
- in: query
name: nextPage
type: integer
- in: query
name: page
type: integer
- in: query
name: previousPage
type: integer
- in: query
name: sort
type: string
- in: query
name: sortBy
type: string
- in: query
name: totalPage
type: integer
2024-03-05 19:15:53 +00:00
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
2024-03-05 19:15:53 +00:00
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
2024-03-05 19:15:53 +00:00
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
2024-03-05 19:15:53 +00:00
security:
- Bearer: []
summary: Get all Articles
tags:
2024-03-31 15:19:45 +00:00
- Articles
2024-03-05 19:15:53 +00:00
post:
description: API for create Articles
2024-03-31 15:19:45 +00:00
parameters:
- default: Bearer <Add access token here>
description: Insert your access token
in: header
name: Authorization
required: true
type: string
2024-03-31 15:19:45 +00:00
- description: Required payload
in: body
name: payload
required: true
schema:
$ref: '#/definitions/request.ArticlesCreateRequest'
2024-03-05 19:15:53 +00:00
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
2024-03-05 19:15:53 +00:00
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
2024-03-05 19:15:53 +00:00
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
2024-03-05 19:15:53 +00:00
security:
- Bearer: []
summary: Create Articles
tags:
2024-03-31 15:19:45 +00:00
- Articles
2024-03-05 19:15:53 +00:00
/articles/{id}:
delete:
description: API for delete Articles
parameters:
- description: Articles ID
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
2024-03-05 19:15:53 +00:00
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
2024-03-05 19:15:53 +00:00
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
2024-03-05 19:15:53 +00:00
security:
- Bearer: []
2024-04-29 18:17:25 +00:00
summary: Delete Articles
2024-03-05 19:15:53 +00:00
tags:
2024-03-31 15:19:45 +00:00
- Articles
2024-03-05 19:15:53 +00:00
get:
description: API for getting one Articles
parameters:
- description: Articles ID
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
2024-03-05 19:15:53 +00:00
schema:
$ref: '#/definitions/response.BadRequestError'
"401":
description: Unauthorized
2024-03-05 19:15:53 +00:00
schema:
$ref: '#/definitions/response.UnauthorizedError'
2024-03-05 19:15:53 +00:00
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
2024-03-05 19:15:53 +00:00
security:
- Bearer: []
summary: Get one Articles
tags:
2024-03-31 15:19:45 +00:00
- Articles
2024-03-05 19:15:53 +00:00
put:
description: API for update Articles
parameters:
2024-03-31 15:19:45 +00:00
- description: Required payload
in: body
name: payload
required: true
schema:
$ref: '#/definitions/request.ArticlesUpdateRequest'
2024-03-05 19:15:53 +00:00
- description: Articles ID
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
2024-03-05 19:15:53 +00:00
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
2024-03-05 19:15:53 +00:00
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
2024-03-05 19:15:53 +00:00
security:
- Bearer: []
2024-04-29 18:17:25 +00:00
summary: Update Articles
2024-03-05 19:15:53 +00:00
tags:
2024-03-31 15:19:45 +00:00
- Articles
2025-02-15 10:23:39 +00:00
/articles/statistic/monthly:
get:
description: API for ArticleMonthlyStats of Article
parameters:
- default: Bearer <Add access token here>
description: Insert your access token
in: header
name: Authorization
required: true
type: string
- description: year
in: query
name: year
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
security:
- Bearer: []
summary: ArticleMonthlyStats Articles
tags:
- Articles
2025-02-15 01:56:13 +00:00
/articles/statistic/summary:
get:
description: API for Summary Stats of Article
parameters:
- default: Bearer <Add access token here>
description: Insert your access token
in: header
name: Authorization
required: true
type: string
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
security:
- Bearer: []
summary: SummaryStats Articles
tags:
- Articles
2025-02-15 10:23:39 +00:00
/articles/statistic/user-levels:
get:
description: API for ArticlePerUserLevelStats of Article
parameters:
- default: Bearer <Add access token here>
description: Insert your access token
in: header
name: Authorization
required: true
type: string
- description: start date
in: query
name: startDate
type: string
- description: start date
in: query
name: endDate
type: string
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
security:
- Bearer: []
summary: ArticlePerUserLevelStats Articles
tags:
- Articles
/articles/thumbnail/{id}:
post:
description: API for Save Thumbnail of Articles
parameters:
- description: Upload thumbnail
in: formData
name: files
required: true
type: file
- description: Articles ID
in: path
name: id
required: true
type: integer
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
security:
- Bearer: []
summary: Save Thumbnail Articles
tags:
- Articles
/articles/thumbnail/viewer/{thumbnailName}:
get:
description: API for View Thumbnail of Article
parameters:
- description: Articles Thumbnail Name
in: path
name: thumbnailName
required: true
type: string
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
security:
- Bearer: []
summary: Viewer Articles Thumbnail
tags:
- Articles
2024-03-05 19:15:53 +00:00
/cities:
get:
description: API for getting all Cities
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.Response'
"404":
description: Not Found
schema:
$ref: '#/definitions/response.Response'
"422":
description: Unprocessable Entity
schema:
$ref: '#/definitions/response.Response'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.Response'
security:
- Bearer: []
summary: Get all Cities
tags:
2024-04-29 18:17:25 +00:00
- Untags
2024-03-05 19:15:53 +00:00
post:
description: API for create Cities
parameters:
- description: Required payload
in: body
name: payload
required: true
schema:
$ref: '#/definitions/request.CitiesCreateRequest'
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.Response'
"404":
description: Not Found
schema:
$ref: '#/definitions/response.Response'
"422":
description: Unprocessable Entity
schema:
$ref: '#/definitions/response.Response'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.Response'
security:
- Bearer: []
summary: Create Cities
tags:
2024-04-29 18:17:25 +00:00
- Untags
2024-03-05 19:15:53 +00:00
/cities/{id}:
delete:
description: API for delete Cities
parameters:
- description: Cities ID
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.Response'
"404":
description: Not Found
schema:
$ref: '#/definitions/response.Response'
"422":
description: Unprocessable Entity
schema:
$ref: '#/definitions/response.Response'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.Response'
security:
- Bearer: []
2024-04-29 18:17:25 +00:00
summary: Delete Cities
2024-03-05 19:15:53 +00:00
tags:
2024-04-29 18:17:25 +00:00
- Untags
2024-03-05 19:15:53 +00:00
get:
description: API for getting one Cities
parameters:
- description: Cities ID
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.Response'
"404":
description: Not Found
schema:
$ref: '#/definitions/response.Response'
"422":
description: Unprocessable Entity
schema:
$ref: '#/definitions/response.Response'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.Response'
security:
- Bearer: []
summary: Get one Cities
tags:
2024-04-29 18:17:25 +00:00
- Untags
2024-03-05 19:15:53 +00:00
put:
consumes:
- application/json
description: API for update Cities
parameters:
- description: Cities ID
in: path
name: id
required: true
type: integer
- description: Required payload
in: body
name: payload
required: true
schema:
$ref: '#/definitions/request.CitiesUpdateRequest'
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.Response'
"404":
description: Not Found
schema:
$ref: '#/definitions/response.Response'
"422":
description: Unprocessable Entity
schema:
$ref: '#/definitions/response.Response'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.Response'
security:
- Bearer: []
2024-04-29 18:17:25 +00:00
summary: Update Cities
2024-03-05 19:15:53 +00:00
tags:
2024-04-29 18:17:25 +00:00
- Untags
2024-11-22 04:14:14 +00:00
/custom-static-pages:
get:
description: API for getting all CustomStaticPages
parameters:
- in: query
name: description
type: string
- in: query
name: htmlBody
type: string
- in: query
name: slug
type: string
- in: query
name: title
type: string
- in: query
name: count
type: integer
- in: query
name: limit
type: integer
- in: query
name: nextPage
type: integer
- in: query
name: page
type: integer
- in: query
name: previousPage
type: integer
- in: query
name: sort
type: string
- in: query
name: sortBy
type: string
- in: query
name: totalPage
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
security:
- Bearer: []
summary: Get all CustomStaticPages
tags:
- CustomStaticPages
post:
description: API for create CustomStaticPages
parameters:
- description: Required payload
in: body
name: payload
required: true
schema:
$ref: '#/definitions/request.CustomStaticPagesCreateRequest'
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
security:
- Bearer: []
summary: Create CustomStaticPages
tags:
- CustomStaticPages
/custom-static-pages/{id}:
delete:
description: API for delete CustomStaticPages
parameters:
- description: CustomStaticPages ID
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
security:
- Bearer: []
summary: delete CustomStaticPages
tags:
- CustomStaticPages
get:
description: API for getting one CustomStaticPages
parameters:
- description: CustomStaticPages ID
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
security:
- Bearer: []
summary: Get one CustomStaticPages
tags:
- CustomStaticPages
put:
description: API for update CustomStaticPages
parameters:
- description: Required payload
in: body
name: payload
required: true
schema:
$ref: '#/definitions/request.CustomStaticPagesUpdateRequest'
- description: CustomStaticPages ID
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
security:
- Bearer: []
summary: update CustomStaticPages
tags:
- CustomStaticPages
/custom-static-pages/slug/{slug}:
get:
description: API for getting one CustomStaticPages
parameters:
- description: CustomStaticPages Slug
in: path
name: slug
required: true
type: string
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
security:
- Bearer: []
summary: Get one CustomStaticPages
tags:
- CustomStaticPages
2024-03-05 19:15:53 +00:00
/districts:
get:
description: API for getting all Districts
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.Response'
"404":
description: Not Found
schema:
$ref: '#/definitions/response.Response'
"422":
description: Unprocessable Entity
schema:
$ref: '#/definitions/response.Response'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.Response'
security:
- Bearer: []
summary: Get all Districts
tags:
2024-04-29 18:17:25 +00:00
- Untags
2024-03-05 19:15:53 +00:00
post:
description: API for create Districts
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.Response'
"404":
description: Not Found
schema:
$ref: '#/definitions/response.Response'
"422":
description: Unprocessable Entity
schema:
$ref: '#/definitions/response.Response'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.Response'
security:
- Bearer: []
summary: Create Districts
tags:
2024-04-29 18:17:25 +00:00
- Untags
2024-03-05 19:15:53 +00:00
/districts/{id}:
delete:
description: API for delete Districts
parameters:
- description: Districts ID
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.Response'
"404":
description: Not Found
schema:
$ref: '#/definitions/response.Response'
"422":
description: Unprocessable Entity
schema:
$ref: '#/definitions/response.Response'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.Response'
security:
- Bearer: []
2024-04-29 18:17:25 +00:00
summary: Delete Districts
2024-03-05 19:15:53 +00:00
tags:
2024-04-29 18:17:25 +00:00
- Untags
2024-03-05 19:15:53 +00:00
get:
description: API for getting one Districts
parameters:
- description: Districts ID
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.Response'
"404":
description: Not Found
schema:
$ref: '#/definitions/response.Response'
"422":
description: Unprocessable Entity
schema:
$ref: '#/definitions/response.Response'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.Response'
security:
- Bearer: []
summary: Get one Districts
tags:
2024-04-29 18:17:25 +00:00
- Untags
2024-03-05 19:15:53 +00:00
put:
description: API for update Districts
parameters:
- description: Districts ID
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.Response'
"404":
description: Not Found
schema:
$ref: '#/definitions/response.Response'
"422":
description: Unprocessable Entity
schema:
$ref: '#/definitions/response.Response'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.Response'
security:
- Bearer: []
2024-04-29 18:17:25 +00:00
summary: Update Districts
2024-03-05 19:15:53 +00:00
tags:
2024-04-29 18:17:25 +00:00
- Untags
2024-03-05 19:15:53 +00:00
/magazine-files:
get:
description: API for getting all MagazineFiles
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
2024-03-05 19:15:53 +00:00
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
2024-03-05 19:15:53 +00:00
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
2024-03-05 19:15:53 +00:00
security:
- Bearer: []
summary: Get all MagazineFiles
tags:
2024-04-29 18:17:25 +00:00
- Magazine Files
/magazine-files/{id}:
delete:
description: API for delete MagazineFiles
parameters:
- description: MagazineFiles ID
in: path
name: id
required: true
type: integer
2024-03-05 19:15:53 +00:00
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
2024-03-05 19:15:53 +00:00
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
2024-03-05 19:15:53 +00:00
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
2024-03-05 19:15:53 +00:00
security:
- Bearer: []
summary: delete MagazineFiles
2024-03-05 19:15:53 +00:00
tags:
2024-04-29 18:17:25 +00:00
- Magazine Files
get:
description: API for getting one MagazineFiles
2024-03-05 19:15:53 +00:00
parameters:
- description: MagazineFiles ID
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
2024-03-05 19:15:53 +00:00
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
2024-03-05 19:15:53 +00:00
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
2024-03-05 19:15:53 +00:00
security:
- Bearer: []
summary: Get one MagazineFiles
2024-03-05 19:15:53 +00:00
tags:
2024-04-29 18:17:25 +00:00
- Magazine Files
put:
description: API for update MagazineFiles
2024-03-05 19:15:53 +00:00
parameters:
- description: MagazineFiles ID
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
2024-03-05 19:15:53 +00:00
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
2024-03-05 19:15:53 +00:00
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
2024-03-05 19:15:53 +00:00
security:
- Bearer: []
summary: Update MagazineFiles
2024-03-05 19:15:53 +00:00
tags:
2024-04-29 18:17:25 +00:00
- Magazine Files
/magazine-files/{magazineId}:
post:
description: API for create MagazineFiles
2024-03-05 19:15:53 +00:00
parameters:
- description: Upload file
in: formData
name: files
required: true
type: file
- description: Magazine file title
in: formData
name: title
required: true
type: string
- description: Magazine file description
in: formData
name: description
required: true
type: string
- description: Magazine ID
2024-03-05 19:15:53 +00:00
in: path
name: magazineId
2024-03-05 19:15:53 +00:00
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
2024-03-05 19:15:53 +00:00
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
"500":
description: Internal Server Error
2024-03-05 19:15:53 +00:00
schema:
$ref: '#/definitions/response.InternalServerError'
security:
- Bearer: []
summary: Create MagazineFiles
tags:
- Magazine Files
/magazine-files/viewer/{filename}:
get:
description: API for create MagazineFiles
parameters:
- description: Magazine File Name
in: path
name: filename
required: true
type: string
responses:
"200":
description: OK
2024-03-05 19:15:53 +00:00
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
2024-03-05 19:15:53 +00:00
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
2024-03-05 19:15:53 +00:00
security:
- Bearer: []
summary: Create MagazineFiles
2024-03-05 19:15:53 +00:00
tags:
2024-04-29 18:17:25 +00:00
- Magazine Files
2024-03-05 19:15:53 +00:00
/magazines:
get:
description: API for getting all Magazines
parameters:
- in: query
name: createdById
type: integer
- in: query
name: description
type: string
- in: query
name: isPublish
type: boolean
- in: query
name: pageUrl
type: string
- in: query
name: statusId
type: integer
- in: query
name: thumbnailPath
type: string
- in: query
name: thumbnailUrl
type: string
- in: query
name: title
type: string
- in: query
name: count
type: integer
- in: query
name: limit
type: integer
- in: query
name: nextPage
type: integer
- in: query
name: page
type: integer
- in: query
name: previousPage
type: integer
- in: query
name: sort
type: string
- in: query
name: sortBy
type: string
- in: query
name: totalPage
type: integer
2024-03-05 19:15:53 +00:00
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
2024-03-05 19:15:53 +00:00
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
2024-03-05 19:15:53 +00:00
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
2024-03-05 19:15:53 +00:00
security:
- Bearer: []
summary: Get all Magazines
tags:
2024-04-29 18:17:25 +00:00
- Magazines
2024-03-05 19:15:53 +00:00
post:
description: API for create Magazines
parameters:
- default: Bearer <Add access token here>
description: Insert your access token
in: header
name: Authorization
required: true
type: string
- description: Required payload
in: body
name: payload
required: true
schema:
$ref: '#/definitions/request.MagazinesCreateRequest'
2024-03-05 19:15:53 +00:00
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
2024-03-05 19:15:53 +00:00
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
2024-03-05 19:15:53 +00:00
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
2024-03-05 19:15:53 +00:00
security:
- Bearer: []
summary: Create Magazines
tags:
2024-04-29 18:17:25 +00:00
- Magazines
2024-03-05 19:15:53 +00:00
/magazines/{id}:
delete:
description: API for delete Magazines
parameters:
- description: Magazines ID
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
2024-03-05 19:15:53 +00:00
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
2024-03-05 19:15:53 +00:00
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
2024-03-05 19:15:53 +00:00
security:
- Bearer: []
2024-04-29 18:17:25 +00:00
summary: Delete Magazines
2024-03-05 19:15:53 +00:00
tags:
2024-04-29 18:17:25 +00:00
- Magazines
2024-03-05 19:15:53 +00:00
get:
description: API for getting one Magazines
parameters:
- description: Magazines ID
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
2024-03-05 19:15:53 +00:00
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
2024-03-05 19:15:53 +00:00
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
2024-03-05 19:15:53 +00:00
security:
- Bearer: []
summary: Get one Magazines
tags:
2024-04-29 18:17:25 +00:00
- Magazines
2024-03-05 19:15:53 +00:00
put:
description: API for update Magazines
parameters:
- description: Magazines ID
in: path
name: id
required: true
type: integer
- description: Required payload
in: body
name: payload
required: true
schema:
$ref: '#/definitions/request.MagazinesUpdateRequest'
2024-03-05 19:15:53 +00:00
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
2024-03-05 19:15:53 +00:00
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
2024-03-05 19:15:53 +00:00
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
2024-03-05 19:15:53 +00:00
security:
- Bearer: []
2024-04-29 18:17:25 +00:00
summary: Update Magazines
2024-03-05 19:15:53 +00:00
tags:
2024-04-29 18:17:25 +00:00
- Magazines
/magazines/thumbnail/{id}:
post:
description: API for Save Thumbnail of Magazines
parameters:
- description: Upload thumbnail
in: formData
name: files
required: true
type: file
- description: Magazine ID
in: path
name: id
required: true
type: integer
produces:
- application/json
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
security:
- Bearer: []
summary: Save Thumbnail Magazines
tags:
2025-01-24 04:06:55 +00:00
- Magazines
/magazines/thumbnail/viewer/{thumbnailName}:
get:
description: API for View Thumbnail of Magazines
parameters:
- description: Magazines Thumbnail Name
in: path
name: thumbnailName
required: true
type: string
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
security:
- Bearer: []
summary: Viewer Magazines Thumbnail
tags:
2025-01-24 04:06:55 +00:00
- Magazines
2024-03-05 19:15:53 +00:00
/master-menus:
get:
description: API for getting all MasterMenus
parameters:
- in: query
name: description
type: string
- in: query
name: moduleId
type: integer
- in: query
name: name
type: string
- in: query
name: parentMenuId
type: integer
- in: query
name: statusId
type: integer
- in: query
name: count
type: integer
- in: query
name: limit
type: integer
- in: query
name: nextPage
type: integer
- in: query
name: page
type: integer
- in: query
name: previousPage
type: integer
- in: query
name: sort
type: string
- in: query
name: sortBy
type: string
- in: query
name: totalPage
type: integer
2024-03-05 19:15:53 +00:00
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
2024-03-05 19:15:53 +00:00
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
2024-03-05 19:15:53 +00:00
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
2024-03-05 19:15:53 +00:00
security:
- Bearer: []
summary: Get all MasterMenus
tags:
- MasterMenus
2024-03-05 19:15:53 +00:00
post:
description: API for create MasterMenus
parameters:
- description: Required payload
in: body
name: payload
required: true
schema:
$ref: '#/definitions/request.MasterMenusCreateRequest'
2024-03-05 19:15:53 +00:00
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
2024-03-05 19:15:53 +00:00
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
2024-03-05 19:15:53 +00:00
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
2024-03-05 19:15:53 +00:00
security:
- Bearer: []
summary: Create MasterMenus
tags:
- MasterMenus
2024-03-05 19:15:53 +00:00
/master-menus/{id}:
delete:
description: API for delete MasterMenus
parameters:
- description: MasterMenus ID
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
2024-03-05 19:15:53 +00:00
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
2024-03-05 19:15:53 +00:00
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
2024-03-05 19:15:53 +00:00
security:
- Bearer: []
summary: Delete MasterMenus
2024-03-05 19:15:53 +00:00
tags:
- MasterMenus
2024-03-05 19:15:53 +00:00
get:
description: API for getting one MasterMenus
parameters:
- description: MasterMenus ID
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
2024-03-05 19:15:53 +00:00
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
2024-03-05 19:15:53 +00:00
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
2024-03-05 19:15:53 +00:00
security:
- Bearer: []
summary: Get one MasterMenus
tags:
- MasterMenus
2024-03-05 19:15:53 +00:00
put:
description: API for update MasterMenus
parameters:
- description: MasterMenus ID
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.Response'
"404":
description: Not Found
schema:
$ref: '#/definitions/response.Response'
"422":
description: Unprocessable Entity
schema:
$ref: '#/definitions/response.Response'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.Response'
security:
- Bearer: []
summary: Update MasterMenus
2024-03-05 19:15:53 +00:00
tags:
- MasterMenus
2024-03-05 19:15:53 +00:00
/master-modules:
get:
description: API for getting all MasterModules
parameters:
- in: query
name: description
type: string
- in: query
name: name
type: string
- in: query
name: statusId
type: integer
- in: query
name: count
type: integer
- in: query
name: limit
type: integer
- in: query
name: nextPage
type: integer
- in: query
name: page
type: integer
- in: query
name: previousPage
type: integer
- in: query
name: sort
type: string
- in: query
name: sortBy
type: string
- in: query
name: totalPage
type: integer
2024-03-05 19:15:53 +00:00
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
2024-03-05 19:15:53 +00:00
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
2024-03-05 19:15:53 +00:00
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
2024-03-05 19:15:53 +00:00
security:
- Bearer: []
summary: Get all MasterModules
tags:
- MasterModules
2024-03-05 19:15:53 +00:00
post:
description: API for create MasterModules
parameters:
- description: Required payload
in: body
name: payload
required: true
schema:
$ref: '#/definitions/request.MasterModulesCreateRequest'
2024-03-05 19:15:53 +00:00
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
2024-03-05 19:15:53 +00:00
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
2024-03-05 19:15:53 +00:00
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
2024-03-05 19:15:53 +00:00
security:
- Bearer: []
summary: Create MasterModules
tags:
- MasterModules
2024-03-05 19:15:53 +00:00
/master-modules/{id}:
delete:
description: API for delete MasterModules
parameters:
- description: MasterModules ID
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
2024-03-05 19:15:53 +00:00
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
2024-03-05 19:15:53 +00:00
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
2024-03-05 19:15:53 +00:00
security:
- Bearer: []
summary: Delete MasterModules
2024-03-05 19:15:53 +00:00
tags:
- MasterModules
2024-03-05 19:15:53 +00:00
get:
description: API for getting one MasterModules
parameters:
- description: MasterModules ID
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
2024-03-05 19:15:53 +00:00
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
2024-03-05 19:15:53 +00:00
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
2024-03-05 19:15:53 +00:00
security:
- Bearer: []
summary: Get one MasterModules
tags:
- MasterModules
2024-03-05 19:15:53 +00:00
put:
description: API for update MasterModules
parameters:
- description: MasterModules ID
in: path
name: id
required: true
type: integer
- description: Required payload
in: body
name: payload
required: true
schema:
$ref: '#/definitions/request.MasterModulesUpdateRequest'
2024-03-05 19:15:53 +00:00
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
2024-03-05 19:15:53 +00:00
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
2024-03-05 19:15:53 +00:00
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
2024-03-05 19:15:53 +00:00
security:
- Bearer: []
summary: Update MasterModules
2024-03-05 19:15:53 +00:00
tags:
- MasterModules
2024-03-05 19:15:53 +00:00
/master-statuses:
get:
description: API for getting all MasterStatuses
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.Response'
"404":
description: Not Found
schema:
$ref: '#/definitions/response.Response'
"422":
description: Unprocessable Entity
schema:
$ref: '#/definitions/response.Response'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.Response'
security:
- Bearer: []
summary: Get all MasterStatuses
tags:
2024-04-29 18:17:25 +00:00
- Untags
2024-03-05 19:15:53 +00:00
post:
description: API for create MasterStatuses
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.Response'
"404":
description: Not Found
schema:
$ref: '#/definitions/response.Response'
"422":
description: Unprocessable Entity
schema:
$ref: '#/definitions/response.Response'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.Response'
security:
- Bearer: []
summary: Create MasterStatuses
tags:
2024-04-29 18:17:25 +00:00
- Untags
2024-03-05 19:15:53 +00:00
/master-statuses/{id}:
delete:
description: API for delete MasterStatuses
parameters:
- description: MasterStatuses ID
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.Response'
"404":
description: Not Found
schema:
$ref: '#/definitions/response.Response'
"422":
description: Unprocessable Entity
schema:
$ref: '#/definitions/response.Response'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.Response'
security:
- Bearer: []
2024-04-29 18:17:25 +00:00
summary: Delete MasterStatuses
2024-03-05 19:15:53 +00:00
tags:
2024-04-29 18:17:25 +00:00
- Untags
2024-03-05 19:15:53 +00:00
get:
description: API for getting one MasterStatuses
parameters:
- description: MasterStatuses ID
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.Response'
"404":
description: Not Found
schema:
$ref: '#/definitions/response.Response'
"422":
description: Unprocessable Entity
schema:
$ref: '#/definitions/response.Response'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.Response'
security:
- Bearer: []
summary: Get one MasterStatuses
tags:
2024-04-29 18:17:25 +00:00
- Untags
2024-03-05 19:15:53 +00:00
put:
description: API for update MasterStatuses
parameters:
- description: MasterStatuses ID
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.Response'
"404":
description: Not Found
schema:
$ref: '#/definitions/response.Response'
"422":
description: Unprocessable Entity
schema:
$ref: '#/definitions/response.Response'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.Response'
security:
- Bearer: []
2024-04-29 18:17:25 +00:00
summary: Update MasterStatuses
2024-03-05 19:15:53 +00:00
tags:
2024-04-29 18:17:25 +00:00
- Untags
2024-11-02 18:20:19 +00:00
/provinces:
2024-05-05 14:55:06 +00:00
get:
2024-11-02 18:20:19 +00:00
description: API for getting all Provinces
2024-05-05 14:55:06 +00:00
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"401":
description: Unauthorized
schema:
2024-11-02 18:20:19 +00:00
$ref: '#/definitions/response.Response'
"404":
description: Not Found
schema:
$ref: '#/definitions/response.Response'
"422":
description: Unprocessable Entity
schema:
$ref: '#/definitions/response.Response'
2024-05-05 14:55:06 +00:00
"500":
description: Internal Server Error
schema:
2024-11-02 18:20:19 +00:00
$ref: '#/definitions/response.Response'
2024-05-05 14:55:06 +00:00
security:
- Bearer: []
2024-11-02 18:20:19 +00:00
summary: Get all Provinces
2024-05-05 14:55:06 +00:00
tags:
2024-11-02 18:20:19 +00:00
- Untags
2024-05-05 14:55:06 +00:00
post:
2024-11-02 18:20:19 +00:00
description: API for create Provinces
2024-05-05 14:55:06 +00:00
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.Response'
"404":
description: Not Found
schema:
$ref: '#/definitions/response.Response'
"422":
description: Unprocessable Entity
schema:
$ref: '#/definitions/response.Response'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.Response'
security:
- Bearer: []
2024-11-02 18:20:19 +00:00
summary: Create Provinces
2024-05-05 14:55:06 +00:00
tags:
2024-11-02 18:20:19 +00:00
- Untags
/provinces/{id}:
2024-05-05 14:55:06 +00:00
delete:
2024-11-02 18:20:19 +00:00
description: API for delete Provinces
2024-05-05 14:55:06 +00:00
parameters:
2024-11-02 18:20:19 +00:00
- description: Provinces ID
2024-05-05 14:55:06 +00:00
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.Response'
"404":
description: Not Found
schema:
$ref: '#/definitions/response.Response'
"422":
description: Unprocessable Entity
schema:
$ref: '#/definitions/response.Response'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.Response'
security:
- Bearer: []
2024-11-02 18:20:19 +00:00
summary: Delete Provinces
2024-05-05 14:55:06 +00:00
tags:
2024-11-02 18:20:19 +00:00
- Untags
2024-05-05 14:55:06 +00:00
get:
2024-11-02 18:20:19 +00:00
description: API for getting one Provinces
2024-05-05 14:55:06 +00:00
parameters:
2024-11-02 18:20:19 +00:00
- description: Provinces ID
2024-05-05 14:55:06 +00:00
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"401":
description: Unauthorized
2024-03-05 19:15:53 +00:00
schema:
$ref: '#/definitions/response.Response'
2024-11-02 18:20:19 +00:00
"404":
description: Not Found
2024-03-05 19:15:53 +00:00
schema:
$ref: '#/definitions/response.Response'
2024-11-02 18:20:19 +00:00
"422":
description: Unprocessable Entity
2024-03-05 19:15:53 +00:00
schema:
$ref: '#/definitions/response.Response'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.Response'
security:
- Bearer: []
2024-11-02 18:20:19 +00:00
summary: Get one Provinces
2024-03-05 19:15:53 +00:00
tags:
2024-11-02 18:20:19 +00:00
- Untags
2024-03-05 19:15:53 +00:00
put:
2024-11-02 18:20:19 +00:00
description: API for update Provinces
2024-03-05 19:15:53 +00:00
parameters:
2024-11-02 18:20:19 +00:00
- description: Provinces ID
2024-03-05 19:15:53 +00:00
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.Response'
2024-11-02 18:20:19 +00:00
"404":
description: Not Found
2024-05-06 18:04:50 +00:00
schema:
$ref: '#/definitions/response.Response'
2024-11-02 18:20:19 +00:00
"422":
description: Unprocessable Entity
2024-05-06 18:04:50 +00:00
schema:
2024-11-02 18:20:19 +00:00
$ref: '#/definitions/response.Response'
2024-05-06 18:04:50 +00:00
"500":
description: Internal Server Error
schema:
2024-11-02 18:20:19 +00:00
$ref: '#/definitions/response.Response'
2024-05-06 18:04:50 +00:00
security:
- Bearer: []
2024-11-02 18:20:19 +00:00
summary: Update Provinces
2024-05-06 18:04:50 +00:00
tags:
2024-11-02 18:20:19 +00:00
- Untags
2024-03-05 19:15:53 +00:00
/user-levels:
get:
description: API for getting all UserLevels
parameters:
- in: query
name: levelNumber
type: integer
- in: query
name: name
type: string
- in: query
name: parentLevelId
type: integer
- in: query
name: provinceId
type: integer
- in: query
name: count
type: integer
- in: query
name: limit
type: integer
- in: query
name: nextPage
type: integer
- in: query
name: page
type: integer
- in: query
name: previousPage
type: integer
- in: query
name: sort
type: string
- in: query
name: sortBy
type: string
- in: query
name: totalPage
type: integer
2024-03-05 19:15:53 +00:00
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
2024-03-05 19:15:53 +00:00
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
2024-03-05 19:15:53 +00:00
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
2024-03-05 19:15:53 +00:00
security:
- Bearer: []
summary: Get all UserLevels
tags:
- UserLevels
2024-03-05 19:15:53 +00:00
post:
description: API for create UserLevels
parameters:
- description: Required payload
in: body
name: payload
required: true
schema:
$ref: '#/definitions/request.UserLevelsCreateRequest'
2024-03-05 19:15:53 +00:00
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
2024-03-05 19:15:53 +00:00
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
2024-03-05 19:15:53 +00:00
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
2024-03-05 19:15:53 +00:00
security:
- Bearer: []
summary: Create UserLevels
tags:
- UserLevels
2024-03-05 19:15:53 +00:00
/user-levels/{id}:
delete:
description: API for delete UserLevels
parameters:
- description: UserLevels ID
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.Response'
"404":
description: Not Found
schema:
$ref: '#/definitions/response.Response'
"422":
description: Unprocessable Entity
schema:
$ref: '#/definitions/response.Response'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.Response'
security:
- Bearer: []
summary: delete UserLevels
tags:
- UserLevels
2024-03-05 19:15:53 +00:00
get:
description: API for getting one UserLevels
parameters:
- description: UserLevels ID
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
2024-03-05 19:15:53 +00:00
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
2024-03-05 19:15:53 +00:00
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
2024-03-05 19:15:53 +00:00
security:
- Bearer: []
summary: Get one UserLevels
tags:
- UserLevels
2024-03-05 19:15:53 +00:00
put:
description: API for update UserLevels
parameters:
- description: Required payload
in: body
name: payload
required: true
schema:
$ref: '#/definitions/request.UserLevelsUpdateRequest'
2024-03-05 19:15:53 +00:00
- description: UserLevels ID
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
2024-03-05 19:15:53 +00:00
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
2024-03-05 19:15:53 +00:00
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
2024-03-05 19:15:53 +00:00
security:
- Bearer: []
summary: update UserLevels
tags:
- UserLevels
2025-02-13 23:51:04 +00:00
/user-levels/alias/{alias}:
get:
description: API for getting one UserLevels
parameters:
- description: UserLevels Alias
in: path
name: alias
required: true
type: string
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
security:
- Bearer: []
summary: Get one UserLevels
tags:
- UserLevels
2024-03-05 19:15:53 +00:00
/user-role-accesses:
get:
description: API for getting all UserRoleAccesses
parameters:
- in: query
name: isActive
required: true
type: boolean
- in: query
name: menuId
required: true
type: integer
- in: query
name: userRoleId
required: true
type: integer
2024-03-05 19:15:53 +00:00
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
2024-03-05 19:15:53 +00:00
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
2024-03-05 19:15:53 +00:00
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
2024-03-05 19:15:53 +00:00
security:
- Bearer: []
summary: Get all UserRoleAccesses
tags:
- UserRoleAccesses
2024-03-05 19:15:53 +00:00
post:
description: API for create UserRoleAccesses
parameters:
- description: Required payload
in: body
name: payload
required: true
schema:
$ref: '#/definitions/request.UserRoleAccessesCreateRequest'
2024-03-05 19:15:53 +00:00
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
2024-03-05 19:15:53 +00:00
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
2024-03-05 19:15:53 +00:00
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
2024-03-05 19:15:53 +00:00
security:
- Bearer: []
summary: Create UserRoleAccesses
tags:
- UserRoleAccesses
2024-03-05 19:15:53 +00:00
/user-role-accesses/{id}:
delete:
description: API for delete UserRoleAccesses
parameters:
- description: UserRoleAccesses ID
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
2024-03-05 19:15:53 +00:00
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
2024-03-05 19:15:53 +00:00
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
2024-03-05 19:15:53 +00:00
security:
- Bearer: []
summary: delete UserRoleAccesses
tags:
- UserRoleAccesses
2024-03-05 19:15:53 +00:00
get:
description: API for getting one UserRoleAccesses
parameters:
- description: UserRoleAccesses ID
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
2024-03-05 19:15:53 +00:00
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
2024-03-05 19:15:53 +00:00
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
2024-03-05 19:15:53 +00:00
security:
- Bearer: []
summary: Get one UserRoleAccesses
tags:
- UserRoleAccesses
2024-03-05 19:15:53 +00:00
put:
description: API for update UserRoleAccesses
parameters:
- description: Required payload
in: body
name: payload
required: true
schema:
$ref: '#/definitions/request.UserRoleAccessesUpdateRequest'
2024-03-05 19:15:53 +00:00
- description: UserRoleAccesses ID
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
2024-03-05 19:15:53 +00:00
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
2024-03-05 19:15:53 +00:00
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
2024-03-05 19:15:53 +00:00
security:
- Bearer: []
summary: update UserRoleAccesses
tags:
- UserRoleAccesses
/user-role-level-details:
get:
description: API for getting all UserRoleLevelDetails
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.Response'
"404":
description: Not Found
schema:
$ref: '#/definitions/response.Response'
"422":
description: Unprocessable Entity
schema:
$ref: '#/definitions/response.Response'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.Response'
security:
- Bearer: []
summary: Get all UserRoleLevelDetails
tags:
- Task
post:
description: API for create UserRoleLevelDetails
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.Response'
"404":
description: Not Found
schema:
$ref: '#/definitions/response.Response'
"422":
description: Unprocessable Entity
schema:
$ref: '#/definitions/response.Response'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.Response'
security:
- Bearer: []
summary: Create UserRoleLevelDetails
tags:
- Task
2024-07-03 05:19:57 +00:00
/user-role-level-details/{id}:
delete:
description: API for delete UserRoleLevelDetails
parameters:
- description: UserRoleLevelDetails ID
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.Response'
"404":
description: Not Found
schema:
$ref: '#/definitions/response.Response'
"422":
description: Unprocessable Entity
schema:
$ref: '#/definitions/response.Response'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.Response'
security:
- Bearer: []
summary: delete UserRoleLevelDetails
tags:
- Task
get:
description: API for getting one UserRoleLevelDetails
parameters:
- description: UserRoleLevelDetails ID
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.Response'
"404":
description: Not Found
schema:
$ref: '#/definitions/response.Response'
"422":
description: Unprocessable Entity
schema:
$ref: '#/definitions/response.Response'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.Response'
security:
- Bearer: []
summary: Get one UserRoleLevelDetails
tags:
- Task
put:
description: API for update UserRoleLevelDetails
parameters:
- description: UserRoleLevelDetails ID
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.Response'
"404":
description: Not Found
schema:
$ref: '#/definitions/response.Response'
"422":
description: Unprocessable Entity
schema:
$ref: '#/definitions/response.Response'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.Response'
security:
- Bearer: []
summary: update UserRoleLevelDetails
tags:
- Task
2024-03-05 19:15:53 +00:00
/user-roles:
get:
description: API for getting all UserRoles
parameters:
- in: query
name: code
type: string
- in: query
name: description
type: string
- in: query
name: name
type: string
- in: query
name: statusId
type: integer
2024-05-12 08:21:52 +00:00
- in: query
name: userLevelId
type: integer
- in: query
name: count
type: integer
- in: query
name: limit
type: integer
- in: query
name: nextPage
type: integer
- in: query
name: page
type: integer
- in: query
name: previousPage
type: integer
- in: query
name: sort
type: string
- in: query
name: sortBy
type: string
- in: query
name: totalPage
type: integer
2024-03-05 19:15:53 +00:00
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
2024-03-05 19:15:53 +00:00
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
2024-03-05 19:15:53 +00:00
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
2024-03-05 19:15:53 +00:00
security:
- Bearer: []
summary: Get all UserRoles
tags:
- UserRoles
2024-03-05 19:15:53 +00:00
post:
description: API for create UserRoles
parameters:
- default: Bearer <Add access token here>
description: Insert your access token
in: header
name: Authorization
required: true
type: string
- description: Required payload
in: body
name: payload
required: true
schema:
$ref: '#/definitions/request.UserRolesCreateRequest'
2024-03-05 19:15:53 +00:00
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
2024-03-05 19:15:53 +00:00
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
2024-03-05 19:15:53 +00:00
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
2024-03-05 19:15:53 +00:00
security:
- Bearer: []
summary: Create UserRoles
tags:
- UserRoles
2024-03-05 19:15:53 +00:00
/user-roles/{id}:
delete:
description: API for delete UserRoles
parameters:
- description: UserRoles ID
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
2024-03-05 19:15:53 +00:00
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
2024-03-05 19:15:53 +00:00
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
2024-03-05 19:15:53 +00:00
security:
- Bearer: []
summary: delete UserRoles
tags:
- UserRoles
2024-03-05 19:15:53 +00:00
get:
description: API for getting one UserRoles
parameters:
- description: UserRoles ID
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
2024-03-05 19:15:53 +00:00
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
2024-03-05 19:15:53 +00:00
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
2024-03-05 19:15:53 +00:00
security:
- Bearer: []
summary: Get one UserRoles
tags:
- UserRoles
2024-03-05 19:15:53 +00:00
put:
description: API for update UserRoles
parameters:
- description: Required payload
in: body
name: payload
required: true
schema:
$ref: '#/definitions/request.UserRolesUpdateRequest'
2024-03-05 19:15:53 +00:00
- description: UserRoles ID
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
2024-03-05 19:15:53 +00:00
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
2024-03-05 19:15:53 +00:00
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
2024-03-05 19:15:53 +00:00
security:
- Bearer: []
summary: update UserRoles
tags:
- UserRoles
2024-03-05 19:15:53 +00:00
/users:
get:
description: API for getting all Users
parameters:
- in: query
name: email
type: string
- in: query
name: fullname
type: string
- in: query
name: genderType
type: string
- in: query
name: identityGroup
type: string
- in: query
name: identityGroupNumber
type: string
- in: query
name: identityNumber
type: string
- in: query
name: identityType
type: string
- in: query
name: phoneNumber
type: string
- in: query
name: statusId
type: integer
- in: query
name: userRoleId
type: integer
- in: query
name: username
type: string
- in: query
name: workType
type: string
- in: query
name: count
type: integer
- in: query
name: limit
type: integer
- in: query
name: nextPage
type: integer
- in: query
name: page
type: integer
- in: query
name: previousPage
type: integer
- in: query
name: sort
type: string
- in: query
name: sortBy
type: string
- in: query
name: totalPage
type: integer
2024-03-05 19:15:53 +00:00
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
2024-03-05 19:15:53 +00:00
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
2024-03-05 19:15:53 +00:00
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
2024-03-05 19:15:53 +00:00
security:
- Bearer: []
summary: Get all Users
tags:
- Users
2024-03-05 19:15:53 +00:00
post:
description: API for create Users
parameters:
- default: Bearer <Add access token here>
description: Insert your access token
in: header
name: Authorization
type: string
- description: Required payload
in: body
name: payload
required: true
schema:
$ref: '#/definitions/request.UsersCreateRequest'
2024-03-05 19:15:53 +00:00
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
2024-03-05 19:15:53 +00:00
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
2024-03-05 19:15:53 +00:00
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
2024-03-05 19:15:53 +00:00
security:
- Bearer: []
summary: Create Users
tags:
- Users
2024-03-05 19:15:53 +00:00
/users/{id}:
delete:
description: API for delete Users
parameters:
- description: Users ID
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
2024-03-05 19:15:53 +00:00
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
2024-03-05 19:15:53 +00:00
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
2024-03-05 19:15:53 +00:00
security:
- Bearer: []
summary: delete Users
tags:
- Users
2024-07-02 17:46:52 +00:00
put:
description: API for update Users
2024-03-05 19:15:53 +00:00
parameters:
2024-07-02 17:46:52 +00:00
- description: Required payload
in: body
name: payload
required: true
schema:
$ref: '#/definitions/request.UsersUpdateRequest'
2024-03-05 19:15:53 +00:00
- description: Users ID
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
2024-03-05 19:15:53 +00:00
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
2024-03-05 19:15:53 +00:00
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
2024-03-05 19:15:53 +00:00
security:
- Bearer: []
2024-07-02 17:46:52 +00:00
summary: update Users
2024-03-05 19:15:53 +00:00
tags:
- Users
2024-07-02 17:46:52 +00:00
/users/detail/{id}:
get:
description: API for getting one Users
2024-03-05 19:15:53 +00:00
parameters:
- description: Users ID
in: path
name: id
required: true
type: integer
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
2024-03-05 19:15:53 +00:00
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
2024-03-05 19:15:53 +00:00
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
2024-03-05 19:15:53 +00:00
security:
- Bearer: []
2024-07-02 17:46:52 +00:00
summary: Get one Users
tags:
- Users
/users/forgot-password:
post:
description: API for ForgotPassword Users
parameters:
- description: Required payload
in: body
name: payload
required: true
schema:
$ref: '#/definitions/request.UserForgotPassword'
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
security:
- Bearer: []
summary: ForgotPassword Users
tags:
- Users
2024-07-02 17:46:52 +00:00
/users/info:
get:
description: API for ShowUserInfo
parameters:
- default: Bearer <Add access token here>
description: Insert your access token
in: header
name: Authorization
required: true
type: string
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
security:
- Bearer: []
summary: ShowInfo Users
2024-03-05 19:15:53 +00:00
tags:
- Users
/users/login:
post:
description: API for Login Users
parameters:
- description: Required payload
in: body
name: payload
required: true
schema:
$ref: '#/definitions/request.UserLogin'
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
security:
- Bearer: []
summary: Login Users
tags:
- Users
/users/otp-request:
post:
description: API for OtpRequest Users
parameters:
- description: Required payload
in: body
name: payload
required: true
schema:
$ref: '#/definitions/request.UserOtpRequest'
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
security:
- Bearer: []
summary: OtpRequest Users
tags:
- Users
/users/otp-validation:
post:
description: API for OtpValidation Users
parameters:
- description: Required payload
in: body
name: payload
required: true
schema:
$ref: '#/definitions/request.UserOtpValidation'
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
security:
- Bearer: []
summary: OtpValidation Users
tags:
- Users
/users/pareto-login:
post:
description: API for ParetoLogin Users
parameters:
- description: Required payload
in: body
name: payload
required: true
schema:
$ref: '#/definitions/request.UserLogin'
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
security:
- Bearer: []
summary: ParetoLogin Users
tags:
- Users
/users/reset-password:
post:
description: API for ResetPassword Users
parameters:
- description: Required payload
in: body
name: payload
required: true
schema:
$ref: '#/definitions/request.UserResetPassword'
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
security:
- Bearer: []
summary: ResetPassword Users
tags:
- Users
/users/save-password:
post:
description: API for SavePassword Users
parameters:
2025-01-24 04:06:55 +00:00
- default: Bearer <Add access token here>
description: Insert your access token
in: header
name: Authorization
required: true
type: string
- description: Required payload
in: body
name: payload
required: true
schema:
$ref: '#/definitions/request.UserSavePassword'
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
security:
- Bearer: []
summary: SavePassword Users
tags:
- Users
2025-02-14 01:17:59 +00:00
/users/username/{username}:
get:
description: API for getting one Users
parameters:
- description: Username
in: path
name: username
required: true
type: string
responses:
"200":
description: OK
schema:
$ref: '#/definitions/response.Response'
"400":
description: Bad Request
schema:
$ref: '#/definitions/response.BadRequestError'
"401":
description: Unauthorized
schema:
$ref: '#/definitions/response.UnauthorizedError'
"500":
description: Internal Server Error
schema:
$ref: '#/definitions/response.InternalServerError'
security:
- Bearer: []
summary: Get one Users
tags:
- Users
2024-03-05 19:15:53 +00:00
swagger: "2.0"