content-draft

Get a content draft rendered for preview

get/api/v1/content-draft/{draftId}

Path parameters

draftIdstring uuid required

The unique identifier for the draft

Response

canRedoboolean required

Whether an undone version is still ahead of the cursor

canUndoboolean required

Whether an earlier version is still retained to step back to

cursorVersionnumber required

The version whose content the draft is showing. Equal to version unless something has been undone.

difficulty'easy' | 'medium' | 'hard'
draftIdstring required

The unique identifier for the draft

hide_examplesboolean required
hide_scorecardboolean required
languagestring

Language the draft is authored in

titlestring

Title of the mission being authored

updatedAtstring required

When the draft last changed

versionnumber required

Incremented by the store on every change. The preview polls and re-renders when this moves.

Changes