Parametre
JSON telo
Telo požiadavky
application/jsonfilestringPovinnébinaryBinary file payload.
Predvolené:
FileblobPathstringVoliteľnéOptional storage directory prefix.
tagstringVoliteľnéOptional metadata label.
Uploads a file via multipart/form-data to blob storage and returns a public download URL. Form fields: file (required, the file blob), blobPath (optional, storage directory prefix), tag (optional, metadata label).
JSON telo
filestringPovinnébinaryBinary file payload.
FileblobPathstringVoliteľnéOptional storage directory prefix.
tagstringVoliteľnéOptional metadata label.
1 zdokumentovaný stavový kód
Táto odpoveď nemá JSON telo.
{
"success": true
}POST /api/v1/disk/store-blob
curl -X POST "https://api.bizkithub.com/api/v1/disk/store-blob" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"file": "File",
"blobPath": "example_blobPath",
"tag": "example_tag"
}'Všetky verejné endpointy BizKitHub API sa overujú API kľúčom.