Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-14037

[fiware-askbot] REST API - Past values of an entity

    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

        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        jmcantera Jose Manuel Cantera made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        backlogmanager Backlog Manager made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        backlogmanager Backlog Manager made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        veronika Veronika Vlnkova made changes -
        Field Original Value New Value
        Assignee Jose Manuel Cantera [ jmcantera ]
        backlogmanager Backlog Manager created issue -

          People

          • Assignee:
            jmcantera Jose Manuel Cantera
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: