fiware-sth-comet icon indicating copy to clipboard operation
fiware-sth-comet copied to clipboard

Support for complex attributes

Open dgraposo opened this issue 7 years ago • 0 comments

Is comet supporting the historic retrieval of more complex value attributes, like this ?

curl localhost:1026/v2/entities -s -S --header 'Content-Type: application/json' \
   -d @- <<EOF
{
  "id": "E1",
  "type": "T",
  "A": {
    "type": "T",
    "value": [
      "22",
      {
          "x": [
              "x1",
              "x2"
          ],
          "y": "3"
      },
      [
          "z1",
          "z2"
      ]
    ]
  },
  "B": {
    "type": "T",
    "value": {
      "x": {
          "x1": "a",
          "x2": "b"
      },
      "y": [
          "y1",
          "y2"
      ]
    }
  }
}
EOF

dgraposo avatar Apr 07 '17 13:04 dgraposo