content-generation

Get a content draft rendered for preview

get/api/v1/content-generation/drafts/{draftId}

Path parameters

draftIdstring uuid required

The unique identifier for the draft

Response

difficultystring

Difficulty level of the mission: easy, medium or 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