English
Postman
OpenAPI
Contact us
Sign up
Search...
/
Overview
Introduction
API Reference
POST
Add Oauth2 Identity
Auth
Clans
Classrooms
Stats
Users
POST
Create User
GET
Get User
PUT
Update User
GET
Get Classrooms By User
PUT
Get User Hero
PUT
Put Ace Config
PUT
Put Subscription
PUT
Shorten User Subscription
PUT
Grant User License
PUT
Shorten User License
GET
Search for User
Postman
OpenAPI
Contact us
Sign up
API Reference
Users
Put Ace Config
PUT
https://codecombat.com/api
/
users
/
:handle
/
ace-config
Set the user's aceConfig (the settings for the in-game Ace code editor), such as whether to enable autocomplete.
Path parameters
handle
string
Required
The document’s
_id
or
slug
.
Request
This endpoint expects an object.
liveCompletion
boolean
Optional
controls whether autocompletion snippets show up, the default value is true
behaviors
boolean
Optional
controls whether things like automatic parenthesis and quote completion happens, the default value is false
language
string
Optional
only for home users, should be one of ["python", "javascript", "cpp", "lua", "coffeescript"] right now
Response
This endpoint returns an object.
_id
string
Optional
email
string
Optional
name
string
Optional
slug
string
Optional
role
string
Optional
Usually either 'teacher' or 'student'
stats
object
Optional
Show 3 properties
oAuthIdentities
list of objects
Optional
Show 2 properties
subscription
object
Optional
Show 2 properties
license
object
Optional
Show 2 properties
Built with