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

# Get published article detail

> Mengambil detail artikel public yang sudah published.



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/articles/{slug}
openapi: 3.1.0
info:
  title: LeuwongRR User API
  version: 1.1.0
  description: >-
    Dokumentasi publik LeuwongRR REST API v1 untuk public safe endpoint dan User
    API. API ini hanya menampilkan endpoint yang aman untuk member/user dan
    tidak memuat route operasional, credential provider, callback sistem,
    maintenance, debug, atau konfigurasi server.


    Supports Sandbox API Key (`lrrs_v1_`) and Production API Key (`lrrp_v1_`).
servers:
  - url: https://leuwongrr.online
    description: Production
security: []
tags:
  - name: Health
    description: Endpoint public untuk mengecek status API.
  - name: Auth
    description: Endpoint validasi User API Token.
  - name: Catalog
    description: >-
      Endpoint public ringan untuk katalog produk dan metode pembayaran yang
      aman ditampilkan.
  - name: Articles
    description: Endpoint public untuk daftar dan detail artikel.
  - name: User
    description: Endpoint khusus user/member dengan User API Token.
  - name: Balance
    description: Endpoint untuk membaca saldo dan mutasi saldo milik user sendiri.
  - name: Orders
    description: Endpoint untuk membaca dan membuat order milik user sendiri.
  - name: Invoices
    description: Endpoint untuk membaca invoice milik user sendiri.
  - name: Deposits
    description: Endpoint untuk membaca deposit milik user sendiri.
paths:
  /api/v1/articles/{slug}:
    get:
      tags:
        - Articles
      summary: Get published article detail
      description: Mengambil detail artikel public yang sudah published.
      operationId: getPublishedArticle
      parameters:
        - $ref: '#/components/parameters/ArticleSlugPath'
      responses:
        '200':
          description: Berhasil
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SuccessResponse'
              example:
                success: true
                message: OK
                data:
                  article:
                    title: Cara Top Up Robux Aman
                    slug: cara-top-up-robux-aman
                    category: Robux
                    excerpt: Panduan singkat top up Robux aman.
                    content: <p>Isi artikel...</p>
                    article_url: https://leuwongrr.online/artikel/cara-top-up-robux-aman
                    published_at: '2026-04-29 10:00:00'
        '404':
          description: Data tidak ditemukan
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Request terlalu sering
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  parameters:
    ArticleSlugPath:
      name: slug
      in: path
      required: true
      schema:
        type: string
        example: cara-top-up-robux-aman
      description: Slug artikel publik.
  schemas:
    SuccessResponse:
      type: object
      required:
        - success
        - message
        - data
      properties:
        success:
          type: boolean
          example: true
        message:
          type: string
          example: OK
        data:
          type: object
          additionalProperties: true
    ErrorResponse:
      type: object
      required:
        - success
        - message
      properties:
        success:
          type: boolean
          example: false
        message:
          type: string
          example: Unauthorized API token.

````