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

Add REST API support #3061

Closed
atimmer opened this issue Oct 30, 2015 · 11 comments
Closed

Add REST API support #3061

atimmer opened this issue Oct 30, 2015 · 11 comments

Comments

@atimmer
Copy link
Contributor

atimmer commented Oct 30, 2015

We should investigate what endpoint we want to add and what meta fields we want to expose. Preferably after WordPress 4.4 has been released but before WordPress 4.5 where presumably the REST API endpoints will be included in core.

@beatelite
Copy link

Just an upvote on this. With the ability to build your own custom app complete with it's own admin (I've already built one that does almost everything the wp admin does but better imo) one of the only things that's missing is the ability to analyze content for SEO via these new interfaces so an official Yoast RESTful API would be fantastic and really be on the bleeding edge of where wp is going.

and yes, I just used "bleeding edge" in a sentence. ;)

@Rarst
Copy link
Contributor

Rarst commented Oct 31, 2015

Since the analysis implementation is moving to JavaScript it kind of prevents from it being integrated with PHP-powered API backend.

@Rarst
Copy link
Contributor

Rarst commented Dec 20, 2016

REST API content endpoints had shipped in WP 4.7, issue needs a refresh.

@bertrandjamin
Copy link

Hi,
Could you please tell me if there is any planning to implement this issue.
I see several issues with the label component: rest api but no one seems to be started.

Thanks

@Pcosta88
Copy link
Contributor

User says Focus Keywords and Meta Descriptions should be available via the REST API.

@Pcosta88
Copy link
Contributor

Please inform the customer of conversation # 427170 when this conversation has been closed.

@charles4221
Copy link

Three and a half years on since this was logged — any views from the Yoast team to implementing this?

@thebaron24
Copy link

I second @charles4221 in looking for a response to this question. I would like to use yoast seo to configure the pages but I do not see any yoast information coming in the api page and post calls.

@monbauza
Copy link

Please inform the customer of conversation # 522439 when this conversation has been closed.

@charles4221
Copy link

For anyone following who really needs to access Yoast metadata over the REST API while we wait for Yoast to respond, I've been using and contributing to this library for around a year and would certainly recommend it: https://github.com/factor1/better-rest-endpoints

The only issue with the Yoast implementation in BRE is that it simply uses get_post_meta for most of the Yoast meta fields, so if you haven't explicitly provided value on the post edit screen for that meta, it will return as an empty string when Yoast would normally fill out those values with their internal logic — see get_yoast.php

Perhaps there are some Yoast geniuses here who could take a look and contribute some better replacements for the get_post_meta calls while we wait for Yoast to respond on adding their own API endpoints.

@jonoalderson
Copy link

Closing given that https://developer.yoast.com/customization/apis/rest-api is in place.

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

No branches or pull requests