Skip to main content
POST
Share a named snapshot

Authorizations

Authorization
string
header
required

Boat bearer token in the form boat_.... Service API keys authenticate sandbox operations.

Path Parameters

name
string
required

Response

Code created. Store shareCode now; Boat does not show it again.

ok
boolean
required
Example:

true

type
string
required

Stable success envelope discriminator added by v1.

Allowed value: "snapshot.share.created"
name
string
required

The named snapshot the code deploys.

shareCode
string
required

The share code, for example bsh_.... Boat shows it only in this response. Store it now; you cannot get it again.

share
object
required

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.