We apparently have a /types endpoint that afaik doesn't really do anything useful. (It's not being used in the app either).
We should either:
A) Update it
Make it return more information about the types available, like what SQL type they correspond to or what they do with a description, and scope it as /server/types
B) Remove it
.. I don't really see the use of having this read only information being returned in the API, but let me know if you feel otherwise 🙂
Note: this is a breaking change
Seems like something that can just be in the docs — unless we wanted to make it extensible, but I don't see why we would want to do that.
IMO, we should go with the remove it. It's just documentation. So let's put it on the doc only [which is already there] and remove it from API.
Most helpful comment
IMO, we should go with the remove it. It's just documentation. So let's put it on the doc only [which is already there] and remove it from API.