pokeapi icon indicating copy to clipboard operation
pokeapi copied to clipboard

Media asset for item in unavailable in docs

Open digitalghost-dev opened this issue 5 months ago • 2 comments

Hello, I was taking a look at the documentation and with the item endpoint, I noticed the sprite in the master-ball example is https://pokeapi.co/media/sprites/items/master-ball.png but visiting that link takes me to 404 page.

digitalghost-dev avatar Jun 12 '25 17:06 digitalghost-dev

Oh yes, in the past we used to host the sprites.

Could you raise a PR and change to URL to point to the current githubusercontent link?

Naramsim avatar Jun 13 '25 01:06 Naramsim

@Naramsim - sure, I can work on this.

digitalghost-dev avatar Jun 13 '25 02:06 digitalghost-dev

@Naramsim - I'm assuming that this would be done in the pokeapi.co repo? I believe I see the line here.

digitalghost-dev avatar Jun 18 '25 22:06 digitalghost-dev

Yes, It should be over at pokeapi.co

Naramsim avatar Jun 19 '25 00:06 Naramsim

Should be fixed with https://github.com/PokeAPI/pokeapi.co/commit/e9ba5bcfbaaaea95b7c8ea8de6235371c5aa13a3

Naramsim avatar Jun 20 '25 07:06 Naramsim

@Naramsim - thanks for doing this. Got busy this week with work. I was planning on fixing it this weekend. Thanks again!

digitalghost-dev avatar Jun 20 '25 15:06 digitalghost-dev