{
"bucket": {
"notification": {
"delay_configs": [
{
"reset": true,
"description": "string",
"id": "string",
"filter": {
"prefix_negate": "string",
"suffix": "string",
"storage_target": [
{
"class_id": 0,
"backend_targets": [
{
"backend_id": 0,
"target_id": [
0
]
}
]
}
],
"object_size_less_than": 0,
"tag_negate": [
{
"key": "string",
"val": "string"
}
],
"owner": [
0
],
"suffix_negate": "string",
"prefix": "string",
"tag": [
{
"key": "string",
"val": "string"
}
],
"meta": [
{
"key": "string",
"val": "string"
}
],
"owner_not_found": [
"string"
],
"content_type": [
"string"
],
"meta_negate": [
{
"key": "string",
"val": "string"
}
],
"object_size_greater_than": 0
},
"create_time": "string",
"events": [
"string"
],
"destinations": [
{
"queue": "string",
"topic": "string",
"days": 0
}
]
}
],
"status": "string",
"configs": [
{
"filter": {
"prefix_negate": "string",
"suffix": "string",
"storage_target": [
{
"class_id": 0,
"backend_targets": [
{
"backend_id": 0,
"target_id": [
0
]
}
]
}
],
"object_size_less_than": 0,
"tag_negate": [
{
"key": "string",
"val": "string"
}
],
"owner": [
0
],
"suffix_negate": "string",
"prefix": "string",
"tag": [
{
"key": "string",
"val": "string"
}
],
"meta": [
{
"key": "string",
"val": "string"
}
],
"owner_not_found": [
"string"
],
"content_type": [
"string"
],
"meta_negate": [
{
"key": "string",
"val": "string"
}
],
"object_size_greater_than": 0
},
"description": "string",
"events": [
"string"
],
"topic": "string",
"create_time": "string",
"id": "string"
}
]
},
"ids": [
0
]
}
}curl --location --request POST 'http://10.16.11.91:6012/sddc/v1/v2/os/buckets/:set-notify-rules' \
--header 'x-sddc-token: 78ce2df0c80e4b10a28c7779af4dc10f' \
--header 'Content-Type: application/json' \
--data-raw '{
"bucket": {
"notification": {
"delay_configs": [
{
"reset": true,
"description": "string",
"id": "string",
"filter": {
"prefix_negate": "string",
"suffix": "string",
"storage_target": [
{
"class_id": 0,
"backend_targets": [
{
"backend_id": 0,
"target_id": [
0
]
}
]
}
],
"object_size_less_than": 0,
"tag_negate": [
{
"key": "string",
"val": "string"
}
],
"owner": [
0
],
"suffix_negate": "string",
"prefix": "string",
"tag": [
{
"key": "string",
"val": "string"
}
],
"meta": [
{
"key": "string",
"val": "string"
}
],
"owner_not_found": [
"string"
],
"content_type": [
"string"
],
"meta_negate": [
{
"key": "string",
"val": "string"
}
],
"object_size_greater_than": 0
},
"create_time": "string",
"events": [
"string"
],
"destinations": [
{
"queue": "string",
"topic": "string",
"days": 0
}
]
}
],
"status": "string",
"configs": [
{
"filter": {
"prefix_negate": "string",
"suffix": "string",
"storage_target": [
{
"class_id": 0,
"backend_targets": [
{
"backend_id": 0,
"target_id": [
0
]
}
]
}
],
"object_size_less_than": 0,
"tag_negate": [
{
"key": "string",
"val": "string"
}
],
"owner": [
0
],
"suffix_negate": "string",
"prefix": "string",
"tag": [
{
"key": "string",
"val": "string"
}
],
"meta": [
{
"key": "string",
"val": "string"
}
],
"owner_not_found": [
"string"
],
"content_type": [
"string"
],
"meta_negate": [
{
"key": "string",
"val": "string"
}
],
"object_size_greater_than": 0
},
"description": "string",
"events": [
"string"
],
"topic": "string",
"create_time": "string",
"id": "string"
}
]
},
"ids": [
0
]
}
}'