Upload Test Plan evidence
traceable_test_plan_evidence_uploadUpload a file as evidence on a Test Plan entry (or one of its test steps). Pass the file as base64 in content with its name. An image (PNG, JPEG, GIF, WebP, detected from the bytes, not the name) is shown inline in the Evidence column, exactly as an editor upload is. Any other file type is added to the project's Reference Library, referenced by this document, and attached as a file chip labelled in the document's citation format; its text is indexed for traceable_library_search where the type allows (the result says indexed). Entries belong to the Test Plan, not to this document: every document bound to the plan (boundDocuments in traceable_test_plan_read) shows the same entries, and they stay on the plan if this document is archived or deleted. At most 3 MB per file. Calling it twice uploads twice. The Test Plan row goes to review.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| row | Yes | Identify the Test Plan row by itemId or atOrder (pass one). | |
| name | Yes | The file name, e.g. "torque-trace.png" or "calibration.pdf" | |
| step | No | A test step, numbered from 1; omit for the entry's own evidence | |
| entry | Yes | Identify the entry by entryId or protocol (pass one). | |
| content | Yes | The file content, base64-encoded (a data: URL prefix is accepted) | |
| documentId | Yes | The document holding the Test Plan row |