Upload a CSV file for ingestion
Upload a CSV file and queue it for ingestion.
The file is accepted synchronously and processed asynchronously. The
response contains a record describing the upload; its status begins
as pending and transitions to processing and then completed
(or failed) as ingestion proceeds.
Parameters
file : multipart file.
The CSV file to upload.
slug : str.
The data category for this upload (e.g. kyc_cert_policy,
kyb_cert_policy). Must be one of the categories supported for
your account.
Returns
file_upload : FileUpload.
The created upload record, including its id and current
status.
Raises
ValidationError.
If the file name or slug is invalid.
Examples
>>> curl -X POST https://app.solo.one/file-upload/ingest \
... -H "Authorization: Bearer $TOKEN" \
... -F "file=@sample.csv" \
... -F "slug=kyc_cert_policy"
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Response
Successful Response