com_api icon indicating copy to clipboard operation
com_api copied to clipboard

websiteurl/?option=com_api&app=articles&resource=article&format=json

Open learneradarsh opened this issue 2 years ago • 7 comments

We are getting following error: { "err_msg": "Articles API Plugin not found, Articles is probably not installed", "err_code": 400, "response_id": "", "api": "", "version": "", "data": {} }

learneradarsh avatar Feb 08 '23 10:02 learneradarsh

@coolbung @parthlawate Please help here.

learneradarsh avatar Feb 08 '23 10:02 learneradarsh

Please specify the Joomla and com_ap version you are using.

Also, please make sure that you have installed and enabled the "Api - Articles" plugin on your site

If not, you can download the plugin from here and install it on your site.

NOTE:- The plugin is only compatible with Joomla V3.x. Also, please make sure you back up your site before updating or installing any extensions.

articles.zip

ankush-maherwal avatar Feb 13 '23 04:02 ankush-maherwal

Is there any other way I can do it for Joomla 4.Please let me know.

learneradarsh avatar Feb 15 '23 10:02 learneradarsh

Hello @learneradarsh here is the plugin which might work for Joomla 4 but it's not tested yet.

you can try to use this plugin articles.zip

ankush-maherwal avatar Feb 15 '23 12:02 ankush-maherwal

image

Hi @ankush-maherwal ,

Actually I have installed it but still when i hit below url getting error:

?option=com_api&app=articles&resource=articles&format=json

error: { "err_msg": "Articles API Plugin not found, Articles is probably not installed", "err_code": 400, "response_id": "", "api": "", "version": "", "data": {} }

learneradarsh avatar Feb 19 '23 06:02 learneradarsh

@learneradarsh It seems that you are using resource query parameter as "articles" and it should be "article"

You are using this URL ?option=com_api&app=articles&resource=articles&format=json

Try to use this ?option=com_api&app=articles&resource=article&format=json

ankush-maherwal avatar Feb 20 '23 05:02 ankush-maherwal

Thansk @ankush-maherwal ,

It worked!

But in response of it I am getting empty object: image Is there any documentation I can follow for queries?

learneradarsh avatar Feb 27 '23 17:02 learneradarsh