Common request parameters

Updated at:

The Alibaba Cloud Visual Intelligence API is a Remote Procedure Call (RPC) API. All API operations must include the common request parameters.

Request example

http://videoseg.cn-shanghai.aliyuncs.com/?Signature=NAxwl1W9ROkidJfGeZrsKUXw%2BQ****
&AccessKeyId=testId
&Action=SegmentVideoBody
&Format=JSON
&RegionId=cn-shanghai
&SignatureMethod=HMAC-SHA1
&SignatureNonce=313ef0fb-0393-464f-a6e2-59d9ca2585b1
&SignatureVersion=1.0
&Timestamp=2020-03-10T08%3A18%3A18Z
&Version=2020-03-20

Request parameters

Name

Type

Required

Description

Signature

String

Yes

The request signature. For more information about how to generate a request signature, see Request signatures.

AccessKeyId

String

Yes

The ID of the AccessKey used to access the service. For more information, see Create an AccessKey.

Action

String

Yes

The name of the API operation.

Format

String

No

The format of the response message.

Valid values: JSON (default) and XML.

RegionId

String

No

The ID of the region that the API operation supports.

Example: cn-shanghai.

SignatureMethod

String

Yes

The signature method.

The value is HMAC-SHA1.

SignatureNonce

String

Yes

A unique random number for the signature that is used to prevent replay attacks. Use a different random number for each request. For Java, generate this number using java.util.UUID.randomUUID().

SignatureVersion

String

Yes

The version of the signature algorithm.

The value is 1.0.

Timestamp

String

Yes

The request timestamp. The timestamp must be in UTC, follow the ISO 8601 standard, and be in the YYYY-MM-DDThh:mm:ssZ format.

For example, 2019-10-13T10:00:00Z corresponds to 18:00:00 on October 13, 2019 (UTC+8).

Version

String

Yes

The version number of the API operation. The format is YYYY-MM-DD.

The value is 2020-03-20.