itchio / itch.io

:bug: Public itch.io issues tracker and documentation - use support instead for private information!
https://itch.io/support
241 stars 27 forks source link

Wharf version API broken #1315

Open dominiks opened 2 years ago

dominiks commented 2 years ago

Using the Api to call itch.io/api/1/x/wharf/latest to retrieve my game's version does no longer work since last week. It did before, but now I only get the correct version when executing the GET request in my browser (where I'm logged in). An incognito tab or calling it from my game returns:

{"errors":["invalid game"]}

leafo commented 2 years ago

Can you share the parameters you're sending to the request (excluding API key)?

It sounds like you've changed the visibility of your page such that public requests can no longer look up version information

dominiks commented 2 years ago

The request is

https://itch.io/api/1/x/wharf/latest?game_id=1454046&channel_name=win-64

This worked without api key before, directly from within my application. The game is published and visible for others.

//edit:

I checked my page in an incognito browser and I get a 404 - even tough it should be visible for everyone.

dominiks commented 2 years ago

Now it works again. I did not change anything on my end.