Quiz

Quiz

Returns a quiz by ID.

get/clubs/{club_id}/quizzes/{id}

Request

  • Base URL
    https://api.clubplatform.de/api
  • URL
    https://api.clubplatform.de/api/clubs/{club_id}/quizzes/{id}
  • Auth
    API key in query parameter auth_token

Path parameters

club_idinteger required

ID of the club.

idinteger required

ID of the quiz.

Headers

If-Modified-Sincestring date-time

This makes the request conditional - the server will send back the requested resource, with a 200 status, only if it has been last modified after the given date. If the request has not been modified since, the response will be a 304 without any body; the Last-Modified header will contain the date of last modification.

You MUST set this header, if you can, to respect API caching.

Response

OK

Example response

{
  "data": {
    "locale": "de-DE",
    "images": [
      {
        "orientation": "landscape",
        "url": "https://clubplatform.de/a.177194459096974.1073741828.177157089100711/797601193722961/"
      }
    ],
    "questions": [
      {
        "question": "Who shot the most goals ?",
        "question_image": {
          "url": "https://clubplatform.de/a.177194459096974.1073741828.177157089100711/797601193722961/"
        },
        "question_solution": "Gerd Müller shot the most goals .. 213 in one month ?",
        "answers": [
          {
            "answer": "Lore ipsum ...",
            "answer_image": {
              "url": "https://clubplatform.de/a.177194459096974.1073741828.177157089100711/797601193722961/"
            }
          }
        ]
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.