Create a question
POST /questions
curl \
-X POST localhost:8080/questions \
-H "Content-Type: application/json" \
-d '{"description":"string","exam":{"label":"string","id":"string","identifier":"string"},"figures":["https://example.com"],"level":"string","number":42,"year":42,"subject":"string","topic":{"id":"string","label":"string"},"options":[{"letter":"string","text":"string","figure_url":"https://example.com"}],"university":{"id":"string","label":"string","short_name":"string"},"solution":{"option":"string","steps":["string"],"video_url":"https://example.com","figures":["https://example.com"]},"tip":"string"}'
Request example
{
"description": "string",
"exam": {
"label": "string",
"id": "string",
"identifier": "string"
},
"figures": [
"https://example.com"
],
"level": "string",
"number": 42,
"year": 42,
"subject": "string",
"topic": {
"id": "string",
"label": "string"
},
"options": [
{
"letter": "string",
"text": "string",
"figure_url": "https://example.com"
}
],
"university": {
"id": "string",
"label": "string",
"short_name": "string"
},
"solution": {
"option": "string",
"steps": [
"string"
],
"video_url": "https://example.com",
"figures": [
"https://example.com"
]
},
"tip": "string"
}
Request examples
{
"description": "string",
"exam": {
"label": "string",
"id": "string",
"identifier": "string"
},
"figures": [
"https://example.com"
],
"level": "string",
"number": 42,
"year": 42,
"subject": "string",
"topic": {
"id": "string",
"label": "string"
},
"options": [
{
"letter": "string",
"text": "string",
"figure_url": "https://example.com"
}
],
"university": {
"id": "string",
"label": "string",
"short_name": "string"
},
"solution": {
"option": "string",
"steps": [
"string"
],
"video_url": "https://example.com",
"figures": [
"https://example.com"
]
},
"tip": "string"
}