Appearance
Add attachments
PUT
/channels/{channelId}/attachments
Authorizations
Authorization
TypeHTTP (bearer)
Parameters
Path Parameters
channelId*
Typestring
RequiredRequest Body
application/json
JSON
[
{
"filename": "string",
"contentType": "string",
"tumbhash": "string",
"spoiler": true
}
]
Responses
OK
application/json
JSON
[
{
"url": "string",
"id": 0
}
]