Get a StackScript

Returns all of the information about a specified StackScript, including the contents of the script.

linode-cli stackscripts view 10079
Learn more...
stackscripts:read_only
Learn more...
Path Params
string
required

Enum Call either the v4 URL, or v4beta for operations still in Beta.

string
required

The ID of the StackScript to look up.

Responses

Response body
object
date-time

Read-only The date this StackScript was created.

integer

Read-only Count of currently active, deployed Linodes created from this StackScript.

integer

Filterable, Read-only The total number of times this StackScript has been deployed.

string

Filterable A description for the StackScript.

integer

Read-only The unique ID of this StackScript.

images
array of strings

An array of Image IDs. These are the Images that can be deployed with this StackScript.

any/all indicates that all available Images, including private Images, are accepted.

images
boolean

Filterable This determines whether other users can use your StackScript. Once a StackScript is made public, it cannot be made private.

string
length between 3 and 128

Filterable The StackScript's label is for display purposes only.

boolean

Filterable, Read-only Returns true if this StackScript is owned by the account of the user making the request, and the user making the request is unrestricted or has access to this StackScript.

string

Filterable This field allows you to add notes for the set of revisions made to this StackScript.

string

The script to execute when provisioning a new Linode with this StackScript.

date-time

Read-only The date this StackScript was last updated.

user_defined_fields
array of objects

Read-only This is a list of fields defined with a special syntax inside this StackScript that allow for supplying customized parameters during deployment. See Declare User-Defined Fields (UDFs) for more information.

user_defined_fields
object
string

Read-only The default value. If not specified, this value will be used.

string
required

Read-only An example value for the field.

string
required

Read-only A human-readable label for the field that will serve as the input prompt for entering the value during deployment.

string

Read-only A list of acceptable values for the field in any quantity, combination or order.

string
required

Read-only The name of the field.

string

Read-only A list of acceptable single values for the field.

string

Read-only The Gravatar ID for the User who created the StackScript.

string

Read-only The User who created the StackScript.

Language
Credentials