Put Ace Config

Set the user’s aceConfig (the settings for the in-game Ace code editor), such as whether to enable autocomplete.

Path parameters

handlestringRequired

The document’s _id or slug.

Headers

AuthorizationstringRequired

Basic authentication of the form Basic <username:password>.

Request

This endpoint expects an object.
liveCompletionbooleanOptional
controls whether autocompletion snippets show up, the default value is true
behaviorsbooleanOptional
controls whether things like automatic parenthesis and quote completion happens, the default value is false
languagestringOptional

only for home users, should be one of [“python”, “javascript”, “cpp”, “lua”, “coffeescript”] right now

Response

This endpoint returns an object.
_idstring or null
emailstring or null
namestring or null
slugstring or null
rolestring or null
Usually either 'teacher' or 'student'
statsobject or null
oAuthIdentitieslist of objects or null
subscriptionobject or null
licenseobject or null