Monitors

Overenie
API kľúč sa odosiela ako Bearer token v hlavičke Authorization. Získať API kľúč.
Vytvoriť

API endpoint

POST
https://send.sk/api/v1/files

Príklad požiadavky

curl --location --request POST 'https://send.sk/api/v1/files' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Bearer {api_key}' \
--form 'transfer_uuid={transfer_uuid}' \
--form 'uuid={uuid}' \
--form 'part_index={part_index}' \
--form 'total_parts={total_parts}' \
--form 'part={/path/to/file}'

Parameters

Meno
Typ
Popis
transfer_uuid
povinné string
UUID prenosu.
uuid
povinné string
UUID.
part_index
povinné integer
Číslo časti súboru, ktorá sa má nahrať. Musí začínať: číslom.
total_parts
povinné integer
Celkový počet častí súboru.
part
povinné file
Časť súboru.