https://linen.dev logo
g

gunu

06/09/2021, 8:46 AM
when updating the destination namespace using the backend API (using the connectionUpdate endpoint), is there a way to use existing
syncCatalog
for the given connection e.g.
${CONNECTION_SCHEMA_CATALOG}
Copy code
{
    "connectionId": uuid,
    "namespaceDefinition": "customformat",
    "namespaceFormat": "new_schema",
    "status": "active",
    "syncCatalog": ${CONNECTION_SYNC_CATALOG} # instead of pasting a very very long dictionary
}
u

user

06/09/2021, 3:08 PM
@gunu not at the moment — what’s the issue you’re trying to solve?
u

user

06/09/2021, 10:03 PM
wanting to rename a destination namespace (the schema name in the DB) as quick and easy as possibly ie only pass in the id, namespace definition and namespace format
p

Ping

06/09/2021, 10:05 PM
ah I see so you basically want a PATCH operation if possible
u

user

06/09/2021, 10:06 PM
it’s currently not available but could you create an issue for it?
5 Views