Save a validated approved storage source and supported adapter settings.
Applies to v0.9.0. Follow the workflow guide and the API overview. Use the configured customer server origin, not the proposed documentation hostname.
POST /api/v1/admin/sources
Security administration; mutations normally also require recent identity confirmation. Source/maintenance constraints remain operation-specific.
Normal feature use requires an active trial/license; expiry can return HTTP 423 even where the contract lists only common responses.
Declared parameters
| Name | Location | Required | Schema |
|---|---|---|---|
| X-AccessScope-Request | header | True | {"type": "string", "const": "1"} |
Request body: application/json
Contract: Command.
{
"additionalProperties": true,
"type": "object",
"title": "Command"
}
Action-specific body fields
These names describe the current action/UI serializer. Required/conditional semantics are in the linked guide and backend validation; this table does not make every property mandatory.
| Field | Meaning |
|---|---|
| id | Stable record ID or selected object ID for this action; see workflow. |
| name | Action-specific value; follow the linked form/operation guide and current revision/configuration. |
| type | Action-specific value; follow the linked form/operation guide and current revision/configuration. |
| root | Exact approved native path boundary. |
| local_root | Action-specific value; follow the linked form/operation guide and current revision/configuration. |
| protocol | Action-specific value; follow the linked form/operation guide and current revision/configuration. |
| identity_mapping | Action-specific value; follow the linked form/operation guide and current revision/configuration. |
| service_account | Action-specific value; follow the linked form/operation guide and current revision/configuration. |
| read_credential_id | Action-specific value; follow the linked form/operation guide and current revision/configuration. |
| write_credential_id | Action-specific value; follow the linked form/operation guide and current revision/configuration. |
| directory_id | Saved configured directory identifier. |
| enabled | Explicit boolean configuration state, not proof of a working connection. |
| write_enabled | Action-specific value; follow the linked form/operation guide and current revision/configuration. |
| smb_protection | Action-specific value; follow the linked form/operation guide and current revision/configuration. |
| smb_authentication | Action-specific value; follow the linked form/operation guide and current revision/configuration. |
| agent | Nested remote endpoint/source/authentication settings described by the collector guide. |
| netapp | Nested verified ONTAP endpoint/SVM/volume/junction settings. |
| revision | Current optimistic record revision on an update; not an instruction to overwrite stale state. |
Declared responses
| HTTP status | Meaning/contract |
|---|---|
| 200 | Successful Response Inline contract |
| 400 | Bad Request ErrorResponse |
| 401 | Unauthorized ErrorResponse |
| 403 | Forbidden ErrorResponse |
| 409 | Conflict ErrorResponse |
| 422 | Validation Error HTTPValidationError |
Read error.code, message and correlation_id on failure. Check errors and limits. Never convert a rejected request into an empty permission result.
Side effects and evidence
Save a validated approved storage source and supported adapter settings. Responses and availability depend on current policy/state. POST alone does not mean an infrastructure mutation: read queries, test operations, proposals and local administration remain distinct from the exact change-execution endpoint.
Product baseline v0.9.0 · State schema 8 · Content reviewed 2026-11-06. This website rendering preserves the source packet's qualifiers, compatibility boundaries and acceptance status.

