Using the Wordpress REST API I am trying to get draft posts only. However the API responds with only the published posts when I pass the query in both cases.
A: http://localhost/wp-json/wp/v2/posts?status=draft
B: http://localhost/wp-json/wp/v2/posts?filter[post_status]=draft
How can I see only the draft posts? I am using the JWT Authentication for WP-API plugin for authentication but disabling this doesn't seem to change anything.