{"openapi":"3.0.1","servers":[{"url":"/","description":"Default Server URL"}],"paths":{"/api/v2/questions/{questionUuid}":{"get":{"tags":["question-controller-v-2"],"operationId":"findQuestionByUuid","parameters":[{"name":"questionUuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuestionV2WS"}}}}}},"put":{"tags":["question-controller-v-2"],"operationId":"updateQuestion","parameters":[{"name":"questionUuid","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuestionRequestV2WS"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuestionV2WS"}}}}}},"delete":{"tags":["question-controller-v-2"],"operationId":"deleteQuestion","parameters":[{"name":"questionUuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/api/v1/users/{userUuid}/subscriptions/elevated":{"put":{"tags":["user-subscription-controller"],"operationId":"updateElevatedSubscription","parameters":[{"name":"userUuid","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ElevatedSubscriptionRequestWS"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserWS"}}}}}},"post":{"tags":["user-subscription-controller"],"operationId":"createElevatedSubscription","parameters":[{"name":"userUuid","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ElevatedSubscriptionRequestWS"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserWS"}}}}}}},"/api/v1/updateUser":{"put":{"tags":["user-registration-controller"],"operationId":"updateUser","parameters":[{"name":"username","in":"query","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserRegistrationUpdateNamesRequestWS"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserRegistrationResponseWS"}}}}}}},"/api/v1/tests/templates/{templateUuid}":{"get":{"tags":["template-controller"],"operationId":"getTemplate","parameters":[{"name":"templateUuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateWS"}}}}}},"put":{"tags":["template-controller"],"operationId":"updateTemplate","parameters":[{"name":"templateUuid","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateRequestWS"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateWS"}}}}}},"delete":{"tags":["template-controller"],"operationId":"deleteTemplate","parameters":[{"name":"templateUuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/api/v1/subjects/{subjectUuid}":{"get":{"tags":["subject-controller"],"operationId":"getSubject","parameters":[{"name":"subjectUuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubjectWS"}}}}}},"put":{"tags":["subject-controller"],"operationId":"updateSubject","parameters":[{"name":"subjectUuid","in":"path","required":true,"schema":{"type":"string"}},{"name":"updateOrder","in":"query","required":false,"schema":{"type":"boolean","default":false}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubjectRequestWS"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubjectWS"}}}}}},"delete":{"tags":["subject-controller"],"operationId":"deleteSubject","parameters":[{"name":"subjectUuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/api/v1/subcategories/{subcategoryUuid}":{"get":{"tags":["sub-category-controller"],"operationId":"getSubCategory","parameters":[{"name":"subcategoryUuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubCategoryWS"}}}}}},"put":{"tags":["sub-category-controller"],"operationId":"updateSubCategory","parameters":[{"name":"subcategoryUuid","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubCategoryRequestWS"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubCategoryWS"}}}}}},"delete":{"tags":["sub-category-controller"],"operationId":"deleteSubCategory","parameters":[{"name":"subcategoryUuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/api/v1/storeAdmin/featuredProducts":{"get":{"tags":["store-admin-controller"],"operationId":"getFeaturedProducts","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeaturedProductsAdminStateWS"}}}}}},"put":{"tags":["store-admin-controller"],"operationId":"updateFeaturedProducts","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeaturedProductsAdminStateWS"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeaturedProductsAdminStateWS"}}}}}}},"/api/v1/products/{productUuid}":{"get":{"tags":["product-controller"],"operationId":"getProductByUuid","parameters":[{"name":"productUuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductWS"}}}}}},"put":{"tags":["product-controller"],"operationId":"updateProductByUuid","parameters":[{"name":"productUuid","in":"path","required":true,"schema":{"type":"string"}},{"name":"updateOrder","in":"query","required":false,"schema":{"type":"boolean","default":false}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductRequestWS"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductWS"}}}}}},"delete":{"tags":["product-controller"],"operationId":"deleteProductByUuid","parameters":[{"name":"productUuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/api/v1/products/{productUuid}/freeTrialSubCategories":{"get":{"tags":["free-trial-sub-category-controller"],"operationId":"getFreeTrialSubCategories","parameters":[{"name":"productUuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FreeTrialSubCategoriesWS"}}}}}},"put":{"tags":["free-trial-sub-category-controller"],"operationId":"updateFreeTrialSubCategories","parameters":[{"name":"productUuid","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FreeTrialSubCategoriesWS"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FreeTrialSubCategoriesWS"}}}}}}},"/api/v1/products/trialExpiryReminders":{"put":{"tags":["trial-expiry-reminder-controller"],"operationId":"updateTrialExpiryReminders","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrialExpiryReminderConfigRequestWS"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TrialExpiryReminderConfigWS"}}}}}}}},"/api/v1/emailSettings/defaultNewSubscriptionYoutubeUrl":{"get":{"tags":["email-settings-controller"],"operationId":"getDefaultNewSubscriptionEmailYoutubeUrl","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultNewSubscriptionEmailYoutubeUrlWS"}}}}}},"put":{"tags":["email-settings-controller"],"operationId":"setDefaultNewSubscriptionEmailYoutubeUrl","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultNewSubscriptionEmailYoutubeUrlWS"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DefaultNewSubscriptionEmailYoutubeUrlWS"}}}}}}},"/api/v1/comments/questions/{questionUuid}/comments/{commentUuid}":{"put":{"tags":["comment-controller"],"operationId":"updateCommentForQuestionId","parameters":[{"name":"questionUuid","in":"path","required":true,"schema":{"type":"string"}},{"name":"commentUuid","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommentUpdateRequestWS"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommentWS"}}}}}},"delete":{"tags":["comment-controller"],"operationId":"deleteComment","parameters":[{"name":"questionUuid","in":"path","required":true,"schema":{"type":"string"}},{"name":"commentUuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/api/v1/categories/{categoryUuid}":{"get":{"tags":["category-controller"],"operationId":"getCategory","parameters":[{"name":"categoryUuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CategoryWS"}}}}}},"put":{"tags":["category-controller"],"operationId":"updateCategory","parameters":[{"name":"categoryUuid","in":"path","required":true,"schema":{"type":"string"}},{"name":"updateOrder","in":"query","required":false,"schema":{"type":"boolean","default":false}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CategoryRequestWS"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CategoryWS"}}}}}},"delete":{"tags":["category-controller"],"operationId":"deleteCategory","parameters":[{"name":"categoryUuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/api/v2/questions":{"post":{"tags":["question-controller-v-2"],"operationId":"createQuestion","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuestionRequestV2WS"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuestionV2WS"}}}}}}},"/api/v2/questions/products/{productUuid}/preview":{"post":{"tags":["question-controller-v-2"],"operationId":"getQuestionsPreview","parameters":[{"name":"productUuid","in":"path","required":true,"schema":{"type":"string"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"name":"size","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":10}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuestionPreviewRequestV2WS"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageQuestionPreviewV2WS"}}}}}}},"/api/v2/questionMedia/{questionUuid}":{"post":{"tags":["question-controller-v-2"],"operationId":"uploadQuestionMedia","parameters":[{"name":"questionUuid","in":"path","required":true,"schema":{"type":"string"}},{"name":"mediaType","in":"query","required":true,"schema":{"type":"string","enum":["LOGO","EXPLANATION","STEM"]}},{"name":"async","in":"query","required":false,"schema":{"type":"boolean"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"required":["media"],"type":"object","properties":{"media":{"type":"array","items":{"type":"string","format":"binary"}}}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MediaWS"}}}}}}}},"/api/v2/createCheckoutSession":{"post":{"tags":["checkout-session-controller"],"operationId":"createCheckoutSessionV2","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutSessionV2RequestWS"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutSessionResponseWS"}}}}}}},"/api/v1/zapier/create":{"post":{"tags":["zapier-user-creation-controller"],"operationId":"assignAuthor","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserIngestionRequestWS"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserIngestionResponseWS"}}}}}}},"/api/v1/webhooks":{"post":{"tags":["stripe-webhook-controller"],"operationId":"handleWebhook","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"string"}}}}}}},"/api/v1/users":{"post":{"tags":["user-controller"],"operationId":"createUser","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserRequestWS"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserWS"}}}}}}},"/api/v1/users/{userUuid}/subscriptions":{"post":{"tags":["user-subscription-controller"],"operationId":"createSubscription","parameters":[{"name":"userUuid","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserProductSubscriptionRequestWS"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserWS"}}}}}}},"/api/v1/users/{userUuid}/subscriptions/{subscriptionUuid}/upgrade":{"post":{"tags":["user-subscription-controller"],"operationId":"upgradeFromTrial","parameters":[{"name":"userUuid","in":"path","required":true,"schema":{"type":"string"}},{"name":"subscriptionUuid","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpgradeSubscriptionRequestWS"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserWS"}}}}}}},"/api/v1/useringestion":{"post":{"tags":["private-product-user-ingestion-controller"],"operationId":"createUsersAndSubscriptionsForPrivateProduct","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserIngestionRequest"}}},"required":true},"responses":{"200":{"description":"OK"}}}},"/api/v1/tests":{"post":{"tags":["test-controller"],"operationId":"createTest","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestRequestWS"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestWS"}}}}}}},"/api/v1/tests/templates":{"post":{"tags":["template-controller"],"operationId":"createTemplate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateRequestWS"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateWS"}}}}}}},"/api/v1/tests/backfill":{"post":{"tags":["test-controller"],"operationId":"backfillTestReport","responses":{"200":{"description":"OK"}}}},"/api/v1/subjects/products/{productUuid}":{"get":{"tags":["subject-controller"],"operationId":"getAllSubjectsForAProduct","parameters":[{"name":"productUuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SubjectWS"}}}}}}},"post":{"tags":["subject-controller"],"operationId":"createSubject","parameters":[{"name":"productUuid","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubjectRequestWS"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubjectWS"}}}}}}},"/api/v1/subcategories/categories/{categoryUuid}":{"get":{"tags":["sub-category-controller"],"operationId":"getAllSubCategoriesByCategoryId","parameters":[{"name":"categoryUuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SubCategoryWS"}}}}}}},"post":{"tags":["sub-category-controller"],"operationId":"createSubCategory","parameters":[{"name":"categoryUuid","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubCategoryRequestWS"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubCategoryWS"}}}}}}},"/api/v1/reports/product/{productUuid}":{"post":{"tags":["reporting-controller"],"operationId":"getReportForTemplate","parameters":[{"name":"productUuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/api/v1/reports/generateCumulativeReport":{"post":{"tags":["reporting-controller"],"operationId":"generateCumulativeReport","responses":{"200":{"description":"OK"}}}},"/api/v1/reports/generateCumulativeReport/user/{userUuid}":{"post":{"tags":["reporting-controller"],"operationId":"getCumulativeReportForUser","parameters":[{"name":"userUuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CumulativeReportResponseWS"}}}}}}}},"/api/v1/reports/generateCumulativeReport/product/{productUuid}":{"post":{"tags":["reporting-controller"],"operationId":"getCumulativeReportForProduct","parameters":[{"name":"productUuid","in":"path","required":true,"schema":{"type":"string"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"name":"size","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":25}},{"name":"sortField","in":"query","required":false,"schema":{"type":"string","default":"created","enum":["created","first_name","last_name","current_correct","current_incorrect","cumulative_total_count","percent_qbank_completed","cumulative_score_with_unanswered","current_score_with_unanswered","cumulative_score_without_unanswered","current_score_without_unanswered"]}},{"name":"sortOrder","in":"query","required":false,"schema":{"type":"string","default":"DESC","enum":["ASC","DESC"]}},{"name":"filter","in":"query","required":false,"schema":{"type":"string","enum":["CURRENT","EXPIRED","NONSTUDENT"]}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageCumulativeReportResponseWS"}}}}}}},"/api/v1/questiontypes/users/{userUuid}":{"post":{"tags":["question-type-controller"],"operationId":"getQuestionTypeDataForSubCategories","parameters":[{"name":"userUuid","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubCategoryListWS"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuestionTypeDataWS"}}}}}}},"/api/v1/products":{"get":{"tags":["product-controller"],"operationId":"getAllProducts","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ProductWS"}}}}}}},"post":{"tags":["product-controller"],"operationId":"createProduct","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductRequestWS"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductWS"}}}}}}},"/api/v1/products/{productUuid}/updateContent":{"post":{"tags":["product-controller"],"operationId":"updateProductContent","parameters":[{"name":"productUuid","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductContentRequestWS"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductContentWS"}}}}}}},"/api/v1/products/{productUuid}/logo":{"get":{"tags":["product-controller"],"operationId":"getProductLogoUrl","parameters":[{"name":"productUuid","in":"path","required":true,"schema":{"type":"string"}},{"name":"logoType","in":"query","required":false,"schema":{"type":"string","default":"HEADER_LOGO","enum":["PRODUCT_LOGO","HEADER_LOGO"]}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MediaWS"}}}}}}},"post":{"tags":["product-controller"],"operationId":"uploadProductLogo","parameters":[{"name":"productUuid","in":"path","required":true,"schema":{"type":"string"}},{"name":"logoType","in":"query","required":false,"schema":{"type":"string","default":"HEADER_LOGO","enum":["PRODUCT_LOGO","HEADER_LOGO"]}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"required":["logo"],"type":"object","properties":{"logo":{"type":"string","format":"binary"}}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaWS"}}}}}}},"/api/v1/products/{productUuid}/colors":{"post":{"tags":["product-controller"],"operationId":"createProductColors","parameters":[{"name":"productUuid","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductColorRequestWS"}}},"required":true},"responses":{"200":{"description":"OK"}}}},"/api/v1/products/{productUuid}/billingPlans":{"get":{"tags":["product-billing-plan-controller"],"operationId":"getAllBillingPlansForProduct","parameters":[{"name":"productUuid","in":"path","required":true,"schema":{"type":"string"}},{"name":"active","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"visible","in":"query","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ProductBillingPlanWS"}}}}}}},"post":{"tags":["product-billing-plan-controller"],"operationId":"createBillingPlanForProduct","parameters":[{"name":"productUuid","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductBillingRequestWS"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductBillingPlanWS"}}}}}}},"/api/v1/products/productSearchContent":{"post":{"tags":["product-controller"],"operationId":"searchProductsContent","parameters":[{"name":"sortField","in":"query","required":false,"schema":{"type":"string","default":"name","enum":["questionCount","learnersCount","name"]}},{"name":"sortOrder","in":"query","required":false,"schema":{"type":"string","default":"DESC","enum":["ASC","DESC"]}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductContentSearchRequestWS"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageProductContentWS"}}}}}}},"/api/v1/lastused":{"post":{"tags":["last-used-controller"],"operationId":"updateLastUsedProduct","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LastUsedRequestWS"}}},"required":true},"responses":{"200":{"description":"OK"}}}},"/api/v1/initiateStreamlinedRegistration":{"post":{"tags":["user-registration-controller"],"operationId":"initiateStreamlinedUserRegistration","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserRegistrationStreamlinedRequestWS"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserRegistrationResponseWS"}}}}}}},"/api/v1/initiateRegistration":{"post":{"tags":["user-registration-controller"],"operationId":"initiateUserRegistration","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserRegistrationRequestWS"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserRegistrationResponseWS"}}}}}}},"/api/v1/initiatePasswordUpdate":{"post":{"tags":["password-reset-controller"],"operationId":"initiatePasswordUpdate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasswordResetRequestWS"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"string"}}}}}}},"/api/v1/initiatePasswordReset":{"post":{"tags":["password-reset-controller"],"operationId":"initiatePasswordReset","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasswordResetRequestWS"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"string"}}}}}}},"/api/v1/gdpr":{"post":{"tags":["gdpr-controller"],"operationId":"processGdpr","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GdprRequestWS"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GdprResponseWS"}}}}}}},"/api/v1/createCheckoutSession":{"post":{"tags":["checkout-session-controller"],"operationId":"createCheckoutSession","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutSessionRequestWS"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutSessionResponseWS"}}}}}}},"/api/v1/contact":{"post":{"tags":["contact-us-controller"],"operationId":"contactFormRequest","parameters":[{"name":"body-hash","in":"header","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactFormWS"}}},"required":true},"responses":{"200":{"description":"OK"}}}},"/api/v1/completeStreamlinedRegistration":{"post":{"tags":["user-registration-controller"],"operationId":"completeStreamlinedUserRegistration","parameters":[{"name":"token","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserRegistrationResponseWS"}}}}}}},"/api/v1/completeRegistration":{"post":{"tags":["user-registration-controller"],"operationId":"completeUserRegistration","parameters":[{"name":"token","in":"query","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserRequestWS"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserRegistrationResponseWS"}}}}}}},"/api/v1/completePasswordReset":{"post":{"tags":["password-reset-controller"],"operationId":"completePasswordReset","parameters":[{"name":"token","in":"query","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasswordResetRequestWS"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"string"}}}}}}},"/api/v1/comments/questions/{questionUuid}":{"get":{"tags":["comment-controller"],"operationId":"getCommentsByQuestionId","parameters":[{"name":"questionUuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CommentWS"}}}}}}},"post":{"tags":["comment-controller"],"operationId":"createCommentForQuestionId","parameters":[{"name":"questionUuid","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommentRequestWS"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommentWS"}}}}}}},"/api/v1/categories/subjects/{subjectUuid}":{"get":{"tags":["category-controller"],"operationId":"getAllCategoriesBySubjectId","parameters":[{"name":"subjectUuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CategoryWS"}}}}}}},"post":{"tags":["category-controller"],"operationId":"createCategory","parameters":[{"name":"subjectUuid","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CategoryRequestWS"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CategoryWS"}}}}}}},"/api/v1/authors/unassign":{"post":{"tags":["author-controller"],"operationId":"unAssignAuthor","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthorRequestWS"}}},"required":true},"responses":{"200":{"description":"OK"}}}},"/api/v1/authors/assign":{"post":{"tags":["author-controller"],"operationId":"assignAuthor_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthorRequestWS"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthorResponseWS"}}}}}}},"/api/v1/users/{userUuid}/subscriptions/{subscriptionUuid}/reactivate":{"patch":{"tags":["user-subscription-controller"],"operationId":"reactivateCancelledSubscription","parameters":[{"name":"userUuid","in":"path","required":true,"schema":{"type":"string"}},{"name":"subscriptionUuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/api/v1/tests/{testUuid}/updateParams":{"patch":{"tags":["test-controller"],"operationId":"updateTestParams","parameters":[{"name":"testUuid","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestParamsWS"}}},"required":true},"responses":{"200":{"description":"OK"}}}},"/api/v1/tests/{testUuid}/start":{"patch":{"tags":["test-controller"],"operationId":"startOrResumeTest","parameters":[{"name":"testUuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestStatusWS"}}}}}}},"/api/v1/tests/{testUuid}/questions/{questionUuid}/unanswer":{"patch":{"tags":["test-controller"],"operationId":"deselectAnswer","parameters":[{"name":"testUuid","in":"path","required":true,"schema":{"type":"string"}},{"name":"questionUuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/api/v1/tests/{testUuid}/questions/{questionUuid}/flag":{"patch":{"tags":["test-controller"],"operationId":"toggleFlaggedStatus","parameters":[{"name":"testUuid","in":"path","required":true,"schema":{"type":"string"}},{"name":"questionUuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"boolean"}}}}}}},"/api/v1/tests/{testUuid}/questions/{questionUuid}/answer":{"patch":{"tags":["test-controller"],"operationId":"submitAnswer","parameters":[{"name":"testUuid","in":"path","required":true,"schema":{"type":"string"}},{"name":"questionUuid","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnswerChoiceWS"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnswerChoiceWS"}}}}}}},"/api/v1/tests/{testUuid}/pause":{"patch":{"tags":["test-controller"],"operationId":"pauseTest","parameters":[{"name":"testUuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestStatusWS"}}}}}}},"/api/v1/tests/{testUuid}/finalize":{"patch":{"tags":["test-controller"],"operationId":"finalizeTest","parameters":[{"name":"testUuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestStatusWS"}}}}}}},"/api/v1/tests/templates/{templateUuid}/publish":{"patch":{"tags":["template-controller"],"operationId":"publishTemplate","parameters":[{"name":"templateUuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/api/v1/tests/alive":{"patch":{"tags":["test-controller"],"operationId":"pingTestAlive","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"string"}}}}}}},"/api/v1/products/{productUuid}/billingPlans/{billingPlanUuid}":{"get":{"tags":["product-billing-plan-controller"],"operationId":"getBillingPlanForProduct","parameters":[{"name":"productUuid","in":"path","required":true,"schema":{"type":"string"}},{"name":"billingPlanUuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductBillingPlanWS"}}}}}},"delete":{"tags":["product-billing-plan-controller"],"operationId":"deleteBillingPlanForProduct","parameters":[{"name":"productUuid","in":"path","required":true,"schema":{"type":"string"}},{"name":"billingPlanUuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}},"deprecated":true},"patch":{"tags":["product-billing-plan-controller"],"operationId":"updateBillingPlanForProduct","parameters":[{"name":"productUuid","in":"path","required":true,"schema":{"type":"string"}},{"name":"billingPlanUuid","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductBillingPlanPatchRequestWS"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductBillingPlanWS"}}}}}}},"/api/v1/products/{productUuid}/billingPlans/{billingPlanUuid}/active":{"patch":{"tags":["product-billing-plan-controller"],"operationId":"toggleBillingPlanActive","parameters":[{"name":"productUuid","in":"path","required":true,"schema":{"type":"string"}},{"name":"billingPlanUuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductBillingPlanWS"}}}}}}},"/api/v2/questions/{questionUuid}/versions":{"get":{"tags":["question-controller-v-2"],"operationId":"findAllVersionsForQuestion","parameters":[{"name":"questionUuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/QuestionV2WS"}}}}}}}},"/api/v2/questions/{questionUuid}/versions/previous":{"get":{"tags":["question-controller-v-2"],"operationId":"findPreviousVersionForQuestion","parameters":[{"name":"questionUuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuestionV2WS"}}}}}}},"/api/v2/questions/{questionUuid}/allowedStatuses":{"get":{"tags":["question-controller-v-2"],"operationId":"getAllowedStatuses","parameters":[{"name":"questionUuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/QuestionStatusWS"}}}}}}}},"/api/v2/questions/uuid":{"get":{"tags":["question-controller-v-2"],"operationId":"getQuestionUuid","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuestionIdV2WS"}}}}}}},"/api/v2/questions/products/{productUuid}":{"get":{"tags":["question-controller-v-2"],"operationId":"findAllQuestionsForProduct","parameters":[{"name":"productUuid","in":"path","required":true,"schema":{"type":"string"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"name":"size","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":10}},{"name":"sortField","in":"query","required":false,"schema":{"type":"string","default":"updated","enum":["created","updated","status","subject","category","subcategory","author","questionName"]}},{"name":"sortOrder","in":"query","required":false,"schema":{"type":"string","default":"DESC","enum":["ASC","DESC"]}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageQuestionV2WS"}}}}}}},"/api/v2/questions/products/{productUuid}/writer":{"get":{"tags":["question-controller-v-2"],"operationId":"findAllQuestionsForWriter","parameters":[{"name":"productUuid","in":"path","required":true,"schema":{"type":"string"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"name":"size","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":10}},{"name":"sortField","in":"query","required":false,"schema":{"type":"string","default":"updated","enum":["created","updated","status","subject","category","subcategory","author","questionName"]}},{"name":"sortOrder","in":"query","required":false,"schema":{"type":"string","default":"DESC","enum":["ASC","DESC"]}},{"name":"filter","in":"query","required":false,"schema":{"type":"string","default":"NO_FILTER"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageQuestionV2WS"}}}}},"deprecated":true}},"/api/v2/questions/products/{productUuid}/writerOrAuditor":{"get":{"tags":["question-controller-v-2"],"operationId":"findAllQuestionsForWriterOrAuditor","parameters":[{"name":"productUuid","in":"path","required":true,"schema":{"type":"string"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"name":"size","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":10}},{"name":"sortField","in":"query","required":false,"schema":{"type":"string","default":"updated","enum":["created","updated","status","subject","category","subcategory","author","questionName"]}},{"name":"sortOrder","in":"query","required":false,"schema":{"type":"string","default":"DESC","enum":["ASC","DESC"]}},{"name":"filter","in":"query","required":false,"schema":{"type":"string","default":"NO_FILTER"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageQuestionV2WS"}}}}}}},"/api/v2/questions/products/{productUuid}/statusCounts":{"get":{"tags":["question-controller-v-2"],"operationId":"findStatusFilterCounts","parameters":[{"name":"productUuid","in":"path","required":true,"schema":{"type":"string"}},{"name":"filterRole","in":"query","required":false,"schema":{"type":"string","default":"WRITER"}},{"name":"filter","in":"query","required":false,"schema":{"type":"string","default":"NO_FILTER"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuestionStatusFilterCountWS"}}}}}}},"/api/v2/questions/products/{productUuid}/auditor":{"get":{"tags":["question-controller-v-2"],"operationId":"findAllQuestionsForAuditor","parameters":[{"name":"productUuid","in":"path","required":true,"schema":{"type":"string"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"name":"size","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":10}},{"name":"sortField","in":"query","required":false,"schema":{"type":"string","default":"updated","enum":["created","updated","status","subject","category","subcategory","author","questionName"]}},{"name":"sortOrder","in":"query","required":false,"schema":{"type":"string","default":"DESC","enum":["ASC","DESC"]}},{"name":"filter","in":"query","required":false,"schema":{"type":"string","default":"NO_FILTER"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageQuestionV2WS"}}}}},"deprecated":true}},"/api/v1/users/{userUuid}":{"get":{"tags":["user-controller"],"operationId":"getUser","parameters":[{"name":"userUuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserWS"}}}}}}},"/api/v1/users/{emailAddress}/registered":{"get":{"tags":["user-controller"],"operationId":"checkEmailAlreadyRegistered","parameters":[{"name":"emailAddress","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"boolean"}}}}}}},"/api/v1/users/username/{username}":{"get":{"tags":["user-controller"],"operationId":"getUsers","parameters":[{"name":"username","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserWS"}}}}}}}},"/api/v1/users/me":{"get":{"tags":["user-details-controller"],"operationId":"getUser_1","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserWS"}}}}}}},"/api/v1/useringestion/{productUuid}/billingPlanUuid/{billingPlanUuid}":{"get":{"tags":["private-product-user-ingestion-controller"],"operationId":"createUsersAndSubscriptionsForPrivateProduct_1","parameters":[{"name":"productUuid","in":"path","required":true,"schema":{"type":"string"}},{"name":"billingPlanUuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/api/v1/tests/{testUuid}":{"get":{"tags":["test-controller"],"operationId":"getTest","parameters":[{"name":"testUuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestWS"}}}}}}},"/api/v1/tests/{testUuid}/sidebar":{"get":{"tags":["test-controller"],"operationId":"getTestSidebar","parameters":[{"name":"testUuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TestSidebarWS"}}}}}}}},"/api/v1/tests/{testUuid}/retake":{"get":{"tags":["test-controller"],"operationId":"retakeTest","parameters":[{"name":"testUuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestWS"}}}}}}},"/api/v1/tests/{testUuid}/questions":{"get":{"tags":["test-controller"],"operationId":"getTestQuestions","parameters":[{"name":"testUuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestWithQuestionDataWS"}}}}}}},"/api/v1/tests/users/{userUuid}/products/{productUuid}":{"get":{"tags":["test-controller"],"operationId":"getAllTestsForUser","parameters":[{"name":"userUuid","in":"path","required":true,"schema":{"type":"string"}},{"name":"productUuid","in":"path","required":true,"schema":{"type":"string"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"name":"size","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":10}},{"name":"sortField","in":"query","required":false,"schema":{"type":"string","default":"created","enum":["created","updated","testMode","testStatus","testName"]}},{"name":"sortOrder","in":"query","required":false,"schema":{"type":"string","default":"DESC","enum":["ASC","DESC"]}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageTestWS"}}}}}}},"/api/v1/tests/templates/products/{productUuid}":{"get":{"tags":["template-controller"],"operationId":"getTemplatesForProduct","parameters":[{"name":"productUuid","in":"path","required":true,"schema":{"type":"string"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"name":"size","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":10}},{"name":"sortField","in":"query","required":false,"schema":{"type":"string","default":"updated","enum":["created","updated","name","num_questions","status"]}},{"name":"sortOrder","in":"query","required":false,"schema":{"type":"string","default":"DESC","enum":["ASC","DESC"]}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageTemplateWS"}}}}}}},"/api/v1/tests/templates/products/{productUuid}/questions/{questionUuid}":{"get":{"tags":["template-controller"],"operationId":"getTemplatesForQuestion","parameters":[{"name":"productUuid","in":"path","required":true,"schema":{"type":"string"}},{"name":"questionUuid","in":"path","required":true,"schema":{"type":"string"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"name":"size","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":10}},{"name":"sortField","in":"query","required":false,"schema":{"type":"string","default":"updated","enum":["created","updated","name","num_questions","status"]}},{"name":"sortOrder","in":"query","required":false,"schema":{"type":"string","default":"DESC","enum":["ASC","DESC"]}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageQuestionTemplateWS"}}}}}}},"/api/v1/tests/products/{productUuid}/templates":{"get":{"tags":["test-controller"],"operationId":"getTemplatesForProductForUser","parameters":[{"name":"productUuid","in":"path","required":true,"schema":{"type":"string"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"name":"size","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":10}},{"name":"sortField","in":"query","required":false,"schema":{"type":"string","default":"updated","enum":["created","updated","name","num_questions","status"]}},{"name":"sortOrder","in":"query","required":false,"schema":{"type":"string","default":"DESC","enum":["ASC","DESC"]}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageTemplateWS"}}}}}}},"/api/v1/tests/ongoing":{"get":{"tags":["test-controller"],"operationId":"getOngoingTestQuestions","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestWithQuestionDataWS"}}}}}}},"/api/v1/tests/inprogress":{"get":{"tags":["test-controller"],"operationId":"getTestInProgressForUser","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestWS"}}}}}}},"/api/v1/reminder/taketest/{productUuid}":{"get":{"tags":["reminder-controller"],"operationId":"sendReminderToTakeTest","parameters":[{"name":"productUuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/api/v1/reminder/register/{productUuid}":{"get":{"tags":["reminder-controller"],"operationId":"sendReminderToRegister","parameters":[{"name":"productUuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/api/v1/questions/performance":{"get":{"tags":["user-performance-controller"],"operationId":"getAggregatedQuestionPerformance","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/QuestionPerformanceWS"}}}}}}}},"/api/v1/products/{productUuid}/userperformance":{"get":{"tags":["dashboard-controller"],"operationId":"getPerformanceData","parameters":[{"name":"productUuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PerformanceWidgetResponseWS"}}}}}}},"/api/v1/products/{productUuid}/userdashboard":{"get":{"tags":["dashboard-controller"],"operationId":"getDashboardData","parameters":[{"name":"productUuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DashboardResponseWS"}}}}}}},"/api/v1/products/{productUuid}/trialExpiryReminder":{"get":{"tags":["trial-expiry-reminder-controller"],"operationId":"getTrialExpiryReminder","parameters":[{"name":"productUuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrialExpiryReminderConfigWS"}}}}}}},"/api/v1/products/{productUuid}/tree":{"get":{"tags":["product-controller"],"operationId":"getProductTree","parameters":[{"name":"productUuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductTreeWS"}}}}}}},"/api/v1/products/{productUuid}/fetchContent":{"get":{"tags":["product-controller"],"operationId":"getProductContent","parameters":[{"name":"productUuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductContentWS"}}}}}}},"/api/v1/products/featuredProducts":{"get":{"tags":["product-controller"],"operationId":"getFeaturedProducts_1","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ProductContentWS"}}}}}}}},"/api/v1/productingestion/{productUuid}":{"get":{"tags":["new-product-question-ingestion-controller"],"operationId":"createQuestionsFromCSVFile","parameters":[{"name":"productUuid","in":"path","required":true,"schema":{"type":"string"}},{"name":"createQuestion","in":"query","required":false,"schema":{"type":"boolean","default":true}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"boolean"}}}}}}},"/api/v1/productextraction/{productUuid}":{"get":{"tags":["product-question-extraction-controller"],"operationId":"extractQuestionsToCsv","parameters":[{"name":"productUuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"boolean"}}}}}}},"/api/v1/performance":{"get":{"tags":["user-performance-controller"],"operationId":"getAggregatedUserPerformance","parameters":[{"name":"testModes","in":"query","required":true,"schema":{"type":"array","items":{"type":"string","enum":["STUDY","TIMED","UNTIMED","FLASHCARD"]}}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserPerformanceWS"}}}}}}},"/api/v1/performance/tests/{testUuid}":{"get":{"tags":["user-performance-controller"],"operationId":"getIndividualTestPerformance","parameters":[{"name":"testUuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestPerformanceWS"}}}}}}},"/api/v1/payments/subscriptions/{subscriptionId}/invoice":{"get":{"tags":["user-subscription-invoice-controller"],"operationId":"sendInvoice","parameters":[{"name":"subscriptionId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"string"}}}}}}},"/api/v1/fetchRegistration":{"get":{"tags":["user-registration-controller"],"operationId":"fetchUserRegistrationDetails","parameters":[{"name":"token","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserRegistrationDetailsWS"}}}}}}},"/api/v1/comments/{commentUuid}":{"get":{"tags":["comment-controller"],"operationId":"getCommentByUuid","parameters":[{"name":"commentUuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommentWS"}}}}}}},"/api/v1/authors/product/{productUuid}":{"get":{"tags":["author-controller"],"operationId":"getAllAuthorsForProduct","parameters":[{"name":"productUuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AuthorResponseWS"}}}}}}}},"/api/v2/questionMedia/{questionUuid}/delete/{mediaId}":{"delete":{"tags":["question-controller-v-2"],"operationId":"deleteQuestionMedia","parameters":[{"name":"questionUuid","in":"path","required":true,"schema":{"type":"string"}},{"name":"mediaId","in":"path","required":true,"schema":{"type":"string"}},{"name":"mediaType","in":"query","required":true,"schema":{"type":"string","enum":["LOGO","EXPLANATION","STEM"]}}],"responses":{"200":{"description":"OK"}}}},"/api/v1/users/{userUuid}/subscriptions/{subscriptionUuid}/cancel":{"delete":{"tags":["user-subscription-controller"],"operationId":"cancelSubscription","parameters":[{"name":"userUuid","in":"path","required":true,"schema":{"type":"string"}},{"name":"subscriptionUuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/api/v1/products/{productUuid}/logo/{mediaId}":{"delete":{"tags":["product-controller"],"operationId":"deleteProductLogo","parameters":[{"name":"productUuid","in":"path","required":true,"schema":{"type":"string"}},{"name":"mediaId","in":"path","required":true,"schema":{"type":"string"}},{"name":"logoType","in":"query","required":false,"schema":{"type":"string","default":"HEADER_LOGO","enum":["PRODUCT_LOGO","HEADER_LOGO"]}}],"responses":{"200":{"description":"OK"}}}}},"components":{"schemas":{"AnswerChoiceWS":{"type":"object","properties":{"choice":{"type":"string"},"correct":{"type":"boolean"}}},"CategoryWS":{"type":"object","properties":{"name":{"type":"string"},"uuid":{"type":"string"},"availableForBasicSubscription":{"type":"boolean"}}},"ProductWS":{"type":"object","properties":{"name":{"type":"string"},"uuid":{"type":"string"},"colorMap":{"type":"object","additionalProperties":{"type":"string"}},"answerChoiceOrder":{"type":"string"},"newSubscriptionEmailYoutubeUrl":{"type":"string"},"questionFeedbackEmailAddress":{"type":"string"}}},"QuestionRequestV2WS":{"type":"object","properties":{"uuid":{"type":"string"},"name":{"type":"string"},"product":{"$ref":"#/components/schemas/ProductWS"},"subject":{"$ref":"#/components/schemas/SubjectWS"},"category":{"$ref":"#/components/schemas/CategoryWS"},"subcategory":{"$ref":"#/components/schemas/SubCategoryWS"},"status":{"type":"string","enum":["DRAFT","NEEDS_REVISION","DELETED","SUBMITTED","PUBLISHED"]},"learningObjective":{"type":"string"},"stem":{"type":"string"},"answerChoices":{"type":"array","items":{"$ref":"#/components/schemas/AnswerChoiceWS"}},"keyConcept":{"type":"string"},"correctAnswerExplanation":{"type":"string"},"incorrectAnswerExplanation":{"type":"string"},"reinforcementQuestions":{"type":"array","items":{"$ref":"#/components/schemas/ReinforcementWS"}},"references":{"type":"array","items":{"type":"string"}},"fromQuestionIngestion":{"type":"boolean"},"answerChoiceOrder":{"type":"string","enum":["SORTED","ORIGINAL","RANDOM"]}}},"ReinforcementWS":{"type":"object","properties":{"question":{"type":"string"},"answer":{"type":"string"}}},"SubCategoryWS":{"type":"object","properties":{"name":{"type":"string"},"uuid":{"type":"string"},"availableForBasicSubscription":{"type":"boolean"}}},"SubjectWS":{"type":"object","properties":{"name":{"type":"string"},"uuid":{"type":"string"},"availableForBasicSubscription":{"type":"boolean"}}},"AuthorWS":{"type":"object","properties":{"uuid":{"type":"string"},"username":{"type":"string"},"fullName":{"type":"string"}}},"CommentWS":{"type":"object","properties":{"uuid":{"type":"string"},"text":{"type":"string"},"read":{"type":"boolean"},"createdByUuid":{"type":"string"},"createdDate":{"type":"string"},"modifiedDate":{"type":"string"}}},"MediaWS":{"type":"object","properties":{"type":{"type":"string","enum":["LOGO","EXPLANATION","STEM"]},"logoType":{"type":"string","enum":["PRODUCT_LOGO","HEADER_LOGO"]},"name":{"type":"string"},"url":{"type":"string"},"position":{"type":"integer","format":"int32"},"hash":{"type":"string"},"contentType":{"type":"string"}}},"QuestionV2WS":{"type":"object","properties":{"uuid":{"type":"string"},"name":{"type":"string"},"createdDate":{"type":"string"},"modifiedDate":{"type":"string"},"author":{"$ref":"#/components/schemas/AuthorWS"},"creator":{"$ref":"#/components/schemas/AuthorWS"},"product":{"$ref":"#/components/schemas/ProductWS"},"subject":{"$ref":"#/components/schemas/SubjectWS"},"category":{"$ref":"#/components/schemas/CategoryWS"},"subcategory":{"$ref":"#/components/schemas/SubCategoryWS"},"status":{"type":"string","enum":["DRAFT","NEEDS_REVISION","DELETED","SUBMITTED","PUBLISHED"]},"learningObjective":{"type":"string"},"stem":{"type":"string"},"answerChoices":{"type":"array","items":{"$ref":"#/components/schemas/AnswerChoiceWS"}},"correctAnswerExplanation":{"type":"string"},"incorrectAnswerExplanation":{"type":"string"},"reinforcementQuestions":{"type":"array","items":{"$ref":"#/components/schemas/ReinforcementWS"}},"keyConcept":{"type":"string"},"references":{"type":"array","items":{"type":"string"}},"commentList":{"type":"array","items":{"$ref":"#/components/schemas/CommentWS"}},"versionInfo":{"$ref":"#/components/schemas/VersionInfoWS"},"explanationMediaUrls":{"type":"array","items":{"$ref":"#/components/schemas/MediaWS"}},"stemMediaUrls":{"type":"array","items":{"$ref":"#/components/schemas/MediaWS"}},"answerChoiceOrder":{"type":"string","enum":["SORTED","ORIGINAL","RANDOM"]}}},"VersionInfoWS":{"type":"object","properties":{"versionNum":{"type":"integer","format":"int32"},"latestVersionNum":{"type":"integer","format":"int32"}}},"ElevatedSubscriptionRequestWS":{"type":"object","properties":{"productUuid":{"type":"string"},"admin":{"type":"boolean"},"questionWriter":{"type":"boolean"},"questionAuditor":{"type":"boolean"},"instructor":{"type":"boolean"}}},"PaymentBillingHistoryWS":{"type":"object","properties":{"billingDate":{"type":"string"},"fromDate":{"type":"string"},"toDate":{"type":"string"},"amountBilled":{"type":"number","format":"double"},"receiptUrl":{"type":"string"}}},"ProductBillingPlanWS":{"type":"object","properties":{"uuid":{"type":"string"},"productUuid":{"type":"string"},"createdDate":{"type":"string"},"planName":{"type":"string"},"frequencyType":{"type":"string","enum":["MONTHLY","YEARLY","QUARTERLY","HALF_YEARLY","INDEFINITE","DAYS_7","DAYS_14","DAYS_30"]},"price":{"type":"number","format":"double"},"stripePriceId":{"type":"string"},"billingPlanType":{"type":"string","enum":["PUBLIC","PRIVATE","TRIAL"]},"active":{"type":"boolean"},"visible":{"type":"boolean"},"autoRenewForSubscription":{"type":"boolean"}}},"UserProductSubscriptionWS":{"type":"object","properties":{"userUuid":{"type":"string"},"subscriptionUuid":{"type":"string"},"product":{"$ref":"#/components/schemas/ProductWS"},"admin":{"type":"boolean"},"questionWriter":{"type":"boolean"},"questionAuditor":{"type":"boolean"},"instructor":{"type":"boolean"},"student":{"type":"boolean"},"type":{"type":"string"},"startDate":{"type":"string"},"endDate":{"type":"string"},"active":{"type":"boolean"},"cancelled":{"type":"boolean"},"productBillingPlan":{"$ref":"#/components/schemas/ProductBillingPlanWS"},"paymentBillingHistoryList":{"type":"array","items":{"$ref":"#/components/schemas/PaymentBillingHistoryWS"}}}},"UserWS":{"type":"object","properties":{"firstName":{"type":"string"},"lastName":{"type":"string"},"username":{"type":"string"},"uuid":{"type":"string"},"enabled":{"type":"boolean"},"lastUsedProductUuid":{"type":"string"},"stripeCustomerId":{"type":"string"},"subscriptions":{"type":"array","items":{"$ref":"#/components/schemas/UserProductSubscriptionWS"}},"superuser":{"type":"boolean"}}},"UserRegistrationUpdateNamesRequestWS":{"type":"object","properties":{"firstName":{"type":"string"},"lastName":{"type":"string"}}},"UserRegistrationResponseWS":{"type":"object","properties":{"response":{"type":"string"}}},"TemplateRequestWS":{"type":"object","properties":{"name":{"type":"string"},"productUuid":{"type":"string"},"testMode":{"type":"string","enum":["STUDY","TIMED","UNTIMED","FLASHCARD"]},"timePerQuestionInSeconds":{"type":"integer","format":"int32"},"questionUuids":{"type":"array","items":{"type":"string"}},"randomize":{"type":"boolean"}}},"TemplateAuthorWS":{"type":"object","properties":{"uuid":{"type":"string"},"username":{"type":"string"},"fullName":{"type":"string"}}},"TemplateWS":{"type":"object","properties":{"uuid":{"type":"string"},"product":{"$ref":"#/components/schemas/ProductWS"},"templateAuthorWS":{"$ref":"#/components/schemas/TemplateAuthorWS"},"createdDate":{"type":"string"},"name":{"type":"string"},"questionUuids":{"type":"array","items":{"type":"string"}},"numQuestions":{"type":"integer","format":"int32"},"status":{"type":"string"},"testMode":{"type":"string","enum":["STUDY","TIMED","UNTIMED","FLASHCARD"]},"timePerQuestionInSeconds":{"type":"integer","format":"int32"},"randomize":{"type":"boolean"}}},"SubjectRequestWS":{"type":"object","properties":{"name":{"type":"string"},"categoryUuidsOrdered":{"type":"array","items":{"type":"string"}},"availableForBasicSubscription":{"type":"boolean"}}},"SubCategoryRequestWS":{"type":"object","properties":{"name":{"type":"string"},"availableForBasicSubscription":{"type":"boolean"}}},"FeaturedProductAdminWS":{"type":"object","properties":{"uuid":{"type":"string"},"name":{"type":"string"},"schedule":{"$ref":"#/components/schemas/FeaturedProductScheduleWS"}}},"FeaturedProductScheduleWS":{"type":"object","properties":{"startTime":{"type":"string"},"endTime":{"type":"string"}}},"FeaturedProductsAdminStateWS":{"type":"object","properties":{"featuredProducts":{"type":"array","items":{"$ref":"#/components/schemas/FeaturedProductAdminWS"}}}},"ProductRequestWS":{"type":"object","properties":{"name":{"type":"string"},"answerChoiceOrder":{"type":"string","enum":["SORTED","ORIGINAL","RANDOM"]},"subjectUuidsOrdered":{"type":"array","items":{"type":"string"}},"newSubscriptionEmailYoutubeUrl":{"type":"string"},"questionFeedbackEmailAddress":{"type":"string"}}},"FreeTrialSubCategoriesWS":{"type":"object","properties":{"subCategoryUuids":{"type":"array","items":{"type":"string"}}}},"TrialExpiryReminderConfigRequestWS":{"type":"object","properties":{"productUuids":{"type":"array","items":{"type":"string"}},"enabled":{"type":"boolean"},"daysBeforeExpiry":{"type":"integer","format":"int32"}}},"TrialExpiryReminderConfigWS":{"type":"object","properties":{"productUuid":{"type":"string"},"productName":{"type":"string"},"enabled":{"type":"boolean"},"daysBeforeExpiry":{"type":"integer","format":"int32"}}},"DefaultNewSubscriptionEmailYoutubeUrlWS":{"type":"object","properties":{"defaultNewSubscriptionEmailYoutubeUrl":{"type":"string"}}},"CommentUpdateRequestWS":{"type":"object","properties":{"replacementText":{"type":"string"},"read":{"type":"boolean"}}},"CategoryRequestWS":{"type":"object","properties":{"name":{"type":"string"},"subcategoryUuidsOrdered":{"type":"array","items":{"type":"string"}},"availableForBasicSubscription":{"type":"boolean"}}},"QuestionPreviewRequestV2WS":{"type":"object","properties":{"subCategories":{"type":"array","items":{"type":"integer","format":"int64"}}}},"PageQuestionPreviewV2WS":{"type":"object","properties":{"totalPages":{"type":"integer","format":"int32"},"totalElements":{"type":"integer","format":"int64"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/QuestionPreviewV2WS"}},"number":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"empty":{"type":"boolean"}}},"PageableObject":{"type":"object","properties":{"offset":{"type":"integer","format":"int64"},"sort":{"$ref":"#/components/schemas/SortObject"},"paged":{"type":"boolean"},"pageNumber":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"unpaged":{"type":"boolean"}}},"QuestionPreviewV2WS":{"type":"object","properties":{"uuid":{"type":"string"},"name":{"type":"string"},"learningObjective":{"type":"string"},"stem":{"type":"string"},"keyConcept":{"type":"string"},"answerChoices":{"type":"array","items":{"$ref":"#/components/schemas/AnswerChoiceWS"}},"correctAnswerExplanation":{"type":"string"},"incorrectAnswerExplanation":{"type":"string"},"references":{"type":"array","items":{"type":"string"}}}},"SortObject":{"type":"object","properties":{"empty":{"type":"boolean"},"sorted":{"type":"boolean"},"unsorted":{"type":"boolean"}}},"CheckoutSessionV2RequestWS":{"type":"object","properties":{"priceId":{"type":"string"},"customerId":{"type":"string"},"tokenId":{"type":"string"},"sessionId":{"type":"string"},"email":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"}}},"CheckoutSessionResponseWS":{"type":"object","properties":{"redirectUrl":{"type":"string"},"sessionId":{"type":"string"},"customerId":{"type":"string"},"priceId":{"type":"string"}}},"UserIngestionRequestWS":{"type":"object","properties":{"firstName":{"type":"string"},"lastName":{"type":"string"},"productUuid":{"type":"string"},"username":{"type":"string"},"token":{"type":"string"},"billingPlanUuid":{"type":"string"}}},"UserIngestionResponseWS":{"type":"object","properties":{"userUuid":{"type":"string"},"username":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"billingPlanUuid":{"type":"string"}}},"UserRequestWS":{"type":"object","properties":{"firstName":{"type":"string"},"lastName":{"type":"string"},"username":{"type":"string"},"password":{"type":"string"}}},"UserProductSubscriptionRequestWS":{"type":"object","properties":{"productUuid":{"type":"string"},"billingPlanUuid":{"type":"string"}}},"UpgradeSubscriptionRequestWS":{"type":"object","properties":{"billingPlanUuid":{"type":"string"}}},"UserIngestionRequest":{"type":"object","properties":{"firstName":{"type":"string"},"lastName":{"type":"string"},"username":{"type":"string"},"productUuid":{"type":"string"},"billingPlanUuid":{"type":"string"},"admin":{"type":"boolean"},"instructor":{"type":"boolean"},"student":{"type":"boolean"},"questionAuditor":{"type":"boolean"},"questionWriter":{"type":"boolean"}}},"TestRequestWS":{"type":"object","properties":{"name":{"type":"string"},"productUuid":{"type":"string"},"templateUuid":{"type":"string"},"numQuestions":{"type":"integer","format":"int32"},"testMode":{"type":"string","enum":["STUDY","TIMED","UNTIMED","FLASHCARD"]},"timePerQuestionInSeconds":{"type":"integer","format":"int32"},"subCategories":{"type":"array","items":{"type":"integer","format":"int64"}},"questionTypes":{"type":"string","enum":["ALL","UNUSED","INCORRECT","CORRECT","UNANSWERED","FLAGGED"]},"theme":{"type":"string","enum":["QBANK_DEFAULT","USMLE","NIGHT_MODE"]},"randomize":{"type":"boolean"}}},"TestWS":{"type":"object","properties":{"uuid":{"type":"string"},"productUuid":{"type":"string"},"createdDate":{"type":"string"},"name":{"type":"string"},"mode":{"type":"string","enum":["STUDY","TIMED","UNTIMED","FLASHCARD"]},"status":{"type":"string","enum":["OPEN","IN_PROGRESS","PAUSED","STOPPED","FINISHED"]},"theme":{"type":"string","enum":["QBANK_DEFAULT","USMLE","NIGHT_MODE"]},"timeRemainingInSeconds":{"type":"integer","format":"int64"},"numQuestions":{"type":"integer","format":"int32"},"numCorrectQuestions":{"type":"integer","format":"int32"},"numAnsweredQuestions":{"type":"integer","format":"int32"},"numUnAnsweredQuestions":{"type":"integer","format":"int32"},"numFlaggedQuestions":{"type":"integer","format":"int32"},"scorePercentage":{"type":"integer","format":"int32"},"questionIds":{"type":"array","items":{"type":"integer","format":"int64"}}}},"CumulativeReportResponseWS":{"type":"object","properties":{"created":{"type":"string","format":"date-time"},"userFirstName":{"type":"string"},"userLastName":{"type":"string"},"userEmailAddress":{"type":"string"},"productUuid":{"type":"string"},"productName":{"type":"string"},"currentCorrect":{"type":"integer","format":"int64"},"currentIncorrect":{"type":"integer","format":"int64"},"currentUnanswered":{"type":"integer","format":"int64"},"currentScoreWithoutUnanswered":{"type":"number","format":"double"},"currentScoreWithUnanswered":{"type":"number","format":"double"},"percentQbankCompleted":{"type":"number","format":"double"},"unusedQuestions":{"type":"integer","format":"int64"},"completedTests":{"type":"integer","format":"int64"},"pausedTests":{"type":"integer","format":"int64"},"inProgressTests":{"type":"integer","format":"int64"},"userRoles":{"type":"string"},"cumulativeTotalQuestions":{"type":"integer","format":"int64"},"cumulativeCorrectQuestions":{"type":"integer","format":"int64"},"cumulativeIncorrectQuestions":{"type":"integer","format":"int64"},"cumulativeUnansweredQuestions":{"type":"integer","format":"int64"},"cumulativeUnusedQuestions":{"type":"integer","format":"int64"},"cumulativeScoreWithoutUnanswered":{"type":"number","format":"double"},"cumulativeScoreWithUnanswered":{"type":"number","format":"double"}}},"PageCumulativeReportResponseWS":{"type":"object","properties":{"totalPages":{"type":"integer","format":"int32"},"totalElements":{"type":"integer","format":"int64"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/CumulativeReportResponseWS"}},"number":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"empty":{"type":"boolean"}}},"SubCategoryListWS":{"type":"object","properties":{"subCategories":{"type":"array","items":{"type":"integer","format":"int64"}}}},"QuestionTypeDataWS":{"type":"object","properties":{"questionTypeDataMap":{"type":"object","additionalProperties":{"type":"integer","format":"int64"}}}},"ProductContentRequestWS":{"required":["authors","content","productCategory","questionFormat","subscriptionDetails","targetAudience"],"type":"object","properties":{"targetAudience":{"type":"string"},"authors":{"type":"string"},"content":{"type":"string"},"questionFormat":{"type":"string"},"subscriptionDetails":{"type":"string"},"additionalContent":{"type":"string"},"productCategory":{"type":"string","enum":["PHYSICIAN","PHYSICIAN_ASSISTANT","NURSE_PRACTITIONER","NURSING","DENTAL","FITNESS","MEDICAL_LABORATORY","MUSIC_THERAPY","NUTRITION","OPTOMETRY","PHARMACY","RADIOLOGY_AND_IMAGING","VETERINARY","ACCOUNTING","BUSINESS","FINANCIAL","IT_AND_TECH_BUSINESS","SERVICE_INDUSTRY","HIGH_SCHOOL","COLLEGE_PLACEMENT","GRADUATE_SCHOOL","INTERNATIONAL_EXAMS","TEACHING_AND_EDUCATION","CIVIL_SERVICE","GOVERNMENT","LEGAL","MILITARY","ARCHITECTURE_AND_DESIGN","AVIATION","ENGINEERING","MORTUARY_SCIENCE","SKILLED_TRADES","ARTS_AND_MUSIC","FOREIGN_LANGUAGE","CANADIAN","INTERNATIONAL","SPECIAL"]}}},"ProductContentWS":{"type":"object","properties":{"name":{"type":"string"},"uuid":{"type":"string"},"questionCount":{"type":"integer","format":"int64"},"learnersCount":{"type":"integer","format":"int64"},"targetAudience":{"type":"string"},"subjects":{"type":"string"},"authors":{"type":"string"},"content":{"type":"string"},"questionFormat":{"type":"string"},"subscriptionDetails":{"type":"string"},"additionalContent":{"type":"string"},"dateCreated":{"type":"string"},"productCategory":{"type":"string"},"billingPlans":{"type":"array","items":{"$ref":"#/components/schemas/ProductBillingPlanWS"}}}},"ProductColorRequestWS":{"type":"object","properties":{"headerBackGround":{"type":"string"},"headerText":{"type":"string"},"dropdownButton":{"type":"string"},"dropdownButtonText":{"type":"string"},"useCustomQbankLogoColor":{"type":"string"}}},"ProductBillingRequestWS":{"type":"object","properties":{"planName":{"type":"string"},"price":{"type":"number","format":"double"},"frequencyType":{"type":"string","enum":["MONTHLY","YEARLY","QUARTERLY","HALF_YEARLY","INDEFINITE","DAYS_7","DAYS_14","DAYS_30"]},"stripePriceId":{"type":"string"},"billingPlanType":{"type":"string","enum":["PUBLIC","PRIVATE","TRIAL"]},"active":{"type":"boolean"},"autoCreateStripePrice":{"type":"boolean"},"autoRenewForSubscription":{"type":"boolean"}}},"ProductContentSearchRequestWS":{"type":"object","properties":{"searchTerm":{"type":"string"},"productCategoryList":{"type":"array","items":{"type":"string","enum":["PHYSICIAN","PHYSICIAN_ASSISTANT","NURSE_PRACTITIONER","NURSING","DENTAL","FITNESS","MEDICAL_LABORATORY","MUSIC_THERAPY","NUTRITION","OPTOMETRY","PHARMACY","RADIOLOGY_AND_IMAGING","VETERINARY","ACCOUNTING","BUSINESS","FINANCIAL","IT_AND_TECH_BUSINESS","SERVICE_INDUSTRY","HIGH_SCHOOL","COLLEGE_PLACEMENT","GRADUATE_SCHOOL","INTERNATIONAL_EXAMS","TEACHING_AND_EDUCATION","CIVIL_SERVICE","GOVERNMENT","LEGAL","MILITARY","ARCHITECTURE_AND_DESIGN","AVIATION","ENGINEERING","MORTUARY_SCIENCE","SKILLED_TRADES","ARTS_AND_MUSIC","FOREIGN_LANGUAGE","CANADIAN","INTERNATIONAL","SPECIAL"]}},"page":{"type":"integer","format":"int32"},"size":{"type":"integer","format":"int32"}}},"PageProductContentWS":{"type":"object","properties":{"totalPages":{"type":"integer","format":"int32"},"totalElements":{"type":"integer","format":"int64"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/ProductContentWS"}},"number":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"empty":{"type":"boolean"}}},"LastUsedRequestWS":{"type":"object","properties":{"userUuid":{"type":"string"},"productUuid":{"type":"string"}}},"UserRegistrationStreamlinedRequestWS":{"type":"object","properties":{"firstName":{"type":"string"},"lastName":{"type":"string"},"username":{"type":"string"},"password":{"type":"string"},"stripePriceId":{"type":"string"}}},"UserRegistrationRequestWS":{"type":"object","properties":{"firstName":{"type":"string"},"lastName":{"type":"string"},"username":{"type":"string"},"billingPlanUuid":{"type":"string"}}},"PasswordResetRequestWS":{"type":"object","properties":{"emailAddress":{"type":"string"},"currentPassword":{"type":"string"},"newPassword":{"type":"string"}}},"GdprRequestWS":{"type":"object","properties":{"username":{"type":"string"},"userUuid":{"type":"string"}}},"GdprResponseWS":{"type":"object","properties":{"username":{"type":"string"},"processedSuccessfully":{"type":"boolean"}}},"CheckoutSessionRequestWS":{"type":"object","properties":{"priceId":{"type":"string"},"customerId":{"type":"string"},"tokenId":{"type":"string"}}},"ContactFormWS":{"type":"object","properties":{"firstName":{"type":"string"},"lastName":{"type":"string"},"emailAddress":{"type":"string"},"contactUsSubject":{"type":"string","enum":["SALES","SUPPORT","FEEDBACK","OTHER"]},"description":{"type":"string"},"questionUuid":{"type":"string"}}},"CommentRequestWS":{"type":"object","properties":{"text":{"type":"string"},"read":{"type":"boolean"}}},"AuthorRequestWS":{"type":"object","properties":{"userUuid":{"type":"string"},"questionUuid":{"type":"string"}}},"AuthorResponseWS":{"type":"object","properties":{"userUuid":{"type":"string"},"username":{"type":"string"},"fullName":{"type":"string"}}},"TestParamsWS":{"type":"object","properties":{"testName":{"type":"string"}}},"TestStatusWS":{"type":"object","properties":{"testStatus":{"type":"string","enum":["OPEN","IN_PROGRESS","PAUSED","STOPPED","FINISHED"]},"testMode":{"type":"string","enum":["STUDY","TIMED","UNTIMED","FLASHCARD"]},"timeRemainingInSeconds":{"type":"integer","format":"int64"}}},"ProductBillingPlanPatchRequestWS":{"type":"object","properties":{"planName":{"type":"string"},"billingPlanType":{"type":"string","enum":["PUBLIC","PRIVATE","TRIAL"]},"autoRenewForSubscription":{"type":"boolean"},"visible":{"type":"boolean"}}},"QuestionStatusWS":{"type":"object","properties":{"status":{"type":"string","enum":["DRAFT","NEEDS_REVISION","DELETED","SUBMITTED","PUBLISHED"]}}},"QuestionIdV2WS":{"type":"object","properties":{"uuid":{"type":"string"}}},"PageQuestionV2WS":{"type":"object","properties":{"totalPages":{"type":"integer","format":"int32"},"totalElements":{"type":"integer","format":"int64"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/QuestionV2WS"}},"number":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"empty":{"type":"boolean"}}},"QuestionStatusFilterCountWS":{"type":"object","properties":{"statusCounts":{"type":"object","additionalProperties":{"type":"integer","format":"int32"}}}},"TestSidebarWS":{"type":"object","properties":{"questionUuid":{"type":"string"},"flagged":{"type":"boolean"},"answered":{"type":"boolean"}}},"ReferenceWS":{"type":"object","properties":{"reference":{"type":"string"}}},"TestQuestionWS":{"type":"object","properties":{"uuid":{"type":"string"},"keyConcept":{"type":"string"},"questionStem":{"type":"string"},"flagged":{"type":"boolean"},"answerChoices":{"type":"array","items":{"type":"string"}},"selectedChoice":{"type":"string"},"questionTypes":{"type":"string","enum":["ALL","UNUSED","INCORRECT","CORRECT","UNANSWERED","FLAGGED"]},"correctAnswerExplanation":{"type":"string"},"incorrectAnswerExplanation":{"type":"string"},"correctAnswerChoice":{"type":"string"},"reinforcements":{"type":"array","items":{"$ref":"#/components/schemas/ReinforcementWS"}},"references":{"type":"array","items":{"$ref":"#/components/schemas/ReferenceWS"}},"explanationMediaUrls":{"type":"array","items":{"$ref":"#/components/schemas/MediaWS"}},"stemMediaUrls":{"type":"array","items":{"$ref":"#/components/schemas/MediaWS"}}}},"TestWithQuestionDataWS":{"type":"object","properties":{"uuid":{"type":"string"},"name":{"type":"string"},"mode":{"type":"string","enum":["STUDY","TIMED","UNTIMED","FLASHCARD"]},"status":{"type":"string","enum":["OPEN","IN_PROGRESS","PAUSED","STOPPED","FINISHED"]},"timeRemainingInSeconds":{"type":"integer","format":"int64"},"questions":{"type":"array","items":{"$ref":"#/components/schemas/TestQuestionWS"}}}},"PageTestWS":{"type":"object","properties":{"totalPages":{"type":"integer","format":"int32"},"totalElements":{"type":"integer","format":"int64"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/TestWS"}},"number":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"empty":{"type":"boolean"}}},"PageTemplateWS":{"type":"object","properties":{"totalPages":{"type":"integer","format":"int32"},"totalElements":{"type":"integer","format":"int64"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/TemplateWS"}},"number":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"empty":{"type":"boolean"}}},"PageQuestionTemplateWS":{"type":"object","properties":{"totalPages":{"type":"integer","format":"int32"},"totalElements":{"type":"integer","format":"int64"},"size":{"type":"integer","format":"int32"},"content":{"type":"array","items":{"$ref":"#/components/schemas/QuestionTemplateWS"}},"number":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"first":{"type":"boolean"},"last":{"type":"boolean"},"empty":{"type":"boolean"}}},"QuestionTemplateWS":{"type":"object","properties":{"uuid":{"type":"string"},"createdBy":{"type":"string"},"productUuid":{"type":"string"},"createdDate":{"type":"string"},"name":{"type":"string"},"numQuestions":{"type":"integer","format":"int32"},"status":{"type":"string"}}},"QuestionPerformanceWS":{"type":"object","properties":{"subject":{"type":"string"},"category":{"type":"string"},"subcategory":{"type":"string"},"questionType":{"type":"string","enum":["ALL","UNUSED","INCORRECT","CORRECT","UNANSWERED","FLAGGED"]},"count":{"type":"integer","format":"int64"}}},"PerformanceTreeNode":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string"},"uuid":{"type":"string"},"displayOrder":{"type":"integer","format":"int32"},"performanceMetrics":{"type":"object","additionalProperties":{"type":"integer","format":"int64"}},"children":{"type":"array","items":{"$ref":"#/components/schemas/PerformanceTreeNode"}}}},"PerformanceWidgetResponseWS":{"type":"object","properties":{"productPerformanceTree":{"$ref":"#/components/schemas/PerformanceTreeNode"}}},"CumulativeQuestionCountsWS":{"type":"object","properties":{"totalQuestions":{"type":"integer","format":"int64"},"correctQuestions":{"type":"integer","format":"int64"},"incorrectQuestions":{"type":"integer","format":"int64"},"unansweredQuestions":{"type":"integer","format":"int64"},"unusedQuestions":{"type":"integer","format":"int64"},"correctPercentWithUnanswered":{"type":"number","format":"double"},"incorrectPercentWithUnanswered":{"type":"number","format":"double"},"unansweredPercent":{"type":"number","format":"double"},"correctPercentWithoutUnanswered":{"type":"number","format":"double"},"incorrectPercentWithoutUnanswered":{"type":"number","format":"double"}}},"DashboardResponseWS":{"type":"object","properties":{"totalQuestions":{"type":"integer","format":"int64"},"correctQuestions":{"type":"integer","format":"int64"},"incorrectQuestions":{"type":"integer","format":"int64"},"unansweredQuestions":{"type":"integer","format":"int64"},"unusedQuestions":{"type":"integer","format":"int64"},"correctPercentWithUnanswered":{"type":"number","format":"double"},"incorrectPercentWithUnanswered":{"type":"number","format":"double"},"unansweredPercent":{"type":"number","format":"double"},"correctPercentWithoutUnanswered":{"type":"number","format":"double"},"incorrectPercentWithoutUnanswered":{"type":"number","format":"double"},"testsCreated":{"type":"integer","format":"int64"},"pausedTests":{"type":"integer","format":"int64"},"notStartedTests":{"type":"integer","format":"int64"},"pausedTestsList":{"type":"array","items":{"$ref":"#/components/schemas/TestBasedOnStatusWS"}},"notStartedTestsList":{"type":"array","items":{"$ref":"#/components/schemas/TestBasedOnStatusWS"}},"cumulativeQuestionCountsWS":{"$ref":"#/components/schemas/CumulativeQuestionCountsWS"}}},"TestBasedOnStatusWS":{"type":"object","properties":{"testUuid":{"type":"string"},"createdDate":{"type":"string"},"testName":{"type":"string"},"mode":{"type":"string","enum":["STUDY","TIMED","UNTIMED","FLASHCARD"]},"answeredQuestions":{"type":"integer","format":"int32"},"totalQuestions":{"type":"integer","format":"int32"}}},"ProductTreeWS":{"type":"object","properties":{"productTree":{"$ref":"#/components/schemas/TreeNode"}}},"TreeNode":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string"},"uuid":{"type":"string"},"count":{"type":"integer","format":"int64"},"displayOrder":{"type":"integer","format":"int32"},"unavailableForFreeTrial":{"type":"boolean"},"children":{"type":"array","items":{"$ref":"#/components/schemas/TreeNode"}},"subCategoryId":{"type":"integer","format":"int64"},"availableForBasicSubscription":{"type":"boolean"}}},"UserPerformanceWS":{"type":"object","properties":{"totalQuestionCount":{"type":"integer","format":"int64"},"totalFlaggedQuestionCount":{"type":"integer","format":"int64"},"unansweredQuestionCount":{"type":"integer","format":"int64"},"correctQuestionCount":{"type":"integer","format":"int64"},"incorrectQuestionCount":{"type":"integer","format":"int64"},"unusedQuestionCount":{"type":"integer","format":"int64"},"totalTestCount":{"type":"integer","format":"int64"},"studyTestCount":{"type":"integer","format":"int64"},"timedTestCount":{"type":"integer","format":"int64"},"untimedTestCount":{"type":"integer","format":"int64"},"flashcardTestCount":{"type":"integer","format":"int64"},"averageQuestionsPerTest":{"type":"integer","format":"int64"},"openTestCount":{"type":"integer","format":"int64"},"inProgressTestCount":{"type":"integer","format":"int64"},"finishedTestCount":{"type":"integer","format":"int64"},"pausedTestCount":{"type":"integer","format":"int64"},"stoppedTestCount":{"type":"integer","format":"int64"},"flaggedUnansweredQuestionCount":{"type":"integer","format":"int64"},"flaggedCorrectQuestionCount":{"type":"integer","format":"int64"},"flaggedIncorrectQuestionCount":{"type":"integer","format":"int64"},"userQuestionsPerformance":{"type":"array","items":{"$ref":"#/components/schemas/UserQuestionsPerformance"}}}},"UserQuestionsPerformance":{"type":"object","properties":{"year":{"type":"string"},"month":{"type":"string"},"day":{"type":"string"},"count":{"type":"integer","format":"int64"},"questionTypes":{"type":"string","enum":["ALL","UNUSED","INCORRECT","CORRECT","UNANSWERED","FLAGGED"]}}},"PairStringMapQuestionTypesLong":{"type":"object","properties":{"left":{"type":"string"},"right":{"type":"object","additionalProperties":{"type":"integer","format":"int64"}}}},"TestPerformanceWS":{"type":"object","properties":{"createdOn":{"type":"string","format":"date-time"},"testMode":{"type":"string"},"testName":{"type":"string"},"totalQuestionCount":{"type":"integer","format":"int64"},"unansweredQuestionCount":{"type":"integer","format":"int64"},"correctQuestionCount":{"type":"integer","format":"int64"},"incorrectQuestionCount":{"type":"integer","format":"int64"},"totalFlaggedQuestionCount":{"type":"integer","format":"int64"},"flaggedUnasweredQuestionCount":{"type":"integer","format":"int64"},"flaggedCorrectQuestionCount":{"type":"integer","format":"int64"},"flaggedIncorrectQuestionCount":{"type":"integer","format":"int64"},"testQuestionsPerformanceWS":{"type":"array","items":{"$ref":"#/components/schemas/TestQuestionsPerformance"}},"performanceAreas":{"type":"object","additionalProperties":{"type":"array","items":{"$ref":"#/components/schemas/PairStringMapQuestionTypesLong"}}},"hierarchicalPerformanceTree":{"$ref":"#/components/schemas/PerformanceTreeNode"},"submittedOn":{"type":"string","format":"date-time"}}},"TestQuestionsPerformance":{"type":"object","properties":{"result":{"type":"string","enum":["ALL","UNUSED","INCORRECT","CORRECT","UNANSWERED","FLAGGED"]},"flagged":{"type":"boolean"},"subject":{"type":"string"},"category":{"type":"string"},"subcategory":{"type":"string"},"topic":{"type":"string"},"questionId":{"type":"integer","format":"int64"}}},"UserRegistrationDetailsWS":{"type":"object","properties":{"firstName":{"type":"string"},"lastName":{"type":"string"},"username":{"type":"string"},"stripePriceId":{"type":"string"},"customerId":{"type":"string"},"consumed":{"type":"boolean"}}}}}}