URL Method Params
Parameter Type Desciption
/wp-json/learnpress/v1/quiz GET context string Scope under which the request is made; determines fields present in response. Options: "view" and "edit". Default is "view".
page integer Current page of the collection. Default is "1"
per_page integer Maximum number of items to be returned in result set. Default: 10
search string Limit results to those matching a string.
after string Limit response to resources published after a given ISO8601 compliant date.
before string Limit response to resources published before a given ISO8601 compliant date.
exclude array Ensure result set excludes specific IDs.
include array Limit result set to specific IDs.
offset integer Offset the result set by a specific number of items.
order string Order sort attribute ascending or descending. Options: "asc" and "desc". Default is "desc".
orderby string Sort collection by object attribute. Options: "date", "id", "include", "title" and "slug". Default is "date".

Response

[
  {
    "id": 87,
    "name": "Quiz 4",
    "slug": "quiz-4-2",
    "permalink": "http:\/\/learnpress4.local\/quizzes\/quiz-4-2\/",
    "date_created": "2021-04-14T06:38:03",
    "date_created_gmt": "2021-04-14T06:38:03",
    "date_modified": "2021-04-14T06:38:03",
    "date_modified_gmt": "2021-04-14T06:38:03",
    "status": "publish",
    "content": "<p>Quaerere vide turpis liberalis animadverti voluptatis vocatur sine sentiret statuam facinus videmusne liberius habentur<\/p>\n<p>Sentiret verbi palatum corrigere praeposatum tardeve fugiunt donan minus flentes pius dices disceptari doctissimos<\/p>\n",
    "excerpt": "",
    "assigned": {
      "course": {
        "id": "66",
        "title": "Course 3",
        "slug": "course-3",
        "content": "Risu illa philosophos actus optime locos comparatio gravius quieta praeterea contenti incidant\r\n\r\nScis cupiditate illis spe instituendarum coercendi recta ubi zenone velit\r\n\r\nVidebis comparandarum totas aestimabat torqueatur capienda facillimum gestiret gaudebit post illius frater deserit declinavi quidem euripidesconcludam",
        "author": "1"
      }
    },
    "meta_data": {
      "_lp_duration": "40 minute",
      "_lp_passing_grade": "60",
      "_lp_instant_check": "no",
      "_lp_negative_marking": "no",
      "_lp_retake_count": "0",
      "_lp_pagination": "1",
      "_lp_review": "yes"
    }
  },
  {
    "id": 79,
    "name": "Quiz 3",
    "slug": "quiz-3-3",
    "permalink": "http:\/\/learnpress4.local\/quizzes\/quiz-3-3\/",
    "date_created": "2021-04-14T06:38:03",
    "date_created_gmt": "2021-04-14T06:38:03",
    "date_modified": "2021-04-14T06:38:03",
    "date_modified_gmt": "2021-04-14T06:38:03",
    "status": "publish",
    "content": "<p>Liberalis progressionis universa sentire  victoria corrigere debuerunt concedimus vulgo tueri te adipiscing<\/p>\n<p>Victu sapientium simplicia appellet sequens scripta quaero imperio citius mortem ignorat rationem anulum aiat reprehensum avarus dubium vixerit<\/p>\n",
    "excerpt": "",
    "assigned": {
      "course": {
        "id": "66",
        "title": "Course 3",
        "slug": "course-3",
        "content": "Risu illa philosophos actus optime locos comparatio gravius quieta praeterea contenti incidant\r\n\r\nScis cupiditate illis spe instituendarum coercendi recta ubi zenone velit\r\n\r\nVidebis comparandarum totas aestimabat torqueatur capienda facillimum gestiret gaudebit post illius frater deserit declinavi quidem euripidesconcludam",
        "author": "1"
      }
    },
    "meta_data": {
      "_lp_duration": "40 minute",
      "_lp_passing_grade": "50",
      "_lp_instant_check": "no",
      "_lp_negative_marking": "no",
      "_lp_retake_count": "0",
      "_lp_pagination": "1",
      "_lp_review": "yes"
    }
  }
]