Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
learneradarsh opened this issue Feb 8, 2023 · 7 comments

Comments

@learneradarsh
Copy link

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
Copy link
Author

learneradarsh commented Feb 8, 2023

@coolbung @parthlawate Please help here.

@ankush-maherwal
Copy link
Contributor

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

@learneradarsh
Copy link
Author

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

@ankush-maherwal
Copy link
Contributor

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

@learneradarsh
Copy link
Author

learneradarsh commented Feb 19, 2023

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": {}
}

@ankush-maherwal
Copy link
Contributor

@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

@learneradarsh
Copy link
Author

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants