Upload attachment
stride.upload_attachmentUpload a file to a story. Accepted mimeTypes: image/png, image/jpeg, image/gif, image/webp, application/pdf, application/zip (also .docx/.xlsx/.pptx), text/plain (logs, JSON, CSV, markdown — anything the sniffer reads as text). Pass the binary data as base64. Max 3 MB decoded (larger files: attach them in the Stride app). Binary types are validated by magic bytes against the declared mimeType; text has no magic bytes and passes on its declared text/plain. Returns the metadata + a URL to fetch the binary from REST.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Base64-encoded file body (≤ 4 MiB encoded / 3 MB decoded). | |
| storyId | Yes | Story ticket key like "ORB-526" or a Stride UUID. | |
| filename | Yes | ||
| mimeType | Yes | Declared MIME type (e.g. image/png). |