[wp-trac] [WordPress Trac] #38586: REST API: Allow arrays to be sent as CSVs

WordPress Trac noreply at wordpress.org
Mon Oct 31 05:50:13 UTC 2016


#38586: REST API: Allow arrays to be sent as CSVs
----------------------------+-----------------------
 Reporter:  pento           |       Owner:  pento
     Type:  task (blessed)  |      Status:  reopened
 Priority:  normal          |   Milestone:  4.7
Component:  REST API        |     Version:
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:
----------------------------+-----------------------
Changes (by rmccue):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 This needs to be documented further, and we should check whether this is
 the best way to implement it. Right now, there's no hint to the client
 that "array" means you can send CSV as well. Potentially, using JSON
 Schema's `anyOf` would be better here.

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


More information about the wp-trac mailing list