stackscript.list()

Lists StackScripts you have access to.

Parameters

  • StackScriptID - numeric (optional) Limits the list to the specified StackScriptID

Example Response

{
   ERRORARRAY: [ ],
   DATA: [
      {
         SCRIPT: "#!/bin/bash
                  # this is the content of the first StackScript",
         DESCRIPTION: "",
         DISTRIBUTIONIDLIST: "77,78",
         LABEL: "StackScript001",
         DEPLOYMENTSTOTAL: 1,
         LATESTREV: 1,
         CREATE_DT: "2012-05-22 16:35:42.0",
         DEPLOYMENTSACTIVE: 1,
         STACKSCRIPTID: 1,
         REV_NOTE: "Initial import",
         REV_DT: "2012-05-22 16:35:42.0",
         ISPUBLIC: 1,
         USERID: 91886
      },
      {
         SCRIPT: "#!/bin/bash
                  # this is the content of the other script",
         DESCRIPTION: "",
         DISTRIBUTIONIDLIST: "77,78",
         LABEL: "StackScript002",
         DEPLOYMENTSTOTAL: 0,
         LATESTREV: 2,
         CREATE_DT: "2012-05-22 17:12:48.0",
         DEPLOYMENTSACTIVE: 0,
         STACKSCRIPTID: 2,
         REV_NOTE: "Initial import",
         REV_DT: "2012-05-22 17:12:48.0",
         ISPUBLIC: 1,
         USERID: 91886
      }
   ],
   ACTION: "stackscript.list"
}

Errors

None.