Script Templates

List Script Templates

get

Retrieves a paginated list of script templates. Can be filtered by name, hidden_from_marketplace, visible_for_marketplace, and private.

Authorizations
AuthorizationstringRequired

API key passed in the Authorization header. Format: <api-key>

Query parameters
filter[name]stringOptional

Filter results by name.

filter[hidden_from_marketplace]stringOptional

Filter results by hidden_from_marketplace.

filter[visible_for_marketplace]stringOptional

Filter results by visible_for_marketplace.

filter[private]stringOptional

Filter results by private.

filter[visibility]stringOptional

Filter results by visibility.

includestringOptional

Comma-separated list of relationships to include. Available: content, marketplace_company

sortstringOptional

Sort field. Prefix with - for descending. Available: name

pageinteger · min: 1Optional

Page number for pagination.

Default: 1
per_pageinteger · min: 1 · max: 100Optional

Number of results per page.

Responses
chevron-right
200

Successful response

application/json
get
/api/v1/patchworks/script-templates

Get Script Template

get

Retrieves the details of a specific script template.

Authorizations
AuthorizationstringRequired

API key passed in the Authorization header. Format: <api-key>

Path parameters
script_templatestringRequired

The script template identifier.

Query parameters
filter[name]stringOptional

Filter results by name.

filter[hidden_from_marketplace]stringOptional

Filter results by hidden_from_marketplace.

filter[visible_for_marketplace]stringOptional

Filter results by visible_for_marketplace.

filter[private]stringOptional

Filter results by private.

filter[visibility]stringOptional

Filter results by visibility.

includestringOptional

Comma-separated list of relationships to include. Available: content, marketplace_company

sortstringOptional

Sort field. Prefix with - for descending. Available: name

pageinteger · min: 1Optional

Page number for pagination.

Default: 1
per_pageinteger · min: 1 · max: 100Optional

Number of results per page.

Responses
chevron-right
200

Successful response

application/json
get
/api/v1/patchworks/script-templates/{script_template}

Delete Script Template

delete

Permanently deletes a specific script template.

Authorizations
AuthorizationstringRequired

API key passed in the Authorization header. Format: <api-key>

Path parameters
script_templatestringRequired

The script template identifier.

Responses
chevron-right
200

Successful response

application/json
messagestringOptional
delete
/api/v1/patchworks/script-templates/{script_template}

Install Script Template

post

Installs a specific script template.

Authorizations
AuthorizationstringRequired

API key passed in the Authorization header. Format: <api-key>

Path parameters
script_templatestringRequired

The script template identifier.

Responses
chevron-right
200

Successful response

application/json
objectOptional
post
/api/v1/script-templates/{script_template}/install

Last updated

Was this helpful?