Created
November 28, 2020 17:42
-
-
Save NguyenThienLy/bda3185646d6d03c72247ad3267ba0ff to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "openapi": "3.0.0", | |
| "info": { | |
| "version": "1.0.0", | |
| "title": "Main service - Lotus Fitness", | |
| "description": "Design, description of Lotus Fitness API" | |
| }, | |
| "servers": [ | |
| { | |
| "url": "http://localhost:3000/api/v1/" | |
| }, | |
| { | |
| "url": "https://main.lotusfitness.xyz/api/v1/" | |
| }, | |
| { | |
| "url": "http://main.lotusfitness.xyz/api/v1/" | |
| } | |
| ], | |
| "security": [ | |
| { | |
| "BasicAuth": [] | |
| } | |
| ], | |
| "tags": [ | |
| { | |
| "name": "body parts" | |
| }, | |
| { | |
| "name": "categories" | |
| }, | |
| { | |
| "name": "courses" | |
| }, | |
| { | |
| "name": "course body parts" | |
| }, | |
| { | |
| "name": "course categories" | |
| }, | |
| { | |
| "name": "course foods" | |
| }, | |
| { | |
| "name": "course images" | |
| }, | |
| { | |
| "name": "exercises" | |
| }, | |
| { | |
| "name": "exercise body parts" | |
| }, | |
| { | |
| "name": "feedbacks" | |
| }, | |
| { | |
| "name": "feedbacks nutrition" | |
| }, | |
| { | |
| "name": "follows" | |
| }, | |
| { | |
| "name": "foods" | |
| }, | |
| { | |
| "name": "food nutritions" | |
| }, | |
| { | |
| "name": "notifications" | |
| }, | |
| { | |
| "name": "nutrition" | |
| }, | |
| { | |
| "name": "nutrition chemical compositions" | |
| }, | |
| { | |
| "name": "nutrition vitamins" | |
| }, | |
| { | |
| "name": "organizations" | |
| }, | |
| { | |
| "name": "reports" | |
| }, | |
| { | |
| "name": "schedules" | |
| }, | |
| { | |
| "name": "schedule exercises" | |
| }, | |
| { | |
| "name": "schedule nutrition" | |
| }, | |
| { | |
| "name": "trainer registrations" | |
| }, | |
| { | |
| "name": "tutorials" | |
| }, | |
| { | |
| "name": "users" | |
| }, | |
| { | |
| "name": "user certifications" | |
| } | |
| ], | |
| "paths": { | |
| "/body-parts": { | |
| "post": { | |
| "tags": [ | |
| "body parts" | |
| ], | |
| "requestBody": { | |
| "$ref": "#/components/requestBodies/BodyPartRequestBody" | |
| }, | |
| "responses": { | |
| "200": { | |
| "$ref": "#/components/responses/200BodyPartResponse" | |
| }, | |
| "400": { | |
| "$ref": "#/components/responses/400ErrorResponse" | |
| } | |
| } | |
| } | |
| }, | |
| "/body-parts/filter/advance": { | |
| "get": { | |
| "tags": [ | |
| "body-parts" | |
| ], | |
| "responses": { | |
| "200": { | |
| "$ref": "#/components/responses/200BodyPartFilterAdvanceArrayResponse" | |
| }, | |
| "400": { | |
| "$ref": "#/components/responses/400ErrorResponse" | |
| } | |
| } | |
| } | |
| }, | |
| "/categories": { | |
| "post": { | |
| "tags": [ | |
| "categories" | |
| ], | |
| "requestBody": { | |
| "$ref": "#/components/requestBodies/CategoryRequestBody" | |
| }, | |
| "responses": { | |
| "200": { | |
| "$ref": "#/components/responses/200CategoryResponse" | |
| }, | |
| "400": { | |
| "$ref": "#/components/responses/400ErrorResponse" | |
| } | |
| } | |
| } | |
| }, | |
| "/categories/catalog/favorite/{user-id}": { | |
| "get": { | |
| "tags": [ | |
| "categories" | |
| ], | |
| "parameters": [ | |
| { | |
| "$ref": "#/components/parameters/UserId" | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "$ref": "#/components/responses/200CategoryCatalogFavoriteArrayResponse" | |
| }, | |
| "400": { | |
| "$ref": "#/components/responses/400ErrorResponse" | |
| } | |
| } | |
| } | |
| }, | |
| "/categories/filter/advance": { | |
| "get": { | |
| "tags": [ | |
| "categories" | |
| ], | |
| "responses": { | |
| "200": { | |
| "$ref": "#/components/responses/200CategoryFilterAdvanceArrayResponse" | |
| }, | |
| "400": { | |
| "$ref": "#/components/responses/400ErrorResponse" | |
| } | |
| } | |
| } | |
| }, | |
| "/courses": { | |
| "post": { | |
| "tags": [ | |
| "courses" | |
| ], | |
| "requestBody": { | |
| "$ref": "#/components/requestBodies/CourseRequestBody" | |
| }, | |
| "responses": { | |
| "200": { | |
| "$ref": "#/components/responses/200CourseResponse" | |
| }, | |
| "400": { | |
| "$ref": "#/components/responses/400ErrorResponse" | |
| } | |
| } | |
| } | |
| }, | |
| "/courses/{course-id}": { | |
| "patch": { | |
| "tags": [ | |
| "courses" | |
| ], | |
| "requestBody": { | |
| "$ref": "#/components/requestBodies/CourseRequestBody" | |
| }, | |
| "parameters": [ | |
| { | |
| "$ref": "#/components/parameters/CourseId" | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "$ref": "#/components/responses/200CourseResponse" | |
| }, | |
| "400": { | |
| "$ref": "#/components/responses/400ErrorResponse" | |
| } | |
| } | |
| } | |
| }, | |
| "/courses/filter/advance": { | |
| "post": { | |
| "tags": [ | |
| "courses" | |
| ], | |
| "requestBody": { | |
| "$ref": "#/components/requestBodies/FilterAdvanceRequestBody" | |
| }, | |
| "responses": { | |
| "200": { | |
| "$ref": "#/components/responses/200CourseFilterResultArrayResponse" | |
| }, | |
| "400": { | |
| "$ref": "#/components/responses/400ErrorResponse" | |
| } | |
| } | |
| } | |
| }, | |
| "/courses/catalog/popular/{user-id}": { | |
| "get": { | |
| "tags": [ | |
| "courses" | |
| ], | |
| "parameters": [ | |
| { | |
| "$ref": "#/components/parameters/UserId" | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "$ref": "#/components/responses/200CourseCatalogPopularArrayResponse" | |
| }, | |
| "400": { | |
| "$ref": "#/components/responses/400ErrorResponse" | |
| } | |
| } | |
| } | |
| }, | |
| "/courses/detail/overview/{course-id}": { | |
| "get": { | |
| "tags": [ | |
| "courses" | |
| ], | |
| "parameters": [ | |
| { | |
| "$ref": "#/components/parameters/CourseId" | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "$ref": "#/components/responses/200CourseDetailOverviewResponse" | |
| }, | |
| "400": { | |
| "$ref": "#/components/responses/400ErrorResponse" | |
| } | |
| } | |
| } | |
| }, | |
| "/courses/detail/schedules/{course-id}": { | |
| "get": { | |
| "tags": [ | |
| "courses" | |
| ], | |
| "parameters": [ | |
| { | |
| "$ref": "#/components/parameters/CourseId" | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "$ref": "#/components/responses/200CourseDetailScheduleResponse" | |
| }, | |
| "400": { | |
| "$ref": "#/components/responses/400ErrorResponse" | |
| } | |
| } | |
| } | |
| }, | |
| "/courses/moodle/student/overview/{user-id}/{course-id}": { | |
| "get": { | |
| "tags": [ | |
| "courses" | |
| ], | |
| "parameters": [ | |
| { | |
| "$ref": "#/components/parameters/UserId" | |
| }, | |
| { | |
| "$ref": "#/components/parameters/CourseId" | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "$ref": "#/components/responses/200CourseMoodleStudentOverviewResponse" | |
| }, | |
| "400": { | |
| "$ref": "#/components/responses/400ErrorResponse" | |
| } | |
| } | |
| } | |
| }, | |
| "/courses/moodle/student/statistic/{user-id}/{course-id}": { | |
| "get": { | |
| "tags": [ | |
| "courses" | |
| ], | |
| "parameters": [ | |
| { | |
| "$ref": "#/components/parameters/UserId" | |
| }, | |
| { | |
| "$ref": "#/components/parameters/CourseId" | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "$ref": "#/components/responses/200CourseMoodleStudentStatisticResponse" | |
| }, | |
| "400": { | |
| "$ref": "#/components/responses/400ErrorResponse" | |
| } | |
| } | |
| } | |
| }, | |
| "/courses/moodle/student/overview/{user-id}": { | |
| "get": { | |
| "tags": [ | |
| "courses" | |
| ], | |
| "parameters": [ | |
| { | |
| "$ref": "#/components/parameters/UserId" | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "$ref": "#/components/responses/200CourseMoodleStudentOverviewArrayResponse" | |
| }, | |
| "400": { | |
| "$ref": "#/components/responses/400ErrorResponse" | |
| } | |
| } | |
| } | |
| }, | |
| "/courses/moodle/trainer/overview/{user-id}": { | |
| "get": { | |
| "tags": [ | |
| "courses" | |
| ], | |
| "parameters": [ | |
| { | |
| "$ref": "#/components/parameters/UserId" | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "$ref": "#/components/responses/200CourseMoodleTrainerOverviewArrayResponse" | |
| }, | |
| "400": { | |
| "$ref": "#/components/responses/400ErrorResponse" | |
| } | |
| } | |
| } | |
| }, | |
| "/courses/moodle/trainer/detail/{user-id}/{course-id}": { | |
| "get": { | |
| "tags": [ | |
| "courses" | |
| ], | |
| "parameters": [ | |
| { | |
| "$ref": "#/components/parameters/UserId" | |
| }, | |
| { | |
| "$ref": "#/components/parameters/CourseId" | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "$ref": "#/components/responses/200CourseMoodleTrainerDetailResponse" | |
| }, | |
| "400": { | |
| "$ref": "#/components/responses/400ErrorResponse" | |
| } | |
| } | |
| } | |
| }, | |
| "/course-images": { | |
| "post": { | |
| "tags": [ | |
| "course images" | |
| ], | |
| "requestBody": { | |
| "$ref": "#/components/requestBodies/CourseImageRequestBody" | |
| }, | |
| "responses": { | |
| "200": { | |
| "$ref": "#/components/responses/200CourseImageResponse" | |
| }, | |
| "400": { | |
| "$ref": "#/components/responses/400ErrorResponse" | |
| } | |
| } | |
| } | |
| }, | |
| "/course-body-parts": { | |
| "post": { | |
| "tags": [ | |
| "course body parts" | |
| ], | |
| "requestBody": { | |
| "$ref": "#/components/requestBodies/CourseBodyPartRequestBody" | |
| }, | |
| "responses": { | |
| "200": { | |
| "$ref": "#/components/responses/200CourseBodyPartResponse" | |
| }, | |
| "400": { | |
| "$ref": "#/components/responses/400ErrorResponse" | |
| } | |
| } | |
| } | |
| }, | |
| "/course-categories": { | |
| "post": { | |
| "tags": [ | |
| "course categories" | |
| ], | |
| "requestBody": { | |
| "$ref": "#/components/requestBodies/CourseCategoryRequestBody" | |
| }, | |
| "responses": { | |
| "200": { | |
| "$ref": "#/components/responses/200CourseCategoryResponse" | |
| }, | |
| "400": { | |
| "$ref": "#/components/responses/400ErrorResponse" | |
| } | |
| } | |
| } | |
| }, | |
| "/course-foods": { | |
| "post": { | |
| "tags": [ | |
| "course foods" | |
| ], | |
| "requestBody": { | |
| "$ref": "#/components/requestBodies/CourseFoodRequestBody" | |
| }, | |
| "responses": { | |
| "200": { | |
| "$ref": "#/components/responses/200CourseFoodResponse" | |
| }, | |
| "400": { | |
| "$ref": "#/components/responses/400ErrorResponse" | |
| } | |
| } | |
| } | |
| }, | |
| "/exercises/{exercises-id}": { | |
| "get": { | |
| "tags": [ | |
| "exercises" | |
| ], | |
| "parameters": [ | |
| { | |
| "$ref": "#/components/parameters/ExercisesId" | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "$ref": "#/components/responses/200ExerciseDetailResponse" | |
| }, | |
| "400": { | |
| "$ref": "#/components/responses/400ErrorResponse" | |
| } | |
| } | |
| } | |
| }, | |
| "/exercises": { | |
| "post": { | |
| "tags": [ | |
| "exercises" | |
| ], | |
| "requestBody": { | |
| "$ref": "#/components/requestBodies/ExerciseRequestBody" | |
| }, | |
| "responses": { | |
| "200": { | |
| "$ref": "#/components/responses/200ExerciseResponse" | |
| }, | |
| "400": { | |
| "$ref": "#/components/responses/400ErrorResponse" | |
| } | |
| } | |
| } | |
| }, | |
| "/exercises/detail": { | |
| "post": { | |
| "tags": [ | |
| "exercises" | |
| ], | |
| "requestBody": { | |
| "$ref": "#/components/requestBodies/ExerciseDetailRequestBody" | |
| }, | |
| "responses": { | |
| "200": { | |
| "$ref": "#/components/responses/200ExerciseDetailResponse" | |
| }, | |
| "400": { | |
| "$ref": "#/components/responses/400ErrorResponse" | |
| } | |
| } | |
| } | |
| }, | |
| "/exercises/moodle/trainer/overview/{trainer-id}": { | |
| "get": { | |
| "tags": [ | |
| "exercises" | |
| ], | |
| "parameters": [ | |
| { | |
| "$ref": "#/components/parameters/ExercisesId" | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "$ref": "#/components/responses/200ExerciseMoodleTrainerOverviewResponse" | |
| }, | |
| "400": { | |
| "$ref": "#/components/responses/400ErrorResponse" | |
| } | |
| } | |
| } | |
| }, | |
| "/exercise-body-parts": { | |
| "post": { | |
| "tags": [ | |
| "exercise body parts" | |
| ], | |
| "requestBody": { | |
| "$ref": "#/components/requestBodies/ExerciseBodyPartRequestBody" | |
| }, | |
| "responses": { | |
| "200": { | |
| "$ref": "#/components/responses/200ExerciseBodyPartResponse" | |
| }, | |
| "400": { | |
| "$ref": "#/components/responses/400ErrorResponse" | |
| } | |
| } | |
| } | |
| }, | |
| "/feedbacks": { | |
| "post": { | |
| "tags": [ | |
| "feedbacks" | |
| ], | |
| "requestBody": { | |
| "$ref": "#/components/requestBodies/FeedbackRequestBody" | |
| }, | |
| "responses": { | |
| "200": { | |
| "$ref": "#/components/responses/200FeedbackResponse" | |
| }, | |
| "400": { | |
| "$ref": "#/components/responses/400ErrorResponse" | |
| } | |
| } | |
| } | |
| }, | |
| "/feedbacks-nutrition": { | |
| "post": { | |
| "tags": [ | |
| "feedback nutrition" | |
| ], | |
| "requestBody": { | |
| "$ref": "#/components/requestBodies/FeedbackNutritionRequestBody" | |
| }, | |
| "responses": { | |
| "200": { | |
| "$ref": "#/components/responses/200FeedbackNutritionResponse" | |
| }, | |
| "400": { | |
| "$ref": "#/components/responses/400ErrorResponse" | |
| } | |
| } | |
| } | |
| }, | |
| "/foods/detail/overview/{course-id}": { | |
| "get": { | |
| "tags": [ | |
| "foods" | |
| ], | |
| "parameters": [ | |
| { | |
| "$ref": "#/components/parameters/CourseId" | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "$ref": "#/components/responses/200FoodDetailOverviewArrayResponse" | |
| }, | |
| "400": { | |
| "$ref": "#/components/responses/400ErrorResponse" | |
| } | |
| } | |
| } | |
| }, | |
| "/foods/{food-id}": { | |
| "get": { | |
| "tags": [ | |
| "foods" | |
| ], | |
| "parameters": [ | |
| { | |
| "$ref": "#/components/parameters/FoodId" | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "$ref": "#/components/responses/200FoodResponse" | |
| }, | |
| "400": { | |
| "$ref": "#/components/responses/400ErrorResponse" | |
| } | |
| } | |
| } | |
| }, | |
| "/nutritions": { | |
| "post": { | |
| "tags": [ | |
| "nutrition" | |
| ], | |
| "requestBody": { | |
| "$ref": "#/components/requestBodies/NutritionRequestBody" | |
| }, | |
| "responses": { | |
| "200": { | |
| "$ref": "#/components/responses/200NutritionResponse" | |
| }, | |
| "400": { | |
| "$ref": "#/components/responses/400ErrorResponse" | |
| } | |
| } | |
| } | |
| }, | |
| "/nutrition/{nutrition-id}": { | |
| "get": { | |
| "tags": [ | |
| "nutrition" | |
| ], | |
| "parameters": [ | |
| { | |
| "$ref": "#/components/parameters/NutritionId" | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "$ref": "#/components/responses/200NutritionDetailResponse" | |
| }, | |
| "400": { | |
| "$ref": "#/components/responses/400ErrorResponse" | |
| } | |
| } | |
| } | |
| }, | |
| "/organizations": { | |
| "post": { | |
| "tags": [ | |
| "organizations" | |
| ], | |
| "requestBody": { | |
| "$ref": "#/components/requestBodies/OrganizationRequestBody" | |
| }, | |
| "responses": { | |
| "200": { | |
| "$ref": "#/components/responses/200OrganizationResponse" | |
| }, | |
| "400": { | |
| "$ref": "#/components/responses/400ErrorResponse" | |
| } | |
| } | |
| } | |
| }, | |
| "/schedule-exercises": { | |
| "post": { | |
| "tags": [ | |
| "schedule exercises" | |
| ], | |
| "requestBody": { | |
| "$ref": "#/components/requestBodies/ScheduleExerciseRequestBody" | |
| }, | |
| "responses": { | |
| "200": { | |
| "$ref": "#/components/responses/200ScheduleExerciseResponse" | |
| }, | |
| "400": { | |
| "$ref": "#/components/responses/400ErrorResponse" | |
| } | |
| } | |
| } | |
| }, | |
| "/schedule-nutrition": { | |
| "post": { | |
| "tags": [ | |
| "schedule nutrition" | |
| ], | |
| "requestBody": { | |
| "$ref": "#/components/requestBodies/ScheduleNutritionRequestBody" | |
| }, | |
| "responses": { | |
| "200": { | |
| "$ref": "#/components/responses/200ScheduleNutritionResponse" | |
| }, | |
| "400": { | |
| "$ref": "#/components/responses/400ErrorResponse" | |
| } | |
| } | |
| } | |
| }, | |
| "/schedules/moodle/detail/{user-id}/{schedule-id}": { | |
| "get": { | |
| "tags": [ | |
| "courses" | |
| ], | |
| "parameters": [ | |
| { | |
| "$ref": "#/components/parameters/UserId" | |
| }, | |
| { | |
| "$ref": "#/components/parameters/ScheduleId" | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "$ref": "#/components/responses/200ScheduleMoodleDetailResponse" | |
| }, | |
| "400": { | |
| "$ref": "#/components/responses/400ErrorResponse" | |
| } | |
| } | |
| } | |
| }, | |
| "/schedules/moodle/nutrition/{user-id}/{schedule-id}": { | |
| "get": { | |
| "tags": [ | |
| "courses" | |
| ], | |
| "parameters": [ | |
| { | |
| "$ref": "#/components/parameters/UserId" | |
| }, | |
| { | |
| "$ref": "#/components/parameters/ScheduleId" | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "$ref": "#/components/responses/200ScheduleMoodleNutritionResponse" | |
| }, | |
| "400": { | |
| "$ref": "#/components/responses/400ErrorResponse" | |
| } | |
| } | |
| } | |
| }, | |
| "/tutorials": { | |
| "post": { | |
| "tags": [ | |
| "tutorials" | |
| ], | |
| "requestBody": { | |
| "$ref": "#/components/requestBodies/TutorialRequestBody" | |
| }, | |
| "responses": { | |
| "200": { | |
| "$ref": "#/components/responses/200TutorialResponse" | |
| }, | |
| "400": { | |
| "$ref": "#/components/responses/400ErrorResponse" | |
| } | |
| } | |
| } | |
| }, | |
| "/users/catalog/popular/{user-id}": { | |
| "get": { | |
| "tags": [ | |
| "users" | |
| ], | |
| "parameters": [ | |
| { | |
| "$ref": "#/components/parameters/UserId" | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "$ref": "#/components/responses/200UserCatalogPopularArrayResponse" | |
| }, | |
| "400": { | |
| "$ref": "#/components/responses/400ErrorResponse" | |
| } | |
| } | |
| } | |
| }, | |
| "/users/profile/customer/{user-id}": { | |
| "get": { | |
| "tags": [ | |
| "users" | |
| ], | |
| "parameters": [ | |
| { | |
| "$ref": "#/components/parameters/UserId" | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "$ref": "#/components/responses/200UserProfileResponse" | |
| }, | |
| "400": { | |
| "$ref": "#/components/responses/400ErrorResponse" | |
| } | |
| } | |
| } | |
| }, | |
| "/users/profile/trainer/{user-id}": { | |
| "get": { | |
| "tags": [ | |
| "users" | |
| ], | |
| "parameters": [ | |
| { | |
| "$ref": "#/components/parameters/UserId" | |
| } | |
| ], | |
| "responses": { | |
| "200": { | |
| "$ref": "#/components/responses/200UserProfileResponse" | |
| }, | |
| "400": { | |
| "$ref": "#/components/responses/400ErrorResponse" | |
| } | |
| } | |
| } | |
| }, | |
| "/users/{user-id}": { | |
| "patch": { | |
| "tags": [ | |
| "users" | |
| ], | |
| "parameters": [ | |
| { | |
| "$ref": "#/components/parameters/UserId" | |
| } | |
| ], | |
| "requestBody": { | |
| "$ref": "#/components/requestBodies/UserRequestBody" | |
| }, | |
| "responses": { | |
| "200": { | |
| "$ref": "#/components/responses/200UserResponse" | |
| }, | |
| "400": { | |
| "$ref": "#/components/responses/400ErrorResponse" | |
| } | |
| } | |
| } | |
| }, | |
| "/user-certifications": { | |
| "post": { | |
| "tags": [ | |
| "users" | |
| ], | |
| "requestBody": { | |
| "$ref": "#/components/requestBodies/UserCertificationRequestBody" | |
| }, | |
| "responses": { | |
| "200": { | |
| "$ref": "#/components/responses/200UserCertificationResponse" | |
| }, | |
| "400": { | |
| "$ref": "#/components/responses/400ErrorResponse" | |
| } | |
| } | |
| } | |
| }, | |
| "/user-certifications/profile/trainer/{user-id}": { | |
| "post": { | |
| "tags": [ | |
| "users" | |
| ], | |
| "requestBody": { | |
| "$ref": "#/components/requestBodies/UserCertificationRequestBody" | |
| }, | |
| "responses": { | |
| "200": { | |
| "$ref": "#/components/responses/200UserCertificationProfileTrainerArrayResponse" | |
| }, | |
| "400": { | |
| "$ref": "#/components/responses/400ErrorResponse" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "components": { | |
| "securitySchemes": { | |
| "BasicAuth": { | |
| "type": "http", | |
| "scheme": "basic" | |
| } | |
| }, | |
| "schemas": { | |
| "BodyPartRequest": { | |
| "type": "object", | |
| "properties": { | |
| "name": { | |
| "type": "string" | |
| }, | |
| "avatart": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "CategoryRequest": { | |
| "type": "object", | |
| "properties": { | |
| "name": { | |
| "type": "string" | |
| }, | |
| "avatar": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "CourseRequest": { | |
| "type": "object", | |
| "properties": { | |
| "user_id": { | |
| "type": "string" | |
| }, | |
| "name": { | |
| "type": "string" | |
| }, | |
| "start_time": { | |
| "type": "string" | |
| }, | |
| "end_time": { | |
| "type": "string" | |
| }, | |
| "description": { | |
| "type": "string" | |
| }, | |
| "type": { | |
| "type": "string", | |
| "enum": [ | |
| "OFFLINE", | |
| "ONLINE", | |
| "PT1VS1" | |
| ], | |
| "default": "ONLINE" | |
| }, | |
| "fee": { | |
| "type": "integer" | |
| }, | |
| "max_student": { | |
| "type": "integer" | |
| }, | |
| "status": { | |
| "type": "string", | |
| "enum": [ | |
| "DRAFT", | |
| "WAITINGAPPROVAL", | |
| "ACTIVATE", | |
| "DEACTIVATE" | |
| ], | |
| "default": "DRAFT" | |
| } | |
| } | |
| }, | |
| "CourseImageRequest": { | |
| "type": "object", | |
| "properties": { | |
| "course_id": { | |
| "type": "string" | |
| }, | |
| "image": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "CourseBodyPartRequest": { | |
| "type": "object", | |
| "properties": { | |
| "course_id": { | |
| "type": "string" | |
| }, | |
| "body_part_id": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "CourseCategoryRequest": { | |
| "type": "object", | |
| "properties": { | |
| "course_id": { | |
| "type": "string" | |
| }, | |
| "category_id": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "CourseFoodRequest": { | |
| "type": "object", | |
| "properties": { | |
| "course_id": { | |
| "type": "string" | |
| }, | |
| "food_id": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "ExerciseRequest": { | |
| "type": "object", | |
| "properties": { | |
| "name": { | |
| "type": "string" | |
| }, | |
| "description": { | |
| "type": "string" | |
| }, | |
| "energy": { | |
| "type": "integer" | |
| }, | |
| "start_time": { | |
| "type": "string" | |
| }, | |
| "end_time": { | |
| "type": "string" | |
| }, | |
| "avatar": { | |
| "type": "string" | |
| }, | |
| "video": { | |
| "type": "string" | |
| }, | |
| "status": { | |
| "type": "string", | |
| "enum": [ | |
| "DRAFT", | |
| "ACTIVATE", | |
| "DEACTIVATE" | |
| ], | |
| "default": "DRAFT" | |
| } | |
| } | |
| }, | |
| "ExerciseDetailRequest": { | |
| "type": "object", | |
| "properties": { | |
| "body_parts": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/BodyPartRequest" | |
| } | |
| }, | |
| "tutorials": { | |
| "type": "array", | |
| "items": { | |
| "$ref": "#/components/schemas/TutorialRequest" | |
| } | |
| }, | |
| "name": { | |
| "type": "string" | |
| }, | |
| "description": { | |
| "type": "string" | |
| }, | |
| "energy": { | |
| "type": "integer" | |
| }, | |
| "duration": { | |
| "type": "integer" | |
| }, | |
| "avatar": { | |
| "type": "string" | |
| }, | |
| "video": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "ExerciseBodyPartRequest": { | |
| "type": "object", | |
| "properties": { | |
| "exercise_id": { | |
| "type": "string" | |
| }, | |
| "body_part_id": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "FeedbackRequest": { | |
| "type": "object", | |
| "properties": { | |
| "content": { | |
| "type": "string" | |
| }, | |
| "point_prepare": { | |
| "type": "integer" | |
| }, | |
| "point_trainer": { | |
| "type": "integer" | |
| }, | |
| "point_support": { | |
| "type": "integer" | |
| }, | |
| "point_time": { | |
| "type": "integer" | |
| } | |
| } | |
| }, | |
| "FeedbackNutritionRequest": { | |
| "type": "object", | |
| "properties": { | |
| "id": { | |
| "type": "string" | |
| }, | |
| "user_id": { | |
| "type": "string" | |
| }, | |
| "nutrition_id": { | |
| "type": "string" | |
| }, | |
| "amount": { | |
| "type": "integer" | |
| }, | |
| "unit": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "FilterAdvanceRequest": { | |
| "type": "object", | |
| "properties": { | |
| "name": { | |
| "type": "string" | |
| }, | |
| "target_type": { | |
| "type": "string" | |
| }, | |
| "form_type": { | |
| "type": "string" | |
| }, | |
| "quantity_course": { | |
| "type": "number" | |
| }, | |
| "body_parts": { | |
| "type": "array" | |
| }, | |
| "categories": { | |
| "type": "array" | |
| }, | |
| "sort_rating": { | |
| "type": "string", | |
| "enum": [ | |
| "DESC", | |
| "ASC" | |
| ] | |
| }, | |
| "sort_alphabet": { | |
| "type": "string", | |
| "enum": [ | |
| "DESC", | |
| "ASC" | |
| ] | |
| } | |
| } | |
| }, | |
| "OrganizationRequest": { | |
| "type": "object", | |
| "properties": { | |
| "name": { | |
| "type": "string" | |
| }, | |
| "description": { | |
| "type": "string" | |
| }, | |
| "avatar": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "NutritionRequest": { | |
| "type": "object", | |
| "properties": { | |
| "name": { | |
| "type": "string" | |
| }, | |
| "description": { | |
| "type": "string" | |
| }, | |
| "energy": { | |
| "type": "int" | |
| }, | |
| "avatar": { | |
| "type": "string" | |
| }, | |
| "amount": { | |
| "type": "string" | |
| }, | |
| "unit": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "ScheduleExerciseRequest": { | |
| "type": "object", | |
| "properties": { | |
| "schedule_id": { | |
| "type": "string" | |
| }, | |
| "exercise_id": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "ScheduleNutritionRequest": { | |
| "type": "object", | |
| "properties": { | |
| "nutrition_id": { | |
| "type": "string" | |
| }, | |
| "exercise_id": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "TutorialRequest": { | |
| "type": "object", | |
| "properties": { | |
| "avatar": { | |
| "type": "string" | |
| }, | |
| "content": { | |
| "type": "string" | |
| }, | |
| "priority": { | |
| "type": "int" | |
| } | |
| } | |
| }, | |
| "UserRequest": { | |
| "type": "object", | |
| "properties": { | |
| "email": { | |
| "type": "string" | |
| }, | |
| "fullname": { | |
| "type": "string" | |
| }, | |
| "phone_number": { | |
| "type": "string" | |
| }, | |
| "address": { | |
| "type": "string" | |
| }, | |
| "avatar": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "UserCertificationRequest": { | |
| "type": "object", | |
| "properties": { | |
| "user_id": { | |
| "type": "string" | |
| }, | |
| "organization_id": { | |
| "type": "string" | |
| }, | |
| "name": { | |
| "type": "string" | |
| }, | |
| "avatar": { | |
| "type": "string" | |
| }, | |
| "descripton": { | |
| "type": "string" | |
| }, | |
| "at_time": { | |
| "type": "string" | |
| } | |
| } | |
| } | |
| }, | |
| "requestBodies": { | |
| "BodyPartRequestBody": { | |
| "description": "none", | |
| "required": true, | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/BodyPartRequest" | |
| }, | |
| "examples": { | |
| "BodyPartRequestExample": { | |
| "$ref": "#/components/examples/BodyPartRequestExample" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "CategoryRequestBody": { | |
| "description": "none", | |
| "required": true, | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/CategoryRequest" | |
| }, | |
| "examples": { | |
| "CategoryRequestExample": { | |
| "$ref": "#/components/examples/CategoryRequestExample" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "CourseRequestBody": { | |
| "description": "none", | |
| "required": true, | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/CourseRequest" | |
| }, | |
| "examples": { | |
| "CourseRequestExample": { | |
| "$ref": "#/components/examples/CourseRequestExample" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "CourseImageRequestBody": { | |
| "description": "none", | |
| "required": true, | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/CourseImageRequest" | |
| }, | |
| "examples": { | |
| "CourseImageRequestExample": { | |
| "$ref": "#/components/examples/CourseImageRequestExample" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "CourseBodyPartRequestBody": { | |
| "description": "none", | |
| "required": true, | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/CourseBodyPartRequest" | |
| }, | |
| "examples": { | |
| "CourseBodyPartRequestExample": { | |
| "$ref": "#/components/examples/CourseBodyPartRequestExample" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "CourseCategoryRequestBody": { | |
| "description": "none", | |
| "required": true, | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/CourseCategoryRequest" | |
| }, | |
| "examples": { | |
| "CourseCategoryRequestExample": { | |
| "$ref": "#/components/examples/CourseCategoryRequestExample" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "CourseFoodRequestBody": { | |
| "description": "none", | |
| "required": true, | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/CourseFoodRequest" | |
| }, | |
| "examples": { | |
| "CourseFoodRequestExample": { | |
| "$ref": "#/components/examples/CourseFoodRequestExample" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "ExerciseRequestBody": { | |
| "description": "none", | |
| "required": true, | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/ExerciseRequest" | |
| }, | |
| "examples": { | |
| "ExerciseRequestExample": { | |
| "$ref": "#/components/examples/ExerciseRequestExample" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "ExerciseDetailRequestBody": { | |
| "description": "none", | |
| "required": true, | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/ExerciseDetailRequest" | |
| }, | |
| "examples": { | |
| "ExerciseDetailRequestExample": { | |
| "$ref": "#/components/examples/ExerciseDetailRequestExample" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "ExerciseBodyPartRequestBody": { | |
| "description": "none", | |
| "required": true, | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/ExerciseBodyPartRequest" | |
| }, | |
| "examples": { | |
| "ExerciseBodyPartRequestExample": { | |
| "$ref": "#/components/examples/ExerciseBodyPartRequestExample" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "FilterAdvanceRequestBody": { | |
| "description": "none", | |
| "required": true, | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/FilterAdvanceRequest" | |
| }, | |
| "examples": { | |
| "FilterAdvanceRequestExample": { | |
| "$ref": "#/components/examples/FilterAdvanceRequestExample" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "FeedbackRequestBody": { | |
| "description": "none", | |
| "required": true, | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/FeedbackRequest" | |
| }, | |
| "examples": { | |
| "FeedbackRequestExample": { | |
| "$ref": "#/components/examples/FeedbackRequestExample" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "FeedbackNutritionRequestBody": { | |
| "description": "none", | |
| "required": true, | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/FeedbackNutritionRequest" | |
| }, | |
| "examples": { | |
| "FeedbackNutritionRequestExample": { | |
| "$ref": "#/components/examples/FeedbackNutritionRequestExample" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "OrganizationRequestBody": { | |
| "description": "none", | |
| "required": true, | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/OrganizationRequest" | |
| }, | |
| "examples": { | |
| "OrganizationRequestExample": { | |
| "$ref": "#/components/examples/OrganizationRequestExample" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "NutritionRequestBody": { | |
| "description": "none", | |
| "required": true, | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/NutritionRequest" | |
| }, | |
| "examples": { | |
| "NutritionRequestExample": { | |
| "$ref": "#/components/examples/NutritionRequestExample" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "ScheduleExerciseRequestBody": { | |
| "description": "none", | |
| "required": true, | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/ScheduleExerciseRequest" | |
| }, | |
| "examples": { | |
| "ScheduleExerciseRequestExample": { | |
| "$ref": "#/components/examples/ScheduleExerciseRequestExample" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "ScheduleNutritionRequestBody": { | |
| "description": "none", | |
| "required": true, | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/ScheduleNutritionRequest" | |
| }, | |
| "examples": { | |
| "ScheduleNutritionRequestExample": { | |
| "$ref": "#/components/examples/ScheduleNutritionRequestExample" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "TutorialRequestBody": { | |
| "description": "none", | |
| "required": true, | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/TutorialRequest" | |
| }, | |
| "examples": { | |
| "TutorialRequestExample": { | |
| "$ref": "#/components/examples/TutorialRequestExample" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "UserRequestBody": { | |
| "description": "none", | |
| "required": true, | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/UserRequest" | |
| }, | |
| "examples": { | |
| "UserRequestExample": { | |
| "$ref": "#/components/examples/UserRequestExample" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "UserCertificationRequestBody": { | |
| "description": "none", | |
| "required": true, | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "$ref": "#/components/schemas/UserCertificationRequest" | |
| }, | |
| "examples": { | |
| "UserCertificationRequestExample": { | |
| "$ref": "#/components/examples/UserCertificationRequestExample" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "parameters": { | |
| "CourseId": { | |
| "name": "course-id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string" | |
| } | |
| }, | |
| "ExercisesId": { | |
| "name": "exercises-id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string" | |
| } | |
| }, | |
| "FoodId": { | |
| "name": "food-id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string" | |
| } | |
| }, | |
| "NutritionId": { | |
| "name": "nutrition-id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string" | |
| } | |
| }, | |
| "ScheduleId": { | |
| "name": "course-id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string" | |
| } | |
| }, | |
| "UserId": { | |
| "name": "user-id", | |
| "in": "path", | |
| "required": true, | |
| "schema": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "responses": { | |
| "400ErrorResponse": { | |
| "description": "Invalid request", | |
| "content": { | |
| "application/json": { | |
| "schema": { | |
| "type": "object", | |
| "properties": { | |
| "message": { | |
| "type": "string" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "200BodyPartFilterAdvanceArrayResponse": { | |
| "description": "none", | |
| "content": { | |
| "application/json": { | |
| "examples": { | |
| "BodyPartFilterAdvanceArrayResponseExample": { | |
| "$ref": "#/components/examples/BodyPartFilterAdvanceArrayResponseExample" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "200BodyPartResponse": { | |
| "description": "none", | |
| "content": { | |
| "application/json": { | |
| "examples": { | |
| "BodyPartResponseExample": { | |
| "$ref": "#/components/examples/BodyPartResponseExample" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "200CategoryResponse": { | |
| "description": "none", | |
| "content": { | |
| "application/json": { | |
| "examples": { | |
| "CategoryResponseExample": { | |
| "$ref": "#/components/examples/CategoryResponseExample" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "200CategoryCatalogFavoriteArrayResponse": { | |
| "description": "none", | |
| "content": { | |
| "application/json": { | |
| "examples": { | |
| "CategoryCatalogFavoriteArrayResponseExample": { | |
| "$ref": "#/components/examples/CategoryCatalogFavoriteArrayResponseExample" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "200CategoryFilterAdvanceArrayResponse": { | |
| "description": "none", | |
| "content": { | |
| "application/json": { | |
| "examples": { | |
| "CategoryFilterAdvanceArrayResponseExample": { | |
| "$ref": "#/components/examples/CategoryFilterAdvanceArrayResponseExample" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "200CourseResponse": { | |
| "description": "none", | |
| "content": { | |
| "application/json": { | |
| "examples": { | |
| "CourseResponseExample": { | |
| "$ref": "#/components/examples/CourseResponseExample" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "200CourseCatalogPopularArrayResponse": { | |
| "description": "none", | |
| "content": { | |
| "application/json": { | |
| "examples": { | |
| "CourseCatalogPopularArrayResponseExample": { | |
| "$ref": "#/components/examples/CourseCatalogPopularArrayResponseExample" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "200CourseFilterResultArrayResponse": { | |
| "description": "none", | |
| "content": { | |
| "application/json": { | |
| "examples": { | |
| "CourseFilterResultArrayResponseExample": { | |
| "$ref": "#/components/examples/CourseFilterResultArrayResponseExample" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "200CourseMoodleStudentOverviewArrayResponse": { | |
| "description": "none", | |
| "content": { | |
| "application/json": { | |
| "examples": { | |
| "CourseMoodleStudentOverviewArrayResponseExample": { | |
| "$ref": "#/components/examples/CourseMoodleStudentOverviewArrayResponseExample" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "200CourseDetailOverviewResponse": { | |
| "description": "none", | |
| "content": { | |
| "application/json": { | |
| "examples": { | |
| "CourseDetailOverviewResponseExample": { | |
| "$ref": "#/components/examples/CourseDetailOverviewResponseExample" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "200CourseDetailScheduleResponse": { | |
| "description": "none", | |
| "content": { | |
| "application/json": { | |
| "examples": { | |
| "CourseDetailScheduleResponseExample": { | |
| "$ref": "#/components/examples/CourseDetailScheduleResponseExample" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "200CourseMoodleStudentOverviewResponse": { | |
| "description": "none", | |
| "content": { | |
| "application/json": { | |
| "examples": { | |
| "CourseMoodleStudentOverviewResponseExample": { | |
| "$ref": "#/components/examples/CourseMoodleStudentOverviewResponseExample" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "200CourseMoodleTrainerOverviewArrayResponse": { | |
| "description": "none", | |
| "content": { | |
| "application/json": { | |
| "examples": { | |
| "CourseMoodleTrainerOverviewArrayResponseExample": { | |
| "$ref": "#/components/examples/CourseMoodleTrainerOverviewArrayResponseExample" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "200CourseMoodleTrainerDetailResponse": { | |
| "description": "none", | |
| "content": { | |
| "application/json": { | |
| "examples": { | |
| "CourseMoodleTrainerDetailResponseExample": { | |
| "$ref": "#/components/examples/CourseMoodleTrainerDetailResponseExample" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "200CourseMoodleStudentStatisticResponse": { | |
| "description": "none", | |
| "content": { | |
| "application/json": { | |
| "examples": { | |
| "CourseMoodleStudentStatisticResponseExample": { | |
| "$ref": "#/components/examples/CourseMoodleStudentStatisticResponseExample" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "200CourseImageResponse": { | |
| "description": "none", | |
| "content": { | |
| "application/json": { | |
| "examples": { | |
| "CourseImageResponseExample": { | |
| "$ref": "#/components/examples/CourseImageResponseExample" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "200CourseBodyPartResponse": { | |
| "description": "none", | |
| "content": { | |
| "application/json": { | |
| "examples": { | |
| "CourseBodyPartResponseExample": { | |
| "$ref": "#/components/examples/CourseBodyPartResponseExample" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "200CourseCategoryResponse": { | |
| "description": "none", | |
| "content": { | |
| "application/json": { | |
| "examples": { | |
| "CourseCategoryResponseExample": { | |
| "$ref": "#/components/examples/CourseCategoryResponseExample" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "200CourseFoodResponse": { | |
| "description": "none", | |
| "content": { | |
| "application/json": { | |
| "examples": { | |
| "CourseFoodResponseExample": { | |
| "$ref": "#/components/examples/CourseFoodResponseExample" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "200ExerciseDetailResponse": { | |
| "description": "none", | |
| "content": { | |
| "application/json": { | |
| "examples": { | |
| "ExerciseDetailResponseExample": { | |
| "$ref": "#/components/examples/ExerciseDetailResponseExample" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "200ExerciseResponse": { | |
| "description": "none", | |
| "content": { | |
| "application/json": { | |
| "examples": { | |
| "ExerciseResponseExample": { | |
| "$ref": "#/components/examples/ExerciseResponseExample" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "200ExerciseBodyPartResponse": { | |
| "description": "none", | |
| "content": { | |
| "application/json": { | |
| "examples": { | |
| "ExerciseBodyPartResponseExample": { | |
| "$ref": "#/components/examples/ExerciseBodyPartResponseExample" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "200FeedbackResponse": { | |
| "description": "none", | |
| "content": { | |
| "application/json": { | |
| "examples": { | |
| "FeedbackResponseExample": { | |
| "$ref": "#/components/examples/FeedbackResponseExample" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "200FeedbackNutritionResponse": { | |
| "description": "none", | |
| "content": { | |
| "application/json": { | |
| "examples": { | |
| "FeedbackNutritionResponseExample": { | |
| "$ref": "#/components/examples/FeedbackNutritionResponseExample" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "200FoodDetailOverviewArrayResponse": { | |
| "description": "none", | |
| "content": { | |
| "application/json": { | |
| "examples": { | |
| "FoodDetailOverviewArrayResponseExample": { | |
| "$ref": "#/components/examples/FoodDetailOverviewArrayResponseExample" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "200FoodResponse": { | |
| "description": "none", | |
| "content": { | |
| "application/json": { | |
| "examples": { | |
| "FoodResponseExample": { | |
| "$ref": "#/components/examples/FoodResponseExample" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "200OrganizationResponse": { | |
| "description": "none", | |
| "content": { | |
| "application/json": { | |
| "examples": { | |
| "OrganizationResponseExample": { | |
| "$ref": "#/components/examples/OrganizationResponseExample" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "200NutritionDetailResponse": { | |
| "description": "none", | |
| "content": { | |
| "application/json": { | |
| "examples": { | |
| "NutritionDetailResponseExample": { | |
| "$ref": "#/components/examples/NutritionDetailResponseExample" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "200NutritionResponse": { | |
| "description": "none", | |
| "content": { | |
| "application/json": { | |
| "examples": { | |
| "NutritionResponseExample": { | |
| "$ref": "#/components/examples/NutritionResponseExample" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "200ScheduleExerciseResponse": { | |
| "description": "none", | |
| "content": { | |
| "application/json": { | |
| "examples": { | |
| "ScheduleExerciseResponseExample": { | |
| "$ref": "#/components/examples/ScheduleExerciseResponseExample" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "200ScheduleNutritionResponse": { | |
| "description": "none", | |
| "content": { | |
| "application/json": { | |
| "examples": { | |
| "ScheduleNutritionResponseExample": { | |
| "$ref": "#/components/examples/ScheduleNutritionResponseExample" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "200ScheduleMoodleDetailResponse": { | |
| "description": "none", | |
| "content": { | |
| "application/json": { | |
| "examples": { | |
| "ScheduleMoodleDetailResponseExample": { | |
| "$ref": "#/components/examples/ScheduleMoodleDetailResponseExample" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "200ScheduleMoodleNutritionResponse": { | |
| "description": "none", | |
| "content": { | |
| "application/json": { | |
| "examples": { | |
| "ScheduleMoodleNutritionResponseExample": { | |
| "$ref": "#/components/examples/ScheduleMoodleNutritionResponseExample" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "200TutorialResponse": { | |
| "description": "none", | |
| "content": { | |
| "application/json": { | |
| "examples": { | |
| "TutorialResponseExample": { | |
| "$ref": "#/components/examples/TutorialResponseExample" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "200UserCatalogPopularArrayResponse": { | |
| "description": "none", | |
| "content": { | |
| "application/json": { | |
| "examples": { | |
| "CourseCatalogPopularArrayResponseExample": { | |
| "$ref": "#/components/examples/CourseCatalogPopularArrayResponseExample" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "200UserProfileResponse": { | |
| "description": "none", | |
| "content": { | |
| "application/json": { | |
| "examples": { | |
| "UserProfileResponseExample": { | |
| "$ref": "#/components/examples/UserProfileResponseExample" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "200UserResponse": { | |
| "description": "none", | |
| "content": { | |
| "application/json": { | |
| "examples": { | |
| "UserResponseExample": { | |
| "$ref": "#/components/examples/UserResponseExample" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "200UserCertificationResponse": { | |
| "description": "none", | |
| "content": { | |
| "application/json": { | |
| "examples": { | |
| "UserCertificationResponseExample": { | |
| "$ref": "#/components/examples/UserCertificationResponseExample" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "200UserCertificationProfileTrainerArrayResponse": { | |
| "description": "none", | |
| "content": { | |
| "application/json": { | |
| "examples": { | |
| "UserCertificationProfileTrainerArrayResponseExample": { | |
| "$ref": "#/components/examples/UserCertificationProfileTrainerResponseExample" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "examples": { | |
| "BodyPartFilterAdvanceArrayResponseExample": { | |
| "value": { | |
| "data": [ | |
| { | |
| "id": 2188824203011112200, | |
| "name": "Tri nao", | |
| "avatar": "https://picsum.photos/200/200", | |
| "quantity": 4 | |
| }, | |
| { | |
| "id": 2188834200011112200, | |
| "name": "Tim", | |
| "avatar": "https://picsum.photos/200/200", | |
| "quantity": 12 | |
| }, | |
| { | |
| "id": 4188824200011112400, | |
| "name": "Than", | |
| "avatar": "https://picsum.photos/200/200", | |
| "quantity": 8 | |
| }, | |
| { | |
| "id": 1288824200011112200, | |
| "name": "M", | |
| "avatar": "https://picsum.photos/200/200", | |
| "quantity": 3 | |
| }, | |
| { | |
| "id": "210882420b012112223", | |
| "name": "Tieu hoa", | |
| "avatar": "https://picsum.photos/200/200", | |
| "quantity": 5 | |
| }, | |
| { | |
| "id": "218882420b013112223", | |
| "name": "Bo phan sinh duc", | |
| "avatar": "https://picsum.photos/200/200", | |
| "quantity": 20 | |
| } | |
| ] | |
| } | |
| }, | |
| "BodyPartRequestExample": { | |
| "value": { | |
| "name": "Cot song", | |
| "avatar": "https://picsum.photos/200/200" | |
| } | |
| }, | |
| "BodyPartResponseExample": { | |
| "value": { | |
| "data": { | |
| "id": 2188824200011112200, | |
| "name": "Cot song", | |
| "avatar": "https://picsum.photos/200/200" | |
| } | |
| } | |
| }, | |
| "CategoryRequestExample": { | |
| "value": { | |
| "name": "Hatha Yoga", | |
| "avatar": "https://picsum.photos/200/300" | |
| } | |
| }, | |
| "CategoryResponseExample": { | |
| "value": { | |
| "data": { | |
| "id": 2188824200011112200, | |
| "name": "Hatha Yoga", | |
| "avatar": "https://picsum.photos/200/300" | |
| } | |
| } | |
| }, | |
| "CategoryFilterAdvanceArrayResponseExample": { | |
| "value": { | |
| "data": [ | |
| { | |
| "id": 2188824200011112200, | |
| "name": "Boxing", | |
| "avatar": "https://picsum.photos/200/300", | |
| "quantity": 3 | |
| }, | |
| { | |
| "id": 2188834200011112200, | |
| "name": "Hatha Yoga", | |
| "avatar": "https://picsum.photos/200/300", | |
| "quantity": 12 | |
| }, | |
| { | |
| "id": 4188824200011112400, | |
| "name": "Body Bum", | |
| "avatar": "https://picsum.photos/200/300", | |
| "quantity": null | |
| }, | |
| { | |
| "id": "128882420b031112223", | |
| "name": "Jumpa", | |
| "avatar": "https://picsum.photos/200/300", | |
| "quantity": 23 | |
| }, | |
| { | |
| "id": "210882420b012112223", | |
| "name": "Karate", | |
| "avatar": "https://picsum.photos/200/300", | |
| "quantity": 5 | |
| } | |
| ], | |
| "pagination": { | |
| "current": 1, | |
| "next": 2, | |
| "pre": 0, | |
| "take": 5, | |
| "total": 16 | |
| } | |
| } | |
| }, | |
| "CategoryCatalogFavoriteArrayResponseExample": { | |
| "value": { | |
| "data": [ | |
| { | |
| "id": 2188824200011112200, | |
| "name": "Hatha Yoga", | |
| "avatar": "https://picsum.photos/200/300", | |
| "content": "Xuong khop", | |
| "description": "Gentle Yoga là loại hình yoga mang trong nó sự kết hợp của các tư thế chậm và đơn giản, nhưng có tác động sâu sắc tới hệ cơ và xươ . . .", | |
| "body_parts": [ | |
| { | |
| "id": 2188824201211112200, | |
| "name": "Mat", | |
| "avatar": "https://picsum.photos/200/200" | |
| }, | |
| { | |
| "id": 2188824201261112300, | |
| "name": "Cot song", | |
| "avatar": "https://picsum.photos/200/200" | |
| }, | |
| { | |
| "id": 2188824201231112200, | |
| "name": "Tri nao", | |
| "avatar": "https://picsum.photos/200/200" | |
| }, | |
| { | |
| "id": 2188824201281112300, | |
| "name": "Tim", | |
| "avatar": "https://picsum.photos/200/200" | |
| } | |
| ] | |
| }, | |
| { | |
| "id": 2198824200011112200, | |
| "name": "Gentle Yoga", | |
| "avatar": "https://picsum.photos/200/300", | |
| "content": "Tong quat", | |
| "description": "Gentle Yoga là loại hình yoga mang trong nó sự kết hợp của các tư thế chậm và đơn giản, nhưng có tác động sâu sắc tới hệ cơ và xươ . . .", | |
| "body_parts": [ | |
| { | |
| "id": 2134824201211112200, | |
| "name": "Mat", | |
| "avatar": "https://picsum.photos/200/200" | |
| }, | |
| { | |
| "id": 2146824201261112300, | |
| "name": "Cot song", | |
| "avatar": "https://picsum.photos/200/200" | |
| }, | |
| { | |
| "id": 2132824201241112300, | |
| "name": "Bung", | |
| "avatar": "https://picsum.photos/200/200" | |
| }, | |
| { | |
| "id": 2168824201231112200, | |
| "name": "Tri nao", | |
| "avatar": "https://picsum.photos/200/200" | |
| }, | |
| { | |
| "id": 2188824201281112300, | |
| "name": "Tim", | |
| "avatar": "https://picsum.photos/200/200" | |
| } | |
| ] | |
| }, | |
| { | |
| "id": 2188824200011112200, | |
| "name": "Thien nen", | |
| "avatar": "https://piencsum.photos/200/300", | |
| "content": "Thien nen", | |
| "description": "Gentle Yoga là loại hình yoga mang trong nó sự kết hợp của các tư thế chậm và đơn giản, nhưng có tác động sâu sắc tới hệ cơ và xươ . . .", | |
| "body_parts": [ | |
| { | |
| "id": 2188824201211112200, | |
| "name": "Mat", | |
| "avatar": "https://picsum.photos/200/200" | |
| }, | |
| { | |
| "id": 2188824201241112300, | |
| "name": "Bung", | |
| "avatar": "https://picsum.photos/200/200" | |
| }, | |
| { | |
| "id": 2188824201231112200, | |
| "name": "Tri nao", | |
| "avatar": "https://picsum.photos/200/200" | |
| }, | |
| { | |
| "id": 2188824201281102300, | |
| "name": "Than", | |
| "avatar": "https://picsum.photos/200/200" | |
| }, | |
| { | |
| "id": 2188824201281132300, | |
| "name": "Bo phan sinh duc", | |
| "avatar": "https://picsum.photos/200/200" | |
| } | |
| ] | |
| } | |
| ], | |
| "pagination": { | |
| "current": 1, | |
| "next": 2, | |
| "pre": 0, | |
| "take": 5, | |
| "total": 16 | |
| } | |
| } | |
| }, | |
| "CourseRequestExample": { | |
| "value": { | |
| "user_id": 2188824200011112200, | |
| "name": "Khoa hoc yoga cho nguoi bat day", | |
| "start_time": "22/12/2020", | |
| "end_time": "30/12/2020", | |
| "description": "Ưu Đãi Dành Cho 100 Khách Đầu Tiên, Miễn Phí Tập Với Huấn Luyện Viên, Sở Hữu Body Săn Chắc. Phương Thức Thanh Toán Mới, Linh Hoạt & Dễ Dàng Tham Gia Mà Không Cần Trả Trước Cả Năm. Thon Gọn Vóc Dáng. Thải Độc Cơ Thể. Ngủ Ngon An Giấc.", | |
| "type": "ONLINE", | |
| "fee": 3000000, | |
| "max_student": 4, | |
| "status": "DRAFT" | |
| } | |
| }, | |
| "CourseResponseExample": { | |
| "value": { | |
| "data": { | |
| "id": 2188824200011112200, | |
| "user_id": 2198824200011112200, | |
| "name": "Khoa hoc yoga cho nguoi bat day", | |
| "start_time": "22/12/2020", | |
| "end_time": "30/12/2020", | |
| "description": "Ưu Đãi Dành Cho 100 Khách Đầu Tiên, Miễn Phí Tập Với Huấn Luyện Viên, Sở Hữu Body Săn Chắc. Phương Thức Thanh Toán Mới, Linh Hoạt & Dễ Dàng Tham Gia Mà Không Cần Trả Trước Cả Năm. Thon Gọn Vóc Dáng. Thải Độc Cơ Thể. Ngủ Ngon An Giấc.", | |
| "type": "ONLINE", | |
| "fee": 3000000, | |
| "max_student": 4, | |
| "status": "DRAFT" | |
| } | |
| } | |
| }, | |
| "CourseCatalogPopularArrayResponseExample": { | |
| "value": { | |
| "data": [ | |
| { | |
| "id": 2188824200011112200, | |
| "course_name": "Cam nang yoga cho nguoi moi bat dau", | |
| "trainer_name": "Hoang Thi Ngoc Hanh", | |
| "fee": 3000000, | |
| "total_point": 9.9 | |
| }, | |
| { | |
| "id": 2188824200811112200, | |
| "course_name": "Bi kip trai thang thanh bong", | |
| "trainer_name": "Nguyen Thi Thanh Luan", | |
| "fee": 4000000, | |
| "total_point": 6.9 | |
| }, | |
| { | |
| "id": 2188824200111122200, | |
| "course_name": "Noi Tinh Yeu Ket Thuc", | |
| "trainer_name": "Dao Thi Tu Anh", | |
| "fee": 9000000, | |
| "total_point": 7.9 | |
| }, | |
| { | |
| "id": 3188824208111122400, | |
| "course_name": "Tren tinh ban duoi tinh yeu", | |
| "trainer_name": "Nguyen Hong Xuan Trang", | |
| "fee": 2000000, | |
| "total_point": 7.9 | |
| } | |
| ], | |
| "pagination": { | |
| "current": 1, | |
| "next": 2, | |
| "pre": 0, | |
| "take": 5, | |
| "total": 10 | |
| } | |
| } | |
| }, | |
| "CourseFilterResultArrayResponseExample": { | |
| "value": { | |
| "data": [ | |
| { | |
| "id": 2188824200011112200, | |
| "course_name": "Cam nang yoga cho nguoi moi bat dau", | |
| "trainer_name": "Hoang Thi Ngoc Hanh", | |
| "fee": 3000000, | |
| "total_point": 9.9, | |
| "type": "online", | |
| "ranks": [ | |
| { | |
| "id": 2198824200011112200, | |
| "rank_name": "master 5 nam", | |
| "category_name": "Yoga" | |
| }, | |
| { | |
| "id": 2198824202011112200, | |
| "rank_name": "Trinh do 1", | |
| "category_name": "Gym" | |
| } | |
| ], | |
| "students": [ | |
| { | |
| "id": 2198824200011112200, | |
| "avatar": "https://picsum.photos/200/200" | |
| }, | |
| { | |
| "id": 2198824203011112200, | |
| "avatar": "https://picsum.photos/200/200" | |
| }, | |
| { | |
| "id": 2198824203011112200, | |
| "avatar": "https://picsum.photos/200/200" | |
| }, | |
| { | |
| "id": 2198824203011112200, | |
| "avatar": "https://picsum.photos/200/200" | |
| }, | |
| { | |
| "id": 2198824203011112200, | |
| "avatar": "https://picsum.photos/200/200" | |
| } | |
| ] | |
| }, | |
| { | |
| "id": 2188824200811112200, | |
| "course_name": "Bi kip trai thang thanh bong", | |
| "trainer_name": "Nguyen Thi Thanh Luan", | |
| "fee": 4000000, | |
| "total_point": 6.9, | |
| "type": "offline", | |
| "ranks": [ | |
| { | |
| "id": 2198824200011112200, | |
| "rank_name": "giao vien 200h", | |
| "category_name": "Yoga" | |
| } | |
| ], | |
| "students": [ | |
| { | |
| "id": 2198824203211112200, | |
| "avatar": "https://picsum.photos/200/200" | |
| }, | |
| { | |
| "id": 2198824203111112200, | |
| "avatar": "https://picsum.photos/200/200" | |
| } | |
| ] | |
| }, | |
| { | |
| "id": 2188824200111122200, | |
| "course_name": "Noi Tinh Yeu Ket Thuc", | |
| "trainer_name": "Dao Thi Tu Anh", | |
| "fee": 9000000, | |
| "total_point": 7.9, | |
| "type": "online", | |
| "ranks": [ | |
| { | |
| "id": 2198824200011112200, | |
| "rank_name": "giao vien 500h", | |
| "category_name": "Jumpa" | |
| } | |
| ], | |
| "students": null | |
| }, | |
| { | |
| "id": 3188824208111122400, | |
| "course_name": "Tren tinh ban duoi tinh yeu", | |
| "trainer_name": "Nguyen Hong Xuan Trang", | |
| "fee": 2000000, | |
| "total_point": 7.9, | |
| "type": "offline", | |
| "ranks": [ | |
| { | |
| "id": 2198824200011112200, | |
| "rank_name": "Yoga tri lieu", | |
| "category_name": "Yoga tri lieu" | |
| }, | |
| { | |
| "id": 2198824200011112200, | |
| "rank_name": "master 5 nam", | |
| "category_name": "Yoga" | |
| } | |
| ], | |
| "students": [ | |
| { | |
| "id": 2198824200011112400, | |
| "avatar": "https://picsum.photos/200/200" | |
| }, | |
| { | |
| "id": 2198824203011112400, | |
| "avatar": "https://picsum.photos/200/200" | |
| }, | |
| { | |
| "id": 2198824203011116300, | |
| "avatar": "https://picsum.photos/200/200" | |
| } | |
| ] | |
| }, | |
| { | |
| "id": 3188834208111122400, | |
| "course_name": "Tren tinh ban duoi tinh yeu", | |
| "trainer_name": "Nguyen Hong Xuan Mai", | |
| "fee": 2000000, | |
| "total_point": 7.9, | |
| "type": "PT 1vs1 offline", | |
| "ranks": [ | |
| { | |
| "id": 2198824200011112200, | |
| "rank_name": "master 5 nam", | |
| "category_name": "Yoga" | |
| } | |
| ], | |
| "students": [ | |
| { | |
| "id": 2198824203011112400, | |
| "avatar": "https://picsum.photos/200/200" | |
| } | |
| ] | |
| } | |
| ], | |
| "pagination": { | |
| "current": 1, | |
| "next": 2, | |
| "pre": 0, | |
| "take": 5, | |
| "total": 12 | |
| } | |
| } | |
| }, | |
| "CourseDetailOverviewResponseExample": { | |
| "value": { | |
| "data": { | |
| "id": 2188824200011112200, | |
| "name": "Khoa tap yoga 14 ngay", | |
| "type": "online", | |
| "point": 4, | |
| "trainer": { | |
| "id": 2188824200011212300, | |
| "name": "Hoang Thi Ngoc Hanh", | |
| "avatar": "https://picsum.photos/200/200", | |
| "categories": [ | |
| { | |
| "id": 2188824200012212200, | |
| "name": "Yoga cong dong", | |
| "rank": "master" | |
| }, | |
| { | |
| "id": 2188824210012212200, | |
| "name": "Yoga tri lieu", | |
| "rank": "Chuyen gia 500" | |
| } | |
| ] | |
| }, | |
| "fee": 1000000, | |
| "start_time": "22/12/2012", | |
| "end_time": "30/12/2012", | |
| "max_student": 4, | |
| "curr_student": 2, | |
| "body_parts": [ | |
| { | |
| "id": 2188824220012212200, | |
| "avatar": "https://picsum.photos/200/200", | |
| "name": "Mat" | |
| }, | |
| { | |
| "id": 2188824224012212200, | |
| "avatar": "https://picsum.photos/200/200", | |
| "name": "Tai" | |
| }, | |
| { | |
| "id": 2188824220212212200, | |
| "avatar": "https://picsum.photos/200/200", | |
| "name": "Rang" | |
| }, | |
| { | |
| "id": 2188824224012212200, | |
| "avatar": "https://picsum.photos/200/200", | |
| "name": "Tim" | |
| } | |
| ], | |
| "students": [ | |
| { | |
| "id": 2188824220012212200, | |
| "avatar": "https://picsum.photos/200/200", | |
| "name": "Banh Thi Buoi" | |
| }, | |
| { | |
| "id": 2188824224012212200, | |
| "avatar": "https://picsum.photos/200/200", | |
| "name": "Dao Tu Anh" | |
| }, | |
| { | |
| "id": 2188824220212212200, | |
| "avatar": "https://picsum.photos/200/200", | |
| "name": "Nguyen Hong Xuan Trang" | |
| }, | |
| { | |
| "id": 2188824224012212200, | |
| "avatar": "https://picsum.photos/200/200", | |
| "name": "Nguyen Thi Thao" | |
| } | |
| ], | |
| "description": "Ưu Đãi Dành Cho 100 Khách Đầu Tiên, Miễn Phí Tập Với Huấn Luyện Viên, Sở Hữu Body Săn Chắc.", | |
| "target": "Ưu Đãi Dành Cho 100 Khách Đầu Tiên, Miễn Phí Tập Với Huấn Luyện Viên, Sở Hữu Body Săn Chắc. Phương Thức Thanh Toán Mới, Linh Hoạt & Dễ Dàng Tham Gia Mà Không Cần Trả", | |
| "contraindications": [ | |
| { | |
| "id": 2188824224012212200, | |
| "content": "Không dành cho phụ nữ có thai và trẻ em dưới 10 tuối", | |
| "avatar": "https://picsum.photos/200/200" | |
| }, | |
| { | |
| "id": 2188824224012212200, | |
| "content": "Không dành cho phụ nữ có thai và trẻ em dưới 10 tuối", | |
| "avatar": "https://picsum.photos/200/200" | |
| }, | |
| { | |
| "id": 2188824224012212200, | |
| "content": "Không dành cho phụ nữ có thai và trẻ em dưới 10 tuối", | |
| "avatar": "https://picsum.photos/200/200" | |
| } | |
| ], | |
| "address": "Saigon Center, Lầu 6, 65 Lê Lợi, Phường Bến Nghé, Quận 1, Tp. Hồ Chí Minh" | |
| } | |
| } | |
| }, | |
| "CourseMoodleStudentOverviewArrayResponseExample": { | |
| "value": { | |
| "data": { | |
| "close_courses": [ | |
| { | |
| "id": 2188824200011112200, | |
| "course_name": "Cam nang yoga cho nguoi moi bat dau", | |
| "trainer_name": "Hoang Thi Ngoc Hanh", | |
| "category_name": "Jumpa", | |
| "fee": 3000000, | |
| "total_point": 9.9, | |
| "ranks": [ | |
| { | |
| "id": 2198824200011112200, | |
| "rank_name": "master 5 nam", | |
| "category_name": "Yoga" | |
| }, | |
| { | |
| "id": 2198824202011112200, | |
| "rank_name": "Trinh do 1", | |
| "category_name": "Gym" | |
| } | |
| ], | |
| "students": [ | |
| { | |
| "id": 2198824200011112200, | |
| "avatar": "https://picsum.photos/200/200" | |
| }, | |
| { | |
| "id": 2198824203011112200, | |
| "avatar": "https://picsum.photos/200/200" | |
| }, | |
| { | |
| "id": 2198824203011112200, | |
| "avatar": "https://picsum.photos/200/200" | |
| }, | |
| { | |
| "id": 2198824203011112200, | |
| "avatar": "https://picsum.photos/200/200" | |
| }, | |
| { | |
| "id": 2198824203011112200, | |
| "avatar": "https://picsum.photos/200/200" | |
| } | |
| ] | |
| }, | |
| { | |
| "id": 2188824200811112200, | |
| "course_name": "Bi kip trai thang thanh bong", | |
| "trainer_name": "Nguyen Thi Thanh Luan", | |
| "category_name": "Jumpa", | |
| "fee": 4000000, | |
| "total_point": 6.9, | |
| "ranks": [ | |
| { | |
| "id": 2198824200011112200, | |
| "rank_name": "giao vien 200h", | |
| "category_name": "Yoga" | |
| } | |
| ], | |
| "students": [ | |
| { | |
| "id": 2198824203211112200, | |
| "avatar": "https://picsum.photos/200/200" | |
| }, | |
| { | |
| "id": 2198824203111112200, | |
| "avatar": "https://picsum.photos/200/200" | |
| } | |
| ] | |
| } | |
| ], | |
| "in_progress_courses": [ | |
| { | |
| "id": 2188824200111122200, | |
| "course_name": "Noi Tinh Yeu Ket Thuc", | |
| "trainer_name": "Dao Thi Tu Anh", | |
| "category_name": "Hatha Yoga", | |
| "fee": 9000000, | |
| "total_point": 7.9, | |
| "ranks": [ | |
| { | |
| "id": 2198824200011112200, | |
| "rank_name": "giao vien 500h", | |
| "category_name": "Jumpa" | |
| } | |
| ], | |
| "students": null | |
| }, | |
| { | |
| "id": 3188824208111122400, | |
| "course_name": "Tren tinh ban duoi tinh yeu", | |
| "trainer_name": "Nguyen Hong Xuan Trang", | |
| "category_name": "Thien Nen", | |
| "fee": 2000000, | |
| "total_point": 7.9, | |
| "ranks": [ | |
| { | |
| "id": 2198824200011112200, | |
| "rank_name": "Yoga tri lieu", | |
| "category_name": "Yoga tri lieu" | |
| }, | |
| { | |
| "id": 2198824200011112200, | |
| "rank_name": "master 5 nam", | |
| "category_name": "Yoga" | |
| } | |
| ], | |
| "students": [ | |
| { | |
| "id": 2198824200011112400, | |
| "avatar": "https://picsum.photos/200/200" | |
| }, | |
| { | |
| "id": 2198824203011112400, | |
| "avatar": "https://picsum.photos/200/200" | |
| }, | |
| { | |
| "id": 2198824203011116300, | |
| "avatar": "https://picsum.photos/200/200" | |
| } | |
| ] | |
| }, | |
| { | |
| "id": 3188834208111122400, | |
| "course_name": "Tren tinh ban duoi tinh yeu", | |
| "trainer_name": "Nguyen Hong Xuan Mai", | |
| "category_name": "Gym", | |
| "fee": 2000000, | |
| "total_point": 7.9, | |
| "ranks": [ | |
| { | |
| "id": 2198824200011112200, | |
| "rank_name": "master 5 nam", | |
| "category_name": "Yoga" | |
| } | |
| ], | |
| "students": [ | |
| { | |
| "id": 2198824203011112400, | |
| "avatar": "https://picsum.photos/200/200" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| "pagination": { | |
| "current": 1, | |
| "next": 2, | |
| "pre": 0, | |
| "take": 5, | |
| "total": 12 | |
| } | |
| } | |
| }, | |
| "CourseDetailScheduleResponseExample": { | |
| "value": { | |
| "data": { | |
| "id": 2188824200011112200, | |
| "calendar": { | |
| "start_time": "22/12/2020", | |
| "end_time": "25/12/2020", | |
| "list": [ | |
| { | |
| "id": 2188824201511112200, | |
| "at_time": "22/12/2012", | |
| "is_exercise": true | |
| }, | |
| { | |
| "id": "218882420b111112223", | |
| "at_time": "23/12/2012", | |
| "is_exercise": false | |
| }, | |
| { | |
| "id": "218882420b041112223", | |
| "at_time": "24/12/2012", | |
| "is_exercise": true | |
| }, | |
| { | |
| "id": "218882420b031112223", | |
| "at_time": "25/12/2012", | |
| "is_exercise": false | |
| } | |
| ] | |
| }, | |
| "schedules": [ | |
| { | |
| "id": 2188824200011112200, | |
| "exercises": { | |
| "morning": [ | |
| { | |
| "id": "218882420b012112223", | |
| "name": "Tu the be gay cot song", | |
| "start_time": 480, | |
| "end_time": 525 | |
| }, | |
| { | |
| "id": "218882420b012122223", | |
| "name": "Tu the be gay cot song", | |
| "start_time": 540, | |
| "end_time": 585 | |
| } | |
| ], | |
| "afternoon": [ | |
| { | |
| "id": "218882420b012112223", | |
| "name": "Tu the be gay cot song", | |
| "start_time": 780, | |
| "end_time": 825 | |
| }, | |
| { | |
| "id": "218882420b012122223", | |
| "name": "Tu the be gay cot song", | |
| "start_time": 840, | |
| "end_time": 885 | |
| } | |
| ] | |
| }, | |
| "nutritions": { | |
| "morning": [ | |
| { | |
| "id": "218882420b012112223", | |
| "name": "Xoai song", | |
| "energy": 200 | |
| }, | |
| { | |
| "id": "218882420b012122223", | |
| "name": "Thanh long ruot do", | |
| "energy": 200 | |
| } | |
| ], | |
| "afternoon": [ | |
| { | |
| "id": "218882420b012112223", | |
| "name": "Bo sap Da Lat", | |
| "energy": 200 | |
| }, | |
| { | |
| "id": "218882420b012122223", | |
| "name": "Vai Hung Yen", | |
| "energy": 200 | |
| } | |
| ], | |
| "evening": [ | |
| { | |
| "id": "218882420b012112223", | |
| "name": "Chuoi hat", | |
| "energy": 200 | |
| }, | |
| { | |
| "id": "218882420b012122223", | |
| "name": "Dau xanh", | |
| "energy": 200 | |
| } | |
| ] | |
| } | |
| }, | |
| { | |
| "id": 2188824200011112200, | |
| "nutritions": { | |
| "morning": [ | |
| { | |
| "id": "218882420b012112223", | |
| "name": "Xoai song", | |
| "energy": 200 | |
| }, | |
| { | |
| "id": "218882420b012122223", | |
| "name": "Thanh long ruot do", | |
| "energy": 200 | |
| } | |
| ], | |
| "afternoon": [ | |
| { | |
| "id": "218882420b012112223", | |
| "name": "Bo sap Da Lat", | |
| "energy": 200 | |
| }, | |
| { | |
| "id": "218882420b012122223", | |
| "name": "Vai Hung Yen", | |
| "energy": 200 | |
| } | |
| ], | |
| "evening": [ | |
| { | |
| "id": "218882420b012112223", | |
| "name": "Chuoi hat", | |
| "energy": 200 | |
| }, | |
| { | |
| "id": "218882420b012122223", | |
| "name": "Dau xanh", | |
| "energy": 200 | |
| } | |
| ] | |
| } | |
| }, | |
| { | |
| "id": 2188824200011112200, | |
| "exercises": { | |
| "morning": [ | |
| { | |
| "id": "218882420b012112223", | |
| "name": "Tu the be gay cot song", | |
| "start_time": 480, | |
| "end_time": 525 | |
| }, | |
| { | |
| "id": "218882420b012122223", | |
| "name": "Tu the be gay cot song", | |
| "start_time": 540, | |
| "end_time": 585 | |
| } | |
| ], | |
| "afternoon": [ | |
| { | |
| "id": "218882420b012112223", | |
| "name": "Tu the be gay cot song", | |
| "start_time": 780, | |
| "end_time": 825 | |
| }, | |
| { | |
| "id": "218882420b012122223", | |
| "name": "Tu the be gay cot song", | |
| "start_time": 840, | |
| "end_time": 885 | |
| } | |
| ] | |
| }, | |
| "nutritions": { | |
| "morning": [ | |
| { | |
| "id": "218882420b012112223", | |
| "name": "Xoai song", | |
| "energy": 200 | |
| }, | |
| { | |
| "id": "218882420b012122223", | |
| "name": "Thanh long ruot do", | |
| "energy": 200 | |
| } | |
| ], | |
| "afternoon": [ | |
| { | |
| "id": "218882420b012112223", | |
| "name": "Bo sap Da Lat", | |
| "energy": 200 | |
| }, | |
| { | |
| "id": "218882420b012122223", | |
| "name": "Vai Hung Yen", | |
| "energy": 200 | |
| } | |
| ], | |
| "evening": [ | |
| { | |
| "id": "218882420b012112223", | |
| "name": "Chuoi hat", | |
| "energy": 200 | |
| }, | |
| { | |
| "id": "218882420b012122223", | |
| "name": "Dau xanh", | |
| "energy": 200 | |
| } | |
| ] | |
| } | |
| }, | |
| { | |
| "id": 2188824200011112200, | |
| "nutritions": { | |
| "morning": [ | |
| { | |
| "id": "218882420b012112223", | |
| "name": "Xoai song", | |
| "energy": 200 | |
| }, | |
| { | |
| "id": "218882420b012122223", | |
| "name": "Thanh long ruot do", | |
| "energy": 200 | |
| } | |
| ], | |
| "afternoon": [ | |
| { | |
| "id": "218882420b012112223", | |
| "name": "Bo sap Da Lat", | |
| "energy": 200 | |
| }, | |
| { | |
| "id": "218882420b012122223", | |
| "name": "Vai Hung Yen", | |
| "energy": 200 | |
| } | |
| ], | |
| "evening": [ | |
| { | |
| "id": "218882420b012112223", | |
| "name": "Chuoi hat", | |
| "energy": 200 | |
| }, | |
| { | |
| "id": "218882420b012122223", | |
| "name": "Dau xanh", | |
| "energy": 200 | |
| } | |
| ] | |
| } | |
| } | |
| ] | |
| } | |
| } | |
| }, | |
| "CourseMoodleStudentOverviewResponseExample": { | |
| "value": { | |
| "id": 2188824200011112200, | |
| "name": "Khoa hoc yoga cua team Lotus Fitness", | |
| "total_day": 28, | |
| "remaining_day": 14, | |
| "lost_energy": 1000, | |
| "intake_energy": 8000, | |
| "exercises": [ | |
| { | |
| "name": "Bai tap buoi 15 van cot song", | |
| "start_time": 480, | |
| "end_time": 525, | |
| "energy": 400 | |
| }, | |
| { | |
| "name": "Bai tap buoi 16 van co", | |
| "start_time": 525, | |
| "end_time": 560, | |
| "energy": 450 | |
| } | |
| ], | |
| "nutritions": [ | |
| { | |
| "nutritions_name": "Day tay den", | |
| "start_time": 465, | |
| "end_time": 480, | |
| "energy": 300 | |
| }, | |
| { | |
| "name": "Bo sap Da Lat", | |
| "start_time": 465, | |
| "end_time": 480, | |
| "energy": 180 | |
| }, | |
| { | |
| "name": "Chuoi huong Ha Tinh", | |
| "start_time": 465, | |
| "end_time": 480, | |
| "energy": 150 | |
| } | |
| ] | |
| } | |
| }, | |
| "CourseMoodleTrainerOverviewArrayResponseExample": { | |
| "value": { | |
| "data": { | |
| "in_progress_course": { | |
| "total": 1, | |
| "list": [ | |
| { | |
| "id": 2188824200011112200, | |
| "name": "Cam nang yoga cho nguoi moi bat dau", | |
| "description": "Ưu Đãi Dành Cho 100 Khách Đầu Tiên, Miễn Phí Tập Với Huấn ...", | |
| "students": [ | |
| { | |
| "id": 2188824200011312000, | |
| "avatar": "https://picsum.photos/200/200", | |
| "name": "Nguyen Thien Ly" | |
| }, | |
| { | |
| "id": 2188824200111312100, | |
| "avatar": "https://picsum.photos/200/200", | |
| "name": "Dao Thi Tu Anh" | |
| }, | |
| { | |
| "id": 2188824230111312100, | |
| "avatar": "https://picsum.photos/200/200", | |
| "name": "Nguyen Hong Xuan Trang" | |
| }, | |
| { | |
| "id": 2188824210111312100, | |
| "avatar": "https://picsum.photos/200/200", | |
| "name": "Nguyen Hong Xuan Mai" | |
| }, | |
| { | |
| "id": 2188824210111312100, | |
| "avatar": "https://picsum.photos/200/200", | |
| "name": "Truong Khanh Linh" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| "close_course": { | |
| "total": 2, | |
| "list": [ | |
| { | |
| "id": 2188824200011112200, | |
| "name": "Cam nang yoga cho nguoi moi bat dau", | |
| "description": "Ưu Đãi Dành Cho 100 Khách Đầu Tiên, Miễn Phí Tập Với Huấn ...", | |
| "students": [ | |
| { | |
| "id": 2188824200011312000, | |
| "avatar": "https://picsum.photos/200/200", | |
| "name": "Nguyen Thien Ly" | |
| }, | |
| { | |
| "id": 2188824200111312100, | |
| "avatar": "https://picsum.photos/200/200", | |
| "name": "Dao Thi Tu Anh" | |
| }, | |
| { | |
| "id": 2188824230111312100, | |
| "avatar": "https://picsum.photos/200/200", | |
| "name": "Nguyen Hong Xuan Trang" | |
| }, | |
| { | |
| "id": 2188824210111312100, | |
| "avatar": "https://picsum.photos/200/200", | |
| "name": "Nguyen Hong Xuan Mai" | |
| }, | |
| { | |
| "id": 2188824210111312100, | |
| "avatar": "https://picsum.photos/200/200", | |
| "name": "Truong Khanh Linh" | |
| } | |
| ] | |
| }, | |
| { | |
| "id": 2188824203011112200, | |
| "name": "Cam nang yoga cho nguoi moi bat dau", | |
| "description": "Ưu Đãi Dành Cho 100 Khách Đầu Tiên, Miễn Phí Tập Với Huấn ...", | |
| "students": [ | |
| { | |
| "id": 2188824200011312000, | |
| "avatar": "https://picsum.photos/200/200", | |
| "name": "Nguyen Thien Ly" | |
| }, | |
| { | |
| "id": 2188824200111312100, | |
| "avatar": "https://picsum.photos/200/200", | |
| "name": "Dao Thi Tu Anh" | |
| }, | |
| { | |
| "id": 2188824230111312100, | |
| "avatar": "https://picsum.photos/200/200", | |
| "name": "Nguyen Hong Xuan Trang" | |
| }, | |
| { | |
| "id": 2188824210111312100, | |
| "avatar": "https://picsum.photos/200/200", | |
| "name": "Nguyen Hong Xuan Mai" | |
| }, | |
| { | |
| "id": 2188824210111312100, | |
| "avatar": "https://picsum.photos/200/200", | |
| "name": "Truong Khanh Linh" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| "pending_course": { | |
| "total": 3, | |
| "list": [ | |
| { | |
| "id": 2188824200011112200, | |
| "name": "Cam nang yoga cho nguoi moi bat dau", | |
| "description": "Ưu Đãi Dành Cho 100 Khách Đầu Tiên, Miễn Phí Tập Với Huấn ..." | |
| }, | |
| { | |
| "id": 2108824203011112200, | |
| "name": "Cam nang jumpa cho nguoi moi bat dau", | |
| "description": "Ưu Đãi Dành Cho 100 Khách Đầu Tiên, Miễn Phí Tập Với Huấn ..." | |
| }, | |
| { | |
| "id": 2189824203011112200, | |
| "name": "Cam nang gym cho nguoi moi bat dau", | |
| "description": "Ưu Đãi Dành Cho 100 Khách Đầu Tiên, Miễn Phí Tập Với Huấn ..." | |
| } | |
| ] | |
| }, | |
| "draft_course": { | |
| "total": 4, | |
| "list": [ | |
| { | |
| "id": 2188824200011112200, | |
| "name": "Hieu ve gym va cac nhom co", | |
| "description": "Ưu Đãi Dành Cho 100 Khách Đầu Tiên, Miễn Phí Tập Với Huấn ..." | |
| }, | |
| { | |
| "id": 2188824220011712300, | |
| "name": "Tap jumpa nhu the nao moi dung", | |
| "description": "Ưu Đãi Dành Cho 100 Khách Đầu Tiên, Miễn Phí Tập Với Huấn ..." | |
| }, | |
| { | |
| "id": 2188824220011132200, | |
| "name": "Tap gym nhu the nao moi dung", | |
| "description": "Ưu Đãi Dành Cho 100 Khách Đầu Tiên, Miễn Phí Tập Với Huấn ..." | |
| }, | |
| { | |
| "id": 2188924220012132000, | |
| "name": "Tap thien nhu the nao moi dung", | |
| "description": "Ưu Đãi Dành Cho 100 Khách Đầu Tiên, Miễn Phí Tập Với Huấn ..." | |
| } | |
| ] | |
| } | |
| }, | |
| "pagination": { | |
| "current": 1, | |
| "next": 2, | |
| "pre": 0, | |
| "take": 5, | |
| "total": 12 | |
| } | |
| } | |
| }, | |
| "CourseMoodleTrainerDetailResponseExample": { | |
| "value": { | |
| "data": { | |
| "id": 2188824200011112200, | |
| "name": "Cam nang yoga cho nguoi moi bat dau", | |
| "category": "hatha yoga", | |
| "start_time": "22/12/2020", | |
| "end_time": "30/12/2020", | |
| "fee": 30000000, | |
| "description": "Ưu Đãi Dành Cho 100 Khách Đầu Tiên, Miễn Phí Tập Với Huấn Luyện Viên, Sở Hữu Body Săn Chắc. Phương Thức Thanh Toán Mới, Linh Hoạt & Dễ Dàng Tham Gia Mà Không Cần Trả Trước Cả Năm. Thon Gọn Vóc Dáng. Thải Độc Cơ Thể. Ngủ Ngon An Giấc.", | |
| "images": [ | |
| { | |
| "id": 2188824202011112200, | |
| "image": "https://picsum.photos/300/200" | |
| }, | |
| { | |
| "id": 2188824202011112200, | |
| "image": "https://picsum.photos/300/200" | |
| }, | |
| { | |
| "id": 2188824202011112200, | |
| "image": "https://picsum.photos/300/200" | |
| }, | |
| { | |
| "id": 2188824202011112200, | |
| "image": "https://picsum.photos/300/200" | |
| }, | |
| { | |
| "id": 2188824202011112200, | |
| "image": "https://picsum.photos/300/200" | |
| } | |
| ], | |
| "body_parts": [ | |
| { | |
| "id": 2188824202013112300, | |
| "avatar": "https://picsum.photos/200/200", | |
| "name": "Cot song" | |
| }, | |
| { | |
| "id": 2188824202013112300, | |
| "avatar": "https://picsum.photos/200/200", | |
| "name": "Mat" | |
| }, | |
| { | |
| "id": 2188824202013112300, | |
| "avatar": "https://picsum.photos/200/200", | |
| "name": "Tim" | |
| }, | |
| { | |
| "id": 2188824202013116200, | |
| "avatar": "https://picsum.photos/200/200", | |
| "name": "Phoi" | |
| } | |
| ], | |
| "students": [ | |
| { | |
| "id": 2188824210011112200, | |
| "name": "Nguyen Thien Ly", | |
| "avatar": "https://picsum.photos/200/200" | |
| }, | |
| { | |
| "id": 2188824210311112200, | |
| "name": "Dao Thi Tu Anh", | |
| "avatar": "https://picsum.photos/200/200" | |
| }, | |
| { | |
| "id": 2188824210312112000, | |
| "name": "Dao Thi Tu Anh", | |
| "avatar": "https://picsum.photos/200/200" | |
| }, | |
| { | |
| "id": 2188824210311212300, | |
| "name": "Dao Thi Tu Anh", | |
| "avatar": "https://picsum.photos/200/200" | |
| } | |
| ], | |
| "schedules": [ | |
| { | |
| "id": 2188824203013412000, | |
| "at_time": "22/12/2020", | |
| "morning": { | |
| "exercises": { | |
| "total": 3, | |
| "list": [ | |
| { | |
| "id": 2188824203011112200 | |
| }, | |
| { | |
| "id": 2188824203012112100 | |
| }, | |
| { | |
| "id": 2189824203012112100 | |
| } | |
| ] | |
| }, | |
| "nutritions": { | |
| "total": 2, | |
| "list": [ | |
| { | |
| "id": 2188824203011212300 | |
| }, | |
| { | |
| "id": 2189824203011112200 | |
| } | |
| ] | |
| } | |
| }, | |
| "afternoon": { | |
| "exercises": { | |
| "total": 4, | |
| "list": [ | |
| { | |
| "id": 2188824203011112200 | |
| }, | |
| { | |
| "id": 2188824203012512300 | |
| }, | |
| { | |
| "id": 2189824203012412200 | |
| }, | |
| { | |
| "id": 2189824203012312300 | |
| } | |
| ] | |
| }, | |
| "nutritions": { | |
| "total": 3, | |
| "list": [ | |
| { | |
| "id": 2188824203011212300 | |
| }, | |
| { | |
| "id": 2189824203011112200 | |
| }, | |
| { | |
| "id": 2189824203011212300 | |
| } | |
| ] | |
| } | |
| }, | |
| "evening": { | |
| "exercises": { | |
| "total": 2, | |
| "list": [ | |
| { | |
| "id": 2188824203011112200 | |
| }, | |
| { | |
| "id": 2188824203012512300 | |
| } | |
| ] | |
| }, | |
| "nutritions": { | |
| "total": 2, | |
| "list": [ | |
| { | |
| "id": 2188824203011212300 | |
| }, | |
| { | |
| "id": 2189824203011112200 | |
| } | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "id": 2188824203011112200, | |
| "at_time": "23/12/2020", | |
| "morning": { | |
| "exercises": { | |
| "total": 3, | |
| "list": [ | |
| { | |
| "id": 2188824203011112200 | |
| }, | |
| { | |
| "id": 2188824203012112100 | |
| }, | |
| { | |
| "id": 2189824203012112100 | |
| } | |
| ] | |
| }, | |
| "nutritions": { | |
| "total": 2, | |
| "list": [ | |
| { | |
| "id": 2188824203011212300 | |
| }, | |
| { | |
| "id": 2189824203011112200 | |
| } | |
| ] | |
| } | |
| }, | |
| "afternoon": { | |
| "exercises": { | |
| "total": 4, | |
| "list": [ | |
| { | |
| "id": 2188824203011112200 | |
| }, | |
| { | |
| "id": 2188824203012512300 | |
| }, | |
| { | |
| "id": 2189824203012412200 | |
| }, | |
| { | |
| "id": 2189824203012312300 | |
| } | |
| ] | |
| }, | |
| "nutritions": { | |
| "total": 3, | |
| "list": [ | |
| { | |
| "id": 2188824203011212300 | |
| }, | |
| { | |
| "id": 2189824203011112200 | |
| }, | |
| { | |
| "id": 2189824203011212300 | |
| } | |
| ] | |
| } | |
| }, | |
| "evening": { | |
| "exercises": { | |
| "total": 2, | |
| "list": [ | |
| { | |
| "id": 2188824203011112200 | |
| }, | |
| { | |
| "id": 2188824203012512300 | |
| } | |
| ] | |
| }, | |
| "nutritions": { | |
| "total": 2, | |
| "list": [ | |
| { | |
| "id": 2188824203011212300 | |
| }, | |
| { | |
| "id": 2189824203011112200 | |
| } | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "id": 2188824203012112100, | |
| "at_time": "24/12/2020", | |
| "morning": { | |
| "exercises": { | |
| "total": 3, | |
| "list": [ | |
| { | |
| "id": 2188824203011112200 | |
| }, | |
| { | |
| "id": 2188824203012112100 | |
| }, | |
| { | |
| "id": 2189824203012112100 | |
| } | |
| ] | |
| }, | |
| "nutritions": { | |
| "total": 2, | |
| "list": [ | |
| { | |
| "id": 2188824203011212300 | |
| }, | |
| { | |
| "id": 2189824203011112200 | |
| } | |
| ] | |
| } | |
| }, | |
| "afternoon": { | |
| "exercises": { | |
| "total": 4, | |
| "list": [ | |
| { | |
| "id": 2188824203011112200 | |
| }, | |
| { | |
| "id": 2188824203012512300 | |
| }, | |
| { | |
| "id": 2189824203012412200 | |
| }, | |
| { | |
| "id": 2189824203012312300 | |
| } | |
| ] | |
| }, | |
| "nutritions": { | |
| "total": 3, | |
| "list": [ | |
| { | |
| "id": 2188824203011212300 | |
| }, | |
| { | |
| "id": 2189824203011112200 | |
| }, | |
| { | |
| "id": 2189824203011212300 | |
| } | |
| ] | |
| } | |
| }, | |
| "evening": { | |
| "exercises": { | |
| "total": 2, | |
| "list": [ | |
| { | |
| "id": 2188824203011112200 | |
| }, | |
| { | |
| "id": 2188824203012512300 | |
| } | |
| ] | |
| }, | |
| "nutritions": { | |
| "total": 2, | |
| "list": [ | |
| { | |
| "id": 2188824203011212300 | |
| }, | |
| { | |
| "id": 2189824203011112200 | |
| } | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "id": 2188824203014112300, | |
| "at_time": "25/12/2020", | |
| "morning": { | |
| "exercises": { | |
| "total": 3, | |
| "list": [ | |
| { | |
| "id": 2188824203011112200 | |
| }, | |
| { | |
| "id": 2188824203012112100 | |
| }, | |
| { | |
| "id": 2189824203012112100 | |
| } | |
| ] | |
| }, | |
| "nutritions": { | |
| "total": 2, | |
| "list": [ | |
| { | |
| "id": 2188824203011212300 | |
| }, | |
| { | |
| "id": 2189824203011112200 | |
| } | |
| ] | |
| } | |
| }, | |
| "afternoon": { | |
| "exercises": { | |
| "total": 4, | |
| "list": [ | |
| { | |
| "id": 2188824203011112200 | |
| }, | |
| { | |
| "id": 2188824203012512300 | |
| }, | |
| { | |
| "id": 2189824203012412200 | |
| }, | |
| { | |
| "id": 2189824203012312300 | |
| } | |
| ] | |
| }, | |
| "nutritions": { | |
| "total": 3, | |
| "list": [ | |
| { | |
| "id": 2188824203011212300 | |
| }, | |
| { | |
| "id": 2189824203011112200 | |
| }, | |
| { | |
| "id": 2189824203011212300 | |
| } | |
| ] | |
| } | |
| }, | |
| "evening": { | |
| "exercises": { | |
| "total": 2, | |
| "list": [ | |
| { | |
| "id": 2188824203011112200 | |
| }, | |
| { | |
| "id": 2188824203012512300 | |
| } | |
| ] | |
| }, | |
| "nutritions": { | |
| "total": 2, | |
| "list": [ | |
| { | |
| "id": 2188824203011212300 | |
| }, | |
| { | |
| "id": 2189824203011112200 | |
| } | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "id": 2188824203012112100, | |
| "at_time": "26/12/2020", | |
| "morning": { | |
| "exercises": { | |
| "total": 3, | |
| "list": [ | |
| { | |
| "id": 2188824203011112200 | |
| }, | |
| { | |
| "id": 2188824203012112100 | |
| }, | |
| { | |
| "id": 2189824203012112100 | |
| } | |
| ] | |
| }, | |
| "nutritions": { | |
| "total": 2, | |
| "list": [ | |
| { | |
| "id": 2188824203011212300 | |
| }, | |
| { | |
| "id": 2189824203011112200 | |
| } | |
| ] | |
| } | |
| }, | |
| "afternoon": { | |
| "exercises": { | |
| "total": 4, | |
| "list": [ | |
| { | |
| "id": 2188824203011112200 | |
| }, | |
| { | |
| "id": 2188824203012512300 | |
| }, | |
| { | |
| "id": 2189824203012412200 | |
| }, | |
| { | |
| "id": 2189824203012312300 | |
| } | |
| ] | |
| }, | |
| "nutritions": { | |
| "total": 3, | |
| "list": [ | |
| { | |
| "id": 2188824203011212300 | |
| }, | |
| { | |
| "id": 2189824203011112200 | |
| }, | |
| { | |
| "id": 2189824203011212300 | |
| } | |
| ] | |
| } | |
| }, | |
| "evening": { | |
| "exercises": { | |
| "total": 2, | |
| "list": [ | |
| { | |
| "id": 2188824203011112200 | |
| }, | |
| { | |
| "id": 2188824203012512300 | |
| } | |
| ] | |
| }, | |
| "nutritions": { | |
| "total": 2, | |
| "list": [ | |
| { | |
| "id": 2188824203011212300 | |
| }, | |
| { | |
| "id": 2189824203011112200 | |
| } | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "id": 2188824203011112200, | |
| "at_time": "27/12/2020", | |
| "morning": { | |
| "exercises": { | |
| "total": 3, | |
| "list": [ | |
| { | |
| "id": 2188824203011112200 | |
| }, | |
| { | |
| "id": 2188824203012112100 | |
| }, | |
| { | |
| "id": 2189824203012112100 | |
| } | |
| ] | |
| }, | |
| "nutritions": { | |
| "total": 2, | |
| "list": [ | |
| { | |
| "id": 2188824203011212300 | |
| }, | |
| { | |
| "id": 2189824203011112200 | |
| } | |
| ] | |
| } | |
| }, | |
| "afternoon": { | |
| "exercises": { | |
| "total": 4, | |
| "list": [ | |
| { | |
| "id": 2188824203011112200 | |
| }, | |
| { | |
| "id": 2188824203012512300 | |
| }, | |
| { | |
| "id": 2189824203012412200 | |
| }, | |
| { | |
| "id": 2189824203012312300 | |
| } | |
| ] | |
| }, | |
| "nutritions": { | |
| "total": 3, | |
| "list": [ | |
| { | |
| "id": 2188824203011212300 | |
| }, | |
| { | |
| "id": 2189824203011112200 | |
| }, | |
| { | |
| "id": 2189824203011212300 | |
| } | |
| ] | |
| } | |
| }, | |
| "evening": { | |
| "exercises": { | |
| "total": 2, | |
| "list": [ | |
| { | |
| "id": 2188824203011112200 | |
| }, | |
| { | |
| "id": 2188824203012512300 | |
| } | |
| ] | |
| }, | |
| "nutritions": { | |
| "total": 2, | |
| "list": [ | |
| { | |
| "id": 2188824203011212300 | |
| }, | |
| { | |
| "id": 2189824203011112200 | |
| } | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "id": 2188824203015612200, | |
| "at_time": "28/12/2020", | |
| "morning": { | |
| "exercises": { | |
| "total": 3, | |
| "list": [ | |
| { | |
| "id": 2188824203011112200 | |
| }, | |
| { | |
| "id": 2188824203012112100 | |
| }, | |
| { | |
| "id": 2189824203012112100 | |
| } | |
| ] | |
| }, | |
| "nutritions": { | |
| "total": 2, | |
| "list": [ | |
| { | |
| "id": 2188824203011212300 | |
| }, | |
| { | |
| "id": 2189824203011112200 | |
| } | |
| ] | |
| } | |
| }, | |
| "afternoon": { | |
| "exercises": { | |
| "total": 4, | |
| "list": [ | |
| { | |
| "id": 2188824203011112200 | |
| }, | |
| { | |
| "id": 2188824203012512300 | |
| }, | |
| { | |
| "id": 2189824203012412200 | |
| }, | |
| { | |
| "id": 2189824203012312300 | |
| } | |
| ] | |
| }, | |
| "nutritions": { | |
| "total": 3, | |
| "list": [ | |
| { | |
| "id": 2188824203011212300 | |
| }, | |
| { | |
| "id": 2189824203011112200 | |
| }, | |
| { | |
| "id": 2189824203011212300 | |
| } | |
| ] | |
| } | |
| }, | |
| "evening": { | |
| "exercises": { | |
| "total": 2, | |
| "list": [ | |
| { | |
| "id": 2188824203011112200 | |
| }, | |
| { | |
| "id": 2188824203012512300 | |
| } | |
| ] | |
| }, | |
| "nutritions": { | |
| "total": 2, | |
| "list": [ | |
| { | |
| "id": 2188824203011212300 | |
| }, | |
| { | |
| "id": 2189824203011112200 | |
| } | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "id": 2188824203017812200, | |
| "at_time": "29/12/2020", | |
| "morning": { | |
| "exercises": { | |
| "total": 3, | |
| "list": [ | |
| { | |
| "id": 2188824203011112200 | |
| }, | |
| { | |
| "id": 2188824203012112100 | |
| }, | |
| { | |
| "id": 2189824203012112100 | |
| } | |
| ] | |
| }, | |
| "nutritions": { | |
| "total": 2, | |
| "list": [ | |
| { | |
| "id": 2188824203011212300 | |
| }, | |
| { | |
| "id": 2189824203011112200 | |
| } | |
| ] | |
| } | |
| }, | |
| "afternoon": { | |
| "exercises": { | |
| "total": 4, | |
| "list": [ | |
| { | |
| "id": 2188824203011112200 | |
| }, | |
| { | |
| "id": 2188824203012512300 | |
| }, | |
| { | |
| "id": 2189824203012412200 | |
| }, | |
| { | |
| "id": 2189824203012312300 | |
| } | |
| ] | |
| }, | |
| "nutritions": { | |
| "total": 3, | |
| "list": [ | |
| { | |
| "id": 2188824203011212300 | |
| }, | |
| { | |
| "id": 2189824203011112200 | |
| }, | |
| { | |
| "id": 2189824203011212300 | |
| } | |
| ] | |
| } | |
| }, | |
| "evening": { | |
| "exercises": { | |
| "total": 2, | |
| "list": [ | |
| { | |
| "id": 2188824203011112200 | |
| }, | |
| { | |
| "id": 2188824203012512300 | |
| } | |
| ] | |
| }, | |
| "nutritions": { | |
| "total": 2, | |
| "list": [ | |
| { | |
| "id": 2188824203011212300 | |
| }, | |
| { | |
| "id": 2189824203011112200 | |
| } | |
| ] | |
| } | |
| } | |
| }, | |
| { | |
| "id": 2188824203010012200, | |
| "at_time": "30/12/2020", | |
| "morning": { | |
| "exercises": { | |
| "total": 3, | |
| "list": [ | |
| { | |
| "id": 2188824203011112200 | |
| }, | |
| { | |
| "id": 2188824203012112100 | |
| }, | |
| { | |
| "id": 2189824203012112100 | |
| } | |
| ] | |
| }, | |
| "nutritions": { | |
| "total": 2, | |
| "list": [ | |
| { | |
| "id": 2188824203011212300 | |
| }, | |
| { | |
| "id": 2189824203011112200 | |
| } | |
| ] | |
| } | |
| }, | |
| "afternoon": { | |
| "exercises": { | |
| "total": 4, | |
| "list": [ | |
| { | |
| "id": 2188824203011112200 | |
| }, | |
| { | |
| "id": 2188824203012512300 | |
| }, | |
| { | |
| "id": 2189824203012412200 | |
| }, | |
| { | |
| "id": 2189824203012312300 | |
| } | |
| ] | |
| }, | |
| "nutritions": { | |
| "total": 3, | |
| "list": [ | |
| { | |
| "id": 2188824203011212300 | |
| }, | |
| { | |
| "id": 2189824203011112200 | |
| }, | |
| { | |
| "id": 2189824203011212300 | |
| } | |
| ] | |
| } | |
| }, | |
| "evening": { | |
| "exercises": { | |
| "total": 2, | |
| "list": [ | |
| { | |
| "id": 2188824203011112200 | |
| }, | |
| { | |
| "id": 2188824203012512300 | |
| } | |
| ] | |
| }, | |
| "nutritions": { | |
| "total": 2, | |
| "list": [ | |
| { | |
| "id": 2188824203011212300 | |
| }, | |
| { | |
| "id": 2189824203011112200 | |
| } | |
| ] | |
| } | |
| } | |
| } | |
| ] | |
| } | |
| } | |
| }, | |
| "CourseMoodleStudentStatisticResponseExample": { | |
| "value": { | |
| "data": { | |
| "id": 2188824200011112200, | |
| "name": "Khoa hoc yoga cua team Lotus Fitness", | |
| "days": 56, | |
| "exercises": 45, | |
| "nutritions": 60, | |
| "schedules": [ | |
| { | |
| "id": 2188824200011212300, | |
| "at_time": "21/12/2020", | |
| "lost_energy": 500, | |
| "intake_energy": 700 | |
| }, | |
| { | |
| "id": 2189824200011212300, | |
| "at_time": "22/12/2020", | |
| "lost_energy": 600, | |
| "intake_energy": 450 | |
| }, | |
| { | |
| "id": 2189824200011212000, | |
| "at_time": "23/12/2020", | |
| "lost_energy": 800, | |
| "intake_energy": 700 | |
| }, | |
| { | |
| "id": 2189824200011212500, | |
| "at_time": "24/12/2020", | |
| "lost_energy": 850, | |
| "intake_energy": 600 | |
| }, | |
| { | |
| "id": 2189824200011213300, | |
| "at_time": "25/12/2020", | |
| "lost_energy": 400, | |
| "intake_energy": 300 | |
| }, | |
| { | |
| "id": 2189824200011213300, | |
| "at_time": "26/12/2020", | |
| "lost_energy": 500, | |
| "intake_energy": 400 | |
| } | |
| ] | |
| } | |
| } | |
| }, | |
| "CourseImageRequestExample": { | |
| "value": { | |
| "course_id": 2188824200011112200, | |
| "image": "https://picsum.photos/300/200" | |
| } | |
| }, | |
| "CourseImageResponseExample": { | |
| "value": { | |
| "data": { | |
| "id": 2188824200011112200, | |
| "course_id": 2188824203011112200, | |
| "image": "https://picsum.photos/300/200" | |
| } | |
| } | |
| }, | |
| "CourseBodyPartRequestExample": { | |
| "value": { | |
| "course_id": 2188824203011112200, | |
| "body_part_id": 2188824203012112100 | |
| } | |
| }, | |
| "CourseBodyPartResponseExample": { | |
| "value": { | |
| "data": { | |
| "id": 2188824203011112400, | |
| "course_id": 2188824203011112200, | |
| "body_part_id": 2188824203012112100 | |
| } | |
| } | |
| }, | |
| "CourseCategoryRequestExample": { | |
| "value": { | |
| "course_id": 2188824203011112200, | |
| "category_id": 2188824203011212300 | |
| } | |
| }, | |
| "CourseCategoryResponseExample": { | |
| "value": { | |
| "data": { | |
| "id": 2188824203031112200, | |
| "course_id": 2188824203011112200, | |
| "category_id": 2188824203011212300 | |
| } | |
| } | |
| }, | |
| "CourseFoodRequestExample": { | |
| "value": { | |
| "course_id": 2188824203011112200, | |
| "food_id": 2188824204011212300 | |
| } | |
| }, | |
| "CourseFoodResponseExample": { | |
| "value": { | |
| "data": { | |
| "id": 2188824203031112200, | |
| "course_id": 2188824203011112200, | |
| "food_id": 2188924203011212300 | |
| } | |
| } | |
| }, | |
| "ExerciseDetailRequestExample": { | |
| "value": { | |
| "name": "Dong tac be gay cot song", | |
| "start_time": 480, | |
| "end_time": 525, | |
| "energy": 350, | |
| "description": "Ưu Đãi Dành Cho 100 Khách Đầu Tiên, Miễn Phí Tập Với Huấn Luyện Viên, Sở Hữu Body Săn Chắc", | |
| "body_parts": [ | |
| { | |
| "id": 2188824209011112200 | |
| }, | |
| { | |
| "id": 2188834203011112200 | |
| }, | |
| { | |
| "id": 2188834200311112200 | |
| }, | |
| { | |
| "id": 2188834200013112300 | |
| } | |
| ], | |
| "tutorials": [ | |
| { | |
| "avatar": "https://picsum.photos/200/200", | |
| "content": "Bạn nằm ngửa thả lỏng toàn thân trên sàn với hai tay dang rộng ngang vai, chân khép lại và mũi chân duỗi thẳng. Co chân phải sao cho mũi chân phải chạm đầu gối của chân trái", | |
| "priority": 1 | |
| }, | |
| { | |
| "avatar": "https://picsum.photos/200/200", | |
| "content": "Bạn nằm ngửa thả lỏng toàn thân trên sàn với hai tay dang rộng ngang vai, chân khép lại và mũi chân duỗi thẳng. Co chân phải sao cho mũi chân phải chạm đầu gối của chân trái", | |
| "priority": 1 | |
| }, | |
| { | |
| "avatar": "https://picsum.photos/200/200", | |
| "content": "Bạn nằm ngửa thả lỏng toàn thân trên sàn với hai tay dang rộng ngang vai, chân khép lại và mũi chân duỗi thẳng. Co chân phải sao cho mũi chân phải chạm đầu gối của chân trái", | |
| "priority": 1 | |
| }, | |
| { | |
| "avatar": "https://picsum.photos/200/200", | |
| "content": "Bạn nằm ngửa thả lỏng toàn thân trên sàn với hai tay dang rộng ngang vai, chân khép lại và mũi chân duỗi thẳng. Co chân phải sao cho mũi chân phải chạm đầu gối của chân trái", | |
| "priority": 1 | |
| } | |
| ], | |
| "video": "https://www.youtube.com/watch?v=LgyyIb9u-30&list=RDLgyyIb9u-30" | |
| } | |
| }, | |
| "ExerciseDetailResponseExample": { | |
| "value": { | |
| "data": { | |
| "id": 2188824200011112200, | |
| "name": "Dong tac be gay cot song", | |
| "start_time": 480, | |
| "end_time": 525, | |
| "energy": 350, | |
| "description": "Ưu Đãi Dành Cho 100 Khách Đầu Tiên, Miễn Phí Tập Với Huấn Luyện Viên, Sở Hữu Body Săn Chắc", | |
| "body_parts": [ | |
| { | |
| "id": 2188824209011112200, | |
| "name": "Tri nao", | |
| "avatar": "https://picsum.photos/200/200" | |
| }, | |
| { | |
| "id": 2188834203011112200, | |
| "name": "Tim", | |
| "avatar": "https://picsum.photos/200/200" | |
| }, | |
| { | |
| "id": 2188834200311112200, | |
| "name": "Phoi", | |
| "avatar": "https://picsum.photos/200/200" | |
| }, | |
| { | |
| "id": 2188834200013112300, | |
| "name": "Than", | |
| "avatar": "https://picsum.photos/200/200" | |
| } | |
| ], | |
| "tutorials": [ | |
| { | |
| "id": 2188834200311112400, | |
| "avatar": "https://picsum.photos/200/200", | |
| "content": "Bạn nằm ngửa thả lỏng toàn thân trên sàn với hai tay dang rộng ngang vai, chân khép lại và mũi chân duỗi thẳng. Co chân phải sao cho mũi chân phải chạm đầu gối của chân trái", | |
| "priority": 1 | |
| }, | |
| { | |
| "id": 2188834202313112300, | |
| "avatar": "https://picsum.photos/200/200", | |
| "content": "Bạn nằm ngửa thả lỏng toàn thân trên sàn với hai tay dang rộng ngang vai, chân khép lại và mũi chân duỗi thẳng. Co chân phải sao cho mũi chân phải chạm đầu gối của chân trái", | |
| "priority": 1 | |
| }, | |
| { | |
| "id": 2188834202311112400, | |
| "avatar": "https://picsum.photos/200/200", | |
| "content": "Bạn nằm ngửa thả lỏng toàn thân trên sàn với hai tay dang rộng ngang vai, chân khép lại và mũi chân duỗi thẳng. Co chân phải sao cho mũi chân phải chạm đầu gối của chân trái", | |
| "priority": 1 | |
| }, | |
| { | |
| "id": 2188834200311132400, | |
| "avatar": "https://picsum.photos/200/200", | |
| "content": "Bạn nằm ngửa thả lỏng toàn thân trên sàn với hai tay dang rộng ngang vai, chân khép lại và mũi chân duỗi thẳng. Co chân phải sao cho mũi chân phải chạm đầu gối của chân trái", | |
| "priority": 1 | |
| } | |
| ], | |
| "avatar": "https://picsum.photos/300/200", | |
| "video": "https://www.youtube.com/watch?v=LgyyIb9u-30&list=RDLgyyIb9u-30" | |
| } | |
| } | |
| }, | |
| "ExerciseRequestExample": { | |
| "value": { | |
| "name": "Dong tac van xoan co", | |
| "description": "Ưu Đãi Dành Cho 100 Khách Đầu Tiên, Miễn Phí Tập Với Huấn Luyện Viên, Sở Hữu Body Săn Chắc. Phương Thức Thanh Toán Mới, Linh Hoạt & Dễ", | |
| "energy": 200, | |
| "start_time": 480, | |
| "end_time": 525, | |
| "avatar": "https://picsum.photos/300/200", | |
| "video": "https://www.youtube.com/watch?v=GpDZdoIN3r4" | |
| } | |
| }, | |
| "ExerciseResponseExample": { | |
| "value": { | |
| "data": { | |
| "id": 2188824200011112200, | |
| "name": "Dong tac van xoan co", | |
| "description": "Ưu Đãi Dành Cho 100 Khách Đầu Tiên, Miễn Phí Tập Với Huấn Luyện Viên, Sở Hữu Body Săn Chắc. Phương Thức Thanh Toán Mới, Linh Hoạt & Dễ", | |
| "energy": 200, | |
| "duration": 15, | |
| "avatar": "https://picsum.photos/300/200", | |
| "video": "https://www.youtube.com/watch?v=GpDZdoIN3r4" | |
| } | |
| } | |
| }, | |
| "ExerciseBodyPartRequestExample": { | |
| "value": { | |
| "exercise_id": 2188824200011112200, | |
| "body_part_id": 2188824200011112200 | |
| } | |
| }, | |
| "ExerciseBodyPartResponseExample": { | |
| "value": { | |
| "data": { | |
| "id": 2188824200011212300, | |
| "exercise_id": 2188824200011112200, | |
| "body_part_id": 2188824200011112200 | |
| } | |
| } | |
| }, | |
| "FeedbackRequestExample": { | |
| "value": { | |
| "content": "tuyet voi tuyet voi, that tuyet voi, good good", | |
| "point_prepare": 4, | |
| "point_trainer": 5, | |
| "point_support": 5, | |
| "point_time": 4 | |
| } | |
| }, | |
| "FeedbackNutritionRequestExample": { | |
| "value": { | |
| "user_id": 2188824200011112200, | |
| "nutrition_id": 2188824200011112200, | |
| "amount": 300, | |
| "unit": "gr" | |
| } | |
| }, | |
| "FeedbackResponseExample": { | |
| "value": { | |
| "data": { | |
| "id": 2188824200011112200, | |
| "content": "tuyet voi tuyet voi, that tuyet voi, good good", | |
| "point_prepare": 4, | |
| "point_trainer": 5, | |
| "point_support": 5, | |
| "point_time": 4, | |
| "create_at": "22/11/2012" | |
| } | |
| } | |
| }, | |
| "FeedbackNutritionResponseExample": { | |
| "value": { | |
| "data": { | |
| "id": 2188824200011112200, | |
| "user_id": 2188824200011112200, | |
| "nutrition_id": 2188824200011112200, | |
| "amount": 300, | |
| "unit": "gr" | |
| } | |
| } | |
| }, | |
| "FilterAdvanceRequestExample": { | |
| "value": { | |
| "name": "Yoga yoga", | |
| "target_type": "Khoa tap", | |
| "form_type": "online", | |
| "quantity_course": 5, | |
| "body_parts": [ | |
| { | |
| "id": 2188824200011112200, | |
| "name": "Tri nao", | |
| "avatar": "https://picsum.photos/200/200" | |
| }, | |
| { | |
| "id": 2188834200011112200, | |
| "name": "Tim", | |
| "avatar": "https://picsum.photos/200/200" | |
| } | |
| ], | |
| "categories": [ | |
| { | |
| "id": 2188924200011212300, | |
| "name": "Boxing", | |
| "avatar": "https://picsum.photos/200/300" | |
| }, | |
| { | |
| "id": 2188924200011212300, | |
| "name": "Jumpa", | |
| "avatar": "https://picsum.photos/200/300" | |
| }, | |
| { | |
| "id": 2188924200011212300, | |
| "name": "Hatha Yoga", | |
| "avatar": "https://picsum.photos/200/300" | |
| } | |
| ], | |
| "sort_rating": "DESC", | |
| "sort_alphabet": "ASC" | |
| } | |
| }, | |
| "FoodResponseExample": { | |
| "value": { | |
| "data": { | |
| "id": 2188824200021112300, | |
| "name": "Sinh to bo chuoi", | |
| "energy": 400, | |
| "description": "Bột yến mạch có hàm lượng chất xơ hoàn tan cao và giàu protein nên có khả năng tạo cảm giác no lâu và kiềm chế cơn thèm ăn của bạn", | |
| "nutritions": [ | |
| { | |
| "id": 2188824200021112000, | |
| "name": "Day tay", | |
| "avatar": "https://picsum.photos/200/200", | |
| "energy": 300 | |
| }, | |
| { | |
| "id": 2188824210021112000, | |
| "name": "Chuoi", | |
| "avatar": "https://picsum.photos/200/200", | |
| "energy": 340 | |
| }, | |
| { | |
| "id": 2188824210021212200, | |
| "name": "Bo sap", | |
| "avatar": "https://picsum.photos/200/200", | |
| "energy": 250 | |
| } | |
| ] | |
| } | |
| } | |
| }, | |
| "FoodDetailOverviewArrayResponseExample": { | |
| "value": { | |
| "data": [ | |
| { | |
| "id": 2188824200011112200, | |
| "name": "Pho ga thom gon", | |
| "anergy": 300, | |
| "description": "Phở gà là một món ăn quen thuộc với những nguyên liệu dễ tìm, cách nấu đơn giản mà ngon đậm đà lại còn đầy đủ chất dinh dưỡng", | |
| "vitamins": [ | |
| { | |
| "id": 2188824200021112300, | |
| "name": "A" | |
| }, | |
| { | |
| "id": 2188824201021112300, | |
| "name": "E" | |
| }, | |
| { | |
| "id": 2188824201021112300, | |
| "name": 5 | |
| } | |
| ] | |
| }, | |
| { | |
| "id": 2188824200011122200, | |
| "name": "Pho ga thom gon", | |
| "anergy": 300, | |
| "description": "Phở gà là một món ăn quen thuộc với những nguyên liệu dễ tìm, cách nấu đơn giản mà ngon đậm đà lại còn đầy đủ chất dinh dưỡng", | |
| "vitamins": [ | |
| { | |
| "id": 2188824200021112300, | |
| "name": "A" | |
| }, | |
| { | |
| "id": 2188824201021112300, | |
| "name": "E" | |
| }, | |
| { | |
| "id": 2188824201021112300, | |
| "name": 5 | |
| } | |
| ] | |
| }, | |
| { | |
| "id": 2188824200011212300, | |
| "name": "Pho ga thom gon", | |
| "anergy": 300, | |
| "description": "Phở gà là một món ăn quen thuộc với những nguyên liệu dễ tìm, cách nấu đơn giản mà ngon đậm đà lại còn đầy đủ chất dinh dưỡng", | |
| "vitamins": [ | |
| { | |
| "id": 2188824200021112300, | |
| "name": "A" | |
| }, | |
| { | |
| "id": 2188824201021112300, | |
| "name": "E" | |
| }, | |
| { | |
| "id": 2188824201021112300, | |
| "name": 5 | |
| } | |
| ] | |
| }, | |
| { | |
| "id": 2188824212001121300, | |
| "name": "Pho ga thom gon", | |
| "anergy": 300, | |
| "description": "Phở gà là một món ăn quen thuộc với những nguyên liệu dễ tìm, cách nấu đơn giản mà ngon đậm đà lại còn đầy đủ chất dinh dưỡng", | |
| "vitamins": [ | |
| { | |
| "id": 2188824200021112300, | |
| "name": "A" | |
| }, | |
| { | |
| "id": 2188824201021112300, | |
| "name": "E" | |
| }, | |
| { | |
| "id": 2188824201021112300, | |
| "name": 5 | |
| } | |
| ] | |
| }, | |
| { | |
| "id": 2188824212001121300, | |
| "name": "Pho ga thom gon", | |
| "anergy": 300, | |
| "description": "Phở gà là một món ăn quen thuộc với những nguyên liệu dễ tìm, cách nấu đơn giản mà ngon đậm đà lại còn đầy đủ chất dinh dưỡng", | |
| "vitamins": [ | |
| { | |
| "id": 2188824200021112300, | |
| "name": "A" | |
| }, | |
| { | |
| "id": 2188824201021112300, | |
| "name": "E" | |
| }, | |
| { | |
| "id": 2188824201021112300, | |
| "name": 5 | |
| } | |
| ] | |
| } | |
| ], | |
| "pagination": { | |
| "current": 1, | |
| "next": 2, | |
| "pre": 0, | |
| "take": 5, | |
| "total": 10 | |
| } | |
| } | |
| }, | |
| "OrganizationRequestExample": { | |
| "value": { | |
| "name": "Living Yoga", | |
| "description": "Bạn nằm ngửa thả lỏng toàn thân trên sàn với hai tay dang rộng ngang vai, chân khép lại và mũi chân duỗi thẳng.", | |
| "avatar": "https://picsum.photos/300/200" | |
| } | |
| }, | |
| "OrganizationResponseExample": { | |
| "value": { | |
| "data": { | |
| "id": 2188824200021112300, | |
| "name": "Living Yoga", | |
| "description": "Bạn nằm ngửa thả lỏng toàn thân trên sàn với hai tay dang rộng ngang vai, chân khép lại và mũi chân duỗi thẳng.", | |
| "avatar": "https://picsum.photos/300/200" | |
| } | |
| } | |
| }, | |
| "NutritionRequestExample": { | |
| "value": { | |
| "name": "Day tay", | |
| "Description": "Ưu Đãi Dành Cho 100 Khách Đầu Tiên, Miễn Phí Tập Với Huấn Luyện Viên, Sở Hữu Body Săn Chắc. Phương Thức Thanh Toán Mới, Linh Hoạt & Dễ Dàng Tham Gia Mà Không Cần Trả Trước Cả Năm. Thon Gọn Vóc Dáng. Thải Độc Cơ Thể. Ngủ Ngon An Giấc.", | |
| "energy": 300, | |
| "avatar": "https://picsum.photos/200/200", | |
| "amount": 300, | |
| "unit": "gr" | |
| } | |
| }, | |
| "NutritionDetailResponseExample": { | |
| "value": { | |
| "data": { | |
| "id": 2188824200021112300, | |
| "name": "Bot yen mach", | |
| "descripton": "Bột yến mạch có hàm lượng chất xơ hoàn tan cao và giàu protein nên có khả năng tạo cảm giác no lâu và kiềm chế cơn thèm ăn của bạn", | |
| "vitamins": [ | |
| { | |
| "id": 2188824200021122300, | |
| "vitamin": "A" | |
| }, | |
| { | |
| "id": 2188824220021122300, | |
| "vitamin": "B" | |
| }, | |
| { | |
| "id": 2188924220021122300, | |
| "vitamin": "C" | |
| }, | |
| { | |
| "id": 2188924220021122300, | |
| "vitamin": "E1" | |
| } | |
| ], | |
| "chemical_compositions": [ | |
| { | |
| "id": 2188824220021122300, | |
| "amount": 3, | |
| "unit": "gr" | |
| }, | |
| { | |
| "id": 2188824220021132500, | |
| "amount": 1.3, | |
| "unit": "gr" | |
| }, | |
| { | |
| "id": 2188824221021132500, | |
| "amount": 4, | |
| "unit": "gr" | |
| } | |
| ], | |
| "foods": [ | |
| { | |
| "id": 2188824200022112300, | |
| "name": "Pho ga thom ga", | |
| "energy": 300, | |
| "description": "Bột yến mạch có hàm lượng chất xơ hoàn tan cao và giàu protein nên có khả năng tạo cảm giác no lâu và kiềm chế cơn thèm ăn của bạn", | |
| "vitamins": [ | |
| { | |
| "id": 2188824200021122300, | |
| "vitamin": "A" | |
| }, | |
| { | |
| "id": 2188824220021122300, | |
| "vitamin": "B" | |
| }, | |
| { | |
| "id": 2188924220021122300, | |
| "vitamin": "C" | |
| }, | |
| { | |
| "id": 2188924220021122300, | |
| "vitamin": "E1" | |
| } | |
| ] | |
| }, | |
| { | |
| "id": 2188824200222112300, | |
| "name": "Pho ga thom ga", | |
| "energy": 300, | |
| "description": "Bột yến mạch có hàm lượng chất xơ hoàn tan cao và giàu protein nên có khả năng tạo cảm giác no lâu và kiềm chế cơn thèm ăn của bạn", | |
| "vitamins": [ | |
| { | |
| "id": 2188824200021122300, | |
| "vitamin": "A" | |
| }, | |
| { | |
| "id": 2188824220021122300, | |
| "vitamin": "B" | |
| }, | |
| { | |
| "id": 2188924220021122300, | |
| "vitamin": "C" | |
| }, | |
| { | |
| "id": 2188924220021122300, | |
| "vitamin": "E1" | |
| } | |
| ] | |
| } | |
| ] | |
| } | |
| } | |
| }, | |
| "NutritionResponseExample": { | |
| "value": { | |
| "data": { | |
| "id": 2188824202021112300, | |
| "name": "Day tay", | |
| "Description": "Ưu Đãi Dành Cho 100 Khách Đầu Tiên, Miễn Phí Tập Với Huấn Luyện Viên, Sở Hữu Body Săn Chắc. Phương Thức Thanh Toán Mới, Linh Hoạt & Dễ Dàng Tham Gia Mà Không Cần Trả Trước Cả Năm. Thon Gọn Vóc Dáng. Thải Độc Cơ Thể. Ngủ Ngon An Giấc.", | |
| "energy": 300, | |
| "avatar": "https://picsum.photos/200/200", | |
| "amount": 300, | |
| "unit": "gr" | |
| } | |
| } | |
| }, | |
| "ScheduleExerciseRequestExample": { | |
| "value": { | |
| "schedule_id": 2108824207012112100, | |
| "exercise_id": 2108824207012212200 | |
| } | |
| }, | |
| "ScheduleExerciseResponseExample": { | |
| "value": { | |
| "data": { | |
| "id": "210892420b012112223", | |
| "schedule_id": "210882420b012112223", | |
| "exercise_id": "210882420b012212223" | |
| } | |
| } | |
| }, | |
| "ScheduleNutritionRequestExample": { | |
| "value": { | |
| "schedule_id": 2108824204012112100, | |
| "nutrition_id": 2108824206012212200 | |
| } | |
| }, | |
| "ScheduleNutritionResponseExample": { | |
| "value": { | |
| "data": { | |
| "id": 2108824204012132000, | |
| "schedule_id": 2108824204012112100, | |
| "nutrition_id": 2108824206012212200 | |
| } | |
| } | |
| }, | |
| "ScheduleMoodleDetailResponseExample": { | |
| "value": { | |
| "id": "210882420b012112223", | |
| "at_time": "22/12/2012", | |
| "morning": { | |
| "lost_energy": 320, | |
| "intake_energy": 300 | |
| }, | |
| "afternoon": { | |
| "lost_energy": 320, | |
| "intake_energy": 400 | |
| }, | |
| "evening": { | |
| "lost_energy": 320, | |
| "intake_energy": 600 | |
| }, | |
| "exercises": [ | |
| { | |
| "name": "Bai tap buoi 15 van cot song", | |
| "start_time": 480, | |
| "end_time": 525, | |
| "energy": 400, | |
| "feedback": "Ban tap hom nay rat tot nhung cac dong tac van xoan chua tot can co gang" | |
| }, | |
| { | |
| "name": "Bai tap buoi 16 van co", | |
| "start_time": 525, | |
| "end_time": 560, | |
| "energy": 450, | |
| "feedback": "Ban tap hom nay rat tot nhung cac dong tac van xoan chua tot can co gang" | |
| } | |
| ], | |
| "nutritions": [ | |
| { | |
| "name": "Bai tap buoi 15 van cot song", | |
| "start_time": 480, | |
| "end_time": 525, | |
| "energy": 400, | |
| "feedback": "Ban tap hom nay rat tot nhung cac dong tac van xoan chua tot can co gang" | |
| }, | |
| { | |
| "name": "Bai tap buoi 16 van co", | |
| "start_time": 525, | |
| "end_time": 560, | |
| "energy": 450, | |
| "feedback": "Ban tap hom nay rat tot nhung cac dong tac van xoan chua tot can co gang" | |
| } | |
| ] | |
| } | |
| }, | |
| "ScheduleMoodleNutritionResponseExample": { | |
| "value": { | |
| "id": "210882420b012112223", | |
| "at_time": "22/12/2012", | |
| "water": { | |
| "id": "210882420b012112223", | |
| "amount": 250, | |
| "unit": "ml", | |
| "isCheck": true | |
| }, | |
| "morning": [ | |
| { | |
| "id": "210882420b012113223", | |
| "name": "Chuoi to dai", | |
| "avatar": "https://picsum.photos/200/200", | |
| "total_amount": 300, | |
| "feedback_amount": 150, | |
| "unit": "mg", | |
| "isCheck": true | |
| }, | |
| { | |
| "id": "210882420b012413223", | |
| "name": "Dau tay", | |
| "avatar": "https://picsum.photos/200/200", | |
| "total_amount": 200, | |
| "feedback_amount": 150, | |
| "unit": "mg", | |
| "isCheck": true | |
| } | |
| ], | |
| "afternoon": [ | |
| { | |
| "id": "210882420b012113223", | |
| "name": "Bo sap Dak Lak", | |
| "avatar": "https://picsum.photos/200/200", | |
| "total_amount": 300, | |
| "feedback_amount": 150, | |
| "unit": "mg", | |
| "isCheck": true | |
| }, | |
| { | |
| "id": "210882420b012413323", | |
| "name": "Dau tay", | |
| "avatar": "https://picsum.photos/200/200", | |
| "total_amount": 200, | |
| "feedback_amount": 0, | |
| "unit": "mg", | |
| "isCheck": false | |
| } | |
| ], | |
| "evening": [ | |
| { | |
| "id": "210882420b012113223", | |
| "name": "Yen mach trong suot", | |
| "avatar": "https://picsum.photos/200/200", | |
| "total_amount": 400, | |
| "feedback_amount": 0, | |
| "unit": "mg", | |
| "isCheck": false | |
| }, | |
| { | |
| "id": "210882420b012413223", | |
| "name": "Buoi nam roi", | |
| "avatar": "https://picsum.photos/200/200", | |
| "total_amount": 200, | |
| "feedback_amount": 190, | |
| "unit": "mg", | |
| "isCheck": true | |
| }, | |
| { | |
| "id": "210892420b012413223", | |
| "name": "Xoai cat Dai Loan", | |
| "avatar": "https://picsum.photos/200/200", | |
| "total_amount": 250, | |
| "feedback_amount": 190, | |
| "unit": "mg", | |
| "isCheck": true | |
| } | |
| ] | |
| } | |
| }, | |
| "TutorialRequestExample": { | |
| "value": { | |
| "content": "Bạn nằm ngửa thả lỏng toàn thân trên sàn với hai tay dang rộng ngang vai, chân khép lại và mũi chân duỗi thẳng.", | |
| "avatar": "https://picsum.photos/200/300", | |
| "priority": 1 | |
| } | |
| }, | |
| "TutorialResponseExample": { | |
| "value": { | |
| "id": 2188824200011112200, | |
| "content": "Bạn nằm ngửa thả lỏng toàn thân trên sàn với hai tay dang rộng ngang vai, chân khép lại và mũi chân duỗi thẳng.", | |
| "avatar": "https://picsum.photos/200/300", | |
| "priority": 1 | |
| } | |
| }, | |
| "UserCatalogPopularArrayResponseExample": { | |
| "value": { | |
| "data": [ | |
| { | |
| "id": 2188824200011112200, | |
| "name": "Hoang Thi Ngoc Hanh", | |
| "total_point": 9.9, | |
| "ranks": [ | |
| { | |
| "id": 2198824200011112200, | |
| "rank_name": "master 5 nam", | |
| "category_name": "Yoga" | |
| }, | |
| { | |
| "id": 2198824202011112200, | |
| "rank_name": "Trinh do 1", | |
| "category_name": "Gym" | |
| } | |
| ] | |
| }, | |
| { | |
| "id": 2188824200811112200, | |
| "name": "Nguyen Thi Thanh Luan", | |
| "total_point": 6.9, | |
| "ranks": [ | |
| { | |
| "id": 2198824200011112200, | |
| "rank_name": "giao vien 200h", | |
| "category_name": "Yoga" | |
| } | |
| ] | |
| }, | |
| { | |
| "id": 2188824200111122200, | |
| "name": "Dao Thi Tu Anh", | |
| "total_point": 7.9, | |
| "ranks": [ | |
| { | |
| "id": 2198824200011112200, | |
| "rank_name": "giao vien 500h", | |
| "category_name": "Jumpa" | |
| } | |
| ] | |
| }, | |
| { | |
| "id": 3188824208111122400, | |
| "name": "Nguyen Hong Xuan Trang", | |
| "total_point": 7.9, | |
| "ranks": [ | |
| { | |
| "id": 2198824200011112200, | |
| "rank_name": "giao vien 500h", | |
| "category_name": "Body compat" | |
| } | |
| ] | |
| } | |
| ], | |
| "pagination": { | |
| "current": 1, | |
| "next": 2, | |
| "pre": 0, | |
| "take": 5, | |
| "total": 20 | |
| } | |
| } | |
| }, | |
| "UserProfileResponseExample": { | |
| "value": { | |
| "data": { | |
| "id": 2188824200011112200, | |
| "address": "Quang Binh, Viet Nam", | |
| "email": "[email protected]", | |
| "phone_number": "034 437 4834", | |
| "categories": { | |
| "total": 4, | |
| "list": [ | |
| { | |
| "id": 2188824200211112200, | |
| "name": "Hatha yoga", | |
| "avatar": "https://picsum.photos/200/300", | |
| "title": "Hatha yoga" | |
| }, | |
| { | |
| "id": 2188824200211112200, | |
| "name": "Thien dinh", | |
| "avatar": "https://picsum.photos/200/300", | |
| "title": "Thien dinh" | |
| }, | |
| { | |
| "id": 2188824200211112200, | |
| "name": "Gym", | |
| "avatar": "https://picsum.photos/200/300", | |
| "title": "Gym" | |
| }, | |
| { | |
| "id": 2188824200211112200, | |
| "name": "Jumpa", | |
| "avatar": "https://picsum.photos/200/300", | |
| "title": "Jumpa" | |
| } | |
| ] | |
| }, | |
| "users": { | |
| "total": 4, | |
| "list": [ | |
| { | |
| "id": 2188824200221112300, | |
| "name": "Truong Thao Nhi", | |
| "avatar": "https://picsum.photos/200/200", | |
| "ranks": [ | |
| { | |
| "id": 2198824200011112200, | |
| "rank_name": "master 5 nam", | |
| "category_name": "Yoga" | |
| }, | |
| { | |
| "id": 2198824200012112100, | |
| "rank_name": "Bac 1", | |
| "category_name": "Gym" | |
| } | |
| ] | |
| }, | |
| { | |
| "id": 2188824200211312000, | |
| "name": "Hoang Thi Ngoc Hanh", | |
| "avatar": "https://picsum.photos/200/300", | |
| "ranks": [ | |
| { | |
| "id": 2198824202011112200, | |
| "rank_name": "master 5 nam", | |
| "category_name": "Yoga" | |
| } | |
| ] | |
| }, | |
| { | |
| "id": 2188824200211412200, | |
| "name": "Dao Thi Tu Anh", | |
| "avatar": "https://picsum.photos/200/300", | |
| "ranks": [ | |
| { | |
| "id": 2198824202012112100, | |
| "rank_name": "Vang 1", | |
| "category_name": "Jumpa" | |
| } | |
| ] | |
| }, | |
| { | |
| "id": 2188824202211512300, | |
| "name": "Jumpa", | |
| "avatar": "https://picsum.photos/200/300", | |
| "ranks": [ | |
| { | |
| "id": 2198824202012112100, | |
| "rank_name": "Vang 1", | |
| "category_name": "Jumpa" | |
| }, | |
| { | |
| "id": 2198824202012112100, | |
| "rank_name": "Giao vien 500h", | |
| "category_name": "Yoga tri lieu" | |
| }, | |
| { | |
| "id": 2198824202012112100, | |
| "rank_name": "Kim cuong 1", | |
| "category_name": "Jumpa" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| "courses": { | |
| "total": 3, | |
| "list": [ | |
| { | |
| "id": 2188824200011112200, | |
| "course_name": "Cam nang yoga cho nguoi moi bat dau", | |
| "trainer_name": "Hoang Thi Ngoc Hanh", | |
| "fee": 3000000, | |
| "total_point": 9.9, | |
| "type": "online", | |
| "ranks": [ | |
| { | |
| "id": 2198824200011112200, | |
| "rank_name": "master 5 nam", | |
| "category_name": "Yoga" | |
| }, | |
| { | |
| "id": 2198824202011112200, | |
| "rank_name": "Trinh do 1", | |
| "category_name": "Gym" | |
| } | |
| ], | |
| "students": [ | |
| { | |
| "id": 2198824200011112200, | |
| "avatar": "https://picsum.photos/200/200" | |
| }, | |
| { | |
| "id": 2198824203011112200, | |
| "avatar": "https://picsum.photos/200/200" | |
| }, | |
| { | |
| "id": 2198824203011112200, | |
| "avatar": "https://picsum.photos/200/200" | |
| }, | |
| { | |
| "id": 2198824203011112200, | |
| "avatar": "https://picsum.photos/200/200" | |
| }, | |
| { | |
| "id": 2198824203011112200, | |
| "avatar": "https://picsum.photos/200/200" | |
| } | |
| ] | |
| }, | |
| { | |
| "id": 2188824200811112200, | |
| "course_name": "Bi kip trai thang thanh bong", | |
| "trainer_name": "Nguyen Thi Thanh Luan", | |
| "fee": 4000000, | |
| "total_point": 6.9, | |
| "type": "offline", | |
| "ranks": [ | |
| { | |
| "id": 2198824200011112200, | |
| "rank_name": "giao vien 200h", | |
| "category_name": "Yoga" | |
| } | |
| ], | |
| "students": [ | |
| { | |
| "id": 2198824203211112200, | |
| "avatar": "https://picsum.photos/200/200" | |
| }, | |
| { | |
| "id": 2198824203111112200, | |
| "avatar": "https://picsum.photos/200/200" | |
| } | |
| ] | |
| }, | |
| { | |
| "id": 2188824200111122200, | |
| "course_name": "Noi Tinh Yeu Ket Thuc", | |
| "trainer_name": "Dao Thi Tu Anh", | |
| "fee": 9000000, | |
| "total_point": 7.9, | |
| "type": "online", | |
| "ranks": [ | |
| { | |
| "id": 2198824200011112200, | |
| "rank_name": "giao vien 500h", | |
| "category_name": "Jumpa" | |
| } | |
| ], | |
| "students": null | |
| }, | |
| { | |
| "id": 3188824208111122400, | |
| "course_name": "Tren tinh ban duoi tinh yeu", | |
| "trainer_name": "Nguyen Hong Xuan Trang", | |
| "fee": 2000000, | |
| "total_point": 7.9, | |
| "type": "offline", | |
| "ranks": [ | |
| { | |
| "id": 2198824200011112200, | |
| "rank_name": "Yoga tri lieu", | |
| "category_name": "Yoga tri lieu" | |
| }, | |
| { | |
| "id": 2198824200011112200, | |
| "rank_name": "master 5 nam", | |
| "category_name": "Yoga" | |
| } | |
| ], | |
| "students": [ | |
| { | |
| "id": 2198824200011112400, | |
| "avatar": "https://picsum.photos/200/200" | |
| }, | |
| { | |
| "id": 2198824203011112400, | |
| "avatar": "https://picsum.photos/200/200" | |
| }, | |
| { | |
| "id": 2198824203011116300, | |
| "avatar": "https://picsum.photos/200/200" | |
| } | |
| ] | |
| }, | |
| { | |
| "id": 3188834208111122400, | |
| "course_name": "Tren tinh ban duoi tinh yeu", | |
| "trainer_name": "Nguyen Hong Xuan Mai", | |
| "fee": 2000000, | |
| "total_point": 7.9, | |
| "type": "PT 1vs1 offline", | |
| "ranks": [ | |
| { | |
| "id": 2198824200011112200, | |
| "rank_name": "master 5 nam", | |
| "category_name": "Yoga" | |
| } | |
| ], | |
| "students": [ | |
| { | |
| "id": 2198824203011112400, | |
| "avatar": "https://picsum.photos/200/200" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| "body_parts": { | |
| "total": 6, | |
| "list": [ | |
| { | |
| "id": 2188824201231112200, | |
| "name": "Mat", | |
| "avatar": "https://picsum.photos/200/200" | |
| }, | |
| { | |
| "id": 2189824201261112300, | |
| "name": "Cot song", | |
| "avatar": "https://picsum.photos/200/200" | |
| }, | |
| { | |
| "id": 2188824201231112400, | |
| "name": "Tri nao", | |
| "avatar": "https://picsum.photos/200/200" | |
| }, | |
| { | |
| "id": 2188824201281112300, | |
| "name": "Tim", | |
| "avatar": "https://picsum.photos/200/200" | |
| } | |
| ] | |
| } | |
| } | |
| } | |
| }, | |
| "UserRequestExample": { | |
| "value": { | |
| "email": "[email protected]", | |
| "fullname": "Nguyen Thien Ly", | |
| "phone_number": "0973 446 184", | |
| "address": "Quang Binh, Viet Nam", | |
| "avatar": "https://picsum.photos/200/200" | |
| } | |
| }, | |
| "UserResponseExample": { | |
| "value": { | |
| "data": { | |
| "id": 2188824200011114200, | |
| "email": "[email protected]", | |
| "fullname": "Nguyen Thien Ly", | |
| "phone_number": "0973 446 184", | |
| "address": "Quang Binh, Viet Nam", | |
| "avatar": "https://picsum.photos/200/200" | |
| } | |
| } | |
| }, | |
| "UserCertificationRequestExample": { | |
| "value": { | |
| "data": { | |
| "user_id": 2188824202011112200, | |
| "organization_id": 2188824202011122200, | |
| "avatar": "https://picsum.photos/300/200", | |
| "descripton": "Sunrise Yoga & Coach là đơn vị hàng đầu tại Việt Nam trong lĩnh vực phục hồi sức khỏe không dùng thuốc. Với phương pháp YNM kết hợp giữa Yoga trị liệu - Nutrition (dinh dưỡng trị liệu)" | |
| } | |
| } | |
| }, | |
| "UserCertificationResponseExample": { | |
| "value": { | |
| "data": { | |
| "id": 2188824202012112100, | |
| "user_id": 2188824202011112200, | |
| "organization_id": 2188824202011122200, | |
| "name": "Bang chung nhan Yoga", | |
| "avatar": "https://picsum.photos/300/200", | |
| "descripton": "Sunrise Yoga & Coach là đơn vị hàng đầu tại Việt Nam trong lĩnh vực phục hồi sức khỏe không dùng thuốc. Với phương pháp YNM kết hợp giữa Yoga trị liệu - Nutrition (dinh dưỡng trị liệu)", | |
| "at_time": "22/12/2020" | |
| } | |
| } | |
| }, | |
| "UserCertificationProfileTrainerResponseExample": { | |
| "value": { | |
| "data": [ | |
| { | |
| "id": 2188824202012112400, | |
| "organization": { | |
| "id": 2188824202012212200, | |
| "name": "Shivom yoga", | |
| "avatar": "https://picsum.photos/300/200" | |
| }, | |
| "name": "Bang chung nhan Yoga", | |
| "avatar": "https://picsum.photos/300/200", | |
| "description": "Sunrise Yoga & Coach là đơn vị hàng đầu tại Việt Nam trong lĩnh vực phục hồi sức khỏe không dùng thuốc. Với phương pháp YNM kết hợp giữa Yoga trị liệu - Nutrition (dinh dưỡng trị liệu)", | |
| "at_time": "22/12/2020" | |
| }, | |
| { | |
| "id": 2188824212012112400, | |
| "organization": { | |
| "id": 2188824202012212200, | |
| "name": "Lotus Fitness", | |
| "avatar": "https://picsum.photos/300/200" | |
| }, | |
| "avatar": "https://picsum.photos/300/200", | |
| "name": "Bang chung nhan Yoga tri lieu", | |
| "description": "Sunrise Yoga & Coach là đơn vị hàng đầu tại Việt Nam trong lĩnh vực phục hồi sức khỏe không dùng thuốc. Với phương pháp YNM kết hợp giữa Yoga trị liệu - Nutrition (dinh dưỡng trị liệu)", | |
| "at_time": "22/12/2020" | |
| }, | |
| { | |
| "id": 2188924212012112400, | |
| "organization": { | |
| "id": 2180824202012212200, | |
| "name": "Lotus Fitness", | |
| "avatar": "https://picsum.photos/300/200" | |
| }, | |
| "avatar": "https://picsum.photos/300/200", | |
| "name": "Bang chung nhan Yoga tri lieu", | |
| "description": "Sunrise Yoga & Coach là đơn vị hàng đầu tại Việt Nam trong lĩnh vực phục hồi sức khỏe không dùng thuốc. Với phương pháp YNM kết hợp giữa Yoga trị liệu - Nutrition (dinh dưỡng trị liệu)", | |
| "at_time": "22/12/2020" | |
| } | |
| ], | |
| "pagination": { | |
| "current": 1, | |
| "next": 2, | |
| "pre": 0, | |
| "take": 5, | |
| "total": 16 | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment