Closed jmcanterafonseca closed 5 years ago
There is another issue about the same, returning the default context instead of what was sent. Issue: (to be looked up)
About "expires":
It's a part of the subscription, given or not at creation time. Similar to 'creationDate' and 'modificationDate', but not exactly the same ...
Three possibilities:
if the expiration date has not been provided then it has not been provided. you can keep an internal expires set to "infinite" but that does not mean that it should be rendered at all. the same with throttling.
A subscription is created with the following
application/ld+json
payload:Then a GET /ngsi-ld/v1/subscriptions is issued as follows:
expires
should not be there