Hostingsurge Storage API
The Storage API from Hostingsurge — 17 operation(s) for storage.
Operations 28
PATCH
/storage/buckets/{bucketId}
Change visibility (public/private), quota, object limit, CORS rules or the…
#
GET
/storage/buckets/{bucketId}/objects
Files and folders below a prefix ("/"-delimited), paged with cursor
#
PUT
/storage/buckets/{bucketId}/objects
Upload one file (raw body, up to 100 MiB; Content-Type becomes the file's type).
#
POST
/storage/buckets/{bucketId}/objects
Write a small file (≤ 5 MiB) from JSON: {key, content, encoding: utf8|base64…
#
GET
/storage/buckets/{bucketId}/objects/content
Read a small file (≤ 1 MiB) inline: utf8 for text types, base64 otherwise
#
POST
/storage/buckets/{bucketId}/presign
A presigned GET (download) or PUT (upload) URL for one key, valid 1 minute to 7…
#
POST
/storage/buckets/{bucketId}/connect
Connect the bucket to a project: new bucket-scoped key + S3_ENDPOINT…
#
POST
/storage/vercel-blob-stores
Create a Vercel Blob-compatible store for a project: unchanged @vercel/blob…
#
DELETE
/storage/vercel-blob-stores/{storeId}
Delete the store and every file in it (confirm with the store id)
#
POST
/storage/vercel-blob-stores/{storeId}/rotate
A new read-write token (the old one stops working within 5 seconds); update…
#
PATCH
/global-configs/{configId}/items
Create, update, upsert or delete items (live for the app within 5 seconds)
#
POST
/global-configs/{configId}/rotate
A new connection string (the old token stops working within 5 seconds); update…
#
Specifications
Schemas & Data
JSONSchema
https://artifacts.apis.io/hostingsurge-com/json-schema/hostingsurge-com-builder-visual-op-schema.json
JSONSchema
https://artifacts.apis.io/hostingsurge-com/json-schema/hostingsurge-com-policy-templates-input-body-schema.json
JSONSchema
https://artifacts.apis.io/hostingsurge-com/json-schema/hostingsurge-com-pending-changes-input-body-schema.json
JSONSchema
https://artifacts.apis.io/hostingsurge-com/json-schema/hostingsurge-com-confirm-prices-input-body-schema.json
JSONSchema
https://artifacts.apis.io/hostingsurge-com/json-schema/hostingsurge-com-collection-input-body-schema.json
JSONSchema
https://artifacts.apis.io/hostingsurge-com/json-schema/hostingsurge-com-create-shop-input-body-schema.json