A platform for community discussion. Free, open, simple.
{
"additionalProperties": false,
"properties": {
"upload_type": {
"type": "string",
"enum": [
"avatar",
"profile_background",
"card_background",
"custom_emoji",
"composer"
]
},
"user_id": {
"type": "integer",
"description": "required if uploading an avatar"
},
"synchronous": {
"type": "boolean",
"description": "Use this flag to return an id and url"
},
"file": {
"type": "string",
"format": "binary"
}
},
"required": [
"upload_type"
]
}