media

A 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.

head/media/news/covers/{post_id}/{version}/{width}.{fmt}

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

post_idinteger required
versioninteger required
widthinteger required
fmtstring required

Response

Successful Response

unknown required

Changes

    • info

      api operation id news_cover_media_news_covers__post_id___version___width___fmt__get removed and replaced with news_cover_media_news_covers__post_id___version___width___fmt__head

    • info

      api operation id news_cover_media_news_covers__post_id___version___width___fmt__head removed and replaced with news_cover_media_news_covers__post_id___version___width___fmt__get