All Products
Search
Document Center

ApsaraVideo VOD:GetEditingProject

Last Updated:Nov 09, 2022

Authorization information

The following table is the authorization information corresponding to the API, which can be found in the RAM permission policy statement.Action Used in the element to grant the RAM user or RAM role permission to call this API. The specific instructions are as follows:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All resources is used in the Resource type column of the operation.
  • Condition keyword: refers to the condition keyword defined by the cloud product itself.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
Operateaccess levelResource typeconditional keywordAssociation operation
vod:GetEditingProjectRead
  • VOD
    acs:vod:*:{#accountId}:*
    without
without

Request parameters

ParameterTypeRequiredDescriptionExample
ProjectIdstringYes

The ID of the online editing project.

fb2101bf24b27*****54cb318787dc

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

63E8B7C7-4812-46*****AD-0FA56029AC86
Projectobject

The information about the online editing project.

StorageLocationstring

The path of the Object Storage Service (OSS) bucket where the online editing project is stored.

NoteTo view the path of the OSS bucket, log on to the ApsaraVideo VOD console, and choose Configuration Management > Media Management > Storage. On the Storage page, you can view the path of the OSS bucket.
location_s
Statusstring

The status of the online editing project. Separate multiple states with commas (,). By default, all online editing projects were queried. Valid values:

  • Normal: indicates that the online editing project is in draft.
  • Producing: indicates that the video is being produced.
  • Produced: indicates that the video was produced.
  • ProduceFailed: indicates that the video failed to be produced.
Normal
CreationTimestring

The time when the online editing project was created. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.

2017-10-23T13:33:40Z
ModifiedTimestring

The last time when the online editing project was modified. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.

2017-10-23T14:27:26Z
Descriptionstring

The description of the online editing project.

testdescription
CoverURLstring

The thumbnail URL of the online editing project.

https://****.com/6AB4D0E1E1C74468883516C2349****.png
ProjectIdstring

The ID of the online editing project.

fb2101bf24b27*****54cb318787dc
Timelinestring

The timeline of the online editing project.

{\"TimelineIn\":0,\"TimelineOut\":9.42}
Titlestring

The title of the online editing project.

video_1508736815000
RegionIdstring

The region where the online editing project was created.

cn-shanghai

Example

Normal return example

JSONFormat

{
  "RequestId": "63E8B7C7-4812-46*****AD-0FA56029AC86",
  "Project": {
    "StorageLocation": "location_s",
    "Status": "Normal",
    "CreationTime": "2017-10-23T13:33:40Z",
    "ModifiedTime": "2017-10-23T14:27:26Z",
    "Description": "testdescription",
    "CoverURL": "https://****.com/6AB4D0E1E1C74468883516C2349****.png",
    "ProjectId": "fb2101bf24b27*****54cb318787dc",
    "Timeline": "{\\\"TimelineIn\\\":0,\\\"TimelineOut\\\":9.42}",
    "Title": "video_1508736815000",
    "RegionId": "cn-shanghai"
  }
}

Error codes

For a list of error codes, visit the API error center.