Skip to main content
POST
Store a tap script

Authorizations

x-api-key
string
header
required

Optional API key for authentication (enabled via application.yaml)

Body

application/json
tapName
string
required
script
string
required

Python script body to store

oldScriptPath
string

Path of a previous script to delete after the new one is written

storage
enum<string>

Explicit storage backend override

Available options:
minio,
github
baseCommitSha
string

Repo storage only — the commit the editor loaded the script at. If the file changed in the repository since, the write is rejected with 409 instead of overwriting.

Response

Reference of the saved script (fields depend on the backend)

scriptPath
string | null
storage
enum<string>
Available options:
minio,
github
scriptRepoPath
string | null
scriptCommitSha
string | null