POST
/
v1
/
team
/
datasets
/
{datasetId}
/
datasources
/
{datasourceId}
/
presign
curl --request POST \
  --url https://ai.data.cloud/api/v1/team/datasets/{datasetId}/datasources/{datasourceId}/presign \
  --header 'Content-Type: application/json' \
  --header 'x-pd-api-key: <api-key>' \
  --data '{
  "expireIn": 600
}'
{
  "code": 0,
  "data": {
    "presignedUrl": "string",
    "expireAt": "2024-11-13T14:15:22.123Z"
  }
}

Authorizations

x-pd-api-key
string
header
required

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

Response

200 - application/json

The response is of type object.