curl --request POST \
--url http://localhost:9601/workspaces/{ws_id}/config/sync \
--header 'Content-Type: application/json' \
--data '
{
"endpoints": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"enabled": true,
"request": {
"method": "POST",
"headers": null,
"timeout": 10000
},
"retry": {
"strategy": "fixed",
"config": {
"attempts": [
0,
60,
3600
]
}
},
"events": [],
"metadata": {},
"rate_limit": {
"quota": 1,
"period": 2
},
"plugins": [
{
"id": "<string>",
"name": "<string>",
"enabled": true,
"endpoint_id": "<string>",
"source_id": "<string>",
"config": {},
"metadata": {}
}
]
}
],
"sources": [
{
"config": {
"http": {
"methods": [
"POST"
]
}
},
"id": "<string>",
"name": "<string>",
"enabled": true,
"type": "http",
"async": false,
"metadata": {},
"rate_limit": {
"quota": 1,
"period": 2
},
"plugins": [
{
"id": "<string>",
"name": "<string>",
"enabled": true,
"endpoint_id": "<string>",
"source_id": "<string>",
"config": {},
"metadata": {}
}
]
}
]
}
'curl --request POST \
--url http://localhost:9601/workspaces/{ws_id}/config/sync \
--header 'Content-Type: application/json' \
--data '
{
"endpoints": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"enabled": true,
"request": {
"method": "POST",
"headers": null,
"timeout": 10000
},
"retry": {
"strategy": "fixed",
"config": {
"attempts": [
0,
60,
3600
]
}
},
"events": [],
"metadata": {},
"rate_limit": {
"quota": 1,
"period": 2
},
"plugins": [
{
"id": "<string>",
"name": "<string>",
"enabled": true,
"endpoint_id": "<string>",
"source_id": "<string>",
"config": {},
"metadata": {}
}
]
}
],
"sources": [
{
"config": {
"http": {
"methods": [
"POST"
]
}
},
"id": "<string>",
"name": "<string>",
"enabled": true,
"type": "http",
"async": false,
"metadata": {},
"rate_limit": {
"quota": 1,
"period": 2
},
"plugins": [
{
"id": "<string>",
"name": "<string>",
"enabled": true,
"endpoint_id": "<string>",
"source_id": "<string>",
"config": {},
"metadata": {}
}
]
}
]
}
'