feat: update client key on header in all controller
This commit is contained in:
parent
fde36e45b1
commit
3696ea1d07
|
|
@ -39,6 +39,7 @@ func NewActivityLogsController(activityLogsService service.ActivityLogsService,
|
||||||
// @Description API for getting all ActivityLogs
|
// @Description API for getting all ActivityLogs
|
||||||
// @Tags ActivityLogs
|
// @Tags ActivityLogs
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param req query request.ActivityLogsQueryRequest false "query parameters"
|
// @Param req query request.ActivityLogsQueryRequest false "query parameters"
|
||||||
// @Param req query paginator.Pagination false "pagination parameters"
|
// @Param req query paginator.Pagination false "pagination parameters"
|
||||||
// @Success 200 {object} response.Response
|
// @Success 200 {object} response.Response
|
||||||
|
|
@ -81,6 +82,7 @@ func (_i *activityLogsController) All(c *fiber.Ctx) error {
|
||||||
// @Description API for getting one ActivityLogs
|
// @Description API for getting one ActivityLogs
|
||||||
// @Tags ActivityLogs
|
// @Tags ActivityLogs
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param id path int true "ActivityLogs ID"
|
// @Param id path int true "ActivityLogs ID"
|
||||||
// @Success 200 {object} response.Response
|
// @Success 200 {object} response.Response
|
||||||
// @Failure 400 {object} response.BadRequestError
|
// @Failure 400 {object} response.BadRequestError
|
||||||
|
|
@ -112,6 +114,7 @@ func (_i *activityLogsController) Show(c *fiber.Ctx) error {
|
||||||
// @Description API for create ActivityLogs
|
// @Description API for create ActivityLogs
|
||||||
// @Tags ActivityLogs
|
// @Tags ActivityLogs
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
||||||
// @Param Authorization header string false "Insert your access token" default(Bearer <Add access token here>)
|
// @Param Authorization header string false "Insert your access token" default(Bearer <Add access token here>)
|
||||||
// @Param payload body request.ActivityLogsCreateRequest true "Required payload"
|
// @Param payload body request.ActivityLogsCreateRequest true "Required payload"
|
||||||
|
|
@ -154,6 +157,7 @@ func (_i *activityLogsController) Save(c *fiber.Ctx) error {
|
||||||
// @Description API for update ActivityLogs
|
// @Description API for update ActivityLogs
|
||||||
// @Tags ActivityLogs
|
// @Tags ActivityLogs
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
||||||
// @Param payload body request.ActivityLogsUpdateRequest true "Required payload"
|
// @Param payload body request.ActivityLogsUpdateRequest true "Required payload"
|
||||||
// @Param id path int true "ActivityLogs ID"
|
// @Param id path int true "ActivityLogs ID"
|
||||||
|
|
@ -191,6 +195,7 @@ func (_i *activityLogsController) Update(c *fiber.Ctx) error {
|
||||||
// @Description API for delete ActivityLogs
|
// @Description API for delete ActivityLogs
|
||||||
// @Tags ActivityLogs
|
// @Tags ActivityLogs
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
||||||
// @Param id path int true "ActivityLogs ID"
|
// @Param id path int true "ActivityLogs ID"
|
||||||
// @Success 200 {object} response.Response
|
// @Success 200 {object} response.Response
|
||||||
|
|
@ -222,6 +227,7 @@ func (_i *activityLogsController) Delete(c *fiber.Ctx) error {
|
||||||
// @Description API for get activity stats ActivityLogs
|
// @Description API for get activity stats ActivityLogs
|
||||||
// @Tags ActivityLogs
|
// @Tags ActivityLogs
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Success 200 {object} response.Response
|
// @Success 200 {object} response.Response
|
||||||
// @Failure 400 {object} response.BadRequestError
|
// @Failure 400 {object} response.BadRequestError
|
||||||
// @Failure 401 {object} response.UnauthorizedError
|
// @Failure 401 {object} response.UnauthorizedError
|
||||||
|
|
|
||||||
|
|
@ -41,6 +41,7 @@ func NewAdvertisementController(advertisementService service.AdvertisementServic
|
||||||
// @Description API for getting all Advertisement
|
// @Description API for getting all Advertisement
|
||||||
// @Tags Advertisement
|
// @Tags Advertisement
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param req query request.AdvertisementQueryRequest false "query parameters"
|
// @Param req query request.AdvertisementQueryRequest false "query parameters"
|
||||||
// @Param req query paginator.Pagination false "pagination parameters"
|
// @Param req query paginator.Pagination false "pagination parameters"
|
||||||
// @Success 200 {object} response.Response
|
// @Success 200 {object} response.Response
|
||||||
|
|
@ -84,6 +85,7 @@ func (_i *advertisementController) All(c *fiber.Ctx) error {
|
||||||
// @Description API for getting one Advertisement
|
// @Description API for getting one Advertisement
|
||||||
// @Tags Advertisement
|
// @Tags Advertisement
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param id path int true "Advertisement ID"
|
// @Param id path int true "Advertisement ID"
|
||||||
// @Success 200 {object} response.Response
|
// @Success 200 {object} response.Response
|
||||||
// @Failure 400 {object} response.BadRequestError
|
// @Failure 400 {object} response.BadRequestError
|
||||||
|
|
@ -115,8 +117,9 @@ func (_i *advertisementController) Show(c *fiber.Ctx) error {
|
||||||
// @Description API for create Advertisement
|
// @Description API for create Advertisement
|
||||||
// @Tags Advertisement
|
// @Tags Advertisement
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
||||||
// @Param Authorization header string true "Insert your access token" default(Bearer <Add access token here>)
|
// @Param Authorization header string false "Insert your access token" default(Bearer <Add access token here>)
|
||||||
// @Param payload body request.AdvertisementCreateRequest true "Required payload"
|
// @Param payload body request.AdvertisementCreateRequest true "Required payload"
|
||||||
// @Success 200 {object} response.Response
|
// @Success 200 {object} response.Response
|
||||||
// @Failure 400 {object} response.BadRequestError
|
// @Failure 400 {object} response.BadRequestError
|
||||||
|
|
@ -149,6 +152,7 @@ func (_i *advertisementController) Save(c *fiber.Ctx) error {
|
||||||
// @Tags Advertisement
|
// @Tags Advertisement
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
// @Produce json
|
// @Produce json
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
||||||
// @Param file formData file true "Upload file" multiple false
|
// @Param file formData file true "Upload file" multiple false
|
||||||
// @Param id path int true "Advertisement ID"
|
// @Param id path int true "Advertisement ID"
|
||||||
|
|
@ -181,6 +185,7 @@ func (_i *advertisementController) Upload(c *fiber.Ctx) error {
|
||||||
// @Description API for update Advertisement
|
// @Description API for update Advertisement
|
||||||
// @Tags Advertisement
|
// @Tags Advertisement
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
||||||
// @Param payload body request.AdvertisementUpdateRequest true "Required payload"
|
// @Param payload body request.AdvertisementUpdateRequest true "Required payload"
|
||||||
// @Param id path int true "Advertisement ID"
|
// @Param id path int true "Advertisement ID"
|
||||||
|
|
@ -218,8 +223,9 @@ func (_i *advertisementController) Update(c *fiber.Ctx) error {
|
||||||
// @Description API for Update Publish Advertisement
|
// @Description API for Update Publish Advertisement
|
||||||
// @Tags Advertisement
|
// @Tags Advertisement
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
||||||
// @Param Authorization header string true "Insert your access token" default(Bearer <Add access token here>)
|
// @Param Authorization header string false "Insert your access token" default(Bearer <Add access token here>)
|
||||||
// @Param id path int true "Advertisement ID"
|
// @Param id path int true "Advertisement ID"
|
||||||
// @Param isPublish query bool true "Advertisement Publish Status"
|
// @Param isPublish query bool true "Advertisement Publish Status"
|
||||||
// @Success 200 {object} response.Response
|
// @Success 200 {object} response.Response
|
||||||
|
|
@ -256,6 +262,7 @@ func (_i *advertisementController) UpdatePublish(c *fiber.Ctx) error {
|
||||||
// @Description API for delete Advertisement
|
// @Description API for delete Advertisement
|
||||||
// @Tags Advertisement
|
// @Tags Advertisement
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
||||||
// @Param id path int true "Advertisement ID"
|
// @Param id path int true "Advertisement ID"
|
||||||
// @Success 200 {object} response.Response
|
// @Success 200 {object} response.Response
|
||||||
|
|
@ -287,6 +294,7 @@ func (_i *advertisementController) Delete(c *fiber.Ctx) error {
|
||||||
// @Description API for Viewer Advertisement
|
// @Description API for Viewer Advertisement
|
||||||
// @Tags Advertisement
|
// @Tags Advertisement
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param filename path string true "Content File Name"
|
// @Param filename path string true "Content File Name"
|
||||||
// @Success 200 {object} response.Response
|
// @Success 200 {object} response.Response
|
||||||
// @Failure 400 {object} response.BadRequestError
|
// @Failure 400 {object} response.BadRequestError
|
||||||
|
|
|
||||||
|
|
@ -108,8 +108,9 @@ func (_i *articleApprovalsController) Show(c *fiber.Ctx) error {
|
||||||
// @Description API for create ArticleApprovals
|
// @Description API for create ArticleApprovals
|
||||||
// @Tags ArticleApprovals
|
// @Tags ArticleApprovals
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
||||||
// @Param Authorization header string true "Insert your access token" default(Bearer <Add access token here>)
|
// @Param Authorization header string false "Insert your access token" default(Bearer <Add access token here>)
|
||||||
// @Param payload body request.ArticleApprovalsCreateRequest true "Required payload"
|
// @Param payload body request.ArticleApprovalsCreateRequest true "Required payload"
|
||||||
// @Success 200 {object} response.Response
|
// @Success 200 {object} response.Response
|
||||||
// @Failure 400 {object} response.BadRequestError
|
// @Failure 400 {object} response.BadRequestError
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,8 @@ func NewArticleCategoriesController(articleCategoriesService service.ArticleCate
|
||||||
// @Description API for getting all ArticleCategories
|
// @Description API for getting all ArticleCategories
|
||||||
// @Tags Article Categories
|
// @Tags Article Categories
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
// @Param Authorization header string true "Insert your access token" default(Bearer <Add access token here>)
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
|
// @Param Authorization header string false "Insert your access token" default(Bearer <Add access token here>)
|
||||||
// @Param req query request.ArticleCategoriesQueryRequest false "query parameters"
|
// @Param req query request.ArticleCategoriesQueryRequest false "query parameters"
|
||||||
// @Param req query paginator.Pagination false "pagination parameters"
|
// @Param req query paginator.Pagination false "pagination parameters"
|
||||||
// @Success 200 {object} response.Response
|
// @Success 200 {object} response.Response
|
||||||
|
|
@ -84,6 +85,7 @@ func (_i *articleCategoriesController) All(c *fiber.Ctx) error {
|
||||||
// @Description API for getting one ArticleCategories
|
// @Description API for getting one ArticleCategories
|
||||||
// @Tags Article Categories
|
// @Tags Article Categories
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param id path int true "ArticleCategories ID"
|
// @Param id path int true "ArticleCategories ID"
|
||||||
// @Success 200 {object} response.Response
|
// @Success 200 {object} response.Response
|
||||||
// @Failure 400 {object} response.BadRequestError
|
// @Failure 400 {object} response.BadRequestError
|
||||||
|
|
@ -115,6 +117,7 @@ func (_i *articleCategoriesController) Show(c *fiber.Ctx) error {
|
||||||
// @Description API for getting one ArticleCategories
|
// @Description API for getting one ArticleCategories
|
||||||
// @Tags Article Categories
|
// @Tags Article Categories
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param id path int true "ArticleCategories Old ID"
|
// @Param id path int true "ArticleCategories Old ID"
|
||||||
// @Success 200 {object} response.Response
|
// @Success 200 {object} response.Response
|
||||||
// @Failure 400 {object} response.BadRequestError
|
// @Failure 400 {object} response.BadRequestError
|
||||||
|
|
@ -146,6 +149,7 @@ func (_i *articleCategoriesController) ShowByOldId(c *fiber.Ctx) error {
|
||||||
// @Description API for getting one ArticleCategories
|
// @Description API for getting one ArticleCategories
|
||||||
// @Tags Article Categories
|
// @Tags Article Categories
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param slug path string true "ArticleCategories Slug"
|
// @Param slug path string true "ArticleCategories Slug"
|
||||||
// @Success 200 {object} response.Response
|
// @Success 200 {object} response.Response
|
||||||
// @Failure 400 {object} response.BadRequestError
|
// @Failure 400 {object} response.BadRequestError
|
||||||
|
|
@ -173,8 +177,9 @@ func (_i *articleCategoriesController) ShowBySlug(c *fiber.Ctx) error {
|
||||||
// @Description API for create ArticleCategories
|
// @Description API for create ArticleCategories
|
||||||
// @Tags Article Categories
|
// @Tags Article Categories
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
||||||
// @Param Authorization header string true "Insert your access token" default(Bearer <Add access token here>)
|
// @Param Authorization header string false "Insert your access token" default(Bearer <Add access token here>)
|
||||||
// @Param payload body request.ArticleCategoriesCreateRequest true "Required payload"
|
// @Param payload body request.ArticleCategoriesCreateRequest true "Required payload"
|
||||||
// @Success 200 {object} response.Response
|
// @Success 200 {object} response.Response
|
||||||
// @Failure 400 {object} response.BadRequestError
|
// @Failure 400 {object} response.BadRequestError
|
||||||
|
|
@ -208,6 +213,7 @@ func (_i *articleCategoriesController) Save(c *fiber.Ctx) error {
|
||||||
// @Tags Article Categories
|
// @Tags Article Categories
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
// @Produce json
|
// @Produce json
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
||||||
// @Param files formData file true "Upload thumbnail"
|
// @Param files formData file true "Upload thumbnail"
|
||||||
// @Param id path int true "ArticleCategories ID"
|
// @Param id path int true "ArticleCategories ID"
|
||||||
|
|
@ -234,6 +240,7 @@ func (_i *articleCategoriesController) SaveThumbnail(c *fiber.Ctx) error {
|
||||||
// @Description API for update ArticleCategories
|
// @Description API for update ArticleCategories
|
||||||
// @Tags Article Categories
|
// @Tags Article Categories
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
||||||
// @Param payload body request.ArticleCategoriesUpdateRequest true "Required payload"
|
// @Param payload body request.ArticleCategoriesUpdateRequest true "Required payload"
|
||||||
// @Param id path int true "ArticleCategories ID"
|
// @Param id path int true "ArticleCategories ID"
|
||||||
|
|
@ -270,6 +277,7 @@ func (_i *articleCategoriesController) Update(c *fiber.Ctx) error {
|
||||||
// @Description API for delete ArticleCategories
|
// @Description API for delete ArticleCategories
|
||||||
// @Tags Article Categories
|
// @Tags Article Categories
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
||||||
// @Param id path int true "ArticleCategories ID"
|
// @Param id path int true "ArticleCategories ID"
|
||||||
// @Success 200 {object} response.Response
|
// @Success 200 {object} response.Response
|
||||||
|
|
@ -300,6 +308,7 @@ func (_i *articleCategoriesController) Delete(c *fiber.Ctx) error {
|
||||||
// @Description API for View Thumbnail of ArticleCategories
|
// @Description API for View Thumbnail of ArticleCategories
|
||||||
// @Tags Article Categories
|
// @Tags Article Categories
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param id path string true "ArticleCategories ID"
|
// @Param id path string true "ArticleCategories ID"
|
||||||
// @Success 200 {object} response.Response
|
// @Success 200 {object} response.Response
|
||||||
// @Failure 400 {object} response.BadRequestError
|
// @Failure 400 {object} response.BadRequestError
|
||||||
|
|
|
||||||
|
|
@ -38,6 +38,7 @@ func NewArticleCommentsController(articleCommentsService service.ArticleComments
|
||||||
// @Description API for getting all ArticleComments
|
// @Description API for getting all ArticleComments
|
||||||
// @Tags ArticleComments
|
// @Tags ArticleComments
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param req query request.ArticleCommentsQueryRequest false "query parameters"
|
// @Param req query request.ArticleCommentsQueryRequest false "query parameters"
|
||||||
// @Param req query paginator.Pagination false "pagination parameters"
|
// @Param req query paginator.Pagination false "pagination parameters"
|
||||||
// @Success 200 {object} response.Response
|
// @Success 200 {object} response.Response
|
||||||
|
|
@ -82,6 +83,7 @@ func (_i *articleCommentsController) All(c *fiber.Ctx) error {
|
||||||
// @Description API for getting one ArticleComments
|
// @Description API for getting one ArticleComments
|
||||||
// @Tags ArticleComments
|
// @Tags ArticleComments
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param id path int true "ArticleComments ID"
|
// @Param id path int true "ArticleComments ID"
|
||||||
// @Success 200 {object} response.Response
|
// @Success 200 {object} response.Response
|
||||||
// @Failure 400 {object} response.BadRequestError
|
// @Failure 400 {object} response.BadRequestError
|
||||||
|
|
@ -114,8 +116,9 @@ func (_i *articleCommentsController) Show(c *fiber.Ctx) error {
|
||||||
// @Description API for create ArticleComments
|
// @Description API for create ArticleComments
|
||||||
// @Tags ArticleComments
|
// @Tags ArticleComments
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
||||||
// @Param Authorization header string true "Insert your access token" default(Bearer <Add access token here>)
|
// @Param Authorization header string false "Insert your access token" default(Bearer <Add access token here>)
|
||||||
// @Param payload body request.ArticleCommentsCreateRequest true "Required payload"
|
// @Param payload body request.ArticleCommentsCreateRequest true "Required payload"
|
||||||
// @Success 200 {object} response.Response
|
// @Success 200 {object} response.Response
|
||||||
// @Failure 400 {object} response.BadRequestError
|
// @Failure 400 {object} response.BadRequestError
|
||||||
|
|
@ -149,6 +152,7 @@ func (_i *articleCommentsController) Save(c *fiber.Ctx) error {
|
||||||
// @Description API for update ArticleComments
|
// @Description API for update ArticleComments
|
||||||
// @Tags ArticleComments
|
// @Tags ArticleComments
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
||||||
// @Param payload body request.ArticleCommentsUpdateRequest true "Required payload"
|
// @Param payload body request.ArticleCommentsUpdateRequest true "Required payload"
|
||||||
// @Param id path int true "ArticleComments ID"
|
// @Param id path int true "ArticleComments ID"
|
||||||
|
|
@ -187,6 +191,7 @@ func (_i *articleCommentsController) Update(c *fiber.Ctx) error {
|
||||||
// @Description API for delete ArticleComments
|
// @Description API for delete ArticleComments
|
||||||
// @Tags ArticleComments
|
// @Tags ArticleComments
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
||||||
// @Param id path int true "ArticleComments ID"
|
// @Param id path int true "ArticleComments ID"
|
||||||
// @Success 200 {object} response.Response
|
// @Success 200 {object} response.Response
|
||||||
|
|
@ -219,6 +224,7 @@ func (_i *articleCommentsController) Delete(c *fiber.Ctx) error {
|
||||||
// @Description API for Approval ArticleComments
|
// @Description API for Approval ArticleComments
|
||||||
// @Tags ArticleComments
|
// @Tags ArticleComments
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
||||||
// @Param payload body request.ArticleCommentsApprovalRequest true "Required payload"
|
// @Param payload body request.ArticleCommentsApprovalRequest true "Required payload"
|
||||||
// @Success 200 {object} response.Response
|
// @Success 200 {object} response.Response
|
||||||
|
|
|
||||||
|
|
@ -37,6 +37,7 @@ func NewArticleFilesController(articleFilesService service.ArticleFilesService)
|
||||||
// @Description API for getting all ArticleFiles
|
// @Description API for getting all ArticleFiles
|
||||||
// @Tags Article Files
|
// @Tags Article Files
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param req query request.ArticleFilesQueryRequest false "query parameters"
|
// @Param req query request.ArticleFilesQueryRequest false "query parameters"
|
||||||
// @Param req query paginator.Pagination false "pagination parameters"
|
// @Param req query paginator.Pagination false "pagination parameters"
|
||||||
// @Success 200 {object} response.Response
|
// @Success 200 {object} response.Response
|
||||||
|
|
@ -80,6 +81,7 @@ func (_i *articleFilesController) All(c *fiber.Ctx) error {
|
||||||
// @Description API for getting one ArticleFiles
|
// @Description API for getting one ArticleFiles
|
||||||
// @Tags Article Files
|
// @Tags Article Files
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param id path int true "ArticleFiles ID"
|
// @Param id path int true "ArticleFiles ID"
|
||||||
// @Success 200 {object} response.Response
|
// @Success 200 {object} response.Response
|
||||||
// @Failure 400 {object} response.BadRequestError
|
// @Failure 400 {object} response.BadRequestError
|
||||||
|
|
@ -113,6 +115,7 @@ func (_i *articleFilesController) Show(c *fiber.Ctx) error {
|
||||||
// @Tags Article Files
|
// @Tags Article Files
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
// @Produce json
|
// @Produce json
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
||||||
// @Param files formData file true "Upload file" multiple true
|
// @Param files formData file true "Upload file" multiple true
|
||||||
// @Param articleId path int true "Article ID"
|
// @Param articleId path int true "Article ID"
|
||||||
|
|
@ -146,6 +149,7 @@ func (_i *articleFilesController) Save(c *fiber.Ctx) error {
|
||||||
// @Description API for update ArticleFiles
|
// @Description API for update ArticleFiles
|
||||||
// @Tags Article Files
|
// @Tags Article Files
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
||||||
// @Param payload body request.ArticleFilesUpdateRequest true "Required payload"
|
// @Param payload body request.ArticleFilesUpdateRequest true "Required payload"
|
||||||
// @Param id path int true "ArticleFiles ID"
|
// @Param id path int true "ArticleFiles ID"
|
||||||
|
|
@ -184,6 +188,7 @@ func (_i *articleFilesController) Update(c *fiber.Ctx) error {
|
||||||
// @Description API for delete ArticleFiles
|
// @Description API for delete ArticleFiles
|
||||||
// @Tags Article Files
|
// @Tags Article Files
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
||||||
// @Param id path int true "ArticleFiles ID"
|
// @Param id path int true "ArticleFiles ID"
|
||||||
// @Success 200 {object} response.Response
|
// @Success 200 {object} response.Response
|
||||||
|
|
@ -216,6 +221,7 @@ func (_i *articleFilesController) Delete(c *fiber.Ctx) error {
|
||||||
// @Description API for Viewer ArticleFiles
|
// @Description API for Viewer ArticleFiles
|
||||||
// @Tags Article Files
|
// @Tags Article Files
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param filename path string true "Article File Name"
|
// @Param filename path string true "Article File Name"
|
||||||
// @Success 200 {object} response.Response
|
// @Success 200 {object} response.Response
|
||||||
// @Failure 400 {object} response.BadRequestError
|
// @Failure 400 {object} response.BadRequestError
|
||||||
|
|
|
||||||
|
|
@ -164,7 +164,7 @@ func (_i *articlesController) ShowByOldId(c *fiber.Ctx) error {
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param X-Csrf-Token header string false "Insert the X-Csrf-Token"
|
// @Param X-Csrf-Token header string false "Insert the X-Csrf-Token"
|
||||||
// @Param Authorization header string true "Insert your access token" default(Bearer <Add access token here>)
|
// @Param Authorization header string false "Insert your access token" default(Bearer <Add access token here>)
|
||||||
// @Param payload body request.ArticlesCreateRequest true "Required payload"
|
// @Param payload body request.ArticlesCreateRequest true "Required payload"
|
||||||
// @Success 200 {object} response.Response
|
// @Success 200 {object} response.Response
|
||||||
// @Failure 400 {object} response.BadRequestError
|
// @Failure 400 {object} response.BadRequestError
|
||||||
|
|
@ -354,7 +354,7 @@ func (_i *articlesController) Viewer(c *fiber.Ctx) error {
|
||||||
// @Description API for Summary Stats of Article
|
// @Description API for Summary Stats of Article
|
||||||
// @Tags Articles
|
// @Tags Articles
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
// @Param Authorization header string true "Insert your access token" default(Bearer <Add access token here>)
|
// @Param Authorization header string false "Insert your access token" default(Bearer <Add access token here>)
|
||||||
// @Success 200 {object} response.Response
|
// @Success 200 {object} response.Response
|
||||||
// @Failure 400 {object} response.BadRequestError
|
// @Failure 400 {object} response.BadRequestError
|
||||||
// @Failure 401 {object} response.UnauthorizedError
|
// @Failure 401 {object} response.UnauthorizedError
|
||||||
|
|
@ -383,7 +383,7 @@ func (_i *articlesController) SummaryStats(c *fiber.Ctx) error {
|
||||||
// @Description API for ArticlePerUserLevelStats of Article
|
// @Description API for ArticlePerUserLevelStats of Article
|
||||||
// @Tags Articles
|
// @Tags Articles
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
// @Param Authorization header string true "Insert your access token" default(Bearer <Add access token here>)
|
// @Param Authorization header string false "Insert your access token" default(Bearer <Add access token here>)
|
||||||
// @Param startDate query string false "start date"
|
// @Param startDate query string false "start date"
|
||||||
// @Param endDate query string false "start date"
|
// @Param endDate query string false "start date"
|
||||||
// @Success 200 {object} response.Response
|
// @Success 200 {object} response.Response
|
||||||
|
|
@ -416,7 +416,7 @@ func (_i *articlesController) ArticlePerUserLevelStats(c *fiber.Ctx) error {
|
||||||
// @Description API for ArticleMonthlyStats of Article
|
// @Description API for ArticleMonthlyStats of Article
|
||||||
// @Tags Articles
|
// @Tags Articles
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
// @Param Authorization header string true "Insert your access token" default(Bearer <Add access token here>)
|
// @Param Authorization header string false "Insert your access token" default(Bearer <Add access token here>)
|
||||||
// @Param year query int false "year"
|
// @Param year query int false "year"
|
||||||
// @Success 200 {object} response.Response
|
// @Success 200 {object} response.Response
|
||||||
// @Failure 400 {object} response.BadRequestError
|
// @Failure 400 {object} response.BadRequestError
|
||||||
|
|
@ -452,7 +452,7 @@ func (_i *articlesController) ArticleMonthlyStats(c *fiber.Ctx) error {
|
||||||
// @Tags Articles
|
// @Tags Articles
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
||||||
// @Param Authorization header string true "Insert your access token" default(Bearer <Add access token here>)
|
// @Param Authorization header string false "Insert your access token" default(Bearer <Add access token here>)
|
||||||
// @Param id query int false "article id"
|
// @Param id query int false "article id"
|
||||||
// @Param date query string false "publish date"
|
// @Param date query string false "publish date"
|
||||||
// @Success 200 {object} response.Response
|
// @Success 200 {object} response.Response
|
||||||
|
|
|
||||||
|
|
@ -105,7 +105,7 @@ func (_i *clientsController) Show(c *fiber.Ctx) error {
|
||||||
// @Description API for create Clients
|
// @Description API for create Clients
|
||||||
// @Tags Clients
|
// @Tags Clients
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
// @Param Authorization header string true "Insert your access token" default(Bearer <Add access token here>)
|
// @Param Authorization header string false "Insert your access token" default(Bearer <Add access token here>)
|
||||||
// @Param payload body request.ClientsCreateRequest true "Required payload"
|
// @Param payload body request.ClientsCreateRequest true "Required payload"
|
||||||
// @Success 200 {object} response.Response
|
// @Success 200 {object} response.Response
|
||||||
// @Failure 400 {object} response.BadRequestError
|
// @Failure 400 {object} response.BadRequestError
|
||||||
|
|
|
||||||
|
|
@ -39,6 +39,7 @@ func NewCustomStaticPagesController(customStaticPagesService service.CustomStati
|
||||||
// @Description API for getting all CustomStaticPages
|
// @Description API for getting all CustomStaticPages
|
||||||
// @Tags CustomStaticPages
|
// @Tags CustomStaticPages
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param req query request.CustomStaticPagesQueryRequest false "query parameters"
|
// @Param req query request.CustomStaticPagesQueryRequest false "query parameters"
|
||||||
// @Param req query paginator.Pagination false "pagination parameters"
|
// @Param req query paginator.Pagination false "pagination parameters"
|
||||||
// @Success 200 {object} response.Response
|
// @Success 200 {object} response.Response
|
||||||
|
|
@ -82,6 +83,7 @@ func (_i *customStaticPagesController) All(c *fiber.Ctx) error {
|
||||||
// @Description API for getting one CustomStaticPages
|
// @Description API for getting one CustomStaticPages
|
||||||
// @Tags CustomStaticPages
|
// @Tags CustomStaticPages
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param id path int true "CustomStaticPages ID"
|
// @Param id path int true "CustomStaticPages ID"
|
||||||
// @Success 200 {object} response.Response
|
// @Success 200 {object} response.Response
|
||||||
// @Failure 400 {object} response.BadRequestError
|
// @Failure 400 {object} response.BadRequestError
|
||||||
|
|
@ -114,6 +116,7 @@ func (_i *customStaticPagesController) Show(c *fiber.Ctx) error {
|
||||||
// @Description API for getting one CustomStaticPages
|
// @Description API for getting one CustomStaticPages
|
||||||
// @Tags CustomStaticPages
|
// @Tags CustomStaticPages
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param slug path string true "CustomStaticPages Slug"
|
// @Param slug path string true "CustomStaticPages Slug"
|
||||||
// @Success 200 {object} response.Response
|
// @Success 200 {object} response.Response
|
||||||
// @Failure 400 {object} response.BadRequestError
|
// @Failure 400 {object} response.BadRequestError
|
||||||
|
|
@ -143,6 +146,7 @@ func (_i *customStaticPagesController) ShowBySlug(c *fiber.Ctx) error {
|
||||||
// @Description API for create CustomStaticPages
|
// @Description API for create CustomStaticPages
|
||||||
// @Tags CustomStaticPages
|
// @Tags CustomStaticPages
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
||||||
// @Param payload body request.CustomStaticPagesCreateRequest true "Required payload"
|
// @Param payload body request.CustomStaticPagesCreateRequest true "Required payload"
|
||||||
// @Success 200 {object} response.Response
|
// @Success 200 {object} response.Response
|
||||||
|
|
@ -177,6 +181,7 @@ func (_i *customStaticPagesController) Save(c *fiber.Ctx) error {
|
||||||
// @Description API for update CustomStaticPages
|
// @Description API for update CustomStaticPages
|
||||||
// @Tags CustomStaticPages
|
// @Tags CustomStaticPages
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
||||||
// @Param payload body request.CustomStaticPagesUpdateRequest true "Required payload"
|
// @Param payload body request.CustomStaticPagesUpdateRequest true "Required payload"
|
||||||
// @Param id path int true "CustomStaticPages ID"
|
// @Param id path int true "CustomStaticPages ID"
|
||||||
|
|
@ -215,6 +220,7 @@ func (_i *customStaticPagesController) Update(c *fiber.Ctx) error {
|
||||||
// @Description API for delete CustomStaticPages
|
// @Description API for delete CustomStaticPages
|
||||||
// @Tags CustomStaticPages
|
// @Tags CustomStaticPages
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
||||||
// @Param id path int true "CustomStaticPages ID"
|
// @Param id path int true "CustomStaticPages ID"
|
||||||
// @Success 200 {object} response.Response
|
// @Success 200 {object} response.Response
|
||||||
|
|
|
||||||
|
|
@ -38,6 +38,7 @@ func NewFeedbacksController(feedbacksService service.FeedbacksService, log zerol
|
||||||
// @Description API for getting all Feedbacks
|
// @Description API for getting all Feedbacks
|
||||||
// @Tags Feedbacks
|
// @Tags Feedbacks
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param req query request.FeedbacksQueryRequest false "query parameters"
|
// @Param req query request.FeedbacksQueryRequest false "query parameters"
|
||||||
// @Param req query paginator.Pagination false "pagination parameters"
|
// @Param req query paginator.Pagination false "pagination parameters"
|
||||||
// @Success 200 {object} response.Response
|
// @Success 200 {object} response.Response
|
||||||
|
|
@ -81,6 +82,7 @@ func (_i *feedbacksController) All(c *fiber.Ctx) error {
|
||||||
// @Description API for getting one Feedbacks
|
// @Description API for getting one Feedbacks
|
||||||
// @Tags Feedbacks
|
// @Tags Feedbacks
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param id path int true "Feedbacks ID"
|
// @Param id path int true "Feedbacks ID"
|
||||||
// @Success 200 {object} response.Response
|
// @Success 200 {object} response.Response
|
||||||
// @Failure 400 {object} response.BadRequestError
|
// @Failure 400 {object} response.BadRequestError
|
||||||
|
|
@ -113,8 +115,9 @@ func (_i *feedbacksController) Show(c *fiber.Ctx) error {
|
||||||
// @Description API for create Feedbacks
|
// @Description API for create Feedbacks
|
||||||
// @Tags Feedbacks
|
// @Tags Feedbacks
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
||||||
// @Param Authorization header string true "Insert your access token" default(Bearer <Add access token here>)
|
// @Param Authorization header string false "Insert your access token" default(Bearer <Add access token here>)
|
||||||
// @Param payload body request.FeedbacksCreateRequest true "Required payload"
|
// @Param payload body request.FeedbacksCreateRequest true "Required payload"
|
||||||
// @Success 200 {object} response.Response
|
// @Success 200 {object} response.Response
|
||||||
// @Failure 400 {object} response.BadRequestError
|
// @Failure 400 {object} response.BadRequestError
|
||||||
|
|
@ -149,6 +152,7 @@ func (_i *feedbacksController) Save(c *fiber.Ctx) error {
|
||||||
// @Description API for update Feedbacks
|
// @Description API for update Feedbacks
|
||||||
// @Tags Feedbacks
|
// @Tags Feedbacks
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
||||||
// @Param payload body request.FeedbacksUpdateRequest true "Required payload"
|
// @Param payload body request.FeedbacksUpdateRequest true "Required payload"
|
||||||
// @Param id path int true "Feedbacks ID"
|
// @Param id path int true "Feedbacks ID"
|
||||||
|
|
@ -187,6 +191,7 @@ func (_i *feedbacksController) Update(c *fiber.Ctx) error {
|
||||||
// @Description API for delete Feedbacks
|
// @Description API for delete Feedbacks
|
||||||
// @Tags Feedbacks
|
// @Tags Feedbacks
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
||||||
// @Param id path int true "Feedbacks ID"
|
// @Param id path int true "Feedbacks ID"
|
||||||
// @Success 200 {object} response.Response
|
// @Success 200 {object} response.Response
|
||||||
|
|
@ -219,7 +224,8 @@ func (_i *feedbacksController) Delete(c *fiber.Ctx) error {
|
||||||
// @Description API for FeedbackMonthlyStats of Feedbacks
|
// @Description API for FeedbackMonthlyStats of Feedbacks
|
||||||
// @Tags Feedbacks
|
// @Tags Feedbacks
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
// @Param Authorization header string true "Insert your access token" default(Bearer <Add access token here>)
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
|
// @Param Authorization header string false "Insert your access token" default(Bearer <Add access token here>)
|
||||||
// @Param year query int false "year"
|
// @Param year query int false "year"
|
||||||
// @Success 200 {object} response.Response
|
// @Success 200 {object} response.Response
|
||||||
// @Failure 400 {object} response.BadRequestError
|
// @Failure 400 {object} response.BadRequestError
|
||||||
|
|
|
||||||
|
|
@ -37,6 +37,7 @@ func NewMagazinesController(magazinesService service.MagazinesService) Magazines
|
||||||
// @Description API for getting all Magazines
|
// @Description API for getting all Magazines
|
||||||
// @Tags Magazines
|
// @Tags Magazines
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param req query request.MagazinesQueryRequest false "query parameters"
|
// @Param req query request.MagazinesQueryRequest false "query parameters"
|
||||||
// @Param req query paginator.Pagination false "pagination parameters"
|
// @Param req query paginator.Pagination false "pagination parameters"
|
||||||
// @Success 200 {object} response.Response
|
// @Success 200 {object} response.Response
|
||||||
|
|
@ -80,6 +81,7 @@ func (_i *magazinesController) All(c *fiber.Ctx) error {
|
||||||
// @Description API for getting one Magazines
|
// @Description API for getting one Magazines
|
||||||
// @Tags Magazines
|
// @Tags Magazines
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param id path int true "Magazines ID"
|
// @Param id path int true "Magazines ID"
|
||||||
// @Success 200 {object} response.Response
|
// @Success 200 {object} response.Response
|
||||||
// @Failure 400 {object} response.BadRequestError
|
// @Failure 400 {object} response.BadRequestError
|
||||||
|
|
@ -111,8 +113,9 @@ func (_i *magazinesController) Show(c *fiber.Ctx) error {
|
||||||
// @Description API for create Magazines
|
// @Description API for create Magazines
|
||||||
// @Tags Magazines
|
// @Tags Magazines
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
||||||
// @Param Authorization header string true "Insert your access token" default(Bearer <Add access token here>)
|
// @Param Authorization header string false "Insert your access token" default(Bearer <Add access token here>)
|
||||||
// @Param payload body request.MagazinesCreateRequest true "Required payload"
|
// @Param payload body request.MagazinesCreateRequest true "Required payload"
|
||||||
// @Success 200 {object} response.Response
|
// @Success 200 {object} response.Response
|
||||||
// @Failure 400 {object} response.BadRequestError
|
// @Failure 400 {object} response.BadRequestError
|
||||||
|
|
@ -147,6 +150,7 @@ func (_i *magazinesController) Save(c *fiber.Ctx) error {
|
||||||
// @Description API for update Magazines
|
// @Description API for update Magazines
|
||||||
// @Tags Magazines
|
// @Tags Magazines
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
||||||
// @Param id path int true "Magazines ID"
|
// @Param id path int true "Magazines ID"
|
||||||
// @Param payload body request.MagazinesUpdateRequest true "Required payload"
|
// @Param payload body request.MagazinesUpdateRequest true "Required payload"
|
||||||
|
|
@ -185,6 +189,7 @@ func (_i *magazinesController) Update(c *fiber.Ctx) error {
|
||||||
// @Tags Magazines
|
// @Tags Magazines
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
// @Produce json
|
// @Produce json
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
||||||
// @Param id path int true "Magazine ID"
|
// @Param id path int true "Magazine ID"
|
||||||
// @Param files formData file true "Upload thumbnail"
|
// @Param files formData file true "Upload thumbnail"
|
||||||
|
|
@ -213,6 +218,7 @@ func (_i *magazinesController) SaveThumbnail(c *fiber.Ctx) error {
|
||||||
// @Description API for View Thumbnail of Magazines
|
// @Description API for View Thumbnail of Magazines
|
||||||
// @Tags Magazines
|
// @Tags Magazines
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param thumbnailName path string true "Magazines Thumbnail Name"
|
// @Param thumbnailName path string true "Magazines Thumbnail Name"
|
||||||
// @Success 200 {object} response.Response
|
// @Success 200 {object} response.Response
|
||||||
// @Failure 400 {object} response.BadRequestError
|
// @Failure 400 {object} response.BadRequestError
|
||||||
|
|
@ -231,6 +237,7 @@ func (_i *magazinesController) Viewer(c *fiber.Ctx) error {
|
||||||
// @Description API for delete Magazines
|
// @Description API for delete Magazines
|
||||||
// @Tags Magazines
|
// @Tags Magazines
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
||||||
// @Param id path int true "Magazines ID"
|
// @Param id path int true "Magazines ID"
|
||||||
// @Success 200 {object} response.Response
|
// @Success 200 {object} response.Response
|
||||||
|
|
|
||||||
|
|
@ -37,6 +37,7 @@ func NewSubscriptionController(subscriptionService service.SubscriptionService,
|
||||||
// @Description API for getting all Subscription
|
// @Description API for getting all Subscription
|
||||||
// @Tags Subscription
|
// @Tags Subscription
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param req query request.SubscriptionQueryRequest false "query parameters"
|
// @Param req query request.SubscriptionQueryRequest false "query parameters"
|
||||||
// @Param req query paginator.Pagination false "pagination parameters"
|
// @Param req query paginator.Pagination false "pagination parameters"
|
||||||
// @Success 200 {object} response.Response
|
// @Success 200 {object} response.Response
|
||||||
|
|
@ -77,6 +78,7 @@ func (_i *subscriptionController) All(c *fiber.Ctx) error {
|
||||||
// @Description API for getting one Subscription
|
// @Description API for getting one Subscription
|
||||||
// @Tags Subscription
|
// @Tags Subscription
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param id path int true "Subscription ID"
|
// @Param id path int true "Subscription ID"
|
||||||
// @Success 200 {object} response.Response
|
// @Success 200 {object} response.Response
|
||||||
// @Failure 400 {object} response.BadRequestError
|
// @Failure 400 {object} response.BadRequestError
|
||||||
|
|
@ -109,6 +111,7 @@ func (_i *subscriptionController) Show(c *fiber.Ctx) error {
|
||||||
// @Description API for create Subscription
|
// @Description API for create Subscription
|
||||||
// @Tags Subscription
|
// @Tags Subscription
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
||||||
// @Param payload body request.SubscriptionCreateRequest true "Required payload"
|
// @Param payload body request.SubscriptionCreateRequest true "Required payload"
|
||||||
// @Success 200 {object} response.Response
|
// @Success 200 {object} response.Response
|
||||||
|
|
@ -142,6 +145,7 @@ func (_i *subscriptionController) Save(c *fiber.Ctx) error {
|
||||||
// @Description API for update Subscription
|
// @Description API for update Subscription
|
||||||
// @Tags Subscription
|
// @Tags Subscription
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
||||||
// @Param payload body request.SubscriptionUpdateRequest true "Required payload"
|
// @Param payload body request.SubscriptionUpdateRequest true "Required payload"
|
||||||
// @Param id path int true "Subscription ID"
|
// @Param id path int true "Subscription ID"
|
||||||
|
|
@ -180,6 +184,7 @@ func (_i *subscriptionController) Update(c *fiber.Ctx) error {
|
||||||
// @Description API for delete Subscription
|
// @Description API for delete Subscription
|
||||||
// @Tags Subscription
|
// @Tags Subscription
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
||||||
// @Param id path int true "Subscription ID"
|
// @Param id path int true "Subscription ID"
|
||||||
// @Success 200 {object} response.Response
|
// @Success 200 {object} response.Response
|
||||||
|
|
|
||||||
|
|
@ -107,7 +107,7 @@ func (_i *userRolesController) Show(c *fiber.Ctx) error {
|
||||||
// @Tags UserRoles
|
// @Tags UserRoles
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
||||||
// @Param Authorization header string true "Insert your access token" default(Bearer <Add access token here>)
|
// @Param Authorization header string false "Insert your access token" default(Bearer <Add access token here>)
|
||||||
// @Param payload body request.UserRolesCreateRequest true "Required payload"
|
// @Param payload body request.UserRolesCreateRequest true "Required payload"
|
||||||
// @Success 200 {object} response.Response
|
// @Success 200 {object} response.Response
|
||||||
// @Failure 400 {object} response.BadRequestError
|
// @Failure 400 {object} response.BadRequestError
|
||||||
|
|
|
||||||
|
|
@ -47,6 +47,7 @@ func NewUsersController(usersService service.UsersService) UsersController {
|
||||||
// @Description API for getting all Users
|
// @Description API for getting all Users
|
||||||
// @Tags Users
|
// @Tags Users
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param req query request.UsersQueryRequest false "query parameters"
|
// @Param req query request.UsersQueryRequest false "query parameters"
|
||||||
// @Param req query paginator.Pagination false "pagination parameters"
|
// @Param req query paginator.Pagination false "pagination parameters"
|
||||||
// @Success 200 {object} response.Response
|
// @Success 200 {object} response.Response
|
||||||
|
|
@ -98,6 +99,7 @@ func (_i *usersController) All(c *fiber.Ctx) error {
|
||||||
// @Description API for getting one Users
|
// @Description API for getting one Users
|
||||||
// @Tags Users
|
// @Tags Users
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param id path int true "Users ID"
|
// @Param id path int true "Users ID"
|
||||||
// @Success 200 {object} response.Response
|
// @Success 200 {object} response.Response
|
||||||
// @Failure 400 {object} response.BadRequestError
|
// @Failure 400 {object} response.BadRequestError
|
||||||
|
|
@ -130,6 +132,7 @@ func (_i *usersController) Show(c *fiber.Ctx) error {
|
||||||
// @Description API for getting one Users
|
// @Description API for getting one Users
|
||||||
// @Tags Users
|
// @Tags Users
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param username path string true "Username"
|
// @Param username path string true "Username"
|
||||||
// @Success 200 {object} response.Response
|
// @Success 200 {object} response.Response
|
||||||
// @Failure 400 {object} response.BadRequestError
|
// @Failure 400 {object} response.BadRequestError
|
||||||
|
|
@ -159,7 +162,8 @@ func (_i *usersController) ShowByUsername(c *fiber.Ctx) error {
|
||||||
// @Description API for ShowUserInfo
|
// @Description API for ShowUserInfo
|
||||||
// @Tags Users
|
// @Tags Users
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
// @Param Authorization header string true "Insert your access token" default(Bearer <Add access token here>)
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
|
// @Param Authorization header string false "Insert your access token" default(Bearer <Add access token here>)
|
||||||
// @Success 200 {object} response.Response
|
// @Success 200 {object} response.Response
|
||||||
// @Failure 400 {object} response.BadRequestError
|
// @Failure 400 {object} response.BadRequestError
|
||||||
// @Failure 401 {object} response.UnauthorizedError
|
// @Failure 401 {object} response.UnauthorizedError
|
||||||
|
|
@ -188,6 +192,7 @@ func (_i *usersController) ShowInfo(c *fiber.Ctx) error {
|
||||||
// @Description API for create Users
|
// @Description API for create Users
|
||||||
// @Tags Users
|
// @Tags Users
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
||||||
// @Param Authorization header string false "Insert your access token" default(Bearer <Add access token here>)
|
// @Param Authorization header string false "Insert your access token" default(Bearer <Add access token here>)
|
||||||
// @Param payload body request.UsersCreateRequest true "Required payload"
|
// @Param payload body request.UsersCreateRequest true "Required payload"
|
||||||
|
|
@ -224,6 +229,7 @@ func (_i *usersController) Save(c *fiber.Ctx) error {
|
||||||
// @Description API for update Users
|
// @Description API for update Users
|
||||||
// @Tags Users
|
// @Tags Users
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
||||||
// @Param id path int true "Users ID"
|
// @Param id path int true "Users ID"
|
||||||
// @Param payload body request.UsersUpdateRequest true "Required payload"
|
// @Param payload body request.UsersUpdateRequest true "Required payload"
|
||||||
|
|
@ -330,6 +336,7 @@ func (_i *usersController) ParetoLogin(c *fiber.Ctx) error {
|
||||||
// @Description API for delete Users
|
// @Description API for delete Users
|
||||||
// @Tags Users
|
// @Tags Users
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
||||||
// @Param id path int true "Users ID"
|
// @Param id path int true "Users ID"
|
||||||
// @Success 200 {object} response.Response
|
// @Success 200 {object} response.Response
|
||||||
|
|
@ -362,8 +369,9 @@ func (_i *usersController) Delete(c *fiber.Ctx) error {
|
||||||
// @Description API for SavePassword Users
|
// @Description API for SavePassword Users
|
||||||
// @Tags Users
|
// @Tags Users
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
||||||
// @Param Authorization header string true "Insert your access token" default(Bearer <Add access token here>)
|
// @Param Authorization header string false "Insert your access token" default(Bearer <Add access token here>)
|
||||||
// @Param payload body request.UserSavePassword true "Required payload"
|
// @Param payload body request.UserSavePassword true "Required payload"
|
||||||
// @Success 200 {object} response.Response
|
// @Success 200 {object} response.Response
|
||||||
// @Failure 400 {object} response.BadRequestError
|
// @Failure 400 {object} response.BadRequestError
|
||||||
|
|
@ -426,6 +434,7 @@ func (_i *usersController) ResetPassword(c *fiber.Ctx) error {
|
||||||
// @Description API for ForgotPassword Users
|
// @Description API for ForgotPassword Users
|
||||||
// @Tags Users
|
// @Tags Users
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
||||||
// @Param payload body request.UserForgotPassword true "Required payload"
|
// @Param payload body request.UserForgotPassword true "Required payload"
|
||||||
// @Success 200 {object} response.Response
|
// @Success 200 {object} response.Response
|
||||||
|
|
@ -516,6 +525,7 @@ func (_i *usersController) OtpValidation(c *fiber.Ctx) error {
|
||||||
// @Description API for Email Validation Users
|
// @Description API for Email Validation Users
|
||||||
// @Tags Users
|
// @Tags Users
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
||||||
// @Param payload body request.UserEmailValidationRequest true "Required payload"
|
// @Param payload body request.UserEmailValidationRequest true "Required payload"
|
||||||
// @Success 200 {object} response.Response
|
// @Success 200 {object} response.Response
|
||||||
|
|
@ -548,6 +558,7 @@ func (_i *usersController) EmailValidation(c *fiber.Ctx) error {
|
||||||
// @Description API for Setup Email Users
|
// @Description API for Setup Email Users
|
||||||
// @Tags Users
|
// @Tags Users
|
||||||
// @Security Bearer
|
// @Security Bearer
|
||||||
|
// @Param X-Client-Key header string false "Insert the X-Client-Key"
|
||||||
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
// @Param X-Csrf-Token header string true "Insert the X-Csrf-Token"
|
||||||
// @Param payload body request.UserEmailValidationRequest true "Required payload"
|
// @Param payload body request.UserEmailValidationRequest true "Required payload"
|
||||||
// @Success 200 {object} response.Response
|
// @Success 200 {object} response.Response
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
|
@ -971,6 +971,10 @@ paths:
|
||||||
get:
|
get:
|
||||||
description: API for getting all ActivityLogs
|
description: API for getting all ActivityLogs
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: activityTypeId
|
name: activityTypeId
|
||||||
type: integer
|
type: integer
|
||||||
|
|
@ -1032,6 +1036,10 @@ paths:
|
||||||
post:
|
post:
|
||||||
description: API for create ActivityLogs
|
description: API for create ActivityLogs
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- description: Insert the X-Csrf-Token
|
- description: Insert the X-Csrf-Token
|
||||||
in: header
|
in: header
|
||||||
name: X-Csrf-Token
|
name: X-Csrf-Token
|
||||||
|
|
@ -1074,6 +1082,10 @@ paths:
|
||||||
delete:
|
delete:
|
||||||
description: API for delete ActivityLogs
|
description: API for delete ActivityLogs
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- description: Insert the X-Csrf-Token
|
- description: Insert the X-Csrf-Token
|
||||||
in: header
|
in: header
|
||||||
name: X-Csrf-Token
|
name: X-Csrf-Token
|
||||||
|
|
@ -1109,6 +1121,10 @@ paths:
|
||||||
put:
|
put:
|
||||||
description: API for update ActivityLogs
|
description: API for update ActivityLogs
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- description: Insert the X-Csrf-Token
|
- description: Insert the X-Csrf-Token
|
||||||
in: header
|
in: header
|
||||||
name: X-Csrf-Token
|
name: X-Csrf-Token
|
||||||
|
|
@ -1151,6 +1167,10 @@ paths:
|
||||||
get:
|
get:
|
||||||
description: API for getting one ActivityLogs
|
description: API for getting one ActivityLogs
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- description: ActivityLogs ID
|
- description: ActivityLogs ID
|
||||||
in: path
|
in: path
|
||||||
name: id
|
name: id
|
||||||
|
|
@ -1181,6 +1201,11 @@ paths:
|
||||||
/activity-logs/statistics:
|
/activity-logs/statistics:
|
||||||
get:
|
get:
|
||||||
description: API for get activity stats ActivityLogs
|
description: API for get activity stats ActivityLogs
|
||||||
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: OK
|
description: OK
|
||||||
|
|
@ -1207,6 +1232,10 @@ paths:
|
||||||
get:
|
get:
|
||||||
description: API for getting all Advertisement
|
description: API for getting all Advertisement
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: description
|
name: description
|
||||||
type: string
|
type: string
|
||||||
|
|
@ -1274,6 +1303,10 @@ paths:
|
||||||
post:
|
post:
|
||||||
description: API for create Advertisement
|
description: API for create Advertisement
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- description: Insert the X-Csrf-Token
|
- description: Insert the X-Csrf-Token
|
||||||
in: header
|
in: header
|
||||||
name: X-Csrf-Token
|
name: X-Csrf-Token
|
||||||
|
|
@ -1283,7 +1316,6 @@ paths:
|
||||||
description: Insert your access token
|
description: Insert your access token
|
||||||
in: header
|
in: header
|
||||||
name: Authorization
|
name: Authorization
|
||||||
required: true
|
|
||||||
type: string
|
type: string
|
||||||
- description: Required payload
|
- description: Required payload
|
||||||
in: body
|
in: body
|
||||||
|
|
@ -1317,6 +1349,10 @@ paths:
|
||||||
delete:
|
delete:
|
||||||
description: API for delete Advertisement
|
description: API for delete Advertisement
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- description: Insert the X-Csrf-Token
|
- description: Insert the X-Csrf-Token
|
||||||
in: header
|
in: header
|
||||||
name: X-Csrf-Token
|
name: X-Csrf-Token
|
||||||
|
|
@ -1352,6 +1388,10 @@ paths:
|
||||||
get:
|
get:
|
||||||
description: API for getting one Advertisement
|
description: API for getting one Advertisement
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- description: Advertisement ID
|
- description: Advertisement ID
|
||||||
in: path
|
in: path
|
||||||
name: id
|
name: id
|
||||||
|
|
@ -1382,6 +1422,10 @@ paths:
|
||||||
put:
|
put:
|
||||||
description: API for update Advertisement
|
description: API for update Advertisement
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- description: Insert the X-Csrf-Token
|
- description: Insert the X-Csrf-Token
|
||||||
in: header
|
in: header
|
||||||
name: X-Csrf-Token
|
name: X-Csrf-Token
|
||||||
|
|
@ -1424,6 +1468,10 @@ paths:
|
||||||
put:
|
put:
|
||||||
description: API for Update Publish Advertisement
|
description: API for Update Publish Advertisement
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- description: Insert the X-Csrf-Token
|
- description: Insert the X-Csrf-Token
|
||||||
in: header
|
in: header
|
||||||
name: X-Csrf-Token
|
name: X-Csrf-Token
|
||||||
|
|
@ -1433,7 +1481,6 @@ paths:
|
||||||
description: Insert your access token
|
description: Insert your access token
|
||||||
in: header
|
in: header
|
||||||
name: Authorization
|
name: Authorization
|
||||||
required: true
|
|
||||||
type: string
|
type: string
|
||||||
- description: Advertisement ID
|
- description: Advertisement ID
|
||||||
in: path
|
in: path
|
||||||
|
|
@ -1471,6 +1518,10 @@ paths:
|
||||||
post:
|
post:
|
||||||
description: API for Upload File Advertisement
|
description: API for Upload File Advertisement
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- description: Insert the X-Csrf-Token
|
- description: Insert the X-Csrf-Token
|
||||||
in: header
|
in: header
|
||||||
name: X-Csrf-Token
|
name: X-Csrf-Token
|
||||||
|
|
@ -1514,6 +1565,10 @@ paths:
|
||||||
get:
|
get:
|
||||||
description: API for Viewer Advertisement
|
description: API for Viewer Advertisement
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- description: Content File Name
|
- description: Content File Name
|
||||||
in: path
|
in: path
|
||||||
name: filename
|
name: filename
|
||||||
|
|
@ -1609,6 +1664,10 @@ paths:
|
||||||
post:
|
post:
|
||||||
description: API for create ArticleApprovals
|
description: API for create ArticleApprovals
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- description: Insert the X-Csrf-Token
|
- description: Insert the X-Csrf-Token
|
||||||
in: header
|
in: header
|
||||||
name: X-Csrf-Token
|
name: X-Csrf-Token
|
||||||
|
|
@ -1618,7 +1677,6 @@ paths:
|
||||||
description: Insert your access token
|
description: Insert your access token
|
||||||
in: header
|
in: header
|
||||||
name: Authorization
|
name: Authorization
|
||||||
required: true
|
|
||||||
type: string
|
type: string
|
||||||
- description: Required payload
|
- description: Required payload
|
||||||
in: body
|
in: body
|
||||||
|
|
@ -1759,11 +1817,14 @@ paths:
|
||||||
get:
|
get:
|
||||||
description: API for getting all ArticleCategories
|
description: API for getting all ArticleCategories
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- default: Bearer <Add access token here>
|
- default: Bearer <Add access token here>
|
||||||
description: Insert your access token
|
description: Insert your access token
|
||||||
in: header
|
in: header
|
||||||
name: Authorization
|
name: Authorization
|
||||||
required: true
|
|
||||||
type: string
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: UserLevelId
|
name: UserLevelId
|
||||||
|
|
@ -1835,6 +1896,10 @@ paths:
|
||||||
post:
|
post:
|
||||||
description: API for create ArticleCategories
|
description: API for create ArticleCategories
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- description: Insert the X-Csrf-Token
|
- description: Insert the X-Csrf-Token
|
||||||
in: header
|
in: header
|
||||||
name: X-Csrf-Token
|
name: X-Csrf-Token
|
||||||
|
|
@ -1844,7 +1909,6 @@ paths:
|
||||||
description: Insert your access token
|
description: Insert your access token
|
||||||
in: header
|
in: header
|
||||||
name: Authorization
|
name: Authorization
|
||||||
required: true
|
|
||||||
type: string
|
type: string
|
||||||
- description: Required payload
|
- description: Required payload
|
||||||
in: body
|
in: body
|
||||||
|
|
@ -1878,6 +1942,10 @@ paths:
|
||||||
delete:
|
delete:
|
||||||
description: API for delete ArticleCategories
|
description: API for delete ArticleCategories
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- description: Insert the X-Csrf-Token
|
- description: Insert the X-Csrf-Token
|
||||||
in: header
|
in: header
|
||||||
name: X-Csrf-Token
|
name: X-Csrf-Token
|
||||||
|
|
@ -1913,6 +1981,10 @@ paths:
|
||||||
get:
|
get:
|
||||||
description: API for getting one ArticleCategories
|
description: API for getting one ArticleCategories
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- description: ArticleCategories ID
|
- description: ArticleCategories ID
|
||||||
in: path
|
in: path
|
||||||
name: id
|
name: id
|
||||||
|
|
@ -1943,6 +2015,10 @@ paths:
|
||||||
put:
|
put:
|
||||||
description: API for update ArticleCategories
|
description: API for update ArticleCategories
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- description: Insert the X-Csrf-Token
|
- description: Insert the X-Csrf-Token
|
||||||
in: header
|
in: header
|
||||||
name: X-Csrf-Token
|
name: X-Csrf-Token
|
||||||
|
|
@ -1985,6 +2061,10 @@ paths:
|
||||||
get:
|
get:
|
||||||
description: API for getting one ArticleCategories
|
description: API for getting one ArticleCategories
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- description: ArticleCategories Old ID
|
- description: ArticleCategories Old ID
|
||||||
in: path
|
in: path
|
||||||
name: id
|
name: id
|
||||||
|
|
@ -2016,6 +2096,10 @@ paths:
|
||||||
get:
|
get:
|
||||||
description: API for getting one ArticleCategories
|
description: API for getting one ArticleCategories
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- description: ArticleCategories Slug
|
- description: ArticleCategories Slug
|
||||||
in: path
|
in: path
|
||||||
name: slug
|
name: slug
|
||||||
|
|
@ -2047,6 +2131,10 @@ paths:
|
||||||
post:
|
post:
|
||||||
description: API for Upload ArticleCategories Thumbnail
|
description: API for Upload ArticleCategories Thumbnail
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- description: Insert the X-Csrf-Token
|
- description: Insert the X-Csrf-Token
|
||||||
in: header
|
in: header
|
||||||
name: X-Csrf-Token
|
name: X-Csrf-Token
|
||||||
|
|
@ -2090,6 +2178,10 @@ paths:
|
||||||
get:
|
get:
|
||||||
description: API for View Thumbnail of ArticleCategories
|
description: API for View Thumbnail of ArticleCategories
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- description: ArticleCategories ID
|
- description: ArticleCategories ID
|
||||||
in: path
|
in: path
|
||||||
name: id
|
name: id
|
||||||
|
|
@ -2297,6 +2389,10 @@ paths:
|
||||||
get:
|
get:
|
||||||
description: API for getting all ArticleComments
|
description: API for getting all ArticleComments
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: articleId
|
name: articleId
|
||||||
type: integer
|
type: integer
|
||||||
|
|
@ -2361,6 +2457,10 @@ paths:
|
||||||
post:
|
post:
|
||||||
description: API for create ArticleComments
|
description: API for create ArticleComments
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- description: Insert the X-Csrf-Token
|
- description: Insert the X-Csrf-Token
|
||||||
in: header
|
in: header
|
||||||
name: X-Csrf-Token
|
name: X-Csrf-Token
|
||||||
|
|
@ -2370,7 +2470,6 @@ paths:
|
||||||
description: Insert your access token
|
description: Insert your access token
|
||||||
in: header
|
in: header
|
||||||
name: Authorization
|
name: Authorization
|
||||||
required: true
|
|
||||||
type: string
|
type: string
|
||||||
- description: Required payload
|
- description: Required payload
|
||||||
in: body
|
in: body
|
||||||
|
|
@ -2404,6 +2503,10 @@ paths:
|
||||||
delete:
|
delete:
|
||||||
description: API for delete ArticleComments
|
description: API for delete ArticleComments
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- description: Insert the X-Csrf-Token
|
- description: Insert the X-Csrf-Token
|
||||||
in: header
|
in: header
|
||||||
name: X-Csrf-Token
|
name: X-Csrf-Token
|
||||||
|
|
@ -2439,6 +2542,10 @@ paths:
|
||||||
get:
|
get:
|
||||||
description: API for getting one ArticleComments
|
description: API for getting one ArticleComments
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- description: ArticleComments ID
|
- description: ArticleComments ID
|
||||||
in: path
|
in: path
|
||||||
name: id
|
name: id
|
||||||
|
|
@ -2469,6 +2576,10 @@ paths:
|
||||||
put:
|
put:
|
||||||
description: API for update ArticleComments
|
description: API for update ArticleComments
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- description: Insert the X-Csrf-Token
|
- description: Insert the X-Csrf-Token
|
||||||
in: header
|
in: header
|
||||||
name: X-Csrf-Token
|
name: X-Csrf-Token
|
||||||
|
|
@ -2511,6 +2622,10 @@ paths:
|
||||||
post:
|
post:
|
||||||
description: API for Approval ArticleComments
|
description: API for Approval ArticleComments
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- description: Insert the X-Csrf-Token
|
- description: Insert the X-Csrf-Token
|
||||||
in: header
|
in: header
|
||||||
name: X-Csrf-Token
|
name: X-Csrf-Token
|
||||||
|
|
@ -2548,6 +2663,10 @@ paths:
|
||||||
get:
|
get:
|
||||||
description: API for getting all ArticleFiles
|
description: API for getting all ArticleFiles
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: articleId
|
name: articleId
|
||||||
type: integer
|
type: integer
|
||||||
|
|
@ -2610,6 +2729,10 @@ paths:
|
||||||
post:
|
post:
|
||||||
description: API for create ArticleFiles
|
description: API for create ArticleFiles
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- description: Insert the X-Csrf-Token
|
- description: Insert the X-Csrf-Token
|
||||||
in: header
|
in: header
|
||||||
name: X-Csrf-Token
|
name: X-Csrf-Token
|
||||||
|
|
@ -2653,6 +2776,10 @@ paths:
|
||||||
delete:
|
delete:
|
||||||
description: API for delete ArticleFiles
|
description: API for delete ArticleFiles
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- description: Insert the X-Csrf-Token
|
- description: Insert the X-Csrf-Token
|
||||||
in: header
|
in: header
|
||||||
name: X-Csrf-Token
|
name: X-Csrf-Token
|
||||||
|
|
@ -2688,6 +2815,10 @@ paths:
|
||||||
get:
|
get:
|
||||||
description: API for getting one ArticleFiles
|
description: API for getting one ArticleFiles
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- description: ArticleFiles ID
|
- description: ArticleFiles ID
|
||||||
in: path
|
in: path
|
||||||
name: id
|
name: id
|
||||||
|
|
@ -2718,6 +2849,10 @@ paths:
|
||||||
put:
|
put:
|
||||||
description: API for update ArticleFiles
|
description: API for update ArticleFiles
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- description: Insert the X-Csrf-Token
|
- description: Insert the X-Csrf-Token
|
||||||
in: header
|
in: header
|
||||||
name: X-Csrf-Token
|
name: X-Csrf-Token
|
||||||
|
|
@ -2791,6 +2926,10 @@ paths:
|
||||||
get:
|
get:
|
||||||
description: API for Viewer ArticleFiles
|
description: API for Viewer ArticleFiles
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- description: Article File Name
|
- description: Article File Name
|
||||||
in: path
|
in: path
|
||||||
name: filename
|
name: filename
|
||||||
|
|
@ -3175,7 +3314,6 @@ paths:
|
||||||
description: Insert your access token
|
description: Insert your access token
|
||||||
in: header
|
in: header
|
||||||
name: Authorization
|
name: Authorization
|
||||||
required: true
|
|
||||||
type: string
|
type: string
|
||||||
- description: Required payload
|
- description: Required payload
|
||||||
in: body
|
in: body
|
||||||
|
|
@ -3397,7 +3535,6 @@ paths:
|
||||||
description: Insert your access token
|
description: Insert your access token
|
||||||
in: header
|
in: header
|
||||||
name: Authorization
|
name: Authorization
|
||||||
required: true
|
|
||||||
type: string
|
type: string
|
||||||
- description: article id
|
- description: article id
|
||||||
in: query
|
in: query
|
||||||
|
|
@ -3437,7 +3574,6 @@ paths:
|
||||||
description: Insert your access token
|
description: Insert your access token
|
||||||
in: header
|
in: header
|
||||||
name: Authorization
|
name: Authorization
|
||||||
required: true
|
|
||||||
type: string
|
type: string
|
||||||
- description: year
|
- description: year
|
||||||
in: query
|
in: query
|
||||||
|
|
@ -3473,7 +3609,6 @@ paths:
|
||||||
description: Insert your access token
|
description: Insert your access token
|
||||||
in: header
|
in: header
|
||||||
name: Authorization
|
name: Authorization
|
||||||
required: true
|
|
||||||
type: string
|
type: string
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
|
|
@ -3505,7 +3640,6 @@ paths:
|
||||||
description: Insert your access token
|
description: Insert your access token
|
||||||
in: header
|
in: header
|
||||||
name: Authorization
|
name: Authorization
|
||||||
required: true
|
|
||||||
type: string
|
type: string
|
||||||
- description: start date
|
- description: start date
|
||||||
in: query
|
in: query
|
||||||
|
|
@ -3851,7 +3985,6 @@ paths:
|
||||||
description: Insert your access token
|
description: Insert your access token
|
||||||
in: header
|
in: header
|
||||||
name: Authorization
|
name: Authorization
|
||||||
required: true
|
|
||||||
type: string
|
type: string
|
||||||
- description: Required payload
|
- description: Required payload
|
||||||
in: body
|
in: body
|
||||||
|
|
@ -3982,6 +4115,10 @@ paths:
|
||||||
get:
|
get:
|
||||||
description: API for getting all CustomStaticPages
|
description: API for getting all CustomStaticPages
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: description
|
name: description
|
||||||
type: string
|
type: string
|
||||||
|
|
@ -4043,6 +4180,10 @@ paths:
|
||||||
post:
|
post:
|
||||||
description: API for create CustomStaticPages
|
description: API for create CustomStaticPages
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- description: Insert the X-Csrf-Token
|
- description: Insert the X-Csrf-Token
|
||||||
in: header
|
in: header
|
||||||
name: X-Csrf-Token
|
name: X-Csrf-Token
|
||||||
|
|
@ -4080,6 +4221,10 @@ paths:
|
||||||
delete:
|
delete:
|
||||||
description: API for delete CustomStaticPages
|
description: API for delete CustomStaticPages
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- description: Insert the X-Csrf-Token
|
- description: Insert the X-Csrf-Token
|
||||||
in: header
|
in: header
|
||||||
name: X-Csrf-Token
|
name: X-Csrf-Token
|
||||||
|
|
@ -4115,6 +4260,10 @@ paths:
|
||||||
get:
|
get:
|
||||||
description: API for getting one CustomStaticPages
|
description: API for getting one CustomStaticPages
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- description: CustomStaticPages ID
|
- description: CustomStaticPages ID
|
||||||
in: path
|
in: path
|
||||||
name: id
|
name: id
|
||||||
|
|
@ -4145,6 +4294,10 @@ paths:
|
||||||
put:
|
put:
|
||||||
description: API for update CustomStaticPages
|
description: API for update CustomStaticPages
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- description: Insert the X-Csrf-Token
|
- description: Insert the X-Csrf-Token
|
||||||
in: header
|
in: header
|
||||||
name: X-Csrf-Token
|
name: X-Csrf-Token
|
||||||
|
|
@ -4187,6 +4340,10 @@ paths:
|
||||||
get:
|
get:
|
||||||
description: API for getting one CustomStaticPages
|
description: API for getting one CustomStaticPages
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- description: CustomStaticPages Slug
|
- description: CustomStaticPages Slug
|
||||||
in: path
|
in: path
|
||||||
name: slug
|
name: slug
|
||||||
|
|
@ -4378,6 +4535,10 @@ paths:
|
||||||
get:
|
get:
|
||||||
description: API for getting all Feedbacks
|
description: API for getting all Feedbacks
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: commentFromEmail
|
name: commentFromEmail
|
||||||
type: string
|
type: string
|
||||||
|
|
@ -4445,6 +4606,10 @@ paths:
|
||||||
post:
|
post:
|
||||||
description: API for create Feedbacks
|
description: API for create Feedbacks
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- description: Insert the X-Csrf-Token
|
- description: Insert the X-Csrf-Token
|
||||||
in: header
|
in: header
|
||||||
name: X-Csrf-Token
|
name: X-Csrf-Token
|
||||||
|
|
@ -4454,7 +4619,6 @@ paths:
|
||||||
description: Insert your access token
|
description: Insert your access token
|
||||||
in: header
|
in: header
|
||||||
name: Authorization
|
name: Authorization
|
||||||
required: true
|
|
||||||
type: string
|
type: string
|
||||||
- description: Required payload
|
- description: Required payload
|
||||||
in: body
|
in: body
|
||||||
|
|
@ -4488,6 +4652,10 @@ paths:
|
||||||
delete:
|
delete:
|
||||||
description: API for delete Feedbacks
|
description: API for delete Feedbacks
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- description: Insert the X-Csrf-Token
|
- description: Insert the X-Csrf-Token
|
||||||
in: header
|
in: header
|
||||||
name: X-Csrf-Token
|
name: X-Csrf-Token
|
||||||
|
|
@ -4523,6 +4691,10 @@ paths:
|
||||||
get:
|
get:
|
||||||
description: API for getting one Feedbacks
|
description: API for getting one Feedbacks
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- description: Feedbacks ID
|
- description: Feedbacks ID
|
||||||
in: path
|
in: path
|
||||||
name: id
|
name: id
|
||||||
|
|
@ -4553,6 +4725,10 @@ paths:
|
||||||
put:
|
put:
|
||||||
description: API for update Feedbacks
|
description: API for update Feedbacks
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- description: Insert the X-Csrf-Token
|
- description: Insert the X-Csrf-Token
|
||||||
in: header
|
in: header
|
||||||
name: X-Csrf-Token
|
name: X-Csrf-Token
|
||||||
|
|
@ -4595,11 +4771,14 @@ paths:
|
||||||
get:
|
get:
|
||||||
description: API for FeedbackMonthlyStats of Feedbacks
|
description: API for FeedbackMonthlyStats of Feedbacks
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- default: Bearer <Add access token here>
|
- default: Bearer <Add access token here>
|
||||||
description: Insert your access token
|
description: Insert your access token
|
||||||
in: header
|
in: header
|
||||||
name: Authorization
|
name: Authorization
|
||||||
required: true
|
|
||||||
type: string
|
type: string
|
||||||
- description: year
|
- description: year
|
||||||
in: query
|
in: query
|
||||||
|
|
@ -4839,6 +5018,10 @@ paths:
|
||||||
get:
|
get:
|
||||||
description: API for getting all Magazines
|
description: API for getting all Magazines
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: createdById
|
name: createdById
|
||||||
type: integer
|
type: integer
|
||||||
|
|
@ -4912,6 +5095,10 @@ paths:
|
||||||
post:
|
post:
|
||||||
description: API for create Magazines
|
description: API for create Magazines
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- description: Insert the X-Csrf-Token
|
- description: Insert the X-Csrf-Token
|
||||||
in: header
|
in: header
|
||||||
name: X-Csrf-Token
|
name: X-Csrf-Token
|
||||||
|
|
@ -4921,7 +5108,6 @@ paths:
|
||||||
description: Insert your access token
|
description: Insert your access token
|
||||||
in: header
|
in: header
|
||||||
name: Authorization
|
name: Authorization
|
||||||
required: true
|
|
||||||
type: string
|
type: string
|
||||||
- description: Required payload
|
- description: Required payload
|
||||||
in: body
|
in: body
|
||||||
|
|
@ -4955,6 +5141,10 @@ paths:
|
||||||
delete:
|
delete:
|
||||||
description: API for delete Magazines
|
description: API for delete Magazines
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- description: Insert the X-Csrf-Token
|
- description: Insert the X-Csrf-Token
|
||||||
in: header
|
in: header
|
||||||
name: X-Csrf-Token
|
name: X-Csrf-Token
|
||||||
|
|
@ -4990,6 +5180,10 @@ paths:
|
||||||
get:
|
get:
|
||||||
description: API for getting one Magazines
|
description: API for getting one Magazines
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- description: Magazines ID
|
- description: Magazines ID
|
||||||
in: path
|
in: path
|
||||||
name: id
|
name: id
|
||||||
|
|
@ -5020,6 +5214,10 @@ paths:
|
||||||
put:
|
put:
|
||||||
description: API for update Magazines
|
description: API for update Magazines
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- description: Insert the X-Csrf-Token
|
- description: Insert the X-Csrf-Token
|
||||||
in: header
|
in: header
|
||||||
name: X-Csrf-Token
|
name: X-Csrf-Token
|
||||||
|
|
@ -5062,6 +5260,10 @@ paths:
|
||||||
post:
|
post:
|
||||||
description: API for Save Thumbnail of Magazines
|
description: API for Save Thumbnail of Magazines
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- description: Insert the X-Csrf-Token
|
- description: Insert the X-Csrf-Token
|
||||||
in: header
|
in: header
|
||||||
name: X-Csrf-Token
|
name: X-Csrf-Token
|
||||||
|
|
@ -5105,6 +5307,10 @@ paths:
|
||||||
get:
|
get:
|
||||||
description: API for View Thumbnail of Magazines
|
description: API for View Thumbnail of Magazines
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- description: Magazines Thumbnail Name
|
- description: Magazines Thumbnail Name
|
||||||
in: path
|
in: path
|
||||||
name: thumbnailName
|
name: thumbnailName
|
||||||
|
|
@ -5864,6 +6070,10 @@ paths:
|
||||||
get:
|
get:
|
||||||
description: API for getting all Subscription
|
description: API for getting all Subscription
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: email
|
name: email
|
||||||
type: string
|
type: string
|
||||||
|
|
@ -5916,6 +6126,10 @@ paths:
|
||||||
post:
|
post:
|
||||||
description: API for create Subscription
|
description: API for create Subscription
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- description: Insert the X-Csrf-Token
|
- description: Insert the X-Csrf-Token
|
||||||
in: header
|
in: header
|
||||||
name: X-Csrf-Token
|
name: X-Csrf-Token
|
||||||
|
|
@ -5953,6 +6167,10 @@ paths:
|
||||||
delete:
|
delete:
|
||||||
description: API for delete Subscription
|
description: API for delete Subscription
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- description: Insert the X-Csrf-Token
|
- description: Insert the X-Csrf-Token
|
||||||
in: header
|
in: header
|
||||||
name: X-Csrf-Token
|
name: X-Csrf-Token
|
||||||
|
|
@ -5988,6 +6206,10 @@ paths:
|
||||||
get:
|
get:
|
||||||
description: API for getting one Subscription
|
description: API for getting one Subscription
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- description: Subscription ID
|
- description: Subscription ID
|
||||||
in: path
|
in: path
|
||||||
name: id
|
name: id
|
||||||
|
|
@ -6018,6 +6240,10 @@ paths:
|
||||||
put:
|
put:
|
||||||
description: API for update Subscription
|
description: API for update Subscription
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- description: Insert the X-Csrf-Token
|
- description: Insert the X-Csrf-Token
|
||||||
in: header
|
in: header
|
||||||
name: X-Csrf-Token
|
name: X-Csrf-Token
|
||||||
|
|
@ -6756,7 +6982,6 @@ paths:
|
||||||
description: Insert your access token
|
description: Insert your access token
|
||||||
in: header
|
in: header
|
||||||
name: Authorization
|
name: Authorization
|
||||||
required: true
|
|
||||||
type: string
|
type: string
|
||||||
- description: Required payload
|
- description: Required payload
|
||||||
in: body
|
in: body
|
||||||
|
|
@ -6897,6 +7122,10 @@ paths:
|
||||||
get:
|
get:
|
||||||
description: API for getting all Users
|
description: API for getting all Users
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- in: query
|
- in: query
|
||||||
name: email
|
name: email
|
||||||
type: string
|
type: string
|
||||||
|
|
@ -6982,6 +7211,10 @@ paths:
|
||||||
post:
|
post:
|
||||||
description: API for create Users
|
description: API for create Users
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- description: Insert the X-Csrf-Token
|
- description: Insert the X-Csrf-Token
|
||||||
in: header
|
in: header
|
||||||
name: X-Csrf-Token
|
name: X-Csrf-Token
|
||||||
|
|
@ -7024,6 +7257,10 @@ paths:
|
||||||
delete:
|
delete:
|
||||||
description: API for delete Users
|
description: API for delete Users
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- description: Insert the X-Csrf-Token
|
- description: Insert the X-Csrf-Token
|
||||||
in: header
|
in: header
|
||||||
name: X-Csrf-Token
|
name: X-Csrf-Token
|
||||||
|
|
@ -7059,6 +7296,10 @@ paths:
|
||||||
put:
|
put:
|
||||||
description: API for update Users
|
description: API for update Users
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- description: Insert the X-Csrf-Token
|
- description: Insert the X-Csrf-Token
|
||||||
in: header
|
in: header
|
||||||
name: X-Csrf-Token
|
name: X-Csrf-Token
|
||||||
|
|
@ -7101,6 +7342,10 @@ paths:
|
||||||
get:
|
get:
|
||||||
description: API for getting one Users
|
description: API for getting one Users
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- description: Users ID
|
- description: Users ID
|
||||||
in: path
|
in: path
|
||||||
name: id
|
name: id
|
||||||
|
|
@ -7132,6 +7377,10 @@ paths:
|
||||||
post:
|
post:
|
||||||
description: API for Email Validation Users
|
description: API for Email Validation Users
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- description: Insert the X-Csrf-Token
|
- description: Insert the X-Csrf-Token
|
||||||
in: header
|
in: header
|
||||||
name: X-Csrf-Token
|
name: X-Csrf-Token
|
||||||
|
|
@ -7169,6 +7418,10 @@ paths:
|
||||||
post:
|
post:
|
||||||
description: API for ForgotPassword Users
|
description: API for ForgotPassword Users
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- description: Insert the X-Csrf-Token
|
- description: Insert the X-Csrf-Token
|
||||||
in: header
|
in: header
|
||||||
name: X-Csrf-Token
|
name: X-Csrf-Token
|
||||||
|
|
@ -7206,11 +7459,14 @@ paths:
|
||||||
get:
|
get:
|
||||||
description: API for ShowUserInfo
|
description: API for ShowUserInfo
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- default: Bearer <Add access token here>
|
- default: Bearer <Add access token here>
|
||||||
description: Insert your access token
|
description: Insert your access token
|
||||||
in: header
|
in: header
|
||||||
name: Authorization
|
name: Authorization
|
||||||
required: true
|
|
||||||
type: string
|
type: string
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
|
|
@ -7423,6 +7679,10 @@ paths:
|
||||||
post:
|
post:
|
||||||
description: API for SavePassword Users
|
description: API for SavePassword Users
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- description: Insert the X-Csrf-Token
|
- description: Insert the X-Csrf-Token
|
||||||
in: header
|
in: header
|
||||||
name: X-Csrf-Token
|
name: X-Csrf-Token
|
||||||
|
|
@ -7432,7 +7692,6 @@ paths:
|
||||||
description: Insert your access token
|
description: Insert your access token
|
||||||
in: header
|
in: header
|
||||||
name: Authorization
|
name: Authorization
|
||||||
required: true
|
|
||||||
type: string
|
type: string
|
||||||
- description: Required payload
|
- description: Required payload
|
||||||
in: body
|
in: body
|
||||||
|
|
@ -7466,6 +7725,10 @@ paths:
|
||||||
post:
|
post:
|
||||||
description: API for Setup Email Users
|
description: API for Setup Email Users
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- description: Insert the X-Csrf-Token
|
- description: Insert the X-Csrf-Token
|
||||||
in: header
|
in: header
|
||||||
name: X-Csrf-Token
|
name: X-Csrf-Token
|
||||||
|
|
@ -7503,6 +7766,10 @@ paths:
|
||||||
get:
|
get:
|
||||||
description: API for getting one Users
|
description: API for getting one Users
|
||||||
parameters:
|
parameters:
|
||||||
|
- description: Insert the X-Client-Key
|
||||||
|
in: header
|
||||||
|
name: X-Client-Key
|
||||||
|
type: string
|
||||||
- description: Username
|
- description: Username
|
||||||
in: path
|
in: path
|
||||||
name: username
|
name: username
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue