We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Insert an entity and retrieve it.
curl -L -X POST 'http://localhost:1026/ngsi-ld/v1/entities/' \ -H 'Content-Type: application/json' \ -H 'Link: <http://context/ngsi-context.jsonld>; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json"' \ --data-raw '{ "id": "urn:ngsi-ld:TemperatureSensor:001", "type": "TemperatureSensor", "category": ["sensor"] , "temperature": { "value": 25, "unitCode": "CEL" } }'
curl -L -X GET 'http://localhost:1026/ngsi-ld/v1/entities/urn:ngsi-ld:TemperatureSensor:001?options=sysAttrs' \ -H 'Link: <http://context/ngsi-context.jsonld>; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json"'
category looks like this:
"category": { "type": "Property", "value": [ "sensor" ] },
An array with one entry should be reduced to a single value since the @context of value doesn't state it is @set
@context
value
@set
The text was updated successfully, but these errors were encountered:
Fixed issue #1034
8141d80
Fixed and verified.
Sorry, something went wrong.
kzangeli
Successfully merging a pull request may close this issue.
Insert an entity and retrieve it.
category looks like this:
An array with one entry should be reduced to a single value since the
@context
ofvalue
doesn't state it is@set
The text was updated successfully, but these errors were encountered: