| 开发者 | oxfordmetadata |
|---|---|
| 更新时间 | 2026年11月11日 01:36 |
| PHP版本: | 8.1 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
/wp-json/rooster-lrs/xapi/: statements (store, query, void), State, Activity Profile, Agent Profile, Activities, Agents and About.X-Experience-API-Version header.more, and statements that refer to other statements.https://example.com/wp-json/rooster-lrs/xapi/), the key as the user name and the secret as the password.statements/write and define, and choose a custom authority with Rooster LMS Pro's LMS agent.
Caching and security plugins
xAPI requests must never be cached. If your site uses a page cache, a CDN or a caching plugin, exclude /wp-json/rooster-lrs/ (and ?rest_route=/rooster-lrs/ on sites without pretty permalinks).
Some security plugins block REST API requests from visitors who are not logged in; allow /wp-json/rooster-lrs/ for xAPI clients. Some servers remove the Authorization header before PHP sees it; Rooster LRS also reads REDIRECT_HTTP_AUTHORIZATION and PHP_AUTH_USER.
Multi-tenant mode
For the Rooster Adaptive LMS service only, which keeps the statements of many sites in one store. It is off on every other site, where it costs nothing and nothing changes. wp rooster-lrs multi-tenant on turns it on (status and off too; off is refused while tenants exist). In this mode:
RoosterLRS\Tenancy\TenantRegistry, TenantCredentials): there is no provisioning endpoint. A tenant credential may send statements and activity definitions only, at most 300 requests a minute.rooster_lrs_responses, rooster_lrs_exposures). wp rooster-lrs projection rebuild --tenant=<id> derives them again from the statements.RoosterLRS\Privacy\TenantEraser.rooster-lrs folder to /wp-content/plugins/.No. It makes no outbound requests. Its screens show links (to the manual, help and wordpress.org) that open only when you click them.
HTTP Basic with a credential per application. OAuth is planned.
Use Tools → Erase Personal Data with their e-mail address, or LRS → Settings → "Erase a person's learning records" with an e-mail address or an xAPI agent. Other systems can call POST /wp-json/rooster-lrs/v1/erasure with a credential that has the rooster:erase scope.
They stay, unless "Delete all Rooster LRS data when the plugin is deleted" is ticked under LRS → Settings: then deleting the plugin removes its tables, settings and capabilities.
Every query parameter has its own index and the lists page by key, so a query reads only the rows it returns. The suite stores 100,000 statements and checks the number of database queries each request makes.