Connection Operations
Update an existing connection by id.
Requires permissions matching:
- connection:write:default.<name> for both old and new name
- stream:read-data:default.<stream-name> on attached streams for sink connections
- stream:write-data:default.<stream-name> on attached streams for source connections
patch/connections/{id}
Request
- Base URLhttps://replace-with-account.api.decodable.co/v1alpha2
- Auth
- HTTP bearer
- or OAuth 2Authorization codehttps://auth.decodable.co/authorize?audience=https://api.decodable.co/Token URLhttps://auth.decodable.co/oauth/tokenScopeswrite:connection
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
response_schema_v'v1' | 'v2'
The response schema version to use. Defaults to v1. When v1, the response will include the schema field. When v2, the response will include the schema_v2 field.
Request body
Example request
{
"stream_mappings": [
{
"stream_id": "abcd1234"
}
],
"stream_id": "abcd1234",
"autoscale_configuration": {
"pause_conditions": {
"max_record_read_rate": {
"record_count": "100",
"duration_seconds": "300"
},
"max_job_runtime": {
"duration_seconds": "3600"
}
},
"resume_conditions": {
"schedule": {
"cron_expression": "0 8 * * *"
}
}
}
}Response
A connection update response.
Example response
{
"operator-chaining": "true"
}Changes
No recorded changes to this operation across all 1 revision of this API.