Draft quiz video

Draft quiz video

post

Make a quiz on the provided topic. After calling this endpoint, call Create Video with the results to create the video.

Authorizations
Body
topicstringRequired

The topic you would like to make a quiz about.

localestring · enumOptional

The locale of the video.

Default: autoPossible values:
Responses
200

Successful response

application/json
post
POST /api/v1/videos/drafts/quiz HTTP/1.1
Host: shortgenius.com
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 32

{
  "topic": "text",
  "locale": "auto"
}
{
  "title": "text",
  "caption": "text",
  "quiz": {
    "questions": [
      {
        "question": "text",
        "options": [
          {
            "text": "text",
            "correct": true
          }
        ]
      }
    ],
    "results": {
      "header": "text",
      "explanation": "text",
      "categories": [
        {
          "score_range": "text",
          "title": "text"
        }
      ]
    }
  }
}

Last updated