Api referenceNewsletterIssues
Read the newsletter issue head (Preview)
Preview · Available to selected organizations. Reads the current workspace revision and repository branch head. Requires newsletters and email.
GET
Reads the current workspace revision and repository branch head. Requires newsletters and email.
apiKeyheader
x-api-key<token>id*stringMatch
^nl_[0-9a-hjkmnp-tv-z]{16,24}$Success
application/json- response
projectId*TemplateProjectIdMatch
^tproj_[0-9a-hjkmnp-tv-z]{16,24}$revision*stringremoteHead*stringMatch
^[a-f0-9]{40}$import { createClient } from "samva";const samva = createClient({ apiKey: process.env.SAMVA_API_KEY! });const result = await samva.newsletters.issues.head({ "id": "example"});Example Response
{ "projectId": "string", "revision": "string", "remoteHead": "string"}