Download a script's source

Exports the stored script document byte-for-byte as it was imported, so the file can be re-imported as-is. The response is an attachment whose file name is the script name converted to lowerCamelCase with a .yaml extension (a script named Tax Optimiser downloads as taxOptimiser.yaml).

Path Params
uuid
required

Id of the script.

Headers
string
^\d+\.\d+\.\d+$

Version of the API contract the client targets, in MAJOR.MINOR.PATCH format. Mandated by the Gateway standard. Not yet enforced: requests without the header, or with an unsupported value, are currently processed normally. Once enforcement is enabled, such requests will be rejected with 400 Bad Request.

string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/octet-stream
application/json