> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dezerx.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Old: list news

> Published posts visible to everyone, not paginated. Before 2026.11 this endpoint also returned drafts, scheduled and members only posts; it no longer does.

**Deprecated.** Kept so existing integrations keep working, but it will not get new fields. Use [`GET /api/public/modules/news/posts`](/api-reference/module-api) instead, which uses the standard response envelope, pagination and error format.

**Authentication:** none, no API key needed.

**Rate limit:** 10 requests per minute per IP.



## OpenAPI

````yaml /docs/modules-api.yaml get /v1/news
openapi: 3.1.0
info:
  title: Spartan Module API
  version: '2026.11'
  description: >-
    Endpoints added by modules. Key endpoints live under
    `/api/application/modules/<module>/` and need an API key with the module
    permission. Content modules (Blog, News, Knowledge Base, Status) also offer
    keyless read only endpoints under `/api/public/modules/<module>/` that only
    return what an anonymous visitor can see.
servers:
  - url: https://{domain}/api
    description: Your Spartan installation
    variables:
      domain:
        default: billing.example.com
        description: Domain of your Spartan installation, without https://
security:
  - bearerAuth: []
tags:
  - name: Blog
  - name: Blog (public)
  - name: News
  - name: News (public)
  - name: Knowledge Base
  - name: Knowledge Base (public)
  - name: Status
  - name: Status (public)
  - name: Forms
  - name: Affiliates
  - name: Deprecated endpoints
paths:
  /v1/news:
    get:
      tags:
        - Deprecated endpoints
      summary: 'Old: list news'
      description: >-
        Published posts visible to everyone, not paginated. Before 2026.11 this
        endpoint also returned drafts, scheduled and members only posts; it no
        longer does.


        **Deprecated.** Kept so existing integrations keep working, but it will
        not get new fields. Use [`GET
        /api/public/modules/news/posts`](/api-reference/module-api) instead,
        which uses the standard response envelope, pagination and error format.


        **Authentication:** none, no API key needed.


        **Rate limit:** 10 requests per minute per IP.
      operationId: listNewsLegacy
      responses:
        '200':
          description: 'Success. Old envelope `{"success": true, "data": ...}`.'
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  data:
                    description: Payload.
              example:
                success: true
                total: 4
                data:
                  - id: 4
                    title: Our new control panel is live
                    description: >-
                      Short interruptions on Saturday night while we upgrade the
                      network.
                    slug: new-control-panel
                    content: >-
                      # Welcome to Our News Article


                      This is a sample news article written in Markdown. You can
                      edit this content using the editor below.


                      ## Getting Started


                      Replace this content with your own news article. You can
                      use standard Markdown syntax:


                      - **Bold text** for emphasis


                      ...
                    icon: null
                    permissions: all
                    layout: authenticated
                    meta_title: null
                    meta_description: null
                    is_active: true
                    reactions_enabled: true
                    allowed_reactions:
                      - 👍
                    published_at: '2026-04-03T09:08:43.000000Z'
                    created_at: '2026-04-03T09:08:43.000000Z'
                    updated_at: '2026-04-03T09:08:43.000000Z'
      deprecated: true
      security: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        API key created in Admin, API. Send it as `Authorization: Bearer <key>`.
        Each key has its own permissions and optional IP allow list.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.