Skip to content

History / REST API

Revisions

  • docs(rest-api): remove public reads; add the Access Web Services step The webservices plugin's Allow public reads option is gone (Joomla-Bible-Study/Proclaim#2425). Every API request needs a token, and the RSS and podcast feeds are the public channel. From Joomla 5.4.11 and 6.2.1 a caller also needs Access Web Services (core.api) on Proclaim, so the token setup gains a step for it, and the outcomes table shows its 403. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

    @bcordis bcordis committed Nov 25, 2026
  • REST-API: document the Comments, Playlists, Servers and Topics filters (#1753) These four resources' filters were accepted and silently discarded before 10.5.8, and the page had never listed them.

    @bcordis bcordis committed Aug 12, 2026
  • REST-API: correct field lists that named non-existent columns (#1749) Series teacher_id -> teacher, Teachers description -> information, Podcasts alias removed and podcast_image -> podcastimage. params dropped from Series, Teachers and Podcasts, whose tables have no such column. Series and Podcasts detail routes return the same set as their list routes, not more.

    @bcordis bcordis committed Aug 12, 2026
  • docs(api): the API is switched on by the plugin, and works from 10.3.6 REST-API.md described three api_access modes set in Proclaim's options. That setting is gone as of #1331, and it never worked: it had no interface, so the API could not be switched on at all (#1328). Rewritten around what an administrator actually does — enable or disable the Web Services - Proclaim plugin, with one option for whether reads need a token. Added the response matrix for the three resulting states, since "what should I see" is the question someone debugging a 404 is really asking. Also corrected the availability claim. The page and the 10.3.4 release note both read as though the API became usable in 10.3.4. It did not: 10.3.4 fixed two of three faults, and the third left it unreachable. 10.3.6 is the first release where any route resolves. Said plainly, including that anyone who tried 10.3.4 or 10.3.5 was not misconfiguring anything. The release note records why the third fault was missed — the API was verified by setting the value directly in the database rather than through the admin screens, so the one path every real site takes was never walked. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

    @bcordis bcordis committed Jul 26, 2026
  • docs(api): drop templatecode from the API documentation The API pages should describe what the API does, not enumerate what it does not. Naming a code-execution boundary in public product documentation also tells an attacker more than it tells a church administrator — particularly for a resource that has no endpoint, so there is nothing for a reader to act on. Removed the templatecode notes from REST-API.md and the 10.3.4 release highlight. The engineering rationale stays where a developer needs it: the RESOURCES docblock, the test that keeps the resource unexposed, and the model comment. The remaining mention in the User Actions Log section is unrelated and correct — template codes are covered by admin action logging. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

    @bcordis bcordis committed Jul 26, 2026
  • docs(api): templatecode is a code-execution boundary, not just a content decision Saving a template code record writes it to an executable PHP file inside the site (CwmtemplatecodeTable::store -> File::write). A write endpoint would let an API caller run arbitrary code on the server, so this is not a decision an access column would change. Both the REST API page and the 10.3.4 release note said only that the table lacks an access column and the field holds PHP source, which understated it. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

    @bcordis bcordis committed Jul 26, 2026
  • docs(api): document the 10.3.4 API — 12 resources, permissions, auditing The REST API page described five resources with "full CRUD" and a token you generate from your user profile. All three were wrong by 10.3.4: there are twelve resources, four of them read-only, and generating a token is one of three required steps. REST-API.md - Token setup is now three steps, not one. Allowing the group in the User - Joomla API Token plugin, granting API Access (core.login.api) in Global Configuration, and generating the token. Both permissions default to Super Users, they live in different screens, and nothing in the interface says which one refused the request — this is the usual reason a valid token still returns 401, so it is called out explicitly. - Added a least-privilege section. Because both gates default to Super Users, the obvious setup hands an integration full administrative access; scoping one properly takes a dedicated group plus component permissions. - Added what the API will never return: view levels are enforced on reads, and server credentials and commenter email addresses are withheld regardless of token. - Corrected "All resources support full CRUD" — a table now shows which four resources are read-only and why each one is (credentials, site markup, moderation bypass, live YouTube writes). A write to one returns 404. - Documented the seven new resources with field lists, plus notes on what is withheld from each and why template code is not exposed at all. - Write permissions now cover published (core.edit.state) and created_by (core.admin), and note that neither bites on a default install where every API user is a Super User. - New section on action-log entries for API changes, tagged (via API). What's-New-v10.3.md - 10.3.4 callout: every endpoint returned 404 on every install from 10.3.0 through 10.3.3. Said plainly, because anyone who tried the API and gave up should know it was not their configuration. - Amended the 10.3.0 "REST API with Full CRUD" highlight, which described a feature that had never actually run. - New highlight for the 10.3.4 expansion, leading with what the API refuses to hand out rather than what it serves. Tasks.md — checked off the RESTful API, documentation and versioning items; annotated OAuth2 and rate limiting with why they are not next. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

    @bcordis bcordis committed Jul 25, 2026
  • docs: add filtering, CORS, and query parameter reference

    @bcordis bcordis committed Apr 5, 2026
  • docs: add write operations to REST API reference

    @bcordis bcordis committed Apr 5, 2026
  • docs: add REST API reference page

    @bcordis bcordis committed Apr 5, 2026