I have seen the code below here: https://github.com/WP-API/WP-API/blob/master/docs/schema.md
But not in the http://wp-api.org/ documentation. Any ideas, how to create a comment for a post?
“\/posts\/<id>\/comments\/<comment>”: {
“supports”: [
“HEAD”,
“GET”,
“POST”,
“PUT”,
“PATCH”,
“DELETE”
],
“accepts_json”: true
},
This is not currently supported, but we’re looking into adding it in a future release.
Any chance of this getting in with WP 4.1? I’m looking to develop a theme with this api and right now this is the bottleneck.
Is this a good enough work around for now?
Thanks for working so hard on this Ryan. It’s really great.
@brad989, is that theme going to be opensource? In that case, looking forward to test/use it
@paul, not right away. I’m working on it full-time with the intention to sell it although I would be interested in distributing an open-source light version at some point and/or donating to this project with some of the proceeds.
(@peterluit)
11 years, 10 months ago
It seems not to be possible to create comments using this plugin. Is that a right conclusion?
https://ww.wp.xz.cn/plugins/json-rest-api/