Share a diagram
diagram_shareDestructive
publish makes a diagram readable by anyone at its link; unpublish makes it private. link makes a share link showing its images, not its scene, to anyone who has it; unlink revokes them all. report sends one version to Zindex support. feedback sends Zindex staff a bug, docs (the docs and engine disagree), request or other; id or snippet attaches a diagram. Asks the user to confirm publish, link, report and feedback.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The diagram's id or key | |
| kind | No | ||
| action | Yes | ||
| confirm | No | Token from CONFIRMATION_REQUIRED | |
| problem | No | For report: what is wrong, in one line | |
| snippet | No | A scene or Mermaid, 64 KB at most | |
| summary | No | For feedback, required: one line | |
| expected | No | ||
| observed | No | ||
| revision | No | For report or feedback; default the latest | |
| anonymize | No | For report and feedback; default true | |
| confidence | No |