LifterLMS REST API Version 1.0.0-beta-24

Bug Fixes
  • Fixed reference to a non-existent schema property, visibiliy in place of visibility, when updating/adding an access plan.
  • Fixed issue when updating a free access plan. #267
  • Fixed issue causing the access plan availability_restrictions property to always return an empty array. #269
  • Fixed issue that prevented updating the access plan redirect_forced property. #271
  • Fixed issue updating access plans when there are 6 (max) plans associated with a course/membership. #272

LifterLMS REST API Version 1.0.0-beta.23

Updates and Enhancements
  • Replaced call to deprecated LLMS_Section::get_parent_course() with LLMS_Section::get( 'parent_course' ).
  • Replaced the calls to the deprecated LLMS_Lesson::get_parent_course() method with LLMS_Lesson::get( 'parent_course' ).
  • Replaced deprecated llms_user_removed_from_membership_level action hook with llms_user_removed_from_membership.

LifterLMS REST API Version 1.0.0-beta.20

  • Fixed an issue that generated a PHP Fatal when retrieving the list of access plans if logged in as administrator.
  • Fixed the access plan’s access_expires property format not respecting the specs (Y-m-d H:i:s).
  • Fixed an issue that made the access plan’s properties sale_date_start and sale_date_end to be returned as empty.

LifterLMS REST API Version 1.0.0-beta.18

  • Added Access Plan resource and endpoint.
  • Provide a more significant error message when trying to delete an item without permissions.
  • Use WP_Http constants in favor of integers when referencing HTTP status codes.
Bug fixes
  • Fixes localization issues where a singular name was used in favor of the expected plural form.
  • Fixed issues where an error object was not properly returned when expected
  • Fixed call to undefined function llms_bad_request_error(), must be llms_rest_bad_request_error().
  • Fixed access plans resource link.
  • Fixed wrong trigger retrieved when multiple trigger were present for the same user/post pair on Student Enrollment resources.

LifterLMS REST API Version 1.0.0-beta.17

  • Bugfix: Fixed an issue with webhooks causing a failed webhook to cause other webhooks to stop triggering.
  • Update: Added improved localization methods when running as a standalone plugin.
Breaking Change
  • Method LLMS_REST_Webhook::is_pending() has been removed.
  • Database column pending_delivery on the lifterlms_rest_webhooks table (and related model properties) have been deprecated and scheduled for removal.