ScriptVersion object

Example JSON representation

{
  "added": "2013-01-01T12:34:56.789Z", 
  "body": "string", 
  "script": {
    "id": 1
  }, 
  "version": 1
}

Properties

property attributes valid values description filter option
body
string
required

The content of this ScriptVersion. This content will be validated according to the Script's OS Type.

script
ScriptForeignKey object
required
create-only
filterable

The Script this ScriptVersion is a version of.

Pass the id of the object you are referencing in:
?script=...
added
string
read-only
version
integer
read-only

The Script version number. null is interpreted as the latest Version.

Endpoints using this object