Skip to main content

UpdateCustomConnectorDraftInput

Replaces the draft's files as a whole. Fails with CUSTOM_CONNECTOR_REVISION_CONFLICT (409, extensions.context { expected_revision, current_revision }) without writing when the draft moved past expected_revision.

input UpdateCustomConnectorDraftInput {
expected_base_digest: String
expected_revision: Int!
files: JSONObject!
manifest_json: JSONObject
test_run_config_json: JSONObject
}

Fields​

UpdateCustomConnectorDraftInput.expected_base_digest ● String scalar​

Required when the draft is a fork: fork.base.digest as read. When the base moved since, the save fails with CUSTOM_CONNECTOR_BASE_CHANGED (409, extensions.context { expected_base_digest, current_base_digest }) without writing, because the content the caller edited is stale.

UpdateCustomConnectorDraftInput.expected_revision ● Int! non-null scalar​

UpdateCustomConnectorDraftInput.files ● JSONObject! non-null scalar​

UpdateCustomConnectorDraftInput.manifest_json ● JSONObject scalar​

Omitted or null keeps the current manifest. A changed manifest.key renames the tenant connector with the draft.

UpdateCustomConnectorDraftInput.test_run_config_json ● JSONObject scalar​

The builder's Run config (test credentials). Write-only over GraphQL: no field returns it, and only the connector builder in the Owlie dashboard shows it again, with secret values redacted. Omitted keeps the current run config; null clears it.

Member Of​

updateCustomConnectorDraft mutation