Skip to main content
POST
Declare a lesson version (Curriculum Fixing)

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

lessonId
string
required

Course component sourcedId of the lesson

Body

application/json
reason
string
required

The producer's run id, publish job or fix order

Required string length: 1 - 500
dryRun
boolean
default:true

Default true: fetch, diff and answer; write nothing

limit
integer
default:500

Children re-assigned per real run; declare the same lesson again to resume the rest

Required range: 1 <= x <= 5000

Response

The declaration or preview

lessonId
string
required
dryRun
boolean
required
version
integer | null
required
baseline
boolean
required
unchanged
boolean
required
written
boolean
required
changed
object
required
receipt
object
required
previous
object | null
required
declaredByClientId
string | null
required
declaredAt
string
required
population
object | null
required
run
object | null
required