---
title: "List Posts"
method: GET
path: "/api/admin/news"
tags: ["news"]
---

# List Posts

`GET /api/admin/news`

## 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/api/admin/news`
- Auth: none declared

Every post, drafts and scheduled ones too, the most recently changed first.

## Headers

- `authorization` string

## Response `200`

Successful Response

- AdminNewsListOut
  - `items` AdminNewsPostOut[], required
    - `id` integer, required
    - `slug` string, required
    - `title` string, required
    - `dek` string, required
    - `tag` string, required
    - `author` string, required
    - `bodyMd` string, required
    - `blocks` object[], required
    - `readingMinutes` integer, required
    - `videoId` string, nullable, required
    - `gameIds` integer[], required
    - `games` NewsGameRefOut[], required
      - `id` integer, required
      - `slug` string, required
      - `title` string, required
    - `cover` NewsCoverOut, required: A post's picture: `src` a 960-wide WebP, the two `srcset`s the widths in AVIF and WebP (`url 480w, url 960w, url 1600w` for a stored cover; a game's own widths when it is borrowed), and the frame's size for the box a page reserves. Pages crop it to 16:9. Site-relative, like `coverBase`.
      - `src` string, required
      - `srcsetAvif` string, required
      - `srcsetWebp` string, required
      - `width` integer, required
      - `height` integer, required
    - `coverSource` 'upload' | 'youtube' | 'game', nullable, required
    - `publishedAt` string, date-time, nullable, required
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required
    - `status` 'draft' | 'scheduled' | 'published', required
    - `url` string, required
    - `translations` object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/getcheapgames/apis/getcheapgames-api.md) · [All operations](https://skmtc.dev/getcheapgames/apis/getcheapgames-api/llms.txt) · [OpenAPI document](https://skmtc.dev/getcheapgames/apis/getcheapgames-api/revisions/962824bb76da?raw)
