Spiritme
  1. videos
Spiritme
  • avatars
    • avatars_list
      GET
  • batch-video-templates
    • batch_video_templates_list
      GET
    • batch_video_templates_create
      POST
    • batch_video_templates_retrieve
      GET
  • batch-videos
    • batch_videos_list
      GET
    • batch_videos_create
      POST
    • batch_videos_retrieve
      GET
  • files
    • files_list
      GET
    • files_create
      POST
    • files_retrieve
      GET
    • files_destroy
      DELETE
    • files_children_list
      GET
  • schema
    • schema_retrieve
      GET
  • tts
    • tts_languages_list
      GET
    • tts_voices_list
      GET
  • users
    • users_current_retrieve
      GET
    • users_current_destroy
      DELETE
  • videos
    • videos_list
      GET
    • videos_create
      POST
    • videos_retrieve
      GET
    • videos_update
      PUT
    • videos_destroy
      DELETE
    • videos_publish_create
      POST
  1. videos

videos_publish_create

开发环境
http://dev-cn.your-api-server.com
开发环境
http://dev-cn.your-api-server.com
POST
/api/videos/{id}/publish/
videos
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://dev-cn.your-api-server.com/api/videos//publish/' \
--header 'Authorization;'
响应示例响应示例
{
    "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
    "name": "string",
    "thumbnail": "http://example.com",
    "result": "http://example.com",
    "resolution": {
        "width": 1920,
        "height": 1080
    }
}

请求参数

Path 参数
id
integer 
必需
A unique integer value identifying this video.
Header 参数
Authorization
string 
必需
默认值:
Token <api-key>

返回响应

🟢200成功
application/json
Body
uuid
string <uuid> | null 
只读必需
name
string 
只读必需
thumbnail
string <uri>
只读必需
Thumbnail for video
result
string <uri>
只读必需
resolution
object 
只读必需
width
integer 
可选
>= 500<= 3840
默认值:
1920
height
integer 
可选
>= 500<= 3840
默认值:
1080
修改于 2024-03-28 09:50:16
上一页
videos_destroy
Built with