[wp-trac] [WordPress Trac] #34303: Update the REST API header links
WordPress Trac
noreply at wordpress.org
Thu Oct 15 08:01:04 UTC 2015
#34303: Update the REST API header links
----------------------------+-----------------------
Reporter: johnbillion | Owner: rmccue
Type: task (blessed) | Status: assigned
Priority: normal | Milestone: 4.4
Component: REST API | Version: trunk
Severity: normal | Resolution:
Keywords: dev-feedback | Focuses:
----------------------------+-----------------------
Changes (by rmccue):
* owner: => rmccue
* status: new => assigned
Comment:
Good catch. These need to stay as URIs; they're kinda like XML namespaces
in that they're just an unambiguous name. I've spoken to @nacin previously
about this, and `http://api.w.org/` was an option. It's nice and short,
and it's currently unused. We could have it redirect to a devhub page too.
We'll need to use other stuff from this in the future too; custom
relations are used in our links like `http://v2.wp-api.org/term`. I think
`http://api.w.org/v2/term` would work nicely, and it's short.
`WP-API` in the RSD can be whatever we want. It's designed to allow
conditional upgrading from existing XML-RPC clients, so "WordPress REST
API" could work. ("REST API" could in theory clash with a future XML-RPC
spec, if those are still being created.)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34303#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list