Having published a smart asset to a layout or area, you can access the content it serves using the RPI Realtime API. When using the SmartAsset endpoint, you can use the following within the AssetLookups section in the endpoint call's Body:
"ContextSearch": {
"ContextPath": "xxx",
"SearchOperator": "xxx",
"TagSearch": ""
}
The following SearchOperator values are supported:
•IncludeAreas: evaluates all smart assets matching LayoutPath or any part of the path provided.
•ExactPath: evaluates only smart assets matching LayoutPath.
•IncludeParentLayouts: evaluates all smart assets matching LayoutPath or any parent within the layout hierarchy.
•FirstParent: evaluates all smart assets matching LayoutPath, or, if not found, the first match upwards within the layout hierarchy.
TagSearch provides the ability to search for smart assets with matching Tag values.
Note that the use of wildcards with the above is not supported.