REST API returns EnrichedThingDTO but not EnrichedChannelDTO

I am hoping to get the things and linked items from the REST api but I am having trouble. I see that the JSON response for get /things includes the linked items, however since I am using the smarthome domain objects and GSON, the response builds an EnrichedThingDTO array, which does NOT contain the linked items. I do not want to have to create and manage my own domain objects.

What is the proper way to retrieve this information? I am calling get /things and get /items but not able to retrieve everything and link everything.

thanks for your help,


Not sure, but I think you get the full channel type only if you use the think-type endpoint and only if you request a single think-type.

The strange thing is that the information is being returned in the json, but the DTOs don’t support it.