[wp-trac] [WordPress Trac] #38490: Add settings to the `/wp/v2/settings` endpoint that are in the WordPress.com api
WordPress Trac
noreply at wordpress.org
Fri Nov 4 03:29:11 UTC 2016
#38490: Add settings to the `/wp/v2/settings` endpoint that are in the
WordPress.com api
-----------------------------------------+-----------------------
Reporter: joehoyle | Owner: joehoyle
Type: task (blessed) | Status: assigned
Priority: normal | Milestone: 4.7
Component: REST API | Version:
Severity: normal | Resolution:
Keywords: has-patch reporter-feedback | Focuses:
-----------------------------------------+-----------------------
Comment (by joehoyle):
> These special settings should still show up in the arguments list for
GET
Hmm so I still think no, the GET arguments are things you would pass like
`?per_page=10`, no such arguments exist at all for settings. POST / PUT
arguments would exist for normal settings, because those are things you
can specify on `POST` etc.
Read-only things, by definition, are not POST / PUT because you _can't_
send them back to be updated. Arguments = what you can update, or query
by, schema = description of the data.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38490#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list