If the tag doesn't contain any works using a specific warning/rating, AO3 does not show it in the filter sidebar. Because of this, the API doesn't return it.
For example: "12 Dancing Princesses (Fairy Tale)" contains only works rated G, T and M, and only the "No Archive Warnings Apply", "Creator Chose Not To Use Archive Warnings", and "Major Character Death" warning tags. From the csv:
rating, number of works
Teen And Up Audiences, 11
General Audiences, 23
Mature, 1
warning, number of works
Major Character Death, 1
Creator Chose Not To Use Archive Warnings, 8
No Archive Warnings Apply, 28
I think the API should always return all the tags that have known list of choices (e.g. Ratings, Warnings, Categories). It's more convenient for the consummer and it should be fairly easy to do on our side.
If the tag doesn't contain any works using a specific warning/rating, AO3 does not show it in the filter sidebar. Because of this, the API doesn't return it.
For example: "12 Dancing Princesses (Fairy Tale)" contains only works rated G, T and M, and only the "No Archive Warnings Apply", "Creator Chose Not To Use Archive Warnings", and "Major Character Death" warning tags. From the csv:
I think the API should always return all the tags that have known list of choices (e.g. Ratings, Warnings, Categories). It's more convenient for the consummer and it should be fairly easy to do on our side.