StatsHub Docs
Endpoint referencePreviews

/previews/{slug}

A published tipster preview with its tips.

GET
/api/v2/previews/{slug}

A published tipster preview with its tips.

The tipster tables are not in the drizzle schema — the original reaches them through Supabase's PostgREST rather than through the ORM. They live in the same database, so this reads them directly with SQL instead of adding a second client for two tables. The response shape is unchanged.

The author is hard-coded. There is no author column; every preview is published under the same byline.

Path Parameters

slug*string

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/api/v2/previews/string"
"string"