Feature request from owenhaynes, posted on GitHub Oct 26, 2015
If you have more then one root category the following endpoint only ever returns one.
Have 2 root categories (default and test root) the following is returned
GET /rest/V1/categories
{"id":2,"parent_id":1,"name":"Default Category","is_active":true,"position":1,"level":1,"product_count":0,"children_data":[{"id":3,"parent_id":2,"name":"Cat 1","is_active":true,"position":1,"level":2,"product_count":0,"children_data":[{"id":4,"parent_id":3,"name":"Cat 1 sub","is_active":true,"position":1,"level":3,"product_count":0,"children_data":[{"id":5,"parent_id":4,"name":"Cat 1 sub sub","is_active":true,"position":1,"level":4,"product_count":1,"children_data":[]}]}]}]}
should this end point not return an array so that all the root categories are listed?
This is very similar to #2096, as I guess he was only using root categories
... View more