> ## 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: latest news

> The 10 newest published posts visible to everyone.

**Deprecated.** Kept so existing integrations keep working, but it will not get new fields. Use [`GET /api/public/modules/news/posts?per_page=10`](/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/latest
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/latest:
    get:
      tags:
        - Deprecated endpoints
      summary: 'Old: latest news'
      description: >-
        The 10 newest published posts visible to everyone.


        **Deprecated.** Kept so existing integrations keep working, but it will
        not get new fields. Use [`GET
        /api/public/modules/news/posts?per_page=10`](/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: latestNewsLegacy
      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
                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
                    icon: null
                    published_at: '2026-04-03T09:08:43.000000Z'
                    state: draft
      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.