Secure Upload
API to be used by the clients to generate the presigned upload URL. Thus generated upload URL can then be used to send performance data to our platform.
API to be used by the clients to generate the presigned upload URL. Thus generated upload URL can then be used to send performance data to our platform.
Path parameters
workstream_idstringRequired
CloudFactory platform WorkStream ID
Header parameters
x-api-keystringRequiredExample:
API key of the associated workstream, provided by CloudFactory
loAwlMCCxv4TlpLWR8a2e6
Body
typestring · enumRequiredExample:
Type of the performance data that will be uploaded later
throughput
Possible values: use_case_idstringOptionalExample:
ID of the use case with which the performance data is associated with. [Will be provided by CloudFactory]
rr3d6802-0efa-46de-a73c-6c24f094dfcf
task_definition_idstringOptionalExample:
ID of the task definition with which the performance data is associated with. [Will be provided by CloudFactory]
032d6802-0efa-46de-a73c-6c24f094dfcf
Responses
200
Successful
application/json
400
Bad Request
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
404
Not Found
application/json
422
Validation Error
application/json
500
Internal Server Error
application/json
post
POST /v1/workstreams/{workstream_id}/performance/generate-presigned-url HTTP/1.1
Host: api.cloudfactory.app
x-api-key: loAwlMCCxv4TlpLWR8a2e6
Content-Type: application/json
Accept: */*
Content-Length: 134
{
"type": "throughput",
"use_case_id": "rr3d6802-0efa-46de-a73c-6c24f094dfcf",
"task_definition_id": "032d6802-0efa-46de-a73c-6c24f094dfcf"
}
{
"expires_at": "2023-08-10T14:39:41Z",
"file_name": "06b6780f-ab7a-40cd-9741-e2823c3e5d19-1691642381.csv",
"url": "https://example.com"
}
Last updated
Was this helpful?