Fetching drafts forbidden in Wordpress rest api : <p>I am using the <a href="https://www.npmjs.com/package/wpapi" rel="noreferrer">wpapi</a> npm module to interface with the WP rest api in a node app. I am authenticated and my user created some draft posts. When I go to the dashboard with the same credentials, I can see/edit the draft posts as well.</p>

<p>I am using this method to list the drafts:</p>

<pre><code>wp.posts().auth().param( 'context', 'edit' ).param( 'status', 'draft' )
</code></pre>

<p>But I keep getting this error:</p>

<pre><code>{ code: 'rest_invalid_param',
  message: 'Invalid parameter(s): status',
  data: { status: 400, params: { status: 'Status is forbidden.' } } }
</code></pre>

<p><a href="https://github.com/WP-API/node-wpapi/issues/154#issuecomment-312186212" rel="noreferrer">Here's where I've commented on the issue and some helpful context.</a></p>

<p>The curl response to <a href="http://localhost:8000/wp-json/wp/v2/posts?status=draft" rel="noreferrer">http://localhost:8000/wp-json/wp/v2/posts?status=draft</a> is the same error message so I don't believe the issue is with the node module.</p>
