Data sources
Presign data source
Generates a presigned URL to access the specified data source.
POST
/
v1
/
datasets
/
{datasetId}
/
datasources
/
{datasourceId}
/
presign
Authorizations
Headers
The external trace ID. The length ranges from 0 to 128 characters.
Path Parameters
The ID of the dataset that contains the target data source.
The data source ID.
Body
application/json
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
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.
The returned data object.