No Code Attached Yet bug
avatar frank-bo-ing
frank-bo-ing
18 Aug 2026
Image Image Image

What happened?

the get command works for articlelist and articles
the patch command works with changed articles

its possible to get articles over API, but embedded moduls via "loadmoduleid" are not sent. maybe the brackets {} are filtered and left as "". the html code does not contain the embedded command "loadmoduleid" and the modul-id s.

The base issue is most likely the fact that the getModuleList() method of the ModuleHelper, that is indirectly by the LoadModule plugin to fetch available modules, is using the client_id of the webservices app and not of client_id of the frontend app; as a result, the module IDs don't resolve to the correct module, and the placeholder tag is replaced with an empty string.

Version

5.4

Expected result

i want to get my complete article via API inclusiv Moduls (embedded via loadmoduleid), pictures, links etc.

Actual result

i can get the article with pictures, links and text, without the embedde moduls

System Information

No response

Additional Comments

No response

avatar frank-bo-ing frank-bo-ing - open - 18 Aug 2026
avatar joomla-cms-bot joomla-cms-bot - change - 18 Aug 2026
Labels Added: No Code Attached Yet bug
avatar joomla-cms-bot joomla-cms-bot - labeled - 18 Aug 2026
avatar brianteeman
brianteeman - comment - 18 Aug 2026

I just tested and I have no problem retrieving an article that contains {loadmoduleid 180} and posting an article that contains {loadmoduleid 181} - or were you expecting that the retrieved article would contain whatever is generated by {loadmoduleid 180}? If so then thats not possible - only the {loadmoduleid 180} is in the post

avatar SniperSister SniperSister - change - 18 Aug 2026
Title
…
API send uncomplete html code
com_content Webservices strip {loadmodule...} placeholder on gets
avatar SniperSister SniperSister - edited - 18 Aug 2026
avatar frank-bo-ing
frank-bo-ing - comment - 18 Aug 2026

did you use special command or syntax with the get command?

avatar frank-bo-ing
frank-bo-ing - comment - 18 Aug 2026

did you use special command or syntax with the get command? i expect only the the string "loadmuduleid ...".
get .../ sends a lot of content, but not the modul ids

you can be lucky that there is no problem, thank you

avatar frank-bo-ing
frank-bo-ing - comment - 18 Aug 2026

did you use special command or syntax with the get command? i expect only the the string "loadmuduleid ...".
"get .../" sends a lot of content, but not the modul ids

you can be lucky that there is no problem, thank you

avatar frank-bo-ing
frank-bo-ing - comment - 18 Aug 2026

did you use special command, parameter or syntax with the get command? i expect only the the string "loadmuduleid ...".
"get .../" sends a lot of content, but not the modul ids

you can be lucky that there is no problem, thank you

avatar brianteeman
brianteeman - comment - 18 Aug 2026

no nothing special just
GET https://brian.teeman.net/api/index.php/v1/content/articles/1031

avatar frank-bo-ing frank-bo-ing - change - 18 Aug 2026
The description was changed
avatar frank-bo-ing frank-bo-ing - edited - 18 Aug 2026
avatar frank-bo-ing frank-bo-ing - change - 18 Aug 2026
The description was changed
avatar frank-bo-ing frank-bo-ing - edited - 18 Aug 2026
avatar frank-bo-ing
frank-bo-ing - comment - 18 Aug 2026

i add some screencopies of the paste command in postman, with 5.4.8 i did not get "loadmoduleid" back. API works only with su.

avatar brianteeman
brianteeman - comment - 18 Aug 2026
Image
avatar frank-bo-ing
frank-bo-ing - comment - 19 Aug 2026

summary of the facts "api communication in my site"
get command works
post command works
patch command works
get/patch don“t send the string "{loadmoduleid}" from joomla to me, but everything else
post/patch create a string {loadmoduleid} in the joomla article which is visible in the editor
if i change the brackets from { to [ the transmission of [loadmoduleid] works
it may be different for some sites
perhaps there is a plugin that filters the HTML data, or I need a plugin that doesn't filter
or there is a bug

best regards Frank

avatar frank-bo-ing
frank-bo-ing - comment - 19 Aug 2026

if i deactivate the plugin "content - load module", the get command send the string "{loadmoduleid}" within the html code
but the modules won't be loaded for the frontend, of course
that makes no sense
i don't know why it is necessary to filter anything from html out.

regards Frank

avatar frank-bo-ing
frank-bo-ing - comment - 19 Aug 2026

last comment: the API should also be available to editors, not just superusers.

regards Frank

avatar brianteeman
brianteeman - comment - 19 Aug 2026

last comment: the API should also be available to editors, not just superusers.

it is. See https://magazine.joomla.org/issues/2023/march-2023/playing-with-the-joomla-api-part-1

avatar QuyTon
QuyTon - comment - 20 Aug 2026

Probably related to #46107.

Add a Comment

Login with GitHub to post a comment