Skip to documentation
SparkGlimSparkGlim Developer
Search all documentation

Try a topic in your language or an exact API path.

    API reference

    Published articles

    Lists published articles with search, category, featured, limit and offset filters, returning the exact total and list pagination.

    GEThttps://api.sparkglim.net/api/public/blog

    Access model

    Access model
    Public access with validation
    Documented availability
    Implemented in source

    Availability is verified from source, not a live production guarantee.

    Open the returned checkout URL. SparkGlim Server owns prices, methods, payment verification and fulfillment; browser returns are navigation only.

    Parameters

    NameTypeValidation
    categoryOptional

    Configured campaign category or approved settings category, depending on the resource.

    stringValidation: category slug.
    searchOptional

    Text filter applied to the existing published records selected by this endpoint.

    stringValidation: search text.
    featuredOptional

    Requests the existing featured-article filter when its value is true.

    stringValidation: true.
    limitOptional

    Maximum records returned in this page; the endpoint’s fixed bound applies.

    numberValidation: 1–30 default10.
    offsetOptional

    Zero-based number of published article records to skip before the requested page.

    numberValidation: >=0 default0.

    Request

    Examples describe the contract and are not executed. Use authorized test records; never paste a real secret into these pages.

    GET /api/public/blog
    http
    GET /api/public/blog HTTP/1.1
    Host: api.sparkglim.net
    

    Response

    Success response · HTTP 200
    json
    {
      "success": true,
      "data": [],
      "count": 0,
      "limit": 10,
      "offset": 0
    }
    Error response · HTTP 400
    json
    {
      "success": false,
      "error": "<ERROR_MESSAGE>"
    }

    Validation, permissions, unavailable records and temporary service failures use the handler’s HTTP status and error payload.

    Limits & retries

    Default Server limit: 100 requests per IP per 60 seconds. Resource-specific controls also apply.

    Source compatibility

    Authorized operations require account-specific testing.

    • server/src/api/router.ts
    • server/src/api/routes/public.ts