{
"opencollection": "1.0.0",
"info": {
"name": "Clear Street Uploads API",
"version": "0.0.3"
},
"items": [
{
"info": {
"name": "Uploads",
"type": "folder"
},
"items": [
{
"info": {
"name": "Create Insert Upload",
"type": "http"
},
"http": {
"method": "POST",
"url": "//api.clearstreet.io/v1/uploads/insert",
"body": {
"type": "multipart-form",
"data": [
{
"name": "file",
"type": "text",
"value": ""
}
]
}
},
"docs": "Upload the provided CSV file for processing asynchronously. Your file will be uploaded to our servers, and then subsequently processed.\n\nThe columns for a CSV file should match the JSON path dot-notation of the fields available in the insert trades endpoint. For example, the column `side.direction` would be the column header to set the direction of a trade, and the column `instrument.ticker` would set the trade's instrument ticker, etc.\n\nOur [trad"
},
{
"info": {
"name": "Create Cancel Upload",
"type": "http"
},
"http": {
"method": "POST",
"url": "//api.clearstreet.io/v1/uploads/cancel",
"body": {
"type": "multipart-form",
"data": [
{
"name": "file",
"type": "text",
"value": ""
}
]
}
},
"docs": "Upload the provided CSV file for processing cancels asynchronously.\n\nExample column headers with associated example values:\n\n| account | 100001 |
\n| trade_id | 12343 |
\n| by_client_id | false |
\n
\n"
},
{
"info": {
"name": "Get Upload By ID",
"type": "http"
},
"http": {
"method": "GET",
"url": "//api.clearstreet.io/v1/uploads/:upload_id",
"params": [
{
"name": "upload_id",
"value": "",
"type": "path",
"description": "upload_id that identifies a previously created upload"
}
]
},
"docs": "Get an existing upload. Use this endpoint when you want to the know the status of a previously created upload.\n"
}
]
}
],
"bundled": true
}