> ## 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 blog posts

> Every published post with full content, not paginated.

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

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

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



## OpenAPI

````yaml /docs/modules-api.yaml get /blogs
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:
  /blogs:
    get:
      tags:
        - Deprecated endpoints
      summary: 'Old: list blog posts'
      description: >-
        Every published post with full content, not paginated.


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


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


        **Rate limit:** 60 requests per minute per IP.
      operationId: listBlogsLegacy
      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: 2
                    title: New Frankfurt location
                    slug: new-frankfurt-location
                    description: Servers in Frankfurt are now available for every plan.
                    content: "# Welcome to Your Blog Post\r\n\r\nWrite your content here using markdown syntax.\r\n\r\n## Getting Started\r\n\r\nReplace this content with your own blog post. You can use standard Markdown syntax:\r\n\r\n- **Bold text** for emphasis\r\n- *Italic text* for subtle emphasis\r\n\n..."
                    featured_image: >-
                      /storage/blog/featured-images/RBrBdBZsH05WWVsZNmFL4nRuFGr761TMf9a9Eat8.png
                    views: 8
                    published_at: null
                    created_at: '2026-03-03T13:33:21.000000Z'
                    updated_at: '2026-07-30T07:34:43.000000Z'
                    author:
                      id: 2
                      name: Alex Morgan
                    meta_title: Frankfurt location
                    meta_description: Every plan can now be deployed in Frankfurt.
                    is_featured: false
                count: 2
      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.