Get an array of entity items.
Request & Query Parameters
|context||The path to where Mura CMS resides within the webroot (typically, an empty string).|
|siteid||The SiteID of where the entity will be stored.|
|entityname||The entity's name. For example:
|fields||Optional. A comma-separated listed of fields to return. For example:
|maxitems||Optional. Limit the number of records to return. For example:
|itemsperpage||Optional. Sets the desired number of items to return for each page. For example:
|pageindex||Optional. Sets the desired page for pagination. For example:
|sort||Optional. Control the sort order and direction of entities by specific attributes/fields. To sort decending, prefix the attribute/field with a minus sign (
|cachedwithin||Optional. Sets the desired cache timespan in seconds. For example:
Custom Query Parameters
Filter results by passing an attribute name of your entity, and the value to search for. Use the star (
*) to denote wildcard.
The following example assumes the entity has an attribute named
This should return any entities with a
title attribute that starts with
about, such as "about, About, About Us, About Time."
If one or more entities are found, an
items array will be present in the
Added in version 6.2