How to write custom endpoints with parameters not related to any specific entity
问题 I'm trying to write custom GET endpoints, which must have one or more custom parameters, but not built on top of specific entity. Something like: /assets/{device_id}/{scene_id}/{maybe_other_param} which I imagine to be just own controller class, in which I do something, calculate values from input, read some data manually and return array of entities. What I only get is an Asset entity, but it requires {device} and {scene} to be properties of this entity... I don't want this to work as