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

Function postInteractive

ozaria/site/api/interactive.js:50–55  ·  view source on GitHub ↗
({ name }, options = {})

Source from the content-addressed store, hash-verified

48 * @returns {Promise<Object>} - Raw Interactive object
49 */
50export const postInteractive = ({ name }, options = {}) => {
51 return fetchJson('/db/interactive', _.assign({}, options, {
52 method: 'POST',
53 json: { name }
54 }))
55}
56
57/**
58 * Retrieves the json representation of interactive session.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected