-
Notifications
You must be signed in to change notification settings - Fork 345
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use proper types in API #879
Comments
Some work about this is available at https://github.com/niol/selfoss/tree/ppr/apitypes . As it seems what is wanted here is a major rework of how selfoss is driven from JS (like not returning HTML but lists for instance), I will stop there for now and let new features I want to work on drive those changes (using new endpoints). Maybe a spec should be worked on before or some common RSS reader API be used instead. |
I would not go as far as using JSON instead of HTML now. I meant the tags in In the future building the UI client-side from the same endpoints applications use could be possible – that is actually one of the points I investigate in álmafoss – I do not consider it to be in the scope of this issue, though. I have sent you an invite to álmafoss private repo in case you are interested. It is still very rough draft and I will not have time to finish it until June. |
I fixed the tags in |
Mostly fixed in #948 |
Booleans should be
true
orfalse
, not"0"
or"1"
. Similarly, numbers should not be transmitted as strings. Tags should be returned as a list, not a string of comma separated names.The text was updated successfully, but these errors were encountered: