LifterLMS REST API

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

Updates
  • 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.

LifterLMS REST API Version 1.0.0-beta.14

Breaking Change
  • LLMS_REST_Controller::prepare_links() now requires a second parameter, the WP_REST_Request for the current request. Any classes extending and overwriting this method must adjust their method signature to accommodate this change.
Bug Fixes
  • Fix issue causing response objects to unintentionally include keys of remapped fields. This error occurs only when extending core controllers and attempting to exclude core fields.