[{"label":"Latest (1.0)","version":"latest"}]
srs-for-vsphere

Get Argument Scripts Template

Description

This operation returns argument script template for the specified template id.

Request

Request

URL

URL


get
https://{api_host}/api/argument-scripts/templates/{id}
Copy

Path Parameters

Path Parameters

string
id Required

The Id of the argument script template


Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK returns ArgumentScriptTemplate of type application/json

An argument script template for the given id

{
	"id": "string",
	"placeholders": [
		"string"
	],
	"result_type": "string",
	"script_runtime": "string",
	"script_template": "string"
}
string
id Optional

Unique identifier for the object.


array of string
placeholders Optional

The script template placeholders that has to be replaced by strings to produce a valid script.


string
result_type Optional

Type name of the object that is produced by the script template.


string
script_runtime Optional

ScriptRuntime on which this script can be executed.


string
script_template Optional

The script template.

No error details were provided in the OpenAPI specification.

Code Samples

Code Samples

cURL Command

curl https://{api_host}/api/argument-scripts/templates/{id}


[{"label":"Latest (1.0)","version":"latest"}]
srs-for-vsphere
Feedback

Was this page helpful?