Creating draft MR with the API


I’m working on a small tool for automagically creating merge requests and I can’t seem to find any option in the API for setting the draft attribute either when creating or updating a merge request. Have I just missed it (entirely possible).

Thank you