AI for Medical Students
AI for Medical Students · GPT-Aktionen
QuizJoy (NET Worker) - Enhanced Expansions
POST /postContentPost or Expand Study Content
Ursprüngliches API-Schema
{
"openapi": "3.1.0",
"info": {
"title": "QuizJoy (NET Worker) - Enhanced Expansions",
"version": "3.0.0"
},
"servers": [
{
"url": "https://api.quizjoy.ai"
}
],
"paths": {
"/postContent": {
"post": {
"summary": "Post or Expand Study Content",
"operationId": "createStudyMaterialsNet",
"security": [
{
"XApiKeyAuth": []
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"slug": {
"type": "string",
"description": "The existing page identifier if expanding existing content.\nIf omitted or null => brand-new creation.\n"
},
"userIdOrSession": {
"type": "string",
"description": "Unique user or session ID"
},
"flashcards": {
"type": "array",
"items": {
"type": "object",
"properties": {
"term": {
"type": "string"
},
"definition": {
"type": "string"
}
}
}
},
"quiz": {
"type": "array",
"items": {
"type": "object",
"properties": {
"question": {
"type": "string"
},
"choices": {
"type": "array",
"items": {
"type": "string"
}
},
"correctAnswer": {
"type": "string"
}
}
}
},
"flashMatch": {
"type": "object",
"properties": {
"pairs": {
"type": "array",
"items": {
"type": "object",
"properties": {
"term": {
"type": "string"
},
"definition": {
"type": "string"
}
}
}
}
}
},
"language": {
"type": "string",
"description": "Detected language"
},
"majorField": {
"type": "string",
"description": "e.g. Math, History"
},
"subCategory": {
"type": "string",
"description": "e.g. Calculus, WW2"
},
"difficulty": {
"type": "string",
"enum": [
"High School",
"College 101",
"College 201",
"College 301",
"College 401",
"Graduate"
]
},
"title": {
"type": "string"
},
"description": {
"type": "string"
},
"studyTips": {
"type": "array",
"items": {
"type": "string"
}
},
"extras": {
"type": "boolean",
"description": "If true, triggers optional PDF or premium logic"
}
}
}
}
}
},
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"postedContentUrl": {
"type": "string",
"description": "Final URL from old domain (api.quizjoy.ai)."
}
}
}
}
}
}
}
}
}
},
"components": {
"securitySchemes": {
"XApiKeyAuth": {
"type": "apiKey",
"in": "header",
"name": "X-Api-Key"
}
},
"schemas": {}
}
}