Skip to main content
Solved

modify visibility


Forum|alt.badge.img+4

I have written a python script to modify the visibility of all my recorded activities from "only_me" to "everyone". The script works and the return from the api indicates that the update was performed successfully. However in reality the privacy flag is not changed. Is that a limitation of the api?

Best answer by ActivityFix

You cannot change privacy on activities since roughly 2018 (I think? It's been a while...). The same goes for map visibility and deleting activities. You probably got a success code since I believe the endpoint ignores any parameters which aren't allowed rather than flagging them as an error.

View original
Did this topic help you find an answer to your question?

3 replies

Jan_Mantau
Superuser
Forum|alt.badge.img+26
  • Superuser
  • 928 replies
  • January 16, 2024

I'm surprised the API gave you a success code because  https://developers.strava.com/docs/reference/#api-models-UpdatableActivity states there is no key to change the visibility.


ActivityFix
Superuser
Forum|alt.badge.img+24
  • Superuser
  • 241 replies
  • Answer
  • January 18, 2024

You cannot change privacy on activities since roughly 2018 (I think? It's been a while...). The same goes for map visibility and deleting activities. You probably got a success code since I believe the endpoint ignores any parameters which aren't allowed rather than flagging them as an error.


Forum|alt.badge.img+4
  • Author
  • Hub Rookie
  • 1 reply
  • January 19, 2024

Thank you all for your responses. I am disappointed that the api only allows for such limited interactions. But I am grateful that you explained that to me, so that I won't waste more time trying to make it work.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept, you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings