dci-control-server icon indicating copy to clipboard operation
dci-control-server copied to clipboard

GET components for a topic returns wrong number of components

Open guillaumevincent opened this issue 7 years ago • 0 comments

Imagine 2 components for topic id with one component export control True.

GET /api/v1/topics/<id>/components returns 

{
  "_meta": {
    "count": 2
  }, 
  "components": [
    {...}
  ]
}

Count should correspond to the total of the components in the topic accessible to the user ie "count": 1

guillaumevincent avatar Jan 19 '18 22:01 guillaumevincent