URL METHOD PARAM
Parameter Type Desciption
wp-json/learnpress/v1/review/course/COURSE_ID GET page integer Current page of the collection. Default is "1"
per_page integer Maximum number of items to be returned in result set. Default: 5

Response

"{
  ""status"": ""success"",
  ""message"": """",
  ""data"": {
    ""rated"": ""4.5"",
    ""total"": 2,
    ""items"": {
    },
    ""reviews"": {
      ""reviews"": [
        {
          ""user_email"": ""[email protected]"",
          ""display_name"": ""admin"",
          ""comment_id"": ""9"",
          ""title"": ""Review title"",
          ""content"": ""Review Content"",
          ""rate"": ""4""
        },
        {
          ""user_email"": ""[email protected]"",
          ""display_name"": ""student"",
          ""comment_id"": ""6"",
          ""title"": ""Review 2"",
          ""content"": ""Review 2 content"",
          ""rate"": ""5""
        }
      ],
      ""paged"": 1,
      ""total"": 2,
      ""per_page"": 5,
      ""finish"": true
    },
    ""can_review"": false
  }
}"