Create script
Spaces method and path for this operation:
<div><span class="operation-verb post">post</span> <span class="operation-path">/s/{space_id}/api/endpoint/scripts_library</span></div>Refer to Spaces for more information.
Create a new script entry by uploading a script file
Response
Action request was successfully created
Example response
{
"data": {
"description": "Collects host data for investigation",
"downloadUri": "/api/endpoint/scripts_library/123e4567-e89b-12d3-a456-426655440000/download",
"example": "./collect_host_data.sh --help",
"fileHash": "abf573681eb54aac5e05e35bf186d4d31abe45ecf242461490523f11d2a8fbb8",
"fileName": "collect_host_data.sh",
"fileSize": 12345,
"id": "123e4567-e89b-12d3-a456-426655440000",
"instructions": "Collects host data for investigation",
"name": "Collect host data",
"platform": [
"linux",
"macos"
],
"requiresInput": false
}
}Changes
Changed in 1 of the 176 revisions of this API.15
- ▲
the
request property's minLength was increased from0to1request-property-min-length-increased
- ●
the
request property's maxLength was set to10000request-property-max-length-set
- ●
the
request property's maxLength was set to10000request-property-max-length-set
- ●
the
request property's maxLength was set to10000request-property-max-length-set
- ●
the
request property's maxLength was set to256request-property-max-length-set
- ●
the
request property's maxLength was set to4096request-property-max-length-set
- ▲
Of the 176 revisions, 20 have no diff computed.