Documentation for REST API?
-
Hi,
Thanks for the great plugin. I am trying to create mobile apps for my website and I need to show the slideshow on my app. In previous app, I am using
/wp-json/wp/v2/mtslides?_embed
and it is running fine.But on new site, the route seems to be changed and I am getting following error
{"code":"rest_no_route","message":"No route was found matching the URL and request method.","data":{"status":404}}
According to other support threads, I think the routes are listed here
/wp-json/metaslider/v1/
. Correct me if I am wrong.What I want for now is just to display single slideshow on my mobile apps. But every sub routes I entered required authentication because I got following message when I entered (for example)
/wp-json/metaslider/v1/slideshow/all
{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}
I just want to show a slideshow that is publicly available on the web. Why do I need authorization to do so? Or am I in wrong direction or doing something wrong? Please guide me or at least let me have the detailed documentation if you have one.
Thanks in advance.
- The topic ‘Documentation for REST API?’ is closed to new replies.