derf / travelynx

Traewelling-inspired journey logger with realtime data
https://travelynx.de
GNU Affero General Public License v3.0
121 stars 20 forks source link

Make it possible to set visibility via API #135

Open rugk opened 6 months ago

rugk commented 6 months ago

https://travelynx.de/api lists a visibility field:

"visibility" : {
"desc": "private" / "unlisted" / "followers" / "travelynx" / "public",
"level": 10 / 30 / 60 / 80 / 100
}

But that seems to be readonly hmm?

If so, it would be great to have a possibility to set the visibility via API, too.

Downstream issue

The issue is this is e.g. implemented in the Android app Traewelldroid, where a request cannot set the visibility for Travelyx, but for traewelling, which is kinda a bad privacy implication: https://github.com/Traewelldroid/traewelldroid/issues/347