Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Querying assets by data #4

Open
pral2a opened this issue Jul 26, 2017 · 0 comments
Open

Querying assets by data #4

pral2a opened this issue Jul 26, 2017 · 0 comments

Comments

@pral2a
Copy link
Member

pral2a commented Jul 26, 2017

Issue by AleksandarDjordjevic
Monday Jan 16, 2017 at 22:16 GMT
Originally opened as https://github.com/OrganicityEu/organicity-discovery-api/issues/11


It would be useful to query assets by data attributes. For example, if we have asset in format :

{
  "id": "urn:oc:entity:experimenters:foo:bar:a310c6f5c9df2181d3e7b9928fb01a6c",
  "type": "urn:oc:entityType:London:airQuality:airpublic:testing:reading",
  “attribute1": {
      "value": “value1",
      "type": “type1"
  },  “attribute2": {
      "value": “value2",
      "type": “type2"
  }, “attribute3": {
      "value": “value3",
      "type": “type3"
  }
}

to be possible to retrieve assets that have value "value3" for attribute "attribute3". Also if value is array, to be possible to find assets that have some value as one element of the array. It would be very useful for measurement assets.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant