OrderingQuery.assets()
Look up the assets installed at a property, addressed the same way as reviewOrder(). Fails if the address does not resolve to a property in the system.
With no address, browses every asset across all the properties the caller can see.
Browsing without an address is meant for one-off backfills, not realtime use, and can be slow at scale.
address (optional)
OrderingAddressInput - The property address to look up assets for. If omitted, browses every asset across all properties the caller can see (see the warning above).
first (optional)
Int - The maximum number of assets to return per page. Defaults to 10.
after (optional)
String - A cursor value used for pagination. Use the cursor value from the last edge of the previous response to fetch the next page.
Cursors are mode-specific: a cursor obtained from a browse (no address) cannot be used with an address, and vice versa.
Example:
Response
OrderingAssetsConnection
OrderingAssetsConnection - A connection object containing a list of assets.
OrderingAssetsConnection
edges
OrderingAssetsEdge[] - An array of edges, each containing an asset node.
OrderingAssetsEdge
node
OrderingAsset - The asset object containing all asset details.
cursor
String - A unique cursor value for this edge. Use this value as the after parameter in subsequent queries to fetch the next page of results.
Cursor values should be treated as opaque identifiers. Their format is subject to change and should not be parsed or manipulated.