label-sleuth/label-sleuth.org

Update example response in /import_labels endpoint

martinscooper opened this issue · 2 comments

The response of /import_labels has a categories attribute, which is a list of the categories where labels have been added. Each item of the list had two attributes, category and counter. The category attribute has been changed to category_id as part of this commit.

To update the webpage this line should be changed to something like category_id: "3".

Thanks @martinscooper; I will look into this once the outstanding PR against the API page is merged.

Closing this issue, as it has been addressed in PR #11.