URL Method Params
Parameter Type Desciption
/wp-json/learnpress/v1/lessons 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": 86,
    "name": "Lesson 8",
    "slug": "lesson-8-2",
    "permalink": "http:\/\/learnpress4.local\/lessons\/lesson-8-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>Villae promerem sequamur oblivisci satisne voluptatem elit perpetiuntur plurimis summoque divisione<\/p>\n<p>Ceperit luxuriosus gaudebit philosophari debilitari dixit polemonis fugiunt tot imperatores impedit dicta<\/p>\n<p>Tractatos erillus meo tota cuique profuso vestri isti voluntates gloriose diviserunt parum tenebris afferat unde mundum facillimum apti<\/p>\n<p>Pertinacia vita extremum imperatores sese processerat cupidus datum reliquam refers ardentem egregio facile scripta nullo acupenseri diligenter neque aequum<\/p>\n<p>Eademne illud volemus formosum nosmet oblectationem statim habentur vellem probo meum privasse grata laudatur expetunt loquor oppidum quibus<\/p>\n<p>Comparandam philosophiae ego commota exclusis arripere curiosorum veniunt odit exquirere virtutis video<\/p>\n<p>Scias multum mene appello emolumento audeo relinqueret ordiamur extremum igitur suavius aliis necessariae tubulum animantibus habitare eiuro probare mnesarchum statuat<\/p>\n<p>Doctissimos agendum gestiant antiquis platoni privatio cernitur acti posthac iucundius magnificentia malo urgent materiam pylades laudatum<\/p>\n<p>Rhetoribus postulo traditur peccata civitas nosmet stoicis media an quaesivit detractis<\/p>\n<p>Orestem severe sapientiae sponte eius rectumne diogenem depingere solitum huic<\/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": "",
      "_lp_preview": ""
    }
  },
  {
    "id": 85,
    "name": "Lesson 7",
    "slug": "lesson-7-2",
    "permalink": "http:\/\/learnpress4.local\/lessons\/lesson-7-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>Aiebat natalis hieronymi gloriosa minuis transfer morbo illos reiecta ante arbitrantur pleniorem<\/p>\n<p>Macello fugiunt mediocribus probandum institutis traduceret hebes praecordiis doctissimi peteret gubernando residamus mediocritate<\/p>\n<p>Aliter hoc ab indoctum traduceret probare nondum debet scissem studebat statim magos p habent obiit corpus vester dicuntur<\/p>\n<p>Videtis vivatur apud flumine macello hominem vim utebare peducaeus ei sapientiae communiter neminem expetenda accipio velim instituto artis<\/p>\n<p>Quemquam occulta habere par integra mentio praeposatum rogavit moveor philosophari confecimus contemnere audacius officio obscurentur hieronymi<\/p>\n<p>Luxuriosus brute dubitant arcana admonitionis intellegerem risu gratia laudata finiebat die definitio hactenus niteat superiores publicae easdem l<\/p>\n<p>Popularia anulus veniendi requiras metrodori iracundia parvis delicatior tute media deesse ardentem beatissimum heredem praeteritis sequitur admirabilia<\/p>\n<p>Venit quicum prave loquar excitaret dignos vacuitatem potestis incolumis deserunt chrysippo quot<\/p>\n<p>Reiectus breve perdiscere honeste vere vite memini odit sensum sint ponunt vester signa zenone separantur<\/p>\n<p>Urgent caret intellegere consequentia sapiente omnium potuerit commentatus utilitatem deesse dixisse regis distinctio vivi aeternum licebit docuit oritur<\/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": "",
      "_lp_preview": ""
    }
  }
]