Api referenceNewsletterIssues
Read newsletter issue history (Preview)
Preview · Available to selected organizations. Lists saved commits in the topic repository, newest first. Requires newsletters and email.
GET
Lists saved commits in the topic repository, newest first. Requires newsletters and email.
apiKeyheader
x-api-key<token>id*stringMatch
^nl_[0-9a-hjkmnp-tv-z]{16,24}$limit?|nullSuccess
application/json- response
projectId*TemplateProjectIdMatch
^tproj_[0-9a-hjkmnp-tv-z]{16,24}$head*stringMatch
^[a-f0-9]{40}$commits*array<>import { createClient } from "samva";const samva = createClient({ apiKey: process.env.SAMVA_API_KEY! });const result = await samva.newsletters.issues.history({ "id": "example"});Example Response
{ "projectId": "string", "head": "string", "commits": [ { "commit": "string", "tree": "string", "parentCommit": "string", "message": "string", "committedAt": "string" } ]}