[wp-trac] [WordPress Trac] #39466: Get list of post API request missing status

WordPress Trac noreply at wordpress.org
Wed Jan 4 13:21:39 UTC 2017


#39466: Get list of post API request missing status
--------------------------+------------------------------
 Reporter:  gnanasekaran  |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  REST API      |     Version:  4.6.1
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  rest-api
--------------------------+------------------------------

Comment (by kadamwhite):

 I'm on the go and haven't perused the code so this is just a shot in the
 dark, but most statuses require authentication to access -- it's possible
 that the status you're requesting is being overwritten because only
 "publish" is available to unauthenticated users. I'd suggest making the
 request with an authenticated JavaScript client from within the admin, or
 installing one of the authentication plugins if you want to use curl, and
 seeing if that resolves the issue; my hunch is that this is a docs problem
 more than it is a code problem.

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


More information about the wp-trac mailing list