Support » Plugin: Edit Flow » Post statuses not showing in REST API

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author cojennin

    (@comradefuzz)

    Hrm.

    What version of the Rest API and WordPress are you using (I tested with 2.0-beta13.1 of the Rest API and WP 4.6)?

    And are you seeing any statuses?

    I don’t know a whole lot about the REST API (first time checking it out), but when I was not authenticated the only status I could see was Publish.

    I was logged in, but according to the Rest API docs I needed to generate a nonce and send it along with the GET request to /wp/v2/statuses as the value of X-WP-NONCE.

    It was this check in WP Core that was blocking my request without the nonce. Once I generated the wp_rest nonce and sent it along as the value of X-WP-NONCE with my GET request it worked fine.

    After I authenticated correctly I could see all the custom statuses I had created with Edit Flow.

    Also, apologies if you’ve already done all this. Was more to just walk myself through it (and for you to verify that my steps are the same as yours).

    Plugin Author cojennin

    (@comradefuzz)

    Ah, just noticed there are more authentication methods too! Let me know if you’re authenticating differently! I’ll try and recreate what you’re encountering with whatever method you’re using.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Post statuses not showing in REST API’ is closed to new replies.