ReviseDataset

@Order(value = 2)
@Summary(value = "Revise a dataset's draft")
@CommandRoute(action = "revise", method = CommandRoute.Method.PUT, appendIdPath = CommandRoute.AppendPath.ALWAYS)
data class ReviseDataset(val id: String, val document: ObjectNode)

Replaces the draft's declaration with document, in the format of a dataset file. Sensitivity is not part of it: it is reviewed field by field (ReviewSensitivity). A field whose declaration is unchanged keeps its review.

Constructors

Link copied to clipboard
constructor(id: String, document: ObjectNode)

Properties

Link copied to clipboard
val document: ObjectNode
Link copied to clipboard
val id: String