Share a named snapshot
Make a secret code that lets any Boat account create a sandbox from this named snapshot (boat snapshot share <name> in the CLI). The response shows the code once; Boat stores only a hash. Re-saving the name changes what the code deploys. Removing the name removes its codes. Everything on the disk is shared, so do not keep secrets in files on it. Needs snapshot.write.
Authorizations
Boat bearer token in the form boat_.... Service API keys authenticate sandbox operations.
Path Parameters
Response
Code created. Store shareCode now; Boat does not show it again.
true
Stable success envelope discriminator added by v1.
"snapshot.share.created"The named snapshot the code deploys.
The share code, for example bsh_.... Boat shows it only in this response. Store it now; you cannot get it again.
A share code for a named snapshot. Any Boat account that holds the code can create a sandbox from the snapshot. Boat stores only a hash of the code. The full code is in the create response only.