Skip to content

Expose children of devices #903

Open
@DiamondJoseph

Description

@DiamondJoseph

When querying for devices, a map of device name to all of the protocols it matches are shown.
When querying for a specific device, root or child device names can be used, to give the protocols of a child device.

However, there is no way of knowing what children a device has.
e.g. SimStage, which has children of x & y: both are Movables, but without knowing that SimStage has these children, you cannot find them.

Acceptance Criteria

  • There is a way of finding out about the children of a root device
  • This could be that querying for devices gives you the full tree of its children, grandchildren etc.
  • This could be that querying for a device takes an optional "children: bool" or "depth: int" parameter to decide how completely to interrogate the device's tree.
  • This could be a new query, with the above optional arguments

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestpythonPull requests that update Python coderest apiPotential REST API changes

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions