Skip to content

Commit

Permalink
adapt to the ngsild requests from iot-agent
Browse files Browse the repository at this point in the history
  • Loading branch information
showersky committed Aug 5, 2022
1 parent 3c7e4b4 commit 6a5c2c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions broker/restapisrv.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ func (apisrv *RestApiSrv) Start(cfg *Config, broker *ThinBroker) {

// update
rest.Post("/ngsi-ld/v1/entityOperations/upsert", broker.NGSILD_UpdateContext),
rest.Post("/ngsi-ld/v1/entityOperations/upsert/", broker.NGSILD_UpdateContext),
rest.Post("/ngsi-ld/v1/entities/", broker.NGSILD_CreateEntity),
rest.Post("/ngsi-ld/v1/entities", broker.NGSILD_CreateEntity),
rest.Delete("/ngsi-ld/v1/entities/#eid", broker.NGSILD_DeleteEntity),
Expand Down

0 comments on commit 6a5c2c6

Please sign in to comment.