News Cover
Changed onA news post's cover at one width, converted from its stored source on the first request and written once (gcg/services/news_covers.py).
The version is in the path and goes up with every picture a post stores, so the bytes behind one URL never change and are cached for a year as immutable — unlike a game cover above, whose key is the game alone. No database read: the source at that version is the whole answer, and a version a post has moved past is pruned, so it 404s here like any other.
Request
- Base URL: https://api.getcheapgames.com (the document declares no server; this is the origin it was published from)
- URL: https://api.getcheapgames.com/media/news/covers/{post_id}/{version}/{width}.{fmt}
- Auth: none declared
Path parameters
Response
Successful Response
Changes
- info
api operation id
news_cover_media_news_covers__post_id___version___width___fmt__getremoved and replaced withnews_cover_media_news_covers__post_id___version___width___fmt__head
- info
- info
api operation id
news_cover_media_news_covers__post_id___version___width___fmt__headremoved and replaced withnews_cover_media_news_covers__post_id___version___width___fmt__get
- info