Dateien
POST https://yocado.com/files/create_api
Parameter | Details | Beschreibung |
---|---|---|
uuid | Erforderlich String | - |
chunk_index | Erforderlich Ganze Zahl | - |
total_chunks | Erforderlich Ganze Zahl | - |
file_name | Erforderlich String | - |
file | Erforderlich Datei | - |
password | Wahlweise String | - |
file_encryption_is_enabled | Wahlweise Boolean | - |
curl --request POST \
--url 'https://yocado.com/files/create_api' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'uuid=de09be56-639f-4213-863b-5ea1aa065970' \
--form 'chunk_index=0' \
--form 'total_chunks=1' \
--form 'file_name=example.pdf' \
--form 'file=example.pdf' \
--url 'https://yocado.com/files/create_api' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'uuid=de09be56-639f-4213-863b-5ea1aa065970' \
--form 'chunk_index=0' \
--form 'total_chunks=1' \
--form 'file_name=example.pdf' \
--form 'file=example.pdf' \
{
"data": {
"id": 1
}
}