Make a jabbertoon.com link that opens a move or a character
share_linkTurns a Jabbertoon move (a block program of kind "behaviour") or a character into a jabbertoon.com link the person can open in their browser. Everything travels inside the link after the #, so nothing is uploaded or stored, by Jabbertoon or by this tool. A move opens in the block editor, where it plays on a character (links.studio adds it to the person's moves in the cartoon studio); a character opens in the cartoon studio (links.create opens it in the character creator). Give exactly one of program, cartoon or character. No link plays a scene or a whole cartoon yet: for a program of kind "scene" or "cartoon", or a cartoon file, the answer is ok false with error code "not_yet" and no link (validate checks one now). A move or a character is checked first: one with errors gets ok false and the errors (as validate gives them) instead of a link.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cartoon | No | A saved cartoon file: {"cast"?, "places"?, "program"}. Links that play one are coming in the next release: the answer is not_yet. | |
| program | No | A move: a block program {"v": 1, "kind": "behaviour", "scripts": [...]}, as get_move returns. A program of kind "scene" or "cartoon" gets not_yet. | |
| character | No | A character: {"name": "...", "content": {...}}, the content of a character pack (tree, legs, kind, height, footprint, ...), or a whole character pack. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| url | Yes | The jabbertoon.com page the link opens (with not_yet, the page that says what links open today). | |
| code | No | The share code: base64url of the UTF-8 canonical JSON, no padding; the part after #c=. | |
| kind | No | behaviour, scene, cartoon or character. | |
| link | No | The link to give the person. | |
| error | No | ||
| links | No | Every page that opens it: blocks, studio, create. | |
| notes | No | ||
| errors | No | The errors, in order: the first 50 at most (error_count says how many there are). | |
| length | No | The link's length in characters. | |
| warnings | No | The warnings, in order: the first 50 at most (warning_count says how many there are). | |
| error_count | No | How many errors the checks found. | |
| warning_count | No | How many warnings the checks found. |