Path parameters
-
The post id
Body Required
-
id_chatroom integer
The id of the chatroom
-
video string(binary)
The video file
POST /platform/posts/{post}/video
curl \
-X POST https://domain.tld/api/v2/platform/posts/{post}/video \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d 'id_chatroom=42&video=%40file'
Response examples (401)
{
"message": "Unauthorized."
}
Response examples (422)
{
"message": "field is required! (and 3 more error)",
"errors": {
"field": [
"Error message details here"
],
"additionalProperty1": [
"Error message details here"
],
"additionalProperty2": [
"Error message details here"
]
}
}