Author API Methods
getItemList()
Returns the Item list data for all Items that have been loaded from the server for the Item list.
You would want to use this method when building custom integrations around the Item list and you need the data for all Items loaded so far.
Note This method does not return full Item JSON. It returns a subset of Item data used to render the Item list view.
The returned data includes Items from multiple pages: all previous pages, the current page, and the preloaded next page.
The number of Items per page is controlled by the limit initialization option (default: 50). For example, if limit is set to 20:
- On page 1, up to 40 Items are returned (page 1 plus preloaded page 2).
- After navigating to page 5, up to 120 Items are returned (pages 1–5 loaded, plus preloaded page 6).
Examples
var items = authorApp.getItemList();
console.log(items);
/*
[
{
"note": "",
"dt_updated": "2025-12-01 12:09:55",
"item_id": "321719096",
"dt_created": "2025-06-01 11:49:50",
"title": "My Item title",
"created_by": {
"last_name": "Site",
"id": "help-site",
"first_name": "Help",
"email": "helpsite@learnosity.com"
},
"tags": [
{
"name": "English",
"type": "Subject"
}
],
"reference": "1ba18b07-4823-4e78-aea7-4729111a24d3",
"authoring_workflow": {
"state": "unassigned"
},
"status": "published",
"organisation_id": 6,
"content": ""
},
{ ... },
...
]
*/
Arguments
None.
Return value
Type array[ItemListRowObject] | boolean
Returns an array containing Item data, including the Item reference, title, status, and other metadata like time created, time updated, author, etc.
Returns false if not in the Item list view.