MCPcopy Create free account
hub / github.com/codecombat/codecombat / getByStudentsAndLevels

Function getByStudentsAndLevels

app/core/api/level-sessions.js:19–24  ·  view source on GitHub ↗
({ earliestCreated, studentIds, levelOriginals, project }, options)

Source from the content-addressed store, hash-verified

17 },
18
19 getByStudentsAndLevels ({ earliestCreated, studentIds, levelOriginals, project }, options) {
20 return fetchJson('/db/level.session/-/levels-and-students', _.merge({}, options, {
21 method: 'POST',
22 json: { earliestCreated, studentIds, levelOriginals, project }
23 }))
24 },
25
26 setKeyValue ({ sessionID, key, value }, options) {
27 return fetchJson(`/db/level.session/${sessionID}/key-value-db/${key}`, _.merge({}, options, {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected