设置用户的代码配置

设置用户的代码配置 ( 指用户在编辑器中可以修改的设置 ) , 如代码补全等.

Authentication

AuthorizationBasic

Basic authentication of the form Basic <base64(username:password)>.

Path parameters

handlestringRequired

文件中的 _id 或者 slug.

Request

This endpoint expects an object.
liveCompletionbooleanOptional

控制代码自动补全提示是否出现, 默认值是 true

behaviorsbooleanOptional

控制括号, 引号是否自动补齐, 默认值是 false

languagestringOptional

控制个人账号(学生账号无效)使用的语言, 目前仅支持 python, javascript, cpp, lua, coffeescript

Response

This endpoint returns an object.
_idstring
emailstring
namestring
slugstring
rolestring

通常这是指"teacher"(“老师”)或者"student"(“学生”)

statsobject
oAuthIdentitieslist of objects
subscriptionobject
licenseobject