rebus-ink / ink-API

Hobb API Server: backend for the Rebus Reader system
GNU Affero General Public License v3.0
4 stars 5 forks source link

cleanup return objects #607

Closed Marie000 closed 4 years ago

Marie000 commented 4 years ago

This cleans up the objects returned by the GET /library and GET /notes endpoints. For example, the library returns the tags, as well as tags for each source. Those will no longer include a readerId, 'deleted' timestamp, etc. It shouldn't change anything for the front-end. If you worry that it does, I can clarify what exactly has been removed.

there is probably more that can be removed, but I will look at that more closely when I look at the overall design of the API

Marie000 commented 4 years ago

oops. I completely forgot I had this pull request. I will merge it to avoid merge conflicts with my next pull request, but @baldurbjarnason and @cesarCSM , feel free to comment. I can always change things back if there is a problem.