Hi Greg,
Chris is right: there is currently no such API in a stable release of
CATMAID that would allow you to get all treenodes and skeletons for a
particular tag. In principle this seems like useful functionality though
and I just added support for it:
https://github.com/catmaid/CATMAID/commit/921075a02a0f776549f773a5b239061cf580306b
I agree also with you and Chris that forcing the use of IDs on the API
level makes the API harder to use. Therefore, the label constraints for
the treenode query with /{project_ids}/treenodes/compact-detail now
supports both a label_names and a label_ids parameter. Labels are
expected to exist only once with a given name for a particular project.
The result contains detailed information on each matching treenode,
including its skeleton ID:
[ID, parent ID, x, y, z, confidence, radius, skeleton_id, edition_time, user_id]
I will try to update the FAFB server today or tomorrow.
Best,
Tom