cURL
curl --request GET \ --url https://api.example.com/basins/{basin}
{ "default_stream_config": { "storage_class": "<string>", "retention_policy": {}, "timestamping": { "mode": "<string>", "uncapped": true }, "delete_on_empty": { "min_age_secs": 123 } }, "create_stream_on_append": true, "create_stream_on_read": true }
Show StreamConfig
standard
express
{"age": <seconds>}
{"infinite": {}}
Show TimestampingConfig
client-prefer
client-require
arrival
Show DeleteOnEmptyConfig
curl -X GET "https://aws.s2.dev/v1/basins/my-basin" \ -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
{ "default_stream_config": { "storage_class": "standard", "retention_policy": {"age": 604800}, "timestamping": { "mode": "client-prefer", "uncapped": false }, "delete_on_empty": { "min_age_secs": 0 } }, "create_stream_on_append": true, "create_stream_on_read": false }
404 Not Found
400 Bad Request
403 Forbidden
408 Request Timeout