URL METHOD PARAM
Parameter Type Desciption
wp-json/learnpress/v1/sections/sections-by-course-id/COURSE_ID GET page integer Current page of the collection
per_page integer Maximum number of items to be returned in result set.
order string Order sort attribute ascending or descending.
search string Limit results to those matching a string.
exclude array Ensure result set excludes specific IDs.
include array Limit result set to specific ids.

Response

"[
  {
    ""id"": ""19"",
    ""name"": ""Section 1"",
    ""description"": ""Dignissimum amicitiam actus idem q debilis nollet recordatione elegantiam quo aliquem rogatione quodam""
  },
  {
    ""id"": ""20"",
    ""name"": ""Section 2"",
    ""description"": ""Debilitates amitti victoria patria existimabit contemnit quampiam rem philosophos vitiorum diceres potes lanx stadia""
  },
  {
    ""id"": ""21"",
    ""name"": ""Section 3"",
    ""description"": ""Eundem infame pylades alienae expedita tuo publicarum drusum dicendi tribuunt iucunditatem reprehendit munus""
  },
  {
    ""id"": ""22"",
    ""name"": ""Section 4"",
    ""description"": ""Grata penitus occurrentia apertis tenueris amicitiam perdidiceriti idemque tiberina alia positum praeterita sequens levis summum""
  }
]"