|name||text_field||The unique name of the script. This field is primarily intended for internal use by website administrators to uniquely identify scripts.|
|value||string||Synonymn for guid|
Contains multiple scripts.
|prepended||list of scripts||scripts that will be listed at the beginning of the items list|
|fetched||list of scripts||The primary list of scripts to be included in the items list|
|appended||list of scripts||scripts that will be listed at the end of the items list|
|appended_unique||list of scripts||scripts that will be listed at the end of the items list, excluding any scripts that are already included in either the prepended or fetched lists|
|items||list of scripts||The full list of scripts in the proper order and uniqueness, including prepended, fetched, and appended scripts|
|size||number||The total number of items in the list of items, including prepended, fetched, and appended scripts|
|limit||number||The maximum number of scripts that could have been fetched dynamically from the database|
|page||number||The 1-based index of the first "page" of scripts that could have been fetched dynamically from the database - as determined by the start and limit properties|
|total_count||number||The total number of scripts in the database that matched the provided filter parameters when fetching the list of fetched scripts|
|total_pages||number||The total number of "pages" of results that matched the provided filter parameters when fetching the list of fetched scripts - as determined by the total_count and limit properties|
Fetch a list of scripts.
By default results will be sorted by date_created (the date the item was first published) desc (newest first).
Other Options include:
sort_direction:"desc" Specify whether the fetched results should be sorted in asc (ascending) or desc (descending) order.%}
- date_created (Equivalent to the date you first published this item. Unpublishing and republishing the item resets date_created to the current date)
- random (Using random sorting prevents fast caching of the page).
If you do not include any filters or inputs other than prepended items, appended items, or max_size, then no additional items will be fetched. If you wish to fetch all items you must include at least one additional input (ie: "start:1")