Node

Creating a new Node Item

post/api/simulations/{simulationId}/nodes

Request

  • Base URL
    https://api.wearelearning.io (the document declares no server; this is the origin it was published from)
  • Auth
    OAuth 2
    Implicit: https://login.wearelearning.io/authorize?audience=https://api.wearelearning.io

Path parameters

simulationIdstring uuid required

A valid GUID

Request body

idstring nullable
labelstring required
textstring nullable
colorstring required
eventIdstring nullable
nodeType'dialogue' | 'response' | 'poster' | 'event' | 'end' | 'open-response' | 'outcome' | 'no-match' | 'hotspot' | 'quiz' | 'page' | 'code' required
speakerIndexstring required
speakerIdstring nullable
timelineDurationnumber float required
audioTimelineStartTimenumber double required
sceneBackgroundstring required
selectedSceneIdstring nullable
voiceoverEnabledboolean required
randomResponseOrderboolean required
ambienceVolumenumber float nullable
isSuccessboolean nullable
displayPosterIconboolean nullable
referencesstring[] nullable
locationstring nullable
audioVolumenumber float nullable

Response

Created

string required

Changes

No recorded changes to this operation across all 1 revision of this API.