|
|
@ -134,6 +134,16 @@ router.get( |
|
|
|
'/api/v1/db/data/:orgs/:projectName/:tableName', |
|
|
|
'/api/v1/db/data/:orgs/:projectName/:tableName', |
|
|
|
ncMetaAclMw(dataList, 'dataList') |
|
|
|
ncMetaAclMw(dataList, 'dataList') |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
router.get( |
|
|
|
|
|
|
|
'/api/v1/db/data/:orgs/:projectName/:tableName/count', |
|
|
|
|
|
|
|
ncMetaAclMw(dataCount, 'dataCount') |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
router.get( |
|
|
|
|
|
|
|
'/api/v1/db/data/:orgs/:projectName/:tableName/views/:viewName/count', |
|
|
|
|
|
|
|
ncMetaAclMw(dataCount, 'dataCount') |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
router.get( |
|
|
|
router.get( |
|
|
|
'/api/v1/db/data/:orgs/:projectName/:tableName/:rowId', |
|
|
|
'/api/v1/db/data/:orgs/:projectName/:tableName/:rowId', |
|
|
|
ncMetaAclMw(dataRead, 'dataRead') |
|
|
|
ncMetaAclMw(dataRead, 'dataRead') |
|
|
@ -157,10 +167,6 @@ router.get( |
|
|
|
'/api/v1/db/data/:orgs/:projectName/:tableName/views/:viewName', |
|
|
|
'/api/v1/db/data/:orgs/:projectName/:tableName/views/:viewName', |
|
|
|
ncMetaAclMw(dataList, 'dataList') |
|
|
|
ncMetaAclMw(dataList, 'dataList') |
|
|
|
); |
|
|
|
); |
|
|
|
router.get( |
|
|
|
|
|
|
|
'/api/v1/db/data/:orgs/:projectName/:tableName/views/:viewName/count', |
|
|
|
|
|
|
|
ncMetaAclMw(dataCount, 'dataCount') |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
router.post( |
|
|
|
router.post( |
|
|
|
'/api/v1/db/data/:orgs/:projectName/:tableName', |
|
|
|
'/api/v1/db/data/:orgs/:projectName/:tableName', |
|
|
|