API to manage hidden flag "disabled by user" in schema config
I recently submitted a support case to get some clarification on the expected behavior of "Schema change settings -> Allow all new data".
When items in the schema config are manually deselected, there is a hidden flag that gets set that prevents the items from being auto selected by the "Schema change settings" functions. This functionality makes sense and is what I would expect.
It would be ideal if I could see this flag, and set/unset it for specific items using an API. I would expect something like this to be in the connection schema api
https://fivetran.com/docs/developer-resources/rest-api/api-reference/connection-schema
I can work around this with more explicit checks and processes in my replication config automation, but having visibility into that hidden flag would be very helpful.
-
Hey Troy,
This is Ryan, the PM for our developer tooling. The flag you're referring to is actually the enabled field; it's not a separate setting. You'll see it with the Retrieve a Connection Schema Config API call and set it with any of the update calls. When a connection is set to "Allow all new data", the enabled state is tracked so that previously disabled objects are not reenabled.
Does that address what you're asking or am I misunderstanding?
Best,
Ryan
Please sign in to leave a comment.
Comments
1 comment