Storage
Ajiye fayilolin da masu amfaninka suka loda
Lodawa kai tsaye, hanyoyi masu sa hannu da sigogi, ba tare da wucewa da bytes ta sabar ka ba.
Fara
Matakai uku
- Ƙirƙiri bucketNa sirri bisa tsoho
- Loda kai tsaye zuwa ajiyaDama ta ɗan lokaci, sannan kiran commit
- Raba kuma ka dawo daHanya mai sa hannu da ke ƙarewa; ana ajiye kowace siga
- Yana aiki ta MCP, CLI ko API
- Biya kafin amfani, babu lissafi daga baya
- Iyakarka, faɗakarwa a 75%
curl -X POST https://api.galon.ai/v1/storage/buckets/{bucket_id}/uploads \
-H "Authorization: Bearer gln_test_••••" \
-H "Content-Type: application/json" \
-d '{"key": "menu/espresso.jpg", "size_bytes": 421888, "checksum": "{sha256}"}'
# then PUT the bytes to the returned URL and commit
curl -X POST https://api.galon.ai/v1/storage/uploads/{upload_id}/commit \
-H "Authorization: Bearer gln_test_••••"# your coding agent, Galon's MCP server connected > Upload menu/espresso.jpg to the akwaba bucket and give me a 24-hour link # the agent calls start_upload, commit_upload