[wp-trac] [WordPress Trac] #34207: Leverage the REST API structure for the oEmbed endpoint

WordPress Trac noreply at wordpress.org
Mon Oct 12 13:46:25 UTC 2015


#34207: Leverage the REST API structure for the oEmbed endpoint
--------------------------------------+-------------------------
 Reporter:  swissspidy                |       Owner:  swissspidy
     Type:  enhancement               |      Status:  assigned
 Priority:  normal                    |   Milestone:  4.4
Component:  Embeds                    |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-------------------------
Changes (by swissspidy):

 * keywords:  has-patch => has-patch has-unit-tests


Comment:

 I just attached a new patch. Changes in [attachment:34207.2.diff] compared
 to the previous version:

 * Patch applies cleanly again against trunk
 * No JSON schema for now. We can add that when the implementation is
 ready.
 * Uses `/oembed/1.0/embed` for the endpoint instead of `/wp/v2/oembed`.

 Note: Providers like VideoPress and Tumblr use `1.0` in their routes as
 well so I thought this is more fitting.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34207#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list