Script Templates

Index

get

Pagination

Pagination is available for this request. Please see the section on using pagination for more details.

Available Includes

These are the includes that can be used to include addition related data in the results. Please see the section on using includes for more details.

  • content

  • content_count

  • contentExists

  • marketplace_company

  • marketplace_company_count

  • marketplace_companyExists

Available Filters

These are the filters that can be used to specific the data to return. Please see the section on using filters for more details.

  • name

  • hidden_from_marketplace

  • visible_for_marketplace

  • private

Available Sorts

These are the sorts that can be used order the returned data. Please see the section on using sorting for more details.

  • name

Authorizations
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

Show

get

Available Includes

These are the includes that can be used to include addition related data in the results. Please see the section on using includes for more details.

  • content

  • content_count

  • contentExists

  • marketplace_company

  • marketplace_company_count

  • marketplace_companyExists

Available Filters

These are the filters that can be used to specific the data to return. Please see the section on using filters for more details.

  • name

  • hidden_from_marketplace

  • visible_for_marketplace

  • private

Available Sorts

These are the sorts that can be used order the returned data. Please see the section on using sorting for more details.

  • name

Authorizations
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}

Destroy

delete

Delete a script template.

Authorizations
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}

Script-Install

post

Script-Install for install.

Authorizations
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?