Details
-
Type: Monitor
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: FIWARE-TECH-HELP
-
Labels:
-
HD-Chapter:Unknown
-
HD-Enabler:Unknown
-
HD-Node:Unknown
Description
Created question in FIWARE Q/A platform on 27-10-2023 at 01:10
Please, ANSWER this question AT https://stackoverflow.com/questions/77371115/q-modifiedat-or-q-modifiedatadate-returns-an-empty-array
Question:
q=modifiedAt or q=modifiedAt>aDate returns an empty array
Description:
I'm using Orion-LD v1.4.0.
I have some entities of type Site in the context. My goal is to retrieve all context entities of type Site that where modified after a given date. But "q=modifiedAt" seems not to be supported by /ngsi-ld/v1/entities.
This request does return my entities:
http://[::1]:1026/ngsi-ld/v1/entities?type=Site
But this request returns an empty array, whereas it should return them all:
http://[::1]:1026/ngsi-ld/v1/entities?type=Site&q=modifiedAt
And this one returns an empty array as well, whereas it should return the ones that have been modified after january, the 1st:
http://[::1]:1026/ngsi-ld/v1/entities?type=Site&q=modifiedAt>2023-01-01T00:00:00Z
Any help would be greatly appreciated.
2023-10-27 05:31|CREATED monitor | # answers= 0, accepted answer= False