whodb_platform_source_create
Prepare creation of a hosted WhoDB source in the selected project; returns a confirmation token to approve before saving.
Instructions
Prepare creation of a hosted WhoDB source in the selected project.
This stores nothing until the returned confirmation token is approved with whodb_platform_confirm. Pass source_type, name, connection fields, and advanced options. Do not call whodb_platform_confirm until the user approves the confirmation preview. Accepts workspace {host, org, project} for per-call targeting without changing defaults.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Source display name | |
| port | No | ||
| advanced | No | ||
| database | No | ||
| hostname | No | ||
| password | No | ||
| username | No | ||
| workspace | No | Optional target for this call only. Omit to use the session default set by whodb_platform_session_use, then process/saved defaults. Discover targets with whodb_platform_hosts, whodb_platform_orgs and whodb_platform_projects. | |
| source_type | Yes | Hosted source type id |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| scope | No | ||
| source | No | ||
| status | No | ||
| warning | No | ||
| commands | No | ||
| workspace | No | Optional target for this call only. Omit to use the session default set by whodb_platform_session_use, then process/saved defaults. Discover targets with whodb_platform_hosts, whodb_platform_orgs and whodb_platform_projects. | |
| next_steps | No | ||
| request_id | No | ||
| setup_status | No | ||
| confirmation_token | No | ||
| confirmation_action | No | ||
| confirmation_expiry | No | ||
| confirmation_preview | No | ||
| confirmation_required | No |