Currently, the Orion API does not allow such an operation directly, but as a workaround, you can find out the service path to which the object belongs, with a query in the MongoDB database.
, Room1, Room, (.. orion), ( , MongoDB ).
echo 'db.entities.find({"_id.id": "Room1", "_id.type": "Room"}, {_id: 1})' | mongo orion --quiet
:
{ "_id" : { "id" : "Room1", "type" : "Room", "servicePath" : "/path" } }
servicePath (/path ).