REST API - Create draft notes linked to playlist

Hello,

Would be awesome to be able to set on new note - linked to a playlist - if they it is a draft note or not.

It would be great to have the ability to specify - when creating a new note linked to a playlist - whether it is a draft note or not.

My goal is to generate draft notes on all versions linked to a given playlist (based on tasks, specific info…) via the Shotgun REST API, and then be able to review and edit those drafts later via the note_app shotgrid page.

What do you think ?

Best.

2 Likes

Out of interest, is there a field that registers if a note is draft?

I was under the impression these are saved in the user’s session?

When I am updating a draft note, I have this request sent to backend :

{
    "request_type": "update",
    "type": "Note",
    "id": 7349567,
    "column": "content",
    "value": "My note content",
    "drafts": true, 
    "local_timezone_offset": 2
}

I imagined there is a hidden field that defines if note is a draft or not. :detective:

1 Like

Interesting! :eyes:

There is a DB field for publish_status on the Note entity but no field for drafts.