Skip to content

Sedimark/broker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Context

The context define all the already discussed property for types :

Calling the broker with the context

You can use the "Link" header to define the context of your request when calling the NGSILD-Broker.

<https://sedimark.github.io/broker/jsonld-contexts/sedimark-compound.jsonld>; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json"

creation of assets

An example of asset creation for a broker deployed on "localhost:8080" would be the following :

POST "localhost:8080/ngsi-ld/v1/entities"

body : example here

fetching of asset by id

GET "localhost:8080/ngsi-ld/v1/entities/{id}"

response example

fetching of a list of assets

GET "localhost:8080/ngsi-ld/v1/entities?type=Asset"

temporal entities

If your properties are changing through time, you can add an observedAt value inside the properties to mark the point that they represent in times.

Then you can use the temporal endpoints to fetch the temporal representation. https://stellio.readthedocs.io/en/latest/API_walkthrough.html#get-temporal-evolution-of-attributes

additionnal resource https://ngsild.org/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published