curl --request POST \
--url https://api.example.com/streams \
--header 'Content-Type: application/json' \
--data '
{
"stream": "<string>",
"config": {
"storage_class": "<string>",
"retention_policy": {},
"timestamping": {
"mode": "<string>",
"uncapped": true
},
"delete_on_empty": {
"min_age_secs": 123
}
}
}
'