API reference · Account
Save the person's page
PUT/api/studio/creatorSigned in session
A handle is 3 to 24 lowercase letters, digits or hyphens, not one the studio keeps and not another person's public handle. A share shows on the page only by its own On my page. The signed in account; same origin for a write.
Request body
application/json, required
| Field | Type | What it is |
|---|---|---|
| handlerequired | string | |
| bio | string or null | At most 160 characters. |
| publicrequired | boolean | |
| listed | boolean |
Example
{
"handle": "string",
"bio": "string",
"public": false,
"listed": false
}Answer 200
Saved.
| Field | Type | What it is |
|---|---|---|
| handle | string or null | |
| bio | string or null | |
| public | boolean | |
| listed | boolean | |
| suggested | string or null | The handle the person's public ship log already carries. |
| url | string or null | /studio/c/<handle> while public. |
| challenge | object or null | The week's challenge while one runs. |
Errors
- 400OpenAI shaped error.
- 401OpenAI shaped error.
- 403OpenAI shaped error.
- 409OpenAI shaped error.
- 429OpenAI shaped error.
Every error answers in one shape, with its type, code and the field it names. The whole list is in the docs' Errors section.