v1
latestSwagger 2.02026-07-17148179252.3 KBScript
Gets all scripts.
get/content/scripts
Query parameters
pageinteger
Specifies the page number in a limited (paginated) list of products.
limitinteger
Controls the number of items per page in a limited (paginated) list of products.
sort'name' | 'description' | 'date_created' | 'date_modified'
Scripts field name to sort by.
direction'asc' | 'desc'
Sort direction. Acceptable values are: asc, desc.
Response
Success.
Example response
{
"data": [
{
"uuid": "2bf40be2-e57a-4bc8-860a-5bf45edd3795",
"name": "jQuery",
"description": "The Write Less, Do More, JavaScript Library.",
"src": "https://code.jquery.com/jquery-3.2.1.min.js",
"auto_uninstall": true,
"load_method": "defer",
"location": "head",
"visibility": "storefront",
"kind": "src",
"api_client_id": "d1j42k5q76xsm15fa3g8sp2egytoixo",
"date_created": "2017-12-05T23:37:45.506Z",
"date_modified": "2017-12-05T23:37:45.506Z"
}
]
}