ScriptAssistant

Sets the story's narration language from the page's language dropdown. Checked against the supported languages and recorded exactly as the assistant records it.

put/api/script-assistant/sessions/{sessionId}/script-language

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

sessionIdstring required

Request body

languageCodestring required

A supported language's code, e.g. "nb-NO".

Response

OK

scriptLanguagestring required

What was recorded, e.g. "Norwegian (nb-NO)".

storyLocalestring required

The locale the story is now built in.

Changes

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