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

        Hide
        backlogmanager Backlog Manager added a comment -

        2018-04-24 19:05|CREATED monitor | # answers= 0, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2018-04-24 19:05|CREATED monitor | # answers= 0, accepted answer= False
        Hide
        backlogmanager Backlog Manager added a comment -

        2018-05-01 09:05|UPDATED status: transition Answer| # answers= 1, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2018-05-01 09:05|UPDATED status: transition Answer| # answers= 1, accepted answer= False
        Hide
        backlogmanager Backlog Manager added a comment -

        2018-05-01 10:05|UPDATED status: transition Answered| # answers= 1, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2018-05-01 10:05|UPDATED status: transition Answered| # answers= 1, accepted answer= False

          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: