Details
-
Type: Monitor
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 2021
-
Component/s: None
-
Labels:
Description
Created question in FIWARE Q/A platform on 24-04-2018 at 18:04
Please, ANSWER this question AT https://ask.fiware.org/question/985/rest-api-past-values-of-an-entity/
Question:
REST API - Past values of an entity
Description:
What I have
Docker Containers:
Orion CB
MongoDB
What I do
I use the REST API (NGSIv2) so I:
Create an entity (using POST)
Update the values from this entity (using PUT)
Get the value from the entity (using other app: GET)
My question
Is there any way (inherent to ORION) to have the full history of values of this entity? Something like a queue of messages, or so, being them the values of this entity.
If not, which mechanism should I use (inherent to ORION again) to be able to build it in my second app?
I guess I expect to have a subscription mode or whatever so I get a notification of a new value (public/subs model?) still using the REST API in my second app, not needing it to have hard-coded when a new value of the entity will be available at ORION, since this may be unknown even for me.
Activity
Field | Original Value | New Value |
---|---|---|
Assignee | Jose Manuel Cantera [ jmcantera ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | Answered [ 10104 ] |
Resolution | Done [ 10000 ] | |
Status | Answered [ 10104 ] | Closed [ 6 ] |
Fix Version/s | 2021 [ 12600 ] |
Transition | Time In Source Status | Execution Times | Last Executer | Last Execution Date | |||||
---|---|---|---|---|---|---|---|---|---|
|
6d 14h | 1 | Backlog Manager | 01/May/18 9:05 AM | |||||
|
59m 58s | 1 | Backlog Manager | 01/May/18 10:05 AM | |||||
|
14d 5h 1m | 1 | Jose Manuel Cantera | 15/May/18 3:06 PM |
2018-04-24 19:05|CREATED monitor | # answers= 0, accepted answer= False