BizKitHub
DokumentacjaEksplorator APIDisk/api/v1/disk/store-blob
postDiskPubliczne API v1

/api/v1/disk/store-blob

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).

diskpostApiV1DiskStore-blob

Parametry

Treść JSON

Treść żądania

application/json
filestringWymaganebinary

Binary file payload.

Domyślnie: File
blobPathstringOpcjonalne

Optional storage directory prefix.

tagstringOpcjonalne

Optional metadata label.

Schemat odpowiedzi

1 udokumentowany kod statusu

200Sukces

Ta odpowiedź nie ma treści JSON.

Przykład odpowiedzi

application/json
{
  "success": true
}

Przykład żądania

POST /api/v1/disk/store-blob

post
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"
}'

Potrzebujesz klucza API?

Wszystkie publiczne endpointy BizKitHub API uwierzytelniają się kluczem API.

Uzyskaj klucz API