November Perfect Moustache

    @ratatosk/ngsi-routes

    1.2.7 • Public • Published

    Exposes middleware that implements ngsi-v2


    the roadmap to the entities api

    const orionRest = [
      // find-entities
      {url: '/v2/entities', method: 'get'},
      // create-entity
      {url: '/v2/entities', method: 'post'},
    
      // find-entity
      {url: '/v2/entities/:id', method: 'get'},
      // delete-entity
      {url: '/v2/entities/:id', method: 'delete'},
    
      // find-entity-attrs
      {url: '/v2/entities/:id/attrs', method: 'get'},
      // update-entity-attrs
      {url: '/v2/entities/:id/attrs', method: 'put'},
      // replace-entity-attrs
      {url: '/v2/entities/:id/attrs', method: 'post'},
      // patch-entity-attrs
      {url: '/v2/entities/:id/attrs', method: 'patch'},
    
      // find-entity-attr
      {url: '/v2/entities/:id/attrs/:param_1', method: 'get'},
      // update-entity-attr
      {url: '/v2/entities/:id/attrs/:param_1', method: 'put'},
      // delete-entity-attr
      {url: '/v2/entities/:id/attrs/:param_1', method: 'delete'},
    
      // find-entity-attr-value
      {url: '/v2/entities/:id/attrs/:param_1/value', method: 'get'},
      // update-entity-attr-value
      {url: '/v2/entities/:id/attrs/:param_1/value', method: 'put'},
    
    ];

    Keywords

    none

    Install

    npm i @ratatosk/ngsi-routes

    DownloadsWeekly Downloads

    18

    Version

    1.2.7

    License

    Apache-2.0

    Unpacked Size

    147 kB

    Total Files

    41

    Last publish

    Collaborators

    • sensative-user