HTTP-APIs/hydra-python-agent

Agent GET by class and properties

Closed this issue · 0 comments

Guttz commented

I'm submitting a

  • bug report.
  • feature request.

Current Implementation:

The agent can only get resources by it's endpoint. I.e:
agent.get("http://35.224.198.158:8080/api/DroneCollection/2

New implementation:

Agent will be able to query for resources based on their classes and properties. I.e: agent.get(class="Drone", properties={"model":"smart model"}

Important

This is the first step for this implementation, so this issue is regarding enabling this kind of query for resources already loaded in the graph, for non-existing cached resources we will proceed later with the help of IRITemplate and so on.

Do you want to work on this issue?

Yes