Get an example document of one kind
get_exampleRetrieve a minimal, valid JSON example for one diagram kind ready to edit, so you can identify the right field names.
Instructions
Get the smallest valid document of one kind, as JSON ready to edit: the fastest way to the right field names. kind is one exact value from list_kinds, e.g. flow. Use it after list_kinds has settled the kind, and get_schema only for a field the example leaves out. Static and local: the document drawspec example <kind> prints, under 1 KB, identical every call; it passes validate_document as is. An unknown kind is an error result naming list_kinds.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | A diagram kind, exactly as `list_kinds` names it, e.g. `flow`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||