Get display cards for several entities of one type
POST /Platform/entities/blocks
Get display cards for several entities of one type.
Pass ids to card known entities (a reference list, a table
page) in one call, or filter to card whatever an HQL filter
matches (status = "open" | order by created_at desc). Each card
has the shape the single-entity block returns. Read-only.
Body parameters
entity_type: str. Entity class name.ids: optional str. One id or a list of ids, at most 100. Cards come back in this order; ids that are not found go tomissing.filter: optional str. HQL filter clause, used whenidsis not given. It may order, but notselectorlimit(passlimit).branch: optional str. Hilus branch (defaultmain).limit: optional int. Most cards for a filter (default 50, at most 100).max_fields: optional int. Most fields per card (default 8, at most 50).
Returns
EntityBlocksResponse
entity_type: optional str or null. Entity class name.blocks: optional List[EntityBlock]. One card per entity: in request order for ids, filter order otherwise.missing: optional List[str]. Requested ids that are not on the branch or not visible to the caller.truncated: optional bool. True when a filter matched more entities than were returned.
Example request
curl -X POST "https://api.hilus.ai/Platform/entities/blocks" \
-H "Authorization: Bearer $HILUS_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'