Object Store Management
Upload Object Store Files
Request
Upload files to the Object Store. The /object/set
API accepts requests in the following format:
SetObjectStoreRequest Model - Request to upload a file to an Object Store of a specific organization and key. | |
---|---|
organizationId | string Organization id we'd like to upload the file to. |
key | string Key to the Object Store file. |
Example |
{ "organizationId": "string", "key": "string" } |
The /object/set
API requires a file request in the following format:
ObjectStoreBinaryFile Model | |
---|---|
objectData | binary /. |
Example |
{ "objectData": b"Hello, world!" } |
Responses
The /object/set
API provides a response in the following format:
200 Success
RestResponse Model - Base API response class for the QuantConnect API. | |
---|---|
success | boolean Indicate if the API request was successful. |
errors | string Array List of errors with the API call. |
Example |
{ "success": true, "errors": [ "string" ] } |
401 Authentication Error
UnauthorizedError Model - Unauthorized response from the API. Key is missing, invalid, or timestamp is too old for hash. | |
---|---|
www_authenticate | string Header |