Inconsistent classes/classifications field in Elements API responses
I noticed this whil typescripting things, because it caused me a tiny headache.
When you use RetrieveElement
, in the responses you have a classifications
field, in which the Element's classifications are listed. However, if you use Elements listing endpoints such as ListElements
you have a classes
field which contains the exact same thing.
It makes sense for metadata/metadata_count to be different, since they do not contain the same information/objects, but couldn't this be harmonized ? Then again there might be a good reason for this (:doubt:) and it would break a bunch of things (real) so I'm just writing this so we can talk about it and someone (Erwan) can explain to me why we won't do it.