POST /platform/posts/{post}/video

Path parameters

  • post integer Required

    The post id

application/x-www-form-urlencoded

Body Required

  • id_chatroom integer

    The id of the chatroom

  • video string(binary)

    The video file

Responses

  • 400

    Bad Request - The video cannot be uploaded

  • 403

    Forbidden - You don't have permission to access this route

POST /platform/posts/{post}/video
curl \
 --request POST 'https://domain.tld/api/v2/platform/posts/{post}/video' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/x-www-form-urlencoded" \
 --data 'id_chatroom=42&video=%40file'