调用GetEditingProject获取云剪辑工程(视频编辑任务)的详细信息。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

请求参数

名称 类型 是否必选 示例值 描述
Action String GetEditingProject

系统规定参数。取值:GetEditingProject

ProjectId String fb2101bf24b27*****54cb318787dc

云剪辑工程ID。

返回数据

名称 类型 示例值 描述
Project Struct

云剪辑工程。

CoverURL String https://xxx.com/6AB4D0E1E1C74468883516C2349D1FC2-6-2.png

云剪辑工程封面URL。

CreationTime String 2017-10-23 13:33:40

云剪辑工程创建时间。UTC时间,格式为:yyyy-MM-ddTHH:mm:ssZ

Description String testdescription

云剪辑工程描述。

ModifiedTime String 2017-10-23 14:27:26

云剪辑工程最新修改时间。UTC时间,格式为:yyyy-MM-ddTHH:mm:ssZ

ProjectId String fb2101bf24b27*****54cb318787dc

云剪辑工程ID。

RegionId String cn-shanghai

地域。

Status String Normal

云剪辑工程状态。

StorageLocation String location_s

存储区域。

Timeline String {\"TimelineIn\":0,\"TimelineOut\":9.42}

云剪辑工程时间线。

Title String 视频_1508736815000

云剪辑工程标题。

RequestId String 63E8B7C7-4812-46*****AD-0FA56029AC86

请求ID。

说明 下述请求示例中的“公共请求参数”详情,参见公共参数说明文档

示例

请求示例

http(s)://[Endpoint]/?Action=GetEditingProject
&ProjectId=fb2101bf24b27*****54cb318787dc
&<公共请求参数>

正常返回示例

XML 格式

<GetEditingProjectResponse>
      <RequestId>63E8B7C7-4812-46*****AD-0FA56029AC86</RequestId>
      <Project>
            <ProjectId>fb2101bf24b27*****54cb318787dc</ProjectId>
            <Status>Normal</Status>
            <Duration>22.66</Duration>
            <Title>视频_1508736815000</Title>
            <CreateTime>2017-10-23 13:33:40</CreateTime>
            <ModifyTime>2017-10-23 14:27:26</ModifyTime>
            <Timeline>{"Id":"New_Timeline","Name":"","Status":0,"CreationTime":"2017-10-23T13:33:35Z","ModifiedTime":null,"Duration":22.66,"Size":0,"CurrentRuler":10,"CurrentPosition":16.92,"VideoTracks":[{"Count":3,"Duration":22.66,"VideoTrackClips":[{"Id":"VCLIP_89425482","VideoId":"07c2b35dd*****8b8c3e45e456a41","Title":"487_副本 6","Index":0,"CutFlag":true,"TextFlag":true,"DeWatermarkFlag":false,"Duration":9.42,"VirginDuration":9.42,"Width":640,"Height":360,"URL":"http://vod.testte*****ideo.cn/07c2b35dd*****8b8c3e45e456a41/c228bc42b97047299108*****0868389f86cc3f.mp4","CoverURL":"","SpriteURLs":"http://vod.testte*****ideo.cn/material_big_snapshot/07c2b35dd*****8b8c3e45e456a4100001.jpg?auth_key=","In":5.74,"Out":15.16,"TimelineIn":0,"TimelineOut":9.42,"Effects":[{"Type":"Text","Name":"横幅文字","Font":"SimSun","FontFace":{"Bold":false,"Italic":false,"Underline":false},"FontColor":"#ffffff","FontSize":20,"FontColorOpacity":1,"Content":"test","X":"0.3000","Y":"0.7000","Bold":"false","Italic":"false","Underline":"false","Height":23.599999999999998,"Width":41,"FEHeight":281.25,"FEWidth":500,"In":5.74,"Out":15.16,"TimelineIn":0,"TimelineOut":9.42}]},{"Id":"VCLIP_77584432","VideoId":"0f325c157*****5456f2a7e91b2ff","Title":"487_副本 6","Index":1,"CutFlag":true,"TextFlag":false,"DeWatermarkFlag":true,"Duration":7.5,"VirginDuration":15.16,"Width":640,"Height":360,"URL":"http://vod.testte*****ideo.cn/0f325c157*****5456f2a7e91b2ff/ba9dd0e93a4c4ec288*****c9d0868389f86cc3f.mp4","CoverURL;":"","SpriteURLs":"http://vod.testte*****ideo.cn/material_big_snapshot/0f325c157*****5456f2a7e91b2ff00001.jpg?auth_key=","In":0,"Out":7.5,"TimelineIn":9.42,"TimelineOut":16.92,"Effects":[{"Type":"DeWatermark","Name":"水印/遮标","SubType":"Delogo_Blur","X":"0.7660","Y":"0.0333","Width":100,"Height":50,"FEHeight":281.25,"FEWidth":500,"In":0,"Out":7.5,"TimelineIn":9.42,"TimelineOut":16.92}]},{"Id":"VCLIP_9q3704kl","Title":"487_副本 6","VideoId":"07c2b35d*****c3e45e456a41","Index":2,"CutFlag":true,"TextFlag":true,"DeWatermarkFlag":true,"Duration":5.74,"VirginDuration":15.16,"URL":"http://vod.testte*****ideo.cn/07c2b35d*****c3e45e456a41/c228bc42b97047299108f*****a15c59c9d0868389f86cc3f.mp4","CoverURL":"","SpriteURLs":"http://vod.testte*****ideo.cn/material_big_snapshot/07c2b35d*****c3e45e456a4100001.jpg?auth_key=","Width":640,"Height":360,"In":0,"Out":5.74,"TimelineIn":16.92,"TimelineOut":22.66,"Effects":[{"Type":"Text","Name":"横幅文字","Font":"SimSun","FontFace":{"Bold":false,"Italic":false,"Underline":false},"FontColor":"#ffffff","FontSize":20,"FontColorOpacity":1,"Content":"logo","X":"0.3000","Y":"0.7000","Bold":"false","Italic":"false","Underline":"false","Height":23.599999999999998,"Width":41,"FEHeight":281.25,"FEWidth":500,"In":0,"Out":5.74,"TimelineIn":16.92,"TimelineOut":22.66},{"Type":"DeWatermark","Name":"水印/遮标","SubType":"Delogo_Blur","X":"0.0300","Y":"0.0547","Width":100,"Height":50,"FEHeight":281.25,"FEWidth":500,"In":0,"Out":5.74,"TimelineIn":16.92,"TimelineOut":22.66}]}]}],"AudioTracks":[{"Count":0,"Duration":0,"AudioTrackClips":[]}]}</Timeline>
      </Project>
</GetEditingProjectResponse>

JSON 格式

{
    "RequestId":"63E8B7C7-4812-46*****AD-0FA56029AC86",
    "Project":{
        "ProjectId":"fb2101bf24b27*****54cb318787dc",
        "Status":"Normal",
        "Duration":22.66,
        "Title":"视频_1508736815000",
        "CreateTime":"2017-10-23 13:33:40",
        "ModifyTime":"2017-10-23 14:27:26",
        "Timeline":"{\"Id\":\"New_Timeline\",\"Name\":\"\",\"Status\":0,\"CreationTime\":\"2017-10-23T13:33:35Z\",\"ModifiedTime\":null,\"Duration\":22.66,\"Size\":0,\"CurrentRuler\":10,\"CurrentPosition\":16.92,\"VideoTracks\":[{\"Count\":3,\"Duration\":22.66,\"VideoTrackClips\":[{\"Id\":\"VCLIP_89425482\",\"VideoId\":\"07c2b35dd*****8b8c3e45e456a41\",\"Title\":\"487_副本 6\",\"Index\":0,\"CutFlag\":true,\"TextFlag\":true,\"DeWatermarkFlag\":false,\"Duration\":9.42,\"VirginDuration\":9.42,\"Width\":640,\"Height\":360,\"URL\":\"http://vod.testte*****ideo.cn/07c2b35dd*****8b8c3e45e456a41/c228bc42b97047299108*****0868389f86cc3f.mp4\",\"CoverURL\":\"\",\"SpriteURLs\":\"http://vod.testte*****ideo.cn/material_big_snapshot/07c2b35dd*****8b8c3e45e456a4100001.jpg?auth_key=\",\"In\":5.74,\"Out\":15.16,\"TimelineIn\":0,\"TimelineOut\":9.42,\"Effects\":[{\"Type\":\"Text\",\"Name\":\"横幅文字\",\"Font\":\"SimSun\",\"FontFace\":{\"Bold\":false,\"Italic\":false,\"Underline\":false},\"FontColor\":\"#ffffff\",\"FontSize\":20,\"FontColorOpacity\":1,\"Content\":\"test\",\"X\":\"0.3000\",\"Y\":\"0.7000\",\"Bold\":\"false\",\"Italic\":\"false\",\"Underline\":\"false\",\"Height\":23.599999999999998,\"Width\":41,\"FEHeight\":281.25,\"FEWidth\":500,\"In\":5.74,\"Out\":15.16,\"TimelineIn\":0,\"TimelineOut\":9.42}]},{\"Id\":\"VCLIP_77584432\",\"VideoId\":\"0f325c157*****5456f2a7e91b2ff\",\"Title\":\"487_副本 6\",\"Index\":1,\"CutFlag\":true,\"TextFlag\":false,\"DeWatermarkFlag\":true,\"Duration\":7.5,\"VirginDuration\":15.16,\"Width\":640,\"Height\":360,\"URL\":\"http://vod.testte*****ideo.cn/0f325c157*****5456f2a7e91b2ff/ba9dd0e93a4c4ec288*****c9d0868389f86cc3f.mp4\",\"CoverURL;\":\"\",\"SpriteURLs\":\"http://vod.testte*****ideo.cn/material_big_snapshot/0f325c157*****5456f2a7e91b2ff00001.jpg?auth_key=\",\"In\":0,\"Out\":7.5,\"TimelineIn\":9.42,\"TimelineOut\":16.92,\"Effects\":[{\"Type\":\"DeWatermark\",\"Name\":\"水印/遮标\",\"SubType\":\"Delogo_Blur\",\"X\":\"0.7660\",\"Y\":\"0.0333\",\"Width\":100,\"Height\":50,\"FEHeight\":281.25,\"FEWidth\":500,\"In\":0,\"Out\":7.5,\"TimelineIn\":9.42,\"TimelineOut\":16.92}]},{\"Id\":\"VCLIP_9q3704kl\",\"Title\":\"487_副本 6\",\"VideoId\":\"07c2b35d*****c3e45e456a41\",\"Index\":2,\"CutFlag\":true,\"TextFlag\":true,\"DeWatermarkFlag\":true,\"Duration\":5.74,\"VirginDuration\":15.16,\"URL\":\"http://vod.testte*****ideo.cn/07c2b35d*****c3e45e456a41/c228bc42b97047299108f*****a15c59c9d0868389f86cc3f.mp4\",\"CoverURL\":\"\",\"SpriteURLs\":\"http://vod.testte*****ideo.cn/material_big_snapshot/07c2b35d*****c3e45e456a4100001.jpg?auth_key=\",\"Width\":640,\"Height\":360,\"In\":0,\"Out\":5.74,\"TimelineIn\":16.92,\"TimelineOut\":22.66,\"Effects\":[{\"Type\":\"Text\",\"Name\":\"横幅文字\",\"Font\":\"SimSun\",\"FontFace\":{\"Bold\":false,\"Italic\":false,\"Underline\":false},\"FontColor\":\"#ffffff\",\"FontSize\":20,\"FontColorOpacity\":1,\"Content\":\"logo\",\"X\":\"0.3000\",\"Y\":\"0.7000\",\"Bold\":\"false\",\"Italic\":\"false\",\"Underline\":\"false\",\"Height\":23.599999999999998,\"Width\":41,\"FEHeight\":281.25,\"FEWidth\":500,\"In\":0,\"Out\":5.74,\"TimelineIn\":16.92,\"TimelineOut\":22.66},{\"Type\":\"DeWatermark\",\"Name\":\"水印/遮标\",\"SubType\":\"Delogo_Blur\",\"X\":\"0.0300\",\"Y\":\"0.0547\",\"Width\":100,\"Height\":50,\"FEHeight\":281.25,\"FEWidth\":500,\"In\":0,\"Out\":5.74,\"TimelineIn\":16.92,\"TimelineOut\":22.66}]}]}],\"AudioTracks\":[{\"Count\":0,\"Duration\":0,\"AudioTrackClips\":[]}]}"
    }
}

错误码

访问错误中心查看更多错误码。

SDK示例

建议使用 服务端SDK 来调用API,此API各语言调用的示例代码,请参考如下: