Create Artifact (Metadata Only)
Creates an artifact metadata record without uploading binary content. Use this when the file is stored externally and you want to register it in Docyard’s catalog.Path Parameters
| Parameter | Type | Description |
|---|---|---|
dockId | string | The dock ID |
Request Body
| Parameter | Type | Required | Description |
|---|---|---|---|
filename | string | Required | The artifact filename |
metadata | object | Optional | Arbitrary key-value metadata |
Example Request
Response
Error Handling
| Status | Condition |
|---|---|
400 | filename is missing or empty |
401 | Missing or invalid API key |
404 | Dock not found |