commafeed icon indicating copy to clipboard operation
commafeed copied to clipboard

API: category id type

Open jangernert opened this issue 10 months ago • 1 comments

The ids of feeds & entries is i64 while categories are inconsistent. Sometimes its a string and other times i64. I feel like categories should also have an i64 id property.

I guess this exception was done to be able to represent the "all" category? If that's the only case, maybe /category/get should just return the top level categories & top level feeds? Or maybe reserve the id 0 or -1 for "all"?

jangernert avatar Aug 13 '23 21:08 jangernert