Title: Update Video Post / Content
Client -> 3Speak: Update Video Details
note:
- [Please refer to previous diagram first](https://swimlanes.io/u/aqmqixwiR)
- videoid = id of the video
- title = title of the video / post / blog / vlog
- description = body of the post
- isNsfwContent = Is not safe for work?
- tags = comma separated tags
- thumbnail = name received via tus client for thumbnail
- Example request body as json
```
{
'videoId': videoId,
'title': title,
'description': description,
'isNsfwContent': false,
'tags': tags,
'thumbnail': thumbnail,
}
```
- API Endpoint - https://studio.3speak.tv/mobile/api/update_info
- HTTP Headers - Cookie & Content-Type: application/json
- HTTP Method - POST
- Optionally, you can also send `jsonMetaDataAppName` in the request body.
- In `jsonMetaDataAppName` parameter, you can send the desired app name that you wish to use when a video is published.
- In case if it's not supplied, default app name will be `3speak/0.3.0`
3Speak -> Client: 3Speak's Video Object Response
note:
```
{
'firstUpload': firstUpload,
'_id': id,
'originalFilename': originalFilename,
'permlink': permlink,
'duration': duration,
'size': size,
'owner': owner,
}
```
- This API is can be called any time to update the post content.
- This API is similar to saving draft on Ecency.
- Ecency can use it's own APIs to save draft.
Update Video Post / Content
videoid = id of the video
title = title of the video / post / blog / vlog
description = body of the post
isNsfwContent = Is not safe for work?
tags = comma separated tags
thumbnail = name received via tus client for thumbnail
Example request body as json
{ 'videoId': videoId, 'title': title, 'description': description, 'isNsfwContent': false, 'tags': tags, 'thumbnail': thumbnail, }
API Endpoint - https://studio.3speak.tv/mobile/api/update_info
HTTP Headers - Cookie & Content-Type: application/json
HTTP Method - POST
Optionally, you can also send
jsonMetaDataAppName
in the request body.In
jsonMetaDataAppName
parameter, you can send the desired app name that you wish to use when a video is published.In case if it's not supplied, default app name will be
3speak/0.3.0
{
'firstUpload': firstUpload,
'_id': id,
'originalFilename': originalFilename,
'permlink': permlink,
'duration': duration,
'size': size,
'owner': owner,
}
- This API is can be called any time to update the post content.
- This API is similar to saving draft on Ecency.
- Ecency can use it's own APIs to save draft.