lifterlms / lifterlms-rest
REST API feature plugin for the LifterLMS Core.
Installs: 149 169
Dependents: 0
Suggesters: 0
Security: 0
Stars: 6
Watchers: 8
Forks: 7
Open Issues: 36
Type:wordpress-plugin
Requires
- php: >=7.3
Requires (Dev)
- lifterlms/lifterlms-cs: dev-trunk
- lifterlms/lifterlms-tests: ^4.1.1
- dev-trunk
- 1.0.2
- 1.0.1
- 1.0.0
- 1.0.0-beta.29
- 1.0.0-beta.28
- 1.0.0-beta.27
- 1.0.0-beta.26
- 1.0.0-beta.25
- 1.0.0-beta-24
- 1.0.0-beta.23
- 1.0.0-beta.22
- 1.0.0-beta.21
- 1.0.0-beta.20
- 1.0.0-beta.19
- 1.0.0-beta.18
- 1.0.0-beta.17
- 1.0.0-beta.16
- 1.0.0-beta.15
- 1.0.0-beta.14
- 1.0.0-beta.13
- 1.0.0-beta.12
- 1.0.0-beta.11
- 1.0.0-beta.10
- 1.0.0-beta.9
- 1.0.0-beta.8
- 1.0.0-beta.7
- 1.0.0-beta.6
- 1.0.0-beta.5
- 1.0.0-beta.4
- 1.0.0-beta.3
- dev-dev
- dev-release
- dev-misc-fixes-instructor-student-list-query-and-quiz-link
- dev-fix/plugin-checks
- dev-dependabot/npm_and_yarn/ws-6.2.3
- dev-use-of-deprecated-items
- dev-dev-600
- dev-issue/248
- dev-preprare_query
- dev-access-plan-expires-date
- dev-sale-dates
- dev-schema-files
- dev-build/beta.17
- dev-core-18n-compat
- dev-revert-204-core-18n-compat
- dev-build/beta.16
- dev-base-url
- dev-issue/178
- dev-prepare-links
This package is auto-updated.
Last update: 2024-10-30 00:27:37 UTC
README
A REST API feature plugin for LifterLMS.
This specification (and repository) is in beta. It is not yet a fully-functional API. API changes will be continue to be made without deprecation until 1.0.0 is released as a "stable" API.
Contributing
We are looking for both API specification designers and developers interested in contributing. Read our contribution guidelines here.
Specification & Documentation
The LifterLMS REST API follows the OpenAPI Specification (Version 3.0.0).
REST API documentation is available at gocodebox.github.io/lifterlms-rest/.
The full OpenAPI spec can be downloaded in json or yaml formats.
Building & Developing REST API Doc spec
This repo uses ReDoc.
To build the docs locally for development:
npm start
: Starts the development server.npm run build
: Bundles the spec and prepares web_deploy folder with static assets.npm test
: Validates the spec.npm run gh-pages
: Deploys docs to GitHub Pages. You don't need to run it manually if you have Travis CI configured.
Tests and Coding Standards
The LifterLMS REST API adheres to the documentation and coding standards defined for the LifterLMS Core codebase.
composer run check-cs
: Check coding and documentation standards, showing warnings and errors.composer run check-cs-errors
: Check coding and documentation standards, showing errors only.
To run the phpunit test suite:
composer run tests-install
: Install the test suite.composer run tests-run
: Run the test suite.
Building and Publishing Releases
llms-dev log:write
: Write changelog.llms-dev ver:update
: Update version numbers.npm run build
: Build a release: spec, doc code snippets, and included language files.llms-dev archive
: Build distributable zip file.llms-dev publish:gh
: Publish release.- Open a Pull Request in the LifterLMS Core to upgrade the library.
These steps require write
access to the repository as well as access to the internal development CLI llms-dev
. Developers and maintainers are provided with required permissions as needed.