/scripts/fetch

Gets a script by id.

Query Params
string
required

Id of the script.

string | null

If set, the specified branch will be used to retrieve the script.

string | null
enum

If set, the specified environment will be used to retrieve the script.

Allowed:
string | null
enum

If set, the code will be returned in the response.

Allowed:
Headers
string

ID of the org that is perfoming the operation (not necessary when using a third party key)

Responses

400

No such script or other bad request.

412

Cannot fulfill branch or environment constraint.

Language
Credentials
Header
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json