POST
/
v1
/
datasets
/
{datasetId}
/
datasources
/
{datasourceId}
/
presign

Authorizations

x-pd-api-key
string
headerrequired

Headers

x-pd-external-trace-id
string

The external trace ID. The length ranges from 0 to 128 characters.

Path Parameters

datasetId
string
required

The ID of the dataset that contains the target data source.

datasourceId
string
required

The data source ID.

Body

application/json
expireIn
integer
default: 600

The duration after which the presigned URL will expire. The value is expressed in seconds. The minimum value is 1 and is default to 600.

Response

200 - application/json
code
integer
required

Status code. 0 indicates that the operation is successful. Otherwise, the operation fails. Possible error codes include:

  • 100: Bad request.
  • 201: Request frequency limit.
  • 9999: Internal error.
  • 100001: Invalid operation.
data
object
required

The returned data object.