Api tags

coverage thinks it is missing 1 branch. see comments.