Open mjangda opened 10 years ago
Yep, meaning to do this. Is the current API stable? It's changed since I first looked. Any thoughts on integrating the WPCC stuff?
Is the current API stable?
Stable-ish :) I haven't gotten too much feedback on it so I'm not planning to change things unless I hear otherwise. Some stuff like handling auth will probably change (to allow for alternate auth methods) but I think the other pieces should stay mostly as-is.
We can also always add the lib as a git submodule and pin to a specific revision/version and handle updates accordingly.
Any thoughts on integrating the WPCC stuff?
Yeah, we should definitely do that as well. I committed the wpcc file into the repo with my first commit but haven't touched it since.
It’s mostly us using it, so I think it’s OK to mark it as “alpha” and try it in few projects until we figure out the interface.
Deprecate the packaged API lib and use https://github.com/Automattic/wordpress-com-rest-php/ instead.