Element-api - filter Draft entries by the draft author (not original author) I have a remote app that enables preview based on your editor craft account. I want to retrieve draft entries that they are working on, but i cant find a way to do this. 'authorId' seems to always be the original author of the entry, rather than the draft.

Here is the important bit of my code ->

$user = Craft::$app-&gt;users-&gt;getUserByUsernameOrEmail($userp);

           return [
          'elementType' =&gt; Entry::class,
          'paginate' =&gt; false,
          'pretty' =&gt; true,
          'criteria' =&gt; ['draftId' =&gt; $entryId, 'section' =&gt; 'cashwrap', 'drafts' =&gt; true, 'orderBy'   =&gt; 'dateUpdated desc', 'authorId' =&gt; $user-&gt;id, 'limit' =&gt; 10 ],


I cant find any ref for retrieving, or filtering by the draft author id? The above will only show drafts for original author id not draft author.
I think i have found the answer after digging in Element docs... looks like this works! in criteria

'draftCreator' =&gt; $user-&gt;id