How to retrieve the types attached to an entity?


#1

There is an API method (/entity/ENTITY_ID/type/TYPE_ID/) to attach a type to an entity. The example given is that a “birthdayParty” is a “date”.

How does one retrieve the type back? It does not seem to be included in the /entity/ENTITY_ID/values response.

Also, will it be possible one day to use the type to filter entity lists or determine membership in contextual bundles?


#2

Hi @thiloplanz,

Current API endpoints do not include entity Type in the response. I will pass on to the team the request to add this information in entity retrieval as well as to add filtering by type. At the same time, filtering by Entity Type will be added to Contextual Bundle entity selection (in addition to current selection by entity name, id and kind).

Best,
Aiste