curl -X PUT https://stream.tonbo.dev/ds/demo
Buckets
Create bucket
Create a new bucket to organize streams.
PUT
/
ds
/
{bucket}
curl -X PUT https://stream.tonbo.dev/ds/demo
string
required
Bucket ID. Must match
[a-z0-9_-]{4,64}.Response
| Status | Meaning |
|---|---|
201 | Bucket created successfully. |
400 | Invalid bucket ID. |
409 | Bucket already exists. |
curl -X PUT https://stream.tonbo.dev/ds/demo
Write requests are automatically forwarded to the cluster leader. If the current node is not the leader, you will receive a
307 redirect with a Location header pointing to the leader.
