-
Notifications
You must be signed in to change notification settings - Fork 651
Initial Settings Endpoint #2739
Conversation
Merged in from https://github.com/WP-API/wp-api-site-endpoints. The bulk of this comes from WP-API/wp-api-site-endpoints#13
|
I've been chatting about this with @rmccue and we are considering making the response object This would be a lot better for forward compatibility as any other fields for a specific setting could be added to the object. |
|
Does this mean that you could then store |
|
I suppose this would be in theory only as currently |
|
@westonruter no, you can't store a value as This is only for the response format, not the storage, so this would not effect being (or rather not being) able to store |
|
Discussed in slack during Oct 3 team meeting, decisions to be documented here by @joehoyle—tl;dr is that we are going to stick with |
|
Additional slack discussion: I feel that having this resource be publicly queryable, exposing obviously-public content like title, URL & description, and possibly posts_per_page, would be useful. I am 👎 on continuing to load up the root API index with arbitrary options when we have this new |
|
So we have a couple of things to sort out before merging this, but we are very close:
|
We decided that these shouldn't block the PR merge, but do need to be fixed before final release. :) |
Merged in from https://github.com/WP-API/wp-api-site-endpoints. The
bulk of this comes from
WP-API/wp-api-site-endpoints#13