{"openapi":"3.1.0","info":{"title":"ShipChime API","version":"1.0.0"},"security":[{"apiKey":[]},{"session":[]}],"components":{"securitySchemes":{"apiKey":{"type":"http","scheme":"bearer","description":"An API key: Authorization: Bearer sc_key_…"},"session":{"type":"apiKey","in":"cookie","name":"better-auth.session_token","description":"The dashboard's session cookie (path /app)"}},"schemas":{"Health":{"type":"object","properties":{"status":{"type":"string","enum":["ok","degraded"]},"database":{"type":"string","enum":["ok","unreachable"]}},"required":["status","database"]},"Problem":{"type":"object","properties":{"type":{"type":"string"},"title":{"type":"string"},"status":{"type":"integer"},"code":{"type":"string"},"detail":{"type":"string"},"instance":{"type":"string"}},"required":["type","title","status","code"]},"EmbedSession":{"type":"object","properties":{"token":{"type":"string"},"user":{"type":"object","properties":{"name":{"type":["string","null"]},"handle":{"type":"string"},"photoUrl":{"type":["string","null"]}},"required":["name","handle","photoUrl"]}},"required":["token","user"],"description":"The embed's own sign-in: send `token` as `Authorization: Bearer` to the /public reader endpoints, for this product only. 30 days"},"EmbedSessionPending":{"type":"object","properties":{"status":{"type":"string","enum":["pending"]}},"required":["status"],"description":"No grant made with this verifier's challenge yet: poll again"},"EmbedSessionRequest":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":256},"verifier":{"type":"string","pattern":"^[A-Za-z0-9_-]{43}$"}},"required":["verifier"],"description":"`code` and `verifier` after the window posts the code back; `verifier` alone to poll, when the window couldn't"},"PublicReactions":{"type":"object","properties":{"signedIn":{"type":"boolean"},"canReact":{"type":"boolean","description":"Signed in and not suspended"},"items":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/ReactionState"},"description":"By item key (\"release:{id}\", \"entry:{id}\"). Items that aren't public are left out"}},"required":["signedIn","canReact","items"]},"ReactionState":{"type":"object","properties":{"counts":{"$ref":"#/components/schemas/ReactionCounts"},"mine":{"type":"array","items":{"$ref":"#/components/schemas/ReactionKind"},"description":"The visitor's own, in the bar's order"}},"required":["counts","mine"]},"ReactionCounts":{"type":"object","properties":{"thumbs_up":{"type":"integer","minimum":0},"heart":{"type":"integer","minimum":0},"tada":{"type":"integer","minimum":0},"rocket":{"type":"integer","minimum":0},"eyes":{"type":"integer","minimum":0},"confused":{"type":"integer","minimum":0}},"required":["thumbs_up","heart","tada","rocket","eyes","confused"],"description":"Readers' reactions on the public pages, the six kinds with zeros included. An entry inside a release always has zeros: its release carries them"},"ReactionKind":{"type":"string","enum":["thumbs_up","heart","tada","rocket","eyes","confused"]},"ReactionForm":{"type":"object","properties":{"item":{"type":"string","description":"\"release:{id}\" or \"entry:{id}\""},"reaction":{"type":"string","description":"One of the six kinds"},"return":{"type":"string","description":"A path on ShipChime to come back to; anything else falls back to the item's page"}}},"PublicComments":{"type":"object","properties":{"signedIn":{"type":"boolean"},"canComment":{"type":"boolean"},"me":{"type":["object","null"],"properties":{"id":{"type":"string"},"name":{"type":["string","null"]},"handle":{"type":"string"},"photoUrl":{"type":["string","null"]}},"required":["id","name","handle","photoUrl"]},"approval":{"type":"boolean"},"comments":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"parentId":{"type":["string","null"]},"replyToId":{"type":["string","null"]},"replyTo":{"type":["object","null"],"properties":{"handle":{"type":["string","null"]},"gone":{"type":["string","null"],"enum":["deleted","hidden",null]}},"required":["handle","gone"]},"author":{"type":["object","null"],"properties":{"id":{"type":"string"},"name":{"type":["string","null"]},"handle":{"type":"string"},"photoUrl":{"type":["string","null"]}},"required":["id","name","handle","photoUrl"]},"fromTeam":{"type":"boolean"},"state":{"type":"string","enum":["published","pending"]},"html":{"type":"string"},"body":{"type":["string","null"]},"mine":{"type":"boolean"},"revision":{"type":"integer"},"editedAt":{"type":["string","null"]},"deletedAt":{"type":["string","null"]},"createdAt":{"type":"string"}},"required":["id","parentId","replyToId","replyTo","author","fromTeam","state","html","body","mine","revision","editedAt","deletedAt","createdAt"]}},"nextCursor":{"type":["string","null"]}},"required":["signedIn","canComment","me","approval","comments","nextCursor"],"description":"Published comments plus your own pending ones, oldest first, each main comment followed by its follow-ups, with \"Comment deleted\" placeholders kept while something shown answers them. A page holds `limit` main comments, each with all its follow-ups; `nextCursor` reads the next"},"PublicComment":{"type":"object","properties":{"id":{"type":"string"},"parentId":{"type":["string","null"]},"replyToId":{"type":["string","null"]},"replyTo":{"type":["object","null"],"properties":{"handle":{"type":["string","null"]},"gone":{"type":["string","null"],"enum":["deleted","hidden",null]}},"required":["handle","gone"]},"author":{"type":["object","null"],"properties":{"id":{"type":"string"},"name":{"type":["string","null"]},"handle":{"type":"string"},"photoUrl":{"type":["string","null"]}},"required":["id","name","handle","photoUrl"]},"fromTeam":{"type":"boolean"},"state":{"type":"string","enum":["published","pending"]},"html":{"type":"string"},"body":{"type":["string","null"]},"mine":{"type":"boolean"},"revision":{"type":"integer"},"editedAt":{"type":["string","null"]},"deletedAt":{"type":["string","null"]},"createdAt":{"type":"string"}},"required":["id","parentId","replyToId","replyTo","author","fromTeam","state","html","body","mine","revision","editedAt","deletedAt","createdAt"],"description":"One comment on a release's page. `html` is the body rendered as light Markdown; `body` (the Markdown) only for your own. `replyTo` names the follow-up it answers: its author's @handle, or `gone` (deleted, or hidden when you can't see it)"},"CommentCreate":{"type":"object","properties":{"body":{"type":"string"},"parentId":{"type":["string","null"]},"replyToId":{"type":["string","null"]}},"required":["body"],"description":"Light Markdown, 1 to 5,000 characters once trimmed. `replyToId` replies to a comment on the same release: a main comment, or a follow-up (stored as `replyToId`, with its main comment as `parentId`). `parentId` alone follows up a main comment; sent with `replyToId`, it must agree"},"CommentUpdate":{"type":"object","properties":{"body":{"type":"string"}},"required":["body"]},"CommentForm":{"type":"object","properties":{"release":{"type":"string","description":"The release's id"},"body":{"type":"string","description":"Light Markdown, up to 5,000 characters"},"parentId":{"type":"string","description":"Follow up this main comment"},"replyToId":{"type":"string","description":"Reply to this comment: a main comment, or a follow-up (its main comment follows from it)"},"return":{"type":"string","description":"A path on ShipChime to come back to; anything else falls back to the release's page"}}},"Me":{"type":"object","properties":{"user":{"type":"object","properties":{"id":{"type":"string"},"email":{"type":"string"},"name":{"type":["string","null"]},"image":{"type":["string","null"]},"designation":{"type":["string","null"]},"photoUrl":{"type":["string","null"]},"handle":{"type":"string"},"shareEmail":{"type":"boolean"}},"required":["id","email","name","image","designation","photoUrl","handle","shareEmail"]},"organizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"role":{"type":"string","enum":["owner","admin","member"]},"status":{"type":"string","enum":["active","suspended"]},"access":{"type":"object","properties":{"state":{"type":"string","enum":["suspended","ended","past_due","over_limit","normal"]},"read":{"type":"boolean"},"write":{"type":"string","enum":["all","fixes","none"]},"billing":{"type":"boolean"},"publicPages":{"type":"boolean"},"background":{"type":"boolean"},"overLimits":{"type":"array","items":{"type":"string"}}},"required":["state","read","write","billing","publicPages","background","overLimits"]}},"required":["id","name","slug","role","status","access"]}},"platformAdmin":{"type":"boolean"},"suspended":{"type":"boolean"},"productRoles":{"type":"array","items":{"type":"object","properties":{"productId":{"type":"string"},"role":{"type":"string","enum":["admin","manager"]}},"required":["productId","role"]}},"activeProduct":{"type":["object","null"],"properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"projects":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"}},"required":["id","name","slug"]}}},"required":["id","organizationId","name","slug","projects"]},"joinRequest":{"type":["object","null"],"properties":{"id":{"type":"string"},"status":{"type":"string","enum":["pending","declined"]},"organizationName":{"type":"string"}},"required":["id","status","organizationName"]}},"required":["user","organizations","platformAdmin","suspended","productRoles","activeProduct","joinRequest"]},"ProfilePhoto":{"type":"object","properties":{"photoUrl":{"type":["string","null"],"description":"Where the photo is served, or null when there's none"}},"required":["photoUrl"]},"Handle":{"type":"object","properties":{"handle":{"type":"string","description":"Your @handle, without the @"}},"required":["handle"]},"EmailSharing":{"type":"object","properties":{"shareEmail":{"type":"boolean","description":"Whether you share your email with the products you react to or comment on"}},"required":["shareEmail"]},"StartPublishing":{"type":"object","properties":{"outcome":{"type":"string","enum":["invitation","joined","requested","created"],"description":"What account setup did: accepted a pending invitation, joined the email domain's organization, asked to join it, or created a new organization"}},"required":["outcome"]},"Organization":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"status":{"type":"string"},"autoJoin":{"type":"boolean"},"revision":{"type":"integer"},"role":{"type":"string","enum":["owner","admin","member"]}},"required":["id","name","slug","status","autoJoin","revision","role"]},"Member":{"type":"object","properties":{"user":{"type":"object","properties":{"id":{"type":"string"},"email":{"type":"string"},"name":{"type":["string","null"]},"image":{"type":["string","null"]}},"required":["id","email","name","image"]},"role":{"type":"string","enum":["owner","admin","member"]},"revision":{"type":"integer"},"joinedAt":{"type":"string"},"productRoles":{"type":"array","items":{"type":"object","properties":{"productId":{"type":"string"},"role":{"type":"string","enum":["admin","manager"]}},"required":["productId","role"]}}},"required":["user","role","revision","joinedAt","productRoles"]},"ProductMember":{"type":"object","properties":{"user":{"type":"object","properties":{"id":{"type":"string"},"email":{"type":"string"},"name":{"type":["string","null"]},"image":{"type":["string","null"]}},"required":["id","email","name","image"]},"productId":{"type":"string"},"role":{"type":"string","enum":["admin","manager"]},"isDefault":{"type":"boolean"},"revision":{"type":"integer"}},"required":["user","productId","role","isDefault","revision"]},"Author":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":["string","null"]},"designation":{"type":["string","null"]},"photoUrl":{"type":["string","null"]},"email":{"type":["string","null"],"description":"Only for someone who hasn't added their name, so the editor can say who they are (they can't be the byline until they do). null for everyone with a name"}},"required":["id","name","designation","photoUrl","email"]},"OrganizationPlan":{"type":"object","properties":{"organizationId":{"type":"string"},"planId":{"type":"string"},"planName":{"type":"string"},"paid":{"type":"boolean"},"status":{"type":"string","enum":["active","canceled","trialing","past_due","paused","expired"]},"periodAnchor":{"type":["string","null"]},"period":{"type":"object","properties":{"start":{"type":"string"},"end":{"type":"string"}},"required":["start","end"]},"addOns":{"type":"array","items":{"type":"object","properties":{"addOnId":{"type":"string","enum":["seat","product","storage","email_pack"]},"quantity":{"type":"integer"}},"required":["addOnId","quantity"]}},"features":{"type":"object","additionalProperties":{"type":"boolean"}},"limits":{"type":"array","items":{"type":"object","properties":{"limit":{"type":"string","enum":["seats","products","storage_bytes","api_keys","audience_emails","releases"]},"used":{"type":"integer"},"allowed":{"type":"integer"},"fix":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["add_on"]},"addOnId":{"type":"string","enum":["seat","product","storage","email_pack"]},"quantity":{"type":"integer"}},"required":["kind","addOnId","quantity"]},{"type":"object","properties":{"kind":{"type":"string","enum":["subscribe"]},"planId":{"type":"string","enum":["free","trailblazer_monthly"]},"addOns":{"type":"array","items":{"type":"object","properties":{"addOnId":{"type":"string","enum":["seat","product","storage","email_pack"]},"quantity":{"type":"integer"}},"required":["addOnId","quantity"]}}},"required":["kind","planId","addOns"]},{"type":"null"}]}},"required":["limit","used","allowed","fix"]}},"counts":{"type":"array","items":{"type":"object","properties":{"count":{"type":"string","enum":["api_calls"]},"used":{"type":"integer"}},"required":["count","used"]}}},"required":["organizationId","planId","planName","paid","status","periodAnchor","period","addOns","features","limits","counts"]},"Invitation":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"email":{"type":"string"},"orgRole":{"type":"string","enum":["owner","admin","member"]},"productId":{"type":["string","null"]},"productRole":{"type":["string","null"],"enum":["admin","manager",null]},"expiresAt":{"type":"string"},"expired":{"type":"boolean"},"createdAt":{"type":"string"}},"required":["id","organizationId","email","orgRole","productId","productRole","expiresAt","expired","createdAt"]},"JoinRequest":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"user":{"type":"object","properties":{"id":{"type":"string"},"email":{"type":"string"},"name":{"type":["string","null"]},"image":{"type":["string","null"]}},"required":["id","email","name","image"]},"status":{"type":"string","enum":["pending","approved","declined"]},"createdAt":{"type":"string"},"decidedAt":{"type":["string","null"]}},"required":["id","organizationId","user","status","createdAt","decidedAt"]},"Domain":{"type":"object","properties":{"id":{"type":"string"},"domain":{"type":"string"},"method":{"type":"string","enum":["email","dns"]},"verifiedAt":{"type":"string"}},"required":["id","domain","method","verifiedAt"]},"DomainClaim":{"type":"object","properties":{"id":{"type":"string"},"domain":{"type":"string"},"expiresAt":{"type":"string"},"expired":{"type":"boolean"},"lastCheckedAt":{"type":["string","null"]},"record":{"type":"object","properties":{"type":{"type":"string","enum":["TXT"]},"name":{"type":"string"},"value":{"type":"string"}},"required":["type","name","value"]}},"required":["id","domain","expiresAt","expired","lastCheckedAt","record"]},"Product":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"publicId":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"website":{"type":"string"},"logo":{"type":["string","null"]},"brandColor":{"type":["string","null"]},"favicon":{"type":["string","null"],"description":"The hosted pages' favicon, an https URL; without it they use the logo"},"category":{"type":["string","null"]},"description":{"type":["string","null"],"description":"A line or two under its logo and name on its public pages"},"feedStatus":{"type":"string"},"embedInteraction":{"type":"boolean","description":"Readers can sign in and interact in your app: every reader action inside the in-app embed. On by default"},"commentApproval":{"type":"boolean","description":"Approve comments before they show: readers' new comments, and edits to approved ones, wait as pending. Off by default"},"revision":{"type":"integer"},"createdAt":{"type":"string"}},"required":["id","organizationId","publicId","name","slug","website","logo","brandColor","favicon","category","description","feedStatus","embedInteraction","commentApproval","revision","createdAt"]},"Project":{"type":"object","properties":{"id":{"type":"string"},"productId":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"type":{"type":"string","enum":["web_app","api","cli","mcp_server","sdk","mobile_app","other"]},"versioning":{"type":"string","enum":["semver","date"]},"position":{"type":"integer"},"revision":{"type":"integer"}},"required":["id","productId","name","slug","type","versioning","position","revision"]},"Subscriber":{"type":"object","properties":{"id":{"type":"string"},"email":{"type":"string"},"projectIds":{"type":"array","items":{"type":"string"}},"source":{"type":"string","enum":["page","widget"]},"status":{"type":"string","enum":["confirmed","pending"]},"confirmedAt":{"type":["string","null"]},"createdAt":{"type":"string"}},"required":["id","email","projectIds","source","status","confirmedAt","createdAt"]},"SubscriberCount":{"type":"object","properties":{"confirmed":{"type":"integer","description":"Confirmed: they get the emails"},"pending":{"type":"integer","description":"Signed up, not confirmed yet"}},"required":["confirmed","pending"]},"Upload":{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string","description":"Where the image is served: use it in markdown, ![alt](url)"},"contentType":{"type":"string","enum":["image/png","image/jpeg","image/gif","image/webp"],"description":"WebP only on uploads made before 2026-11-26"},"bytes":{"type":"integer"},"name":{"type":["string","null"],"description":"The file's name, when it was given"},"width":{"type":["integer","null"]},"height":{"type":["integer","null"]},"createdAt":{"type":"string"}},"required":["id","url","contentType","bytes","name","width","height","createdAt"]},"UploadList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Upload"}},"nextCursor":{"type":["string","null"]},"counts":{"type":"object","properties":{"all":{"type":"integer"},"images":{"type":"integer"},"gifs":{"type":"integer"}},"required":["all","images","gifs"],"description":"How many there are for the same search: all, images and GIFs"},"storage":{"type":"object","properties":{"used":{"type":"integer"},"allowed":{"type":"integer"}},"required":["used","allowed"],"description":"The organization's media storage, in bytes: used across its products, of what its plan allows (docs/BILLING.md)"}},"required":["data","nextCursor","counts","storage"]},"UploadDetail":{"allOf":[{"$ref":"#/components/schemas/Upload"},{"type":"object","properties":{"usedIn":{"type":"array","items":{"$ref":"#/components/schemas/UploadUse"},"description":"Where it's still used in the organization: deleting it removes it as a feature image, logo or favicon, and breaks it in notes"}},"required":["usedIn"]}]},"UploadUse":{"type":"object","properties":{"kind":{"type":"string","enum":["feature_image","notes","logo","favicon"],"description":"How it's used: a release's feature image, in notes, or a logo"},"targetType":{"type":"string","enum":["release","entry","product"]},"id":{"type":"string"},"name":{"type":"string","description":"The release, entry or product, by name"},"live":{"type":"boolean","description":"Published or scheduled, or a product's logo: public pages show it"}},"required":["kind","targetType","id","name","live"]},"Release":{"type":"object","properties":{"id":{"type":"string"},"projectId":{"type":"string"},"title":{"type":"string"},"state":{"type":"string","enum":["draft","in_review","scheduled","published"]},"source":{"type":"string","enum":["dashboard","api","github","agent"]},"authorKind":{"type":"string","enum":["human","agent","ci"]},"createdById":{"type":["string","null"]},"apiKeyId":{"type":["string","null"]},"approvedById":{"type":["string","null"]},"approvedByName":{"type":["string","null"],"description":"The approver's display name, for \"Drafted by AI · Approved by {name}\". Never an email; null when no one approved it, or the approver has left the organization or has no display name"},"scheduledAt":{"type":["string","null"]},"missedAt":{"type":["string","null"]},"publishedAt":{"type":["string","null"]},"sourceUrl":{"type":["string","null"],"description":"Where it was drafted from, e.g. a GitHub release or pull request"},"reviewNote":{"type":["string","null"],"description":"Why a reviewer sent it back to draft, for whoever submitted it; cleared by its next transition. Never public"},"reviewerId":{"type":["string","null"],"description":"Who was asked to review it: a person who can approve in the product, or null for anyone. Only they are emailed; anyone who can approve still may. Set when it's submitted, changed with POST …/reviewer, cleared by its next transition. Never public"},"showInApp":{"type":"boolean","description":"\"Show in your app\": whether the Embed SDK may pop it up. Off by default; can't change once published. An entry inside a release follows the release"},"emailSubscribers":{"type":"boolean","description":"\"Email subscribers\": whether subscribers are emailed when it's published (once). Off by default; can't change once published. An entry inside a release follows the release"},"postedAs":{"type":["object","null"],"properties":{"id":{"type":"string"},"name":{"type":["string","null"]},"designation":{"type":["string","null"]},"photoUrl":{"type":["string","null"]}},"required":["id","name","designation","photoUrl"],"description":"Who it's posted as: the person in the byline under its title, with their designation and photo. Set it with postedAsId, a person who can write in the product. null: no byline. A name of null means they've left the organization. An entry inside a release shows under the release's byline"},"revision":{"type":"integer"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"version":{"type":"string"},"slug":{"type":"string"},"notes":{"type":"string"},"cover":{"type":["object","null"],"properties":{"uploadId":{"type":["string","null"]},"url":{"type":"string"},"alt":{"type":"string"}},"required":["uploadId","url","alt"],"description":"The feature image: an upload of this product, shown above the notes and on the feed. Set it with { uploadId, alt }; null removes it"},"reactions":{"$ref":"#/components/schemas/ReactionCounts"},"commentCount":{"type":"integer","description":"Comments readers see on the release's page: published ones, replies included (docs/SPEC.md → Comments)"},"entries":{"type":"array","items":{"$ref":"#/components/schemas/ChangelogEntry"}}},"required":["id","projectId","title","state","source","authorKind","createdById","apiKeyId","approvedById","approvedByName","scheduledAt","missedAt","publishedAt","sourceUrl","reviewNote","reviewerId","showInApp","emailSubscribers","postedAs","revision","createdAt","updatedAt","version","slug","notes","cover","reactions","commentCount","entries"]},"ChangelogEntry":{"type":"object","properties":{"id":{"type":"string"},"projectId":{"type":"string"},"title":{"type":"string"},"state":{"type":"string","enum":["draft","in_review","scheduled","published"]},"source":{"type":"string","enum":["dashboard","api","github","agent"]},"authorKind":{"type":"string","enum":["human","agent","ci"]},"createdById":{"type":["string","null"]},"apiKeyId":{"type":["string","null"]},"approvedById":{"type":["string","null"]},"approvedByName":{"type":["string","null"],"description":"The approver's display name, for \"Drafted by AI · Approved by {name}\". Never an email; null when no one approved it, or the approver has left the organization or has no display name"},"scheduledAt":{"type":["string","null"]},"missedAt":{"type":["string","null"]},"publishedAt":{"type":["string","null"]},"sourceUrl":{"type":["string","null"],"description":"Where it was drafted from, e.g. a GitHub release or pull request"},"reviewNote":{"type":["string","null"],"description":"Why a reviewer sent it back to draft, for whoever submitted it; cleared by its next transition. Never public"},"reviewerId":{"type":["string","null"],"description":"Who was asked to review it: a person who can approve in the product, or null for anyone. Only they are emailed; anyone who can approve still may. Set when it's submitted, changed with POST …/reviewer, cleared by its next transition. Never public"},"showInApp":{"type":"boolean","description":"\"Show in your app\": whether the Embed SDK may pop it up. Off by default; can't change once published. An entry inside a release follows the release"},"emailSubscribers":{"type":"boolean","description":"\"Email subscribers\": whether subscribers are emailed when it's published (once). Off by default; can't change once published. An entry inside a release follows the release"},"postedAs":{"type":["object","null"],"properties":{"id":{"type":"string"},"name":{"type":["string","null"]},"designation":{"type":["string","null"]},"photoUrl":{"type":["string","null"]}},"required":["id","name","designation","photoUrl"],"description":"Who it's posted as: the person in the byline under its title, with their designation and photo. Set it with postedAsId, a person who can write in the product. null: no byline. A name of null means they've left the organization. An entry inside a release shows under the release's byline"},"revision":{"type":"integer"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"releaseId":{"type":["string","null"]},"body":{"type":"string"},"type":{"type":"string","enum":["new","improved","fixed","security","deprecated"]},"tags":{"type":"array","items":{"type":"string"}},"reactions":{"$ref":"#/components/schemas/ReactionCounts"}},"required":["id","projectId","title","state","source","authorKind","createdById","apiKeyId","approvedById","approvedByName","scheduledAt","missedAt","publishedAt","sourceUrl","reviewNote","reviewerId","showInApp","emailSubscribers","postedAs","revision","createdAt","updatedAt","releaseId","body","type","tags","reactions"]},"Redate":{"type":"object","properties":{"publishedAt":{"type":"string","format":"date-time","description":"The date and time it should show, in the past (from 1990)"}},"required":["publishedAt"]},"SendBack":{"type":"object","properties":{"note":{"type":"string","minLength":1,"maxLength":1000}},"required":["note"]},"ReviewItem":{"type":"object","properties":{"kind":{"type":"string","enum":["release","entry"]},"id":{"type":"string"},"projectId":{"type":"string"},"projectSlug":{"type":"string"},"title":{"type":"string"},"version":{"type":["string","null"]},"authorKind":{"type":"string","enum":["human","agent","ci"]},"source":{"type":"string","enum":["dashboard","api","github","agent"]},"revision":{"type":"integer"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"submittedAt":{"type":["string","null"],"description":"When it last went into review; null when unknown"},"submittedBy":{"type":["object","null"],"properties":{"kind":{"type":"string","enum":["human","agent","ci"]},"name":{"type":["string","null"]},"apiKey":{"type":"boolean"},"agentName":{"type":["string","null"],"description":"The app an AI agent signed in through over MCP, e.g. Claude"}},"required":["kind","name","apiKey","agentName"],"description":"Who sent it for review: an API key by its name (apiKey true), or a person by their name or email"},"entryCount":{"type":["integer","null"],"description":"A release's number of entries; null for an entry"},"excerpt":{"type":"string","description":"The first line of the notes or details as plain text, up to 140 characters"},"reviewerId":{"type":["string","null"],"description":"Who was asked to review it (2026-11-29): a person who can approve, or null for anyone"},"lastSentBack":{"type":["object","null"],"properties":{"at":{"type":"string"},"byName":{"type":["string","null"]},"note":{"type":["string","null"]},"title":{"type":["string","null"]},"text":{"type":["string","null"]}},"required":["at","byName","note","title","text"],"description":"The last time a reviewer sent it back: when, by whom, their note, and the title and notes or details they read then (to compare with now). Never public."}},"required":["kind","id","projectId","projectSlug","title","version","authorKind","source","revision","createdAt","updatedAt","submittedAt","submittedBy","entryCount","excerpt","reviewerId","lastSentBack"]},"ChangelogPage":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/ChangelogRow"}},"nextCursor":{"type":["string","null"]}},"required":["data","nextCursor"],"description":"A page of one section, releases and standalone entries merged; `nextCursor` reads the next, null on the last"},"ChangelogRow":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["release"]},"item":{"$ref":"#/components/schemas/Release"}},"required":["kind","item"]},{"type":"object","properties":{"kind":{"type":"string","enum":["entry"]},"item":{"$ref":"#/components/schemas/ChangelogEntry"}},"required":["kind","item"]}],"description":"A release (with its entries) or a standalone entry, exactly as the list endpoints return it"},"ChangelogSummary":{"type":"object","properties":{"counts":{"type":"object","properties":{"total":{"type":"integer"},"byProject":{"type":"object","additionalProperties":{"type":"integer"}}},"required":["total","byProject"],"description":"Releases and standalone entries in any state, for every project (the tabs), whichever project is in view; `byProject` by project id"},"weekly":{"type":"array","items":{"type":"integer"},"description":"Published releases and standalone entries per week, Monday to Sunday UTC, oldest first; the last is this week"},"lastShippedAt":{"type":["string","null"],"description":"The latest date a published release or standalone entry shows; null when none"},"nextVersions":{"type":"object","additionalProperties":{"type":"string"},"description":"By project id: the version to suggest next, the highest semver plus one minor (1.0.0 for none), or today's date (UTC) for date-versioned projects"}},"required":["counts","weekly","lastShippedAt","nextVersions"],"description":"The figures above the dashboard changelog. `weekly`, `lastShippedAt` and `nextVersions` are for the project in view, or every project"},"ReactionPeople":{"type":"object","properties":{"counts":{"$ref":"#/components/schemas/ReactionCounts"},"data":{"type":"array","items":{"$ref":"#/components/schemas/ReactionPerson"},"description":"Newest reaction first"},"nextCursor":{"type":["string","null"]}},"required":["counts","data","nextCursor"]},"ReactionPerson":{"type":"object","properties":{"user":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":["string","null"]},"handle":{"type":"string"},"photoUrl":{"type":["string","null"]}},"required":["id","name","handle","photoUrl"]},"email":{"type":["string","null"],"description":"Only while they share their email with the products they react to"},"reactions":{"type":"array","items":{"$ref":"#/components/schemas/ReactionKind"}},"reactedAt":{"type":"string","description":"Their latest reaction to this item"}},"required":["user","email","reactions","reactedAt"]},"ReleaseComments":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/TeamComment"}},"nextCursor":{"type":["string","null"]},"counts":{"type":"object","properties":{"pending":{"type":"integer"},"published":{"type":"integer"},"hidden":{"type":"integer"}},"required":["pending","published","hidden"]},"canModerate":{"type":"boolean"},"canComment":{"type":"boolean"},"me":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":["string","null"]},"handle":{"type":"string"},"photoUrl":{"type":["string","null"]}},"required":["id","name","handle","photoUrl"]}},"required":["data","nextCursor","counts","canModerate","canComment","me"],"description":"One release's thread as the team sees it: every state, oldest first, each main comment followed by its follow-ups, with \"Comment deleted\" placeholders kept while anything answers them. A page holds `limit` main comments, each with all its follow-ups; `nextCursor` reads the next, and `counts` cover every page"},"TeamComment":{"type":"object","properties":{"id":{"type":"string"},"release":{"type":"object","properties":{"id":{"type":"string"},"version":{"type":"string"},"slug":{"type":"string"},"title":{"type":"string"},"project":{"type":"object","properties":{"name":{"type":"string"},"slug":{"type":"string"}},"required":["name","slug"]}},"required":["id","version","slug","title","project"]},"parentId":{"type":["string","null"]},"replyToId":{"type":["string","null"]},"replyTo":{"type":["object","null"],"properties":{"handle":{"type":["string","null"]},"gone":{"type":["string","null"],"enum":["deleted","hidden",null]}},"required":["handle","gone"]},"author":{"type":["object","null"],"properties":{"id":{"type":"string"},"name":{"type":["string","null"]},"handle":{"type":"string"},"photoUrl":{"type":["string","null"]}},"required":["id","name","handle","photoUrl"]},"email":{"type":["string","null"]},"fromTeam":{"type":"boolean"},"state":{"type":"string","enum":["published","pending","hidden"]},"body":{"type":"string"},"html":{"type":"string"},"replyCount":{"type":"integer"},"revision":{"type":"integer"},"editedAt":{"type":["string","null"]},"deletedAt":{"type":["string","null"]},"createdAt":{"type":"string"}},"required":["id","release","parentId","replyToId","replyTo","author","email","fromTeam","state","body","html","replyCount","revision","editedAt","deletedAt","createdAt"],"description":"A comment as the team sees it: the email only while the author shares it"},"CommentReleaseList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/CommentRelease"}},"nextCursor":{"type":["string","null"]},"pendingReleases":{"type":"integer"}},"required":["data","nextCursor","pendingReleases"],"description":"Releases with comments, latest comment first. `pendingReleases` counts those with any pending comment, whatever the filter"},"CommentRelease":{"type":"object","properties":{"release":{"type":"object","properties":{"id":{"type":"string"},"version":{"type":"string"},"slug":{"type":"string"},"title":{"type":"string"},"state":{"type":"string","enum":["draft","in_review","scheduled","published"]},"project":{"type":"object","properties":{"name":{"type":"string"},"slug":{"type":"string"}},"required":["name","slug"]}},"required":["id","version","slug","title","state","project"]},"counts":{"type":"object","properties":{"pending":{"type":"integer"},"published":{"type":"integer"},"hidden":{"type":"integer"}},"required":["pending","published","hidden"]},"lastCommentAt":{"type":"string"},"lastAuthor":{"type":["object","null"],"properties":{"id":{"type":"string"},"name":{"type":["string","null"]},"handle":{"type":"string"},"photoUrl":{"type":["string","null"]}},"required":["id","name","handle","photoUrl"]}},"required":["release","counts","lastCommentAt","lastAuthor"],"description":"A release with comments: how many are in each state (deleted ones left out), and its latest comment's time and author"},"TeamCommentList":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"release":{"type":"object","properties":{"id":{"type":"string"},"version":{"type":"string"},"slug":{"type":"string"},"title":{"type":"string"},"project":{"type":"object","properties":{"name":{"type":"string"},"slug":{"type":"string"}},"required":["name","slug"]}},"required":["id","version","slug","title","project"]},"parentId":{"type":["string","null"]},"replyToId":{"type":["string","null"]},"replyTo":{"type":["object","null"],"properties":{"handle":{"type":["string","null"]},"gone":{"type":["string","null"],"enum":["deleted","hidden",null]}},"required":["handle","gone"]},"author":{"type":["object","null"],"properties":{"id":{"type":"string"},"name":{"type":["string","null"]},"handle":{"type":"string"},"photoUrl":{"type":["string","null"]}},"required":["id","name","handle","photoUrl"]},"email":{"type":["string","null"]},"fromTeam":{"type":"boolean"},"state":{"type":"string","enum":["published","pending","hidden"]},"body":{"type":"string"},"html":{"type":"string"},"replyCount":{"type":"integer"},"revision":{"type":"integer"},"editedAt":{"type":["string","null"]},"deletedAt":{"type":["string","null"]},"createdAt":{"type":"string"}},"required":["id","release","parentId","replyToId","replyTo","author","email","fromTeam","state","body","html","replyCount","revision","editedAt","deletedAt","createdAt"]}},"nextCursor":{"type":["string","null"]},"counts":{"type":"object","properties":{"pending":{"type":"integer"},"published":{"type":"integer"},"hidden":{"type":"integer"}},"required":["pending","published","hidden"]}},"required":["data","nextCursor","counts"]},"EmbedGrant":{"type":"object","properties":{"code":{"type":"string"}},"required":["code"],"description":"A one-time code for the embed: one use, for 2 minutes"},"EmbedGrantRequest":{"type":"object","properties":{"productSlug":{"type":"string","minLength":1,"maxLength":64},"challenge":{"type":"string","pattern":"^[A-Za-z0-9_-]{43}$"}},"required":["productSlug","challenge"],"description":"`challenge` is base64url(SHA-256(verifier)); the embed keeps the verifier"},"ApiKey":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"name":{"type":"string"},"lastFour":{"type":"string"},"kind":{"type":"string","enum":["api","sdk"],"description":"\"api\" calls this API; \"sdk\" lets the Embed SDK read public changelog data"},"actorKind":{"type":["string","null"],"enum":["human","agent","ci",null],"description":"Null for SDK keys"},"scopes":{"type":"array","items":{"type":"string"}},"productIds":{"type":"array","items":{"type":"string"}},"createdById":{"type":"string"},"expiresAt":{"type":["string","null"]},"lastUsedAt":{"type":["string","null"]},"revokedAt":{"type":["string","null"]},"createdAt":{"type":"string"}},"required":["id","organizationId","name","lastFour","kind","actorKind","scopes","productIds","createdById","expiresAt","lastUsedAt","revokedAt","createdAt"]},"AuditEvent":{"type":"object","properties":{"id":{"type":"string"},"action":{"type":"string"},"targetType":{"type":"string"},"targetId":{"type":"string"},"targetName":{"type":["string","null"],"description":"What the target is called: \"{project} {version}\" for a release, a title, a name, a domain or an email; for a target that's gone, the name its snapshot recorded; null when nothing names it"},"actorKind":{"type":"string","enum":["human","agent","ci"]},"actor":{"type":"object","properties":{"userId":{"type":["string","null"]},"email":{"type":["string","null"]},"apiKeyId":{"type":["string","null"]},"apiKeyName":{"type":["string","null"]},"oauthClientName":{"type":["string","null"],"description":"The app an AI agent signed in through over MCP (e.g. Claude), when the actor is one"}},"required":["userId","email","apiKeyId","apiKeyName","oauthClientName"],"description":"Who did it. All null when ShipChime did: a platform admin's feed review decision, delisting, relisting, suspension, or deleting a comment"},"before":{},"after":{},"createdAt":{"type":"string"}},"required":["id","action","targetType","targetId","targetName","actorKind","actor","createdAt"]},"AgentConnection":{"type":"object","properties":{"id":{"type":"string"},"clientId":{"type":"string"},"appName":{"type":["string","null"],"description":"The app's name, e.g. Claude"},"appDomain":{"type":["string","null"],"description":"The domain that identifies the app (its Client ID Metadata Document); null when it registered itself"},"userId":{"type":"string"},"personName":{"type":["string","null"]},"personEmail":{"type":"string"},"productId":{"type":["string","null"]},"productName":{"type":["string","null"]},"scopes":{"type":"array","items":{"type":"string"}},"connectedAt":{"type":["string","null"]},"lastActiveAt":{"type":["string","null"],"description":"When it last got a token; refresh tokens roll about hourly"}},"required":["id","clientId","appName","appDomain","userId","personName","personEmail","productId","productName","scopes","connectedAt","lastActiveAt"]},"GitHubInstallation":{"type":"object","properties":{"id":{"type":"string"},"installationId":{"type":"integer"},"accountLogin":{"type":"string"},"accountType":{"type":"string","enum":["User","Organization"]},"suspendedAt":{"type":["string","null"]},"createdAt":{"type":"string"}},"required":["id","installationId","accountLogin","accountType","suspendedAt","createdAt"]},"GitHubRepository":{"type":"object","properties":{"id":{"type":"string"},"projectId":{"type":"string"},"installationId":{"type":"integer"},"repositoryId":{"type":"integer"},"fullName":{"type":"string"},"includePrereleases":{"type":"boolean"},"createdAt":{"type":"string"}},"required":["id","projectId","installationId","repositoryId","fullName","includePrereleases","createdAt"]},"FeedApplicationState":{"type":"object","properties":{"feedStatus":{"type":"string","enum":["not_applied","pending","needs_changes","approved","rejected","delisted"]},"delistReason":{"type":["string","null"]},"publishedReleases":{"type":"integer"},"canApply":{"type":"boolean"},"blockedBy":{"type":["string","null"],"enum":["needs_releases","pending","listed","wait",null]},"reapplyAfter":{"type":["string","null"]},"application":{"type":["object","null"],"properties":{"id":{"type":"string"},"status":{"type":"string","enum":["pending","approved","needs_changes","rejected"]},"submittedAt":{"type":"string"},"decidedAt":{"type":["string","null"]},"note":{"type":["string","null"]},"rejectReason":{"type":["string","null"],"enum":["not_live","unverified_domain","too_little_activity","notes_not_for_customers","incomplete_profile","excluded_category","other",null]}},"required":["id","status","submittedAt","decidedAt","note","rejectReason"]}},"required":["feedStatus","delistReason","publishedReleases","canApply","blockedBy","reapplyAfter","application"]},"AdminFeedApplication":{"type":"object","properties":{"id":{"type":"string"},"status":{"type":"string","enum":["pending","approved","needs_changes","rejected"]},"submittedAt":{"type":"string"},"decidedAt":{"type":["string","null"]},"note":{"type":["string","null"]},"rejectReason":{"type":["string","null"],"enum":["not_live","unverified_domain","too_little_activity","notes_not_for_customers","incomplete_profile","excluded_category","other",null]},"product":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"website":{"type":"string"},"logo":{"type":["string","null"]},"category":{"type":["string","null"]},"feedStatus":{"type":"string","enum":["not_applied","pending","needs_changes","approved","rejected","delisted"]},"organization":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"status":{"type":"string","enum":["active","suspended"]},"subscription":{"type":["object","null"],"properties":{"planId":{"type":"string"},"status":{"type":"string"}},"required":["planId","status"]}},"required":["id","name","status","subscription"]}},"required":["id","name","slug","website","logo","category","feedStatus","organization"]},"submittedBy":{"type":["object","null"],"properties":{"name":{"type":["string","null"]},"email":{"type":"string"}},"required":["name","email"]},"checks":{"type":"object","properties":{"publishedReleases":{"type":"integer"},"releasesLast60Days":{"type":"integer"},"websiteOnVerifiedDomain":{"type":"boolean"},"hasLogo":{"type":"boolean"},"hasCategory":{"type":"boolean"}},"required":["publishedReleases","releasesLast60Days","websiteOnVerifiedDomain","hasLogo","hasCategory"]}},"required":["id","status","submittedAt","decidedAt","note","rejectReason","product","submittedBy","checks"]},"AdminFeedApplicationDetail":{"type":"object","properties":{"id":{"type":"string"},"status":{"type":"string","enum":["pending","approved","needs_changes","rejected"]},"submittedAt":{"type":"string"},"decidedAt":{"type":["string","null"]},"note":{"type":["string","null"]},"rejectReason":{"type":["string","null"],"enum":["not_live","unverified_domain","too_little_activity","notes_not_for_customers","incomplete_profile","excluded_category","other",null]},"product":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"website":{"type":"string"},"logo":{"type":["string","null"]},"category":{"type":["string","null"]},"feedStatus":{"type":"string","enum":["not_applied","pending","needs_changes","approved","rejected","delisted"]},"organization":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"status":{"type":"string","enum":["active","suspended"]},"subscription":{"type":["object","null"],"properties":{"planId":{"type":"string"},"status":{"type":"string"}},"required":["planId","status"]}},"required":["id","name","status","subscription"]}},"required":["id","name","slug","website","logo","category","feedStatus","organization"]},"submittedBy":{"type":["object","null"],"properties":{"name":{"type":["string","null"]},"email":{"type":"string"}},"required":["name","email"]},"checks":{"type":"object","properties":{"publishedReleases":{"type":"integer"},"releasesLast60Days":{"type":"integer"},"websiteOnVerifiedDomain":{"type":"boolean"},"hasLogo":{"type":"boolean"},"hasCategory":{"type":"boolean"}},"required":["publishedReleases","releasesLast60Days","websiteOnVerifiedDomain","hasLogo","hasCategory"]},"releases":{"type":"array","items":{"type":"object","properties":{"projectName":{"type":"string"},"version":{"type":"string"},"title":{"type":"string"},"publishedAt":{"type":"string"},"url":{"type":"string"}},"required":["projectName","version","title","publishedAt","url"]}},"history":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"status":{"type":"string","enum":["pending","approved","needs_changes","rejected"]},"submittedAt":{"type":"string"},"decidedAt":{"type":["string","null"]},"note":{"type":["string","null"]},"rejectReason":{"type":["string","null"],"enum":["not_live","unverified_domain","too_little_activity","notes_not_for_customers","incomplete_profile","excluded_category","other",null]}},"required":["id","status","submittedAt","decidedAt","note","rejectReason"]}}},"required":["id","status","submittedAt","decidedAt","note","rejectReason","product","submittedBy","checks","releases","history"]},"AdminProduct":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"website":{"type":"string"},"logo":{"type":["string","null"]},"category":{"type":["string","null"]},"feedStatus":{"type":"string","enum":["not_applied","pending","needs_changes","approved","rejected","delisted"]},"organization":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"status":{"type":"string","enum":["active","suspended"]},"subscription":{"type":["object","null"],"properties":{"planId":{"type":"string"},"status":{"type":"string"}},"required":["planId","status"]}},"required":["id","name","status","subscription"]},"delistReason":{"type":["string","null"]},"delistedAt":{"type":["string","null"]},"listedAt":{"type":["string","null"]},"lastPublishedAt":{"type":["string","null"]},"onFeed":{"type":"boolean"},"latestApplicationId":{"type":["string","null"]}},"required":["id","name","slug","website","logo","category","feedStatus","organization","delistReason","delistedAt","listedAt","lastPublishedAt","onFeed","latestApplicationId"]},"AdminFeedProduct":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"website":{"type":"string"},"logo":{"type":["string","null"]},"category":{"type":["string","null"]},"feedStatus":{"type":"string","enum":["not_applied","pending","needs_changes","approved","rejected","delisted"]},"organization":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"status":{"type":"string","enum":["active","suspended"]},"subscription":{"type":["object","null"],"properties":{"planId":{"type":"string"},"status":{"type":"string"}},"required":["planId","status"]}},"required":["id","name","status","subscription"]}},"required":["id","name","slug","website","logo","category","feedStatus","organization"]},"AdminStats":{"type":"object","properties":{"organizations":{"type":"object","properties":{"total":{"type":"integer"},"active":{"type":"integer"},"suspended":{"type":"integer"}},"required":["total","active","suspended"]},"users":{"type":"object","properties":{"total":{"type":"integer"},"suspended":{"type":"integer"},"readers":{"type":"integer"}},"required":["total","suspended","readers"]},"products":{"type":"object","properties":{"total":{"type":"integer"},"listed":{"type":"integer"},"pendingApplications":{"type":"integer"}},"required":["total","listed","pendingApplications"]},"releases":{"type":"object","properties":{"total":{"type":"integer"},"last30Days":{"type":"integer"}},"required":["total","last30Days"]},"subscribers":{"type":"object","properties":{"confirmed":{"type":"integer"}},"required":["confirmed"]},"signups":{"type":"array","items":{"type":"object","properties":{"weekStart":{"type":"string"},"count":{"type":"integer"}},"required":["weekStart","count"]}}},"required":["organizations","users","products","releases","subscribers","signups"]},"AdminOrganization":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"status":{"type":"string","enum":["active","suspended"]},"suspendedAt":{"type":["string","null"]},"suspendReason":{"type":["string","null"]},"createdAt":{"type":"string"},"memberCount":{"type":"integer"},"productCount":{"type":"integer"},"subscription":{"type":["object","null"],"properties":{"planId":{"type":"string"},"planName":{"type":"string"},"status":{"type":"string"},"billingEmail":{"type":"string"},"createdAt":{"type":"string"},"periodAnchor":{"type":["string","null"]},"revision":{"type":"integer"},"addOns":{"type":"array","items":{"type":"object","properties":{"addOnId":{"type":"string"},"quantity":{"type":"integer"}},"required":["addOnId","quantity"]}}},"required":["planId","planName","status","billingEmail","createdAt","periodAnchor","revision","addOns"]}},"required":["id","name","slug","status","suspendedAt","suspendReason","createdAt","memberCount","productCount","subscription"]},"AdminOrganizationDetail":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"status":{"type":"string","enum":["active","suspended"]},"suspendedAt":{"type":["string","null"]},"suspendReason":{"type":["string","null"]},"createdAt":{"type":"string"},"memberCount":{"type":"integer"},"productCount":{"type":"integer"},"subscription":{"type":["object","null"],"properties":{"planId":{"type":"string"},"planName":{"type":"string"},"status":{"type":"string"},"billingEmail":{"type":"string"},"createdAt":{"type":"string"},"periodAnchor":{"type":["string","null"]},"revision":{"type":"integer"},"addOns":{"type":"array","items":{"type":"object","properties":{"addOnId":{"type":"string"},"quantity":{"type":"integer"}},"required":["addOnId","quantity"]}}},"required":["planId","planName","status","billingEmail","createdAt","periodAnchor","revision","addOns"]},"members":{"type":"array","items":{"type":"object","properties":{"userId":{"type":"string"},"name":{"type":["string","null"]},"email":{"type":"string"},"role":{"type":"string","enum":["owner","admin","member"]},"joinedAt":{"type":"string"},"suspended":{"type":"boolean"}},"required":["userId","name","email","role","joinedAt","suspended"]}},"products":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"feedStatus":{"type":"string","enum":["not_applied","pending","needs_changes","approved","rejected","delisted"]},"publishedReleases":{"type":"integer"},"lastPublishedAt":{"type":["string","null"]}},"required":["id","name","slug","feedStatus","publishedReleases","lastPublishedAt"]}},"domains":{"type":"array","items":{"type":"string"}},"usage":{"type":"array","items":{"type":"object","properties":{"limit":{"type":"string","enum":["seats","products","storage_bytes","api_keys","audience_emails","releases"]},"used":{"type":"integer"},"allowed":{"type":"integer"}},"required":["limit","used","allowed"]}},"period":{"type":"object","properties":{"start":{"type":"string"},"end":{"type":"string"}},"required":["start","end"]},"overLimits":{"type":"array","items":{"type":"string"}}},"required":["id","name","slug","status","suspendedAt","suspendReason","createdAt","memberCount","productCount","subscription","members","products","domains","usage","period","overLimits"]},"AdminSubscriptionPatch":{"type":"object","properties":{"planId":{"type":"string","enum":["free","trailblazer_monthly"]},"status":{"type":"string","enum":["active","canceled","trialing","past_due","paused","expired"]},"periodAnchor":{"type":["string","null"],"format":"date-time"},"addOns":{"type":"array","items":{"type":"object","properties":{"addOnId":{"type":"string","enum":["seat","product","storage","email_pack"]},"quantity":{"type":"integer","minimum":0,"maximum":10000}},"required":["addOnId","quantity"]},"maxItems":4}},"additionalProperties":false},"AdminUser":{"type":"object","properties":{"id":{"type":"string"},"email":{"type":"string"},"name":{"type":["string","null"]},"handle":{"type":"string"},"kind":{"type":"string","enum":["team","reader"]},"createdAt":{"type":"string"},"lastActiveAt":{"type":["string","null"]},"suspendedAt":{"type":["string","null"]},"suspendReason":{"type":["string","null"]},"platformAdmin":{"type":"boolean"},"organizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"role":{"type":"string","enum":["owner","admin","member"]}},"required":["id","name","role"]}}},"required":["id","email","name","handle","kind","createdAt","lastActiveAt","suspendedAt","suspendReason","platformAdmin","organizations"]},"AdminUserDetail":{"type":"object","properties":{"id":{"type":"string"},"email":{"type":"string"},"name":{"type":["string","null"]},"handle":{"type":"string"},"kind":{"type":"string","enum":["team","reader"]},"createdAt":{"type":"string"},"lastActiveAt":{"type":["string","null"]},"suspendedAt":{"type":["string","null"]},"suspendReason":{"type":["string","null"]},"platformAdmin":{"type":"boolean"},"organizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"role":{"type":"string","enum":["owner","admin","member"]}},"required":["id","name","role"]}},"designation":{"type":["string","null"]},"photoUrl":{"type":["string","null"]},"shareEmailAt":{"type":["string","null"]},"productRoles":{"type":"array","items":{"type":"object","properties":{"productId":{"type":"string"},"productName":{"type":"string"},"organizationName":{"type":"string"},"role":{"type":"string","enum":["admin","manager"]}},"required":["productId","productName","organizationName","role"]}},"apiKeys":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"kind":{"type":"string","enum":["api","sdk"]},"lastFour":{"type":"string"},"organizationName":{"type":"string"},"revokedAt":{"type":["string","null"]}},"required":["id","name","kind","lastFour","organizationName","revokedAt"]}},"oauthConnections":{"type":"array","items":{"type":"object","properties":{"clientId":{"type":"string"},"clientName":{"type":["string","null"]},"createdAt":{"type":["string","null"]}},"required":["clientId","clientName","createdAt"]}}},"required":["id","email","name","handle","kind","createdAt","lastActiveAt","suspendedAt","suspendReason","platformAdmin","organizations","designation","photoUrl","shareEmailAt","productRoles","apiKeys","oauthConnections"]},"AdminCommentList":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"release":{"type":"object","properties":{"id":{"type":"string"},"version":{"type":"string"},"slug":{"type":"string"},"title":{"type":"string"},"project":{"type":"object","properties":{"name":{"type":"string"},"slug":{"type":"string"}},"required":["name","slug"]}},"required":["id","version","slug","title","project"]},"parentId":{"type":["string","null"]},"replyToId":{"type":["string","null"]},"replyTo":{"type":["object","null"],"properties":{"handle":{"type":["string","null"]},"gone":{"type":["string","null"],"enum":["deleted","hidden",null]}},"required":["handle","gone"]},"author":{"type":["object","null"],"properties":{"id":{"type":"string"},"name":{"type":["string","null"]},"handle":{"type":"string"},"photoUrl":{"type":["string","null"]}},"required":["id","name","handle","photoUrl"]},"email":{"type":["string","null"]},"fromTeam":{"type":"boolean"},"state":{"type":"string","enum":["published","pending","hidden"]},"body":{"type":"string"},"html":{"type":"string"},"replyCount":{"type":"integer"},"revision":{"type":"integer"},"editedAt":{"type":["string","null"]},"deletedAt":{"type":["string","null"]},"createdAt":{"type":"string"},"product":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"}},"required":["id","name","slug"]},"organization":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"]}},"required":["id","release","parentId","replyToId","replyTo","author","email","fromTeam","state","body","html","replyCount","revision","editedAt","deletedAt","createdAt","product","organization"]}},"nextCursor":{"type":["string","null"]}},"required":["data","nextCursor"]}},"parameters":{}},"paths":{"/app/api/health":{"get":{"summary":"Liveness and database connectivity check","responses":{"200":{"description":"API and database are up","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Health"}}}},"503":{"description":"Database unreachable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Health"}}}}}}},"/app/api/v1/public/products/{slug}/subscribe":{"post":{"summary":"Subscribe to a product's release emails (double opt-in). Always 202.","description":"Accepts JSON or an HTML form post; a form post is redirected back to the product page.","parameters":[{"schema":{"type":"string"},"required":true,"name":"slug","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string","maxLength":254,"format":"email"},"projectIds":{"type":"array","items":{"type":"string"},"maxItems":50},"website":{"type":"string"},"formToken":{"type":"string","minLength":1},"source":{"type":"string","enum":["page","widget"],"default":"page"}},"required":["email","formToken"]}},"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"email":{"type":"string","maxLength":254,"format":"email"},"projectIds":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"website":{"type":"string"},"formToken":{"type":"string","minLength":1},"source":{"type":"string","enum":["page","widget"],"default":"page"}},"required":["email","formToken"]}}}},"responses":{"202":{"description":"Check your inbox","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","enum":["check_inbox"]}},"required":["status"]}}}},"303":{"description":"Form posts: back to the page"},"400":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/public/subscriptions/confirm":{"get":{"summary":"Who a confirm link is for. Doesn't confirm (GET never changes state).","parameters":[{"schema":{"type":"string","minLength":1},"required":true,"name":"token","in":"query"}],"responses":{"200":{"description":"The product","content":{"application/json":{"schema":{"type":"object","properties":{"product":{"type":"object","properties":{"name":{"type":"string"},"slug":{"type":"string"},"logo":{"type":["string","null"]}},"required":["name","slug","logo"]}},"required":["product"]}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"410":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}},"post":{"summary":"Confirm a subscription","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"token":{"type":"string","minLength":1}},"required":["token"]}}}},"responses":{"200":{"description":"Confirmed","content":{"application/json":{"schema":{"type":"object","properties":{"product":{"type":"object","properties":{"name":{"type":"string"},"slug":{"type":"string"},"logo":{"type":["string","null"]}},"required":["name","slug","logo"]}},"required":["product"]}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"410":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/public/subscriptions/unsubscribe":{"post":{"summary":"Unsubscribe (RFC 8058 one-click target). Idempotent; always 200.","parameters":[{"schema":{"type":"string"},"required":true,"name":"s","in":"query"},{"schema":{"type":"string"},"required":true,"name":"sig","in":"query"}],"responses":{"200":{"description":"Unsubscribed","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","enum":["unsubscribed"]}},"required":["status"]}}}}}}},"/app/api/v1/public/subscriptions/preferences":{"get":{"summary":"A subscriber's project choices, from a signed link","parameters":[{"schema":{"type":"string"},"required":true,"name":"s","in":"query"},{"schema":{"type":"string"},"required":true,"name":"sig","in":"query"}],"responses":{"200":{"description":"Preferences","content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string"},"product":{"type":"object","properties":{"name":{"type":"string"},"slug":{"type":"string"}},"required":["name","slug"]},"projects":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"]}},"projectIds":{"type":"array","items":{"type":"string"}}},"required":["email","product","projects","projectIds"]}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}},"post":{"summary":"Change which projects a subscriber hears about","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"s":{"type":"string"},"sig":{"type":"string"},"projectIds":{"type":"array","items":{"type":"string"},"maxItems":50}},"required":["s","sig","projectIds"]}}}},"responses":{"200":{"description":"Preferences","content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string"},"product":{"type":"object","properties":{"name":{"type":"string"},"slug":{"type":"string"}},"required":["name","slug"]},"projects":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"]}},"projectIds":{"type":"array","items":{"type":"string"}}},"required":["email","product","projects","projectIds"]}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/integrations/postmark/webhook":{"post":{"summary":"Postmark bounce and spam-complaint webhook (HTTP Basic auth)","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":{}}}}},"responses":{"200":{"description":"Handled","content":{"application/json":{"schema":{"type":"object","properties":{"removed":{"type":"integer"}},"required":["removed"]}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/integrations/github/webhook":{"post":{"summary":"GitHub App webhook. X-Hub-Signature-256 is checked before anything else; work happens in a job","responses":{"202":{"description":"Queued (or a repeat, skipped)","content":{"application/json":{"schema":{"type":"object","properties":{"accepted":{"type":"boolean","enum":[true]}},"required":["accepted"]}}}},"400":{"description":"Missing headers or not JSON","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"}},"required":["code"]}}}},"401":{"description":"Missing or invalid signature","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"}},"required":["code"]}}}},"503":{"description":"GitHub isn't set up","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"}},"required":["code"]}}}}}}},"/app/api/v1/public/embed-sessions":{"post":{"summary":"The embed swaps a one-time code and its verifier for its own sign-in (an sc_es_ token), or polls with the verifier alone. No sign-in needed","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmbedSessionRequest"}}}},"responses":{"200":{"description":"The embed's sign-in","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmbedSession"}}}},"202":{"description":"Polling: no grant for this verifier yet","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmbedSessionPending"}}}},"400":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/public/embed-sessions/current":{"delete":{"summary":"Sign out in the embed: deletes the embed sign-in sent as Authorization: Bearer sc_es_…. Idempotent","responses":{"204":{"description":"Done"},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/public/reactions":{"get":{"summary":"The visitor's reaction state for the items on a page: counts, and which are theirs. Works signed out; never cached","parameters":[{"schema":{"type":"string","description":"Up to 50 items, comma-separated: \"release:{id}\" or \"entry:{id}\"","example":"release:clx0a1b2c3,entry:clx4d5e6f7"},"required":false,"description":"Up to 50 items, comma-separated: \"release:{id}\" or \"entry:{id}\"","name":"items","in":"query"}],"responses":{"200":{"description":"Each public item's counts and the visitor's own","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicReactions"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}},"post":{"summary":"The reaction bar without JavaScript: toggle a reaction, then 303 back to `return` (signed out: to the reader sign-in)","requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/ReactionForm"}},"application/json":{"schema":{"$ref":"#/components/schemas/ReactionForm"}}}},"responses":{"303":{"description":"Back to the page, or to the reader sign-in when signed out"},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/public/releases/{id}/reactions/{kind}":{"put":{"summary":"Add one of your reactions to a published release. Idempotent. Signed-in people only (a session)","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","description":"thumbs_up, heart, tada, rocket, eyes or confused","example":"tada"},"required":true,"description":"thumbs_up, heart, tada, rocket, eyes or confused","name":"kind","in":"path"}],"responses":{"200":{"description":"The item's new counts and your own reactions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReactionState"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}},"delete":{"summary":"Remove one of your reactions to a published release. Idempotent. Signed-in people only (a session)","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","description":"thumbs_up, heart, tada, rocket, eyes or confused","example":"tada"},"required":true,"description":"thumbs_up, heart, tada, rocket, eyes or confused","name":"kind","in":"path"}],"responses":{"200":{"description":"The item's new counts and your own reactions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReactionState"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/public/entries/{id}/reactions/{kind}":{"put":{"summary":"Add one of your reactions to a published standalone entry. Idempotent. Signed-in people only (a session)","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","description":"thumbs_up, heart, tada, rocket, eyes or confused","example":"tada"},"required":true,"description":"thumbs_up, heart, tada, rocket, eyes or confused","name":"kind","in":"path"}],"responses":{"200":{"description":"The item's new counts and your own reactions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReactionState"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}},"delete":{"summary":"Remove one of your reactions to a published standalone entry. Idempotent. Signed-in people only (a session)","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","description":"thumbs_up, heart, tada, rocket, eyes or confused","example":"tada"},"required":true,"description":"thumbs_up, heart, tada, rocket, eyes or confused","name":"kind","in":"path"}],"responses":{"200":{"description":"The item's new counts and your own reactions","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReactionState"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/public/releases/{id}/comments":{"get":{"summary":"A published release's comments for the visitor: published ones plus your own pending ones, `limit` main comments at a time (oldest first), each with all its follow-ups, and whether you can comment. Works signed out; never cached","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"},{"schema":{"type":"integer","minimum":1,"description":"Page size, 1–100 (default 10)"},"required":false,"description":"Page size, 1–100 (default 10)","name":"limit","in":"query"},{"schema":{"type":"string","description":"nextCursor from the previous page"},"required":false,"description":"nextCursor from the previous page","name":"cursor","in":"query"}],"responses":{"200":{"description":"A page of the thread","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicComments"}}}},"400":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}},"post":{"summary":"Comment on a published release, or reply to a comment on it (`replyToId`; with `parentId` alone, a main comment). Signed-in people only (a session); 5 a minute and 30 an hour","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommentCreate"}}}},"responses":{"201":{"description":"Your comment: published, or pending while approval is on","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicComment"}}}},"400":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/public/comments/{id}":{"patch":{"summary":"Edit your comment (If-Match required). While the product approves comments, an approved one waits again","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommentUpdate"}}}},"responses":{"200":{"description":"Your comment","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicComment"}}}},"400":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"412":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"428":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}},"delete":{"summary":"Delete your comment. While anything answers it, it stays as \"Comment deleted\", with no author or text; otherwise it goes, with any placeholder kept only for it","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"responses":{"204":{"description":"Done"},"400":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"412":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/public/comments":{"post":{"summary":"The comment box without JavaScript: comment, then 303 back to `return` at the new comment (signed out: to the reader sign-in; a problem: back with ?comment_error=)","requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/CommentForm"}},"application/json":{"schema":{"$ref":"#/components/schemas/CommentForm"}}}},"responses":{"303":{"description":"Back to the page at #comment-{id}; to the reader sign-in when signed out; or back with comment_error=empty|too_long|rate_limited|suspended|invalid"},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/me":{"get":{"summary":"The signed-in user, their organizations and their current product","responses":{"200":{"description":"Signed in","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Me"}}}},"401":{"description":"Not signed in","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/me/active-product":{"put":{"summary":"Set the product the dashboard has open","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"productId":{"type":"string"}},"required":["productId"]}}}},"responses":{"200":{"description":"Saved","content":{"application/json":{"schema":{"type":"object","properties":{"activeProductId":{"type":"string"}},"required":["activeProductId"]}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/me/photo":{"put":{"summary":"Set your profile photo: a square PNG, JPEG or WebP, at most 512 × 512 pixels and 2 MB, as the request body with its Content-Type. Dashboard sessions only","requestBody":{"required":true,"content":{"image/png":{"schema":{"type":"string","format":"binary"}},"image/jpeg":{"schema":{"type":"string","format":"binary"}},"image/webp":{"schema":{"type":"string","format":"binary"}}}},"responses":{"200":{"description":"The new photo","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfilePhoto"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"415":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}},"delete":{"summary":"Remove your profile photo. Dashboard sessions only","responses":{"200":{"description":"No photo","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfilePhoto"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/me/handle":{"put":{"summary":"Change your @handle: 3 to 30 lowercase letters, numbers and underscores, starting with a letter. Dashboard sessions only","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"handle":{"type":"string","description":"The new @handle. A leading @ is dropped and it's lowercased","example":"alice"}},"required":["handle"]}}}},"responses":{"200":{"description":"Your @handle","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Handle"}}}},"400":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/me/email-sharing":{"put":{"summary":"Share your email with the products you react to or comment on, or stop sharing it. Dashboard sessions only","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"share":{"type":"boolean"}},"required":["share"]}}}},"responses":{"200":{"description":"Whether you share your email","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailSharing"}}}},"400":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/me/start-publishing":{"post":{"summary":"Start publishing: for a reader with a work email, account setup as at a first sign-in (an invitation, the email domain's organization, or a new one). Dashboard sessions only","responses":{"200":{"description":"Account setup is done","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartPublishing"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/organizations/{id}":{"get":{"summary":"Get an organization","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"The organization","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Organization"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}},"patch":{"summary":"Rename an organization or change auto-join (If-Match required)","description":"Owners change the name and slug; owners and admins change autoJoin.","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"slug":{"type":"string","minLength":1,"maxLength":48,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","example":"acme"},"autoJoin":{"type":"boolean"}}}}}},"responses":{"200":{"description":"The updated organization","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Organization"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"412":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"428":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/organizations/{id}/members":{"get":{"summary":"List organization members","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"},{"schema":{"type":"integer","minimum":1,"description":"Page size, 1–100 (default 25)"},"required":false,"description":"Page size, 1–100 (default 25)","name":"limit","in":"query"},{"schema":{"type":"string","description":"nextCursor from the previous page"},"required":false,"description":"nextCursor from the previous page","name":"cursor","in":"query"}],"responses":{"200":{"description":"Members","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Member"}},"nextCursor":{"type":["string","null"]}},"required":["data","nextCursor"]}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/organizations/{id}/members/{userId}":{"patch":{"summary":"Change a member's organization role (If-Match required)","description":"Owners and admins only. Owners can't be demoted; only owners can promote to owner.","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string"},"required":true,"name":"userId","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"role":{"type":"string","enum":["owner","admin","member"]}},"required":["role"]}}}},"responses":{"200":{"description":"The updated member","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Member"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"412":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"428":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}},"delete":{"summary":"Remove a member (or leave). Owners can't be removed.","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string"},"required":true,"name":"userId","in":"path"}],"responses":{"204":{"description":"Done"},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"412":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/products/{id}/members":{"get":{"summary":"List members with a role in this product","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"},{"schema":{"type":"integer","minimum":1,"description":"Page size, 1–100 (default 25)"},"required":false,"description":"Page size, 1–100 (default 25)","name":"limit","in":"query"},{"schema":{"type":"string","description":"nextCursor from the previous page"},"required":false,"description":"nextCursor from the previous page","name":"cursor","in":"query"}],"responses":{"200":{"description":"Product members","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/ProductMember"}},"nextCursor":{"type":["string","null"]}},"required":["data","nextCursor"]}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}},"post":{"summary":"Grant a product role to an organization member","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"userId":{"type":"string"},"role":{"type":"string","enum":["admin","manager"]}},"required":["userId","role"]}}}},"responses":{"201":{"description":"The product member","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductMember"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/products/{id}/authors":{"get":{"summary":"List the people this product's releases and entries can be posted as: its organization's owners and admins, and the product's admins and managers. Dashboard sessions only","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"},{"schema":{"type":"integer","minimum":1,"description":"Page size, 1–100 (default 25)"},"required":false,"description":"Page size, 1–100 (default 25)","name":"limit","in":"query"},{"schema":{"type":"string","description":"nextCursor from the previous page"},"required":false,"description":"nextCursor from the previous page","name":"cursor","in":"query"}],"responses":{"200":{"description":"People content can be posted as","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Author"}},"nextCursor":{"type":["string","null"]}},"required":["data","nextCursor"]}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/products/{id}/members/{userId}":{"patch":{"summary":"Change a product role (If-Match required)","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string"},"required":true,"name":"userId","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"role":{"type":"string","enum":["admin","manager"]}},"required":["role"]}}}},"responses":{"200":{"description":"The product member","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductMember"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"412":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"428":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}},"delete":{"summary":"Remove a product role; the person stays in the organization","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string"},"required":true,"name":"userId","in":"path"}],"responses":{"204":{"description":"Done"},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"412":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/organizations/{id}/plan":{"get":{"summary":"An organization's plan, what it has used of each limit, what would lift each one that's full, and this month's API calls","description":"Any member, by session; an API key for its own organization. It answers while the organization's subscription has ended, for its billing page.","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"The plan and its usage","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationPlan"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/organizations/{id}/invitations":{"get":{"summary":"List pending invitations (including expired ones not yet accepted). `productId` lists only the invitations to that product, as its members page shows them","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"},{"schema":{"type":"integer","minimum":1,"description":"Page size, 1–100 (default 25)"},"required":false,"description":"Page size, 1–100 (default 25)","name":"limit","in":"query"},{"schema":{"type":"string","description":"nextCursor from the previous page"},"required":false,"description":"nextCursor from the previous page","name":"cursor","in":"query"},{"schema":{"type":"string","description":"Only invitations that give a role in this product"},"required":false,"description":"Only invitations that give a role in this product","name":"productId","in":"query"}],"responses":{"200":{"description":"Invitations","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Invitation"}},"nextCursor":{"type":["string","null"]}},"required":["data","nextCursor"]}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}},"post":{"summary":"Invite someone by email","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string","format":"email"},"orgRole":{"type":"string","enum":["admin","member"],"default":"member"},"productId":{"type":"string"},"productRole":{"type":"string","enum":["admin","manager"]}},"required":["email"]}}}},"responses":{"201":{"description":"The invitation (the token is only emailed)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invitation"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/invitations/{id}":{"delete":{"summary":"Revoke an invitation","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"responses":{"204":{"description":"Done"},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/invitations/accept":{"post":{"summary":"Accept an invitation from its emailed link","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"token":{"type":"string","minLength":1}},"required":["token"]}}}},"responses":{"200":{"description":"Accepted","content":{"application/json":{"schema":{"type":"object","properties":{"organizationId":{"type":"string"},"productId":{"type":["string","null"]}},"required":["organizationId","productId"]}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"410":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/organizations/{id}/join-requests":{"get":{"summary":"List join requests (pending by default)","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"},{"schema":{"type":"integer","minimum":1,"description":"Page size, 1–100 (default 25)"},"required":false,"description":"Page size, 1–100 (default 25)","name":"limit","in":"query"},{"schema":{"type":"string","description":"nextCursor from the previous page"},"required":false,"description":"nextCursor from the previous page","name":"cursor","in":"query"},{"schema":{"type":"string","enum":["pending","approved","declined"],"default":"pending"},"required":false,"name":"status","in":"query"}],"responses":{"200":{"description":"Join requests","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/JoinRequest"}},"nextCursor":{"type":["string","null"]}},"required":["data","nextCursor"]}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/join-requests/{id}/approve":{"post":{"summary":"Approve a join request","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"Decided","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","enum":["pending","approved","declined"]}},"required":["status"]}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/join-requests/{id}/decline":{"post":{"summary":"Decline a join request","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"Decided","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","enum":["pending","approved","declined"]}},"required":["status"]}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/organizations/{id}/domains":{"get":{"summary":"Verified domains (paginated) and open DNS claims (at most 5)","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"},{"schema":{"type":"integer","minimum":1,"description":"Page size, 1–100 (default 25)"},"required":false,"description":"Page size, 1–100 (default 25)","name":"limit","in":"query"},{"schema":{"type":"string","description":"nextCursor from the previous page"},"required":false,"description":"nextCursor from the previous page","name":"cursor","in":"query"}],"responses":{"200":{"description":"Domains and claims","content":{"application/json":{"schema":{"type":"object","properties":{"domains":{"type":"array","items":{"$ref":"#/components/schemas/Domain"}},"claims":{"type":"array","items":{"$ref":"#/components/schemas/DomainClaim"}},"nextCursor":{"type":["string","null"]}},"required":["domains","claims","nextCursor"]}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/organizations/{id}/domain-claims":{"post":{"summary":"Claim a domain; returns the TXT record to add","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"domain":{"type":"string","minLength":1}},"required":["domain"]}}}},"responses":{"201":{"description":"The claim","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainClaim"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/domain-claims/{id}/verify":{"post":{"summary":"Check the TXT record now; verifies the domain if found","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"Done","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Domain"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/domain-claims/{id}/restart":{"post":{"summary":"New token and a fresh 7 days","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"Done","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainClaim"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/domain-claims/{id}":{"delete":{"summary":"Remove a claim","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"responses":{"204":{"description":"Done"},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/domains/{id}":{"delete":{"summary":"Remove a verified domain (not the last one, nor one a product website uses)","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"responses":{"204":{"description":"Done"},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/products":{"get":{"summary":"List products you can access","parameters":[{"schema":{"type":"integer","minimum":1,"description":"Page size, 1–100 (default 25)"},"required":false,"description":"Page size, 1–100 (default 25)","name":"limit","in":"query"},{"schema":{"type":"string","description":"nextCursor from the previous page"},"required":false,"description":"nextCursor from the previous page","name":"cursor","in":"query"},{"schema":{"type":"string"},"required":false,"name":"organizationId","in":"query"}],"responses":{"200":{"description":"Products","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Product"}},"nextCursor":{"type":["string","null"]}},"required":["data","nextCursor"]}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}},"post":{"summary":"Create a product (with a Web App project)","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"organizationId":{"type":"string"},"name":{"type":"string","minLength":1,"maxLength":80},"slug":{"type":"string","minLength":1,"maxLength":48,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","example":"acme"},"website":{"type":"string","format":"uri"},"brandColor":{"type":["string","null"],"pattern":"^#[0-9a-f]{6}$/i","example":"#0f766e"},"category":{"type":["string","null"],"enum":["AI","Analytics","Communication","Customer support","Design","Developer tools","E-commerce","Education","Finance","Health","Marketing","Productivity","Sales and CRM","Security","Other",null],"description":"One of: AI, Analytics, Communication, Customer support, Design, Developer tools, E-commerce, Education, Finance, Health, Marketing, Productivity, Sales and CRM, Security, Other"},"description":{"type":["string","null"],"maxLength":200},"commentApproval":{"type":"boolean"}},"required":["organizationId","name","website"]}}}},"responses":{"201":{"description":"The product","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Product"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/products/{id}":{"get":{"summary":"Get a product","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"The product","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Product"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}},"patch":{"summary":"Edit a product's settings (If-Match required)","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"slug":{"type":"string","minLength":1,"maxLength":48,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","example":"acme"},"website":{"type":"string","format":"uri"},"logo":{"type":["string","null"],"format":"uri"},"brandColor":{"type":["string","null"],"pattern":"^#[0-9a-f]{6}$/i","example":"#0f766e"},"favicon":{"type":["string","null"],"format":"uri"},"category":{"type":["string","null"],"enum":["AI","Analytics","Communication","Customer support","Design","Developer tools","E-commerce","Education","Finance","Health","Marketing","Productivity","Sales and CRM","Security","Other",null],"description":"One of: AI, Analytics, Communication, Customer support, Design, Developer tools, E-commerce, Education, Finance, Health, Marketing, Productivity, Sales and CRM, Security, Other"},"description":{"type":["string","null"],"maxLength":200},"embedInteraction":{"type":"boolean"},"commentApproval":{"type":"boolean"}}}}}},"responses":{"200":{"description":"The product","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Product"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"412":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"428":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}},"delete":{"summary":"Delete a product and everything in it (organization owners and admins; not the organization's last product)","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"responses":{"204":{"description":"Done"},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"412":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/products/{id}/projects":{"get":{"summary":"List a product's projects, in switcher order","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"},{"schema":{"type":"integer","minimum":1,"description":"Page size, 1–100 (default 25)"},"required":false,"description":"Page size, 1–100 (default 25)","name":"limit","in":"query"},{"schema":{"type":"string","description":"nextCursor from the previous page"},"required":false,"description":"nextCursor from the previous page","name":"cursor","in":"query"}],"responses":{"200":{"description":"Projects","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Project"}},"nextCursor":{"type":["string","null"]}},"required":["data","nextCursor"]}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}},"post":{"summary":"Add a project to a product","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"slug":{"type":"string","minLength":1,"maxLength":48,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","example":"acme"},"type":{"type":"string","enum":["web_app","api","cli","mcp_server","sdk","mobile_app","other"]},"versioning":{"type":"string","enum":["semver","date"],"default":"semver"}},"required":["name","type"]}}}},"responses":{"201":{"description":"The project","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Project"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/projects/{id}":{"patch":{"summary":"Edit a project (If-Match required)","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"slug":{"type":"string","minLength":1,"maxLength":48,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","example":"acme"},"type":{"type":"string","enum":["web_app","api","cli","mcp_server","sdk","mobile_app","other"]},"versioning":{"type":"string","enum":["semver","date"]},"position":{"type":"integer","minimum":0,"maximum":10000}}}}}},"responses":{"200":{"description":"The project","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Project"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"412":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"428":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}},"delete":{"summary":"Delete a project and its history (not the product's last project)","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"responses":{"204":{"description":"Done"},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"412":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/products/{id}/subscribers":{"get":{"summary":"List a product's subscribers, newest first","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"},{"schema":{"type":"integer","minimum":1,"description":"Page size, 1–100 (default 25)"},"required":false,"description":"Page size, 1–100 (default 25)","name":"limit","in":"query"},{"schema":{"type":"string","description":"nextCursor from the previous page"},"required":false,"description":"nextCursor from the previous page","name":"cursor","in":"query"},{"schema":{"type":"string","enum":["confirmed","pending"]},"required":false,"name":"status","in":"query"}],"responses":{"200":{"description":"Subscribers","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Subscriber"}},"nextCursor":{"type":["string","null"]}},"required":["data","nextCursor"]}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/products/{id}/subscribers/count":{"get":{"summary":"How many people subscribe to a product's changelog, or to one project's, without their emails. For everyone who can publish, since publishing emails them","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","description":"Count those who get this project's emails: everyone on the whole product, and those who chose it"},"required":false,"description":"Count those who get this project's emails: everyone on the whole product, and those who chose it","name":"projectId","in":"query"}],"responses":{"200":{"description":"The counts","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriberCount"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/subscribers/{id}":{"delete":{"summary":"Remove a subscriber","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"responses":{"204":{"description":"Done"},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/products/{id}/uploads":{"post":{"summary":"Upload an image for a product's notes: JPG, PNG or GIF up to 10 MB, as the request body with its Content-Type, and its file name in ?name=. Returns its address","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","maxLength":1000,"description":"The file's name, kept for the media library (up to 120 characters)"},"required":false,"description":"The file's name, kept for the media library (up to 120 characters)","name":"name","in":"query"}],"requestBody":{"required":true,"content":{"image/png":{"schema":{"type":"string","format":"binary"}},"image/jpeg":{"schema":{"type":"string","format":"binary"}},"image/gif":{"schema":{"type":"string","format":"binary"}}}},"responses":{"201":{"description":"The stored image","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Upload"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"413":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"415":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}},"get":{"summary":"List a product's uploads for the media library, newest first: ?kind=images or gifs, ?q= to search names, with the counts for the same search","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"},{"schema":{"type":"integer","minimum":1,"description":"Page size, 1–100 (default 10)"},"required":false,"description":"Page size, 1–100 (default 10)","name":"limit","in":"query"},{"schema":{"type":"string","description":"nextCursor from the previous page"},"required":false,"description":"nextCursor from the previous page","name":"cursor","in":"query"},{"schema":{"type":"string","enum":["all","images","gifs"],"description":"images (JPG, PNG and older WebP) or gifs; all by default"},"required":false,"description":"images (JPG, PNG and older WebP) or gifs; all by default","name":"kind","in":"query"},{"schema":{"type":"string","maxLength":100,"description":"Search the names"},"required":false,"description":"Search the names","name":"q","in":"query"}],"responses":{"200":{"description":"A page of uploads","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadList"}}}},"400":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/uploads/{id}":{"get":{"summary":"One upload, and where it's still used: before deleting it","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"The upload","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadDetail"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}},"delete":{"summary":"Delete an upload from the media library, freeing its storage. Releases and products that use it as a feature image, logo or favicon lose it; notes that show it show a broken image","description":"Anyone who can write in the product. When something live uses it (published or scheduled content, or the product's logo), it needs publish rights: API keys need releases:publish.","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"responses":{"204":{"description":"Deleted"},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/projects/{id}/releases":{"get":{"summary":"List a project's releases, newest first","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"},{"schema":{"type":"integer","minimum":1,"description":"Page size, 1–100 (default 25)"},"required":false,"description":"Page size, 1–100 (default 25)","name":"limit","in":"query"},{"schema":{"type":"string","description":"nextCursor from the previous page"},"required":false,"description":"nextCursor from the previous page","name":"cursor","in":"query"},{"schema":{"type":"string","enum":["draft","in_review","scheduled","published"]},"required":false,"name":"state","in":"query"},{"schema":{"type":"string","maxLength":64,"description":"Only this version"},"required":false,"description":"Only this version","name":"version","in":"query"}],"responses":{"200":{"description":"Releases","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Release"}},"nextCursor":{"type":["string","null"]}},"required":["data","nextCursor"]}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}},"post":{"summary":"Create a draft release","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","enum":["true","false"],"description":"true: validate and return the result without saving it"},"required":false,"description":"true: validate and return the result without saving it","name":"dry_run","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"version":{"type":"string","minLength":1,"maxLength":64},"title":{"type":"string","minLength":1,"maxLength":200},"notes":{"type":"string","maxLength":100000,"default":""},"showInApp":{"type":"boolean"},"emailSubscribers":{"type":"boolean"},"cover":{"type":["object","null"],"properties":{"uploadId":{"type":"string","minLength":1,"maxLength":64},"alt":{"type":"string","maxLength":300,"default":""}},"required":["uploadId"]},"postedAsId":{"type":["string","null"],"minLength":1,"maxLength":64},"slug":{"type":"string","maxLength":200}},"required":["version","title"]}}}},"responses":{"201":{"description":"The release","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Release"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/releases/{id}":{"get":{"summary":"Get a release and its entries","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"The release","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Release"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}},"patch":{"summary":"Edit a release (If-Match required; published content needs publish rights)","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","enum":["true","false"],"description":"true: validate and return the result without saving it"},"required":false,"description":"true: validate and return the result without saving it","name":"dry_run","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"version":{"type":"string","minLength":1,"maxLength":64},"slug":{"type":"string","maxLength":200},"title":{"type":"string","minLength":1,"maxLength":200},"notes":{"type":"string","maxLength":100000},"showInApp":{"type":"boolean"},"emailSubscribers":{"type":"boolean"},"cover":{"type":["object","null"],"properties":{"uploadId":{"type":"string","minLength":1,"maxLength":64},"alt":{"type":"string","maxLength":300,"default":""}},"required":["uploadId"]},"postedAsId":{"type":["string","null"],"minLength":1,"maxLength":64}}}}}},"responses":{"200":{"description":"The release","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Release"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"412":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"428":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}},"delete":{"summary":"Delete a draft or in-review release; its entries become standalone drafts","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","enum":["true","false"],"description":"true: validate and return the result without saving it"},"required":false,"description":"true: validate and return the result without saving it","name":"dry_run","in":"query"}],"responses":{"204":{"description":"Done"},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"412":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/releases/{id}/submit":{"post":{"summary":"Submit for review","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","enum":["true","false"],"description":"true: validate and return the result without saving it"},"required":false,"description":"true: validate and return the result without saving it","name":"dry_run","in":"query"}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"reviewerId":{"type":["string","null"],"description":"Someone who can approve in the product: only they are emailed, though anyone who can approve still may. Omitted or null: anyone, and everyone who can approve is emailed"}}}}}},"responses":{"200":{"description":"The release","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Release"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"412":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/releases/{id}/approve":{"post":{"summary":"Approve and publish (or schedule) content in review; people only","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","enum":["true","false"],"description":"true: validate and return the result without saving it"},"required":false,"description":"true: validate and return the result without saving it","name":"dry_run","in":"query"}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"scheduledAt":{"type":"string","format":"date-time","description":"Publish later instead of now"},"publishedAt":{"type":"string","format":"date-time","description":"Publish now, dated earlier: for a release someone forgot to add. A date and time in the past (from 1990); not with scheduledAt. Subscribers and the Embed SDK treat it as new, if its checkboxes say so"}}}}}},"responses":{"200":{"description":"The release","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Release"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"412":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/releases/{id}/publish":{"post":{"summary":"Publish now, or schedule with scheduledAt, or date it earlier with publishedAt","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","enum":["true","false"],"description":"true: validate and return the result without saving it"},"required":false,"description":"true: validate and return the result without saving it","name":"dry_run","in":"query"}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"scheduledAt":{"type":"string","format":"date-time","description":"Publish later instead of now"},"publishedAt":{"type":"string","format":"date-time","description":"Publish now, dated earlier: for a release someone forgot to add. A date and time in the past (from 1990); not with scheduledAt. Subscribers and the Embed SDK treat it as new, if its checkboxes say so"}}}}}},"responses":{"200":{"description":"The release","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Release"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"412":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/releases/{id}/unpublish":{"post":{"summary":"Take it off the public page; back to draft","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","enum":["true","false"],"description":"true: validate and return the result without saving it"},"required":false,"description":"true: validate and return the result without saving it","name":"dry_run","in":"query"}],"responses":{"200":{"description":"The release","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Release"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"412":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/releases/{id}/reviewer":{"post":{"summary":"Ask someone else to review it, or anyone (people who can approve; If-Match accepted). The person asked is emailed","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","enum":["true","false"],"description":"true: validate and return the result without saving it"},"required":false,"description":"true: validate and return the result without saving it","name":"dry_run","in":"query"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"reviewerId":{"type":["string","null"],"description":"Someone who can approve in the product, or null for anyone"}},"required":["reviewerId"]}}}},"responses":{"200":{"description":"The release","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Release"}}}},"400":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"412":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/releases/{id}/redate":{"post":{"summary":"Change a published item's date (publishedAt, in the past). Needs publish rights; sends no email","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","enum":["true","false"],"description":"true: validate and return the result without saving it"},"required":false,"description":"true: validate and return the result without saving it","name":"dry_run","in":"query"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Redate"}}}},"responses":{"200":{"description":"The release, with its new date","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Release"}}}},"400":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"412":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/releases/{id}/send-back":{"post":{"summary":"Send content in review back to draft with a note for whoever submitted it; people only","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","enum":["true","false"],"description":"true: validate and return the result without saving it"},"required":false,"description":"true: validate and return the result without saving it","name":"dry_run","in":"query"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendBack"}}}},"responses":{"200":{"description":"The release, back in draft","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Release"}}}},"400":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"412":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/projects/{id}/entries":{"get":{"summary":"List a project's changelog entries, newest first","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"},{"schema":{"type":"integer","minimum":1,"description":"Page size, 1–100 (default 25)"},"required":false,"description":"Page size, 1–100 (default 25)","name":"limit","in":"query"},{"schema":{"type":"string","description":"nextCursor from the previous page"},"required":false,"description":"nextCursor from the previous page","name":"cursor","in":"query"},{"schema":{"type":"string","enum":["draft","in_review","scheduled","published"]},"required":false,"name":"state","in":"query"},{"schema":{"type":"string"},"required":false,"name":"releaseId","in":"query"},{"schema":{"type":"string","enum":["true","false"],"description":"true: only entries outside a release"},"required":false,"description":"true: only entries outside a release","name":"standalone","in":"query"}],"responses":{"200":{"description":"Entries","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/ChangelogEntry"}},"nextCursor":{"type":["string","null"]}},"required":["data","nextCursor"]}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}},"post":{"summary":"Create a changelog entry, standalone or inside a release","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","enum":["true","false"],"description":"true: validate and return the result without saving it"},"required":false,"description":"true: validate and return the result without saving it","name":"dry_run","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":200},"body":{"type":"string","maxLength":50000,"default":""},"type":{"type":"string","enum":["new","improved","fixed","security","deprecated"]},"tags":{"type":"array","items":{"type":"string","minLength":1,"maxLength":40},"maxItems":20,"default":[]},"releaseId":{"type":["string","null"]},"showInApp":{"type":"boolean"},"emailSubscribers":{"type":"boolean"},"postedAsId":{"type":["string","null"],"minLength":1,"maxLength":64}},"required":["title","type"]}}}},"responses":{"201":{"description":"The entry","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangelogEntry"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/entries/{id}":{"get":{"summary":"Get a changelog entry","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"The entry","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangelogEntry"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}},"patch":{"summary":"Edit an entry, or move it into or out of a release (If-Match required)","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","enum":["true","false"],"description":"true: validate and return the result without saving it"},"required":false,"description":"true: validate and return the result without saving it","name":"dry_run","in":"query"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":200},"body":{"type":"string","maxLength":50000},"type":{"type":"string","enum":["new","improved","fixed","security","deprecated"]},"tags":{"type":"array","items":{"type":"string","minLength":1,"maxLength":40},"maxItems":20},"releaseId":{"type":["string","null"]},"showInApp":{"type":"boolean"},"emailSubscribers":{"type":"boolean"},"postedAsId":{"type":["string","null"],"minLength":1,"maxLength":64}}}}}},"responses":{"200":{"description":"The entry","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangelogEntry"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"412":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"428":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}},"delete":{"summary":"Delete an entry (unpublish a standalone entry first)","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","enum":["true","false"],"description":"true: validate and return the result without saving it"},"required":false,"description":"true: validate and return the result without saving it","name":"dry_run","in":"query"}],"responses":{"204":{"description":"Done"},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"412":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/entries/{id}/submit":{"post":{"summary":"Submit for review","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","enum":["true","false"],"description":"true: validate and return the result without saving it"},"required":false,"description":"true: validate and return the result without saving it","name":"dry_run","in":"query"}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"reviewerId":{"type":["string","null"],"description":"Someone who can approve in the product: only they are emailed, though anyone who can approve still may. Omitted or null: anyone, and everyone who can approve is emailed"}}}}}},"responses":{"200":{"description":"The entry","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangelogEntry"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"412":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/entries/{id}/approve":{"post":{"summary":"Approve and publish (or schedule) content in review; people only","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","enum":["true","false"],"description":"true: validate and return the result without saving it"},"required":false,"description":"true: validate and return the result without saving it","name":"dry_run","in":"query"}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"scheduledAt":{"type":"string","format":"date-time","description":"Publish later instead of now"},"publishedAt":{"type":"string","format":"date-time","description":"Publish now, dated earlier: for a release someone forgot to add. A date and time in the past (from 1990); not with scheduledAt. Subscribers and the Embed SDK treat it as new, if its checkboxes say so"}}}}}},"responses":{"200":{"description":"The entry","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangelogEntry"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"412":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/entries/{id}/publish":{"post":{"summary":"Publish now, or schedule with scheduledAt, or date it earlier with publishedAt","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","enum":["true","false"],"description":"true: validate and return the result without saving it"},"required":false,"description":"true: validate and return the result without saving it","name":"dry_run","in":"query"}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"scheduledAt":{"type":"string","format":"date-time","description":"Publish later instead of now"},"publishedAt":{"type":"string","format":"date-time","description":"Publish now, dated earlier: for a release someone forgot to add. A date and time in the past (from 1990); not with scheduledAt. Subscribers and the Embed SDK treat it as new, if its checkboxes say so"}}}}}},"responses":{"200":{"description":"The entry","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangelogEntry"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"412":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/entries/{id}/unpublish":{"post":{"summary":"Take it off the public page; back to draft","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","enum":["true","false"],"description":"true: validate and return the result without saving it"},"required":false,"description":"true: validate and return the result without saving it","name":"dry_run","in":"query"}],"responses":{"200":{"description":"The entry","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangelogEntry"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"412":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/entries/{id}/reviewer":{"post":{"summary":"Ask someone else to review it, or anyone (people who can approve; If-Match accepted). The person asked is emailed","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","enum":["true","false"],"description":"true: validate and return the result without saving it"},"required":false,"description":"true: validate and return the result without saving it","name":"dry_run","in":"query"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"reviewerId":{"type":["string","null"],"description":"Someone who can approve in the product, or null for anyone"}},"required":["reviewerId"]}}}},"responses":{"200":{"description":"The entry","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangelogEntry"}}}},"400":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"412":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/entries/{id}/redate":{"post":{"summary":"Change a published item's date (publishedAt, in the past). Needs publish rights; sends no email","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","enum":["true","false"],"description":"true: validate and return the result without saving it"},"required":false,"description":"true: validate and return the result without saving it","name":"dry_run","in":"query"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Redate"}}}},"responses":{"200":{"description":"The entry, with its new date","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangelogEntry"}}}},"400":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"412":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/entries/{id}/send-back":{"post":{"summary":"Send content in review back to draft with a note for whoever submitted it; people only","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","enum":["true","false"],"description":"true: validate and return the result without saving it"},"required":false,"description":"true: validate and return the result without saving it","name":"dry_run","in":"query"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendBack"}}}},"responses":{"200":{"description":"The entry, back in draft","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangelogEntry"}}}},"400":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"412":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/products/{id}/review-queue":{"get":{"summary":"Releases and standalone entries waiting for review, oldest first","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"},{"schema":{"type":"integer","minimum":1,"description":"Page size, 1–100 (default 25)"},"required":false,"description":"Page size, 1–100 (default 25)","name":"limit","in":"query"},{"schema":{"type":"string","description":"nextCursor from the previous page"},"required":false,"description":"nextCursor from the previous page","name":"cursor","in":"query"}],"responses":{"200":{"description":"The review queue","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/ReviewItem"}},"nextCursor":{"type":["string","null"]}},"required":["data","nextCursor"]}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/products/{id}/changelog":{"get":{"summary":"A page of one section of a product's changelog, releases and standalone entries merged: attention (in review, then drafts, newest first), scheduled (soonest first) or published (newest first)","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"},{"schema":{"type":"integer","minimum":1,"description":"Page size, 1–100 (default 10)"},"required":false,"description":"Page size, 1–100 (default 10)","name":"limit","in":"query"},{"schema":{"type":"string","description":"nextCursor from the previous page"},"required":false,"description":"nextCursor from the previous page","name":"cursor","in":"query"},{"schema":{"type":"string","description":"Only this project of the product (404 if it isn't one)"},"required":false,"description":"Only this project of the product (404 if it isn't one)","name":"projectId","in":"query"},{"schema":{"type":"string","enum":["attention","scheduled","published"],"description":"attention: in review, then drafts, newest first; scheduled: soonest first; published: newest first"},"required":true,"description":"attention: in review, then drafts, newest first; scheduled: soonest first; published: newest first","name":"section","in":"query"}],"responses":{"200":{"description":"A page of the section","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangelogPage"}}}},"400":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/products/{id}/changelog/summary":{"get":{"summary":"The figures above a product's changelog: each project's count, the weekly activity, when it last shipped, and each project's next version","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"},{"schema":{"type":"string","description":"Only this project of the product (404 if it isn't one)"},"required":false,"description":"Only this project of the product (404 if it isn't one)","name":"projectId","in":"query"}],"responses":{"200":{"description":"The figures","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangelogSummary"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/releases/{id}/reactions":{"get":{"summary":"Who reacted to a release: one row per person, newest first, with their email only when they share it. Dashboard sessions only","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"},{"schema":{"type":"integer","minimum":1,"description":"Page size, 1–100 (default 50)"},"required":false,"description":"Page size, 1–100 (default 50)","name":"limit","in":"query"},{"schema":{"type":"string","description":"nextCursor from the previous page"},"required":false,"description":"nextCursor from the previous page","name":"cursor","in":"query"}],"responses":{"200":{"description":"Who reacted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReactionPeople"}}}},"400":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/entries/{id}/reactions":{"get":{"summary":"Who reacted to a standalone entry: one row per person, newest first, with their email only when they share it. Dashboard sessions only","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"},{"schema":{"type":"integer","minimum":1,"description":"Page size, 1–100 (default 50)"},"required":false,"description":"Page size, 1–100 (default 50)","name":"limit","in":"query"},{"schema":{"type":"string","description":"nextCursor from the previous page"},"required":false,"description":"nextCursor from the previous page","name":"cursor","in":"query"}],"responses":{"200":{"description":"Who reacted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReactionPeople"}}}},"400":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/releases/{id}/comments":{"get":{"summary":"The team: one release's thread, in every state, `limit` main comments at a time (oldest first), each with all its follow-ups, for its dashboard page, with whether you moderate. Anyone who can see the product; dashboard sessions only","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"},{"schema":{"type":"integer","minimum":1,"description":"Page size, 1–100 (default 10)"},"required":false,"description":"Page size, 1–100 (default 10)","name":"limit","in":"query"},{"schema":{"type":"string","description":"nextCursor from the previous page"},"required":false,"description":"nextCursor from the previous page","name":"cursor","in":"query"}],"responses":{"200":{"description":"A page of the thread","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReleaseComments"}}}},"400":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/products/{id}/comment-releases":{"get":{"summary":"Moderators: a product's releases that have comments, latest comment first, each with its counts in every state and its latest comment; `filter=pending` for those with pending ones. Dashboard sessions only","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"},{"schema":{"type":"integer","minimum":1,"description":"Page size, 1–100 (default 10)"},"required":false,"description":"Page size, 1–100 (default 10)","name":"limit","in":"query"},{"schema":{"type":"string","description":"nextCursor from the previous page"},"required":false,"description":"nextCursor from the previous page","name":"cursor","in":"query"},{"schema":{"type":"string","enum":["pending"],"description":"pending: only releases with comments awaiting approval"},"required":false,"description":"pending: only releases with comments awaiting approval","name":"filter","in":"query"}],"responses":{"200":{"description":"Releases with comments","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommentReleaseList"}}}},"400":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/products/{id}/comments":{"get":{"summary":"Moderators: a product's comments in one state, newest first, with every state's count. Dashboard sessions only","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"},{"schema":{"type":"integer","minimum":1,"description":"Page size, 1–100 (default 10)"},"required":false,"description":"Page size, 1–100 (default 10)","name":"limit","in":"query"},{"schema":{"type":"string","description":"nextCursor from the previous page"},"required":false,"description":"nextCursor from the previous page","name":"cursor","in":"query"},{"schema":{"type":"string","enum":["published","pending","hidden"],"description":"pending, published or hidden (default published)"},"required":false,"description":"pending, published or hidden (default published)","name":"state","in":"query"}],"responses":{"200":{"description":"Comments","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamCommentList"}}}},"400":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/comments/{id}/approve":{"post":{"summary":"Moderators: Approve a pending comment: it shows on the release's page (If-Match accepted). Dashboard sessions only","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"The comment","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamComment"}}}},"400":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"412":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/comments/{id}/hide":{"post":{"summary":"Moderators: Hide a published or pending comment (If-Match accepted). Dashboard sessions only","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"The comment","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamComment"}}}},"400":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"412":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/comments/{id}/unhide":{"post":{"summary":"Moderators: Show a hidden comment again (If-Match accepted). Dashboard sessions only","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"The comment","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamComment"}}}},"400":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"412":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/comments/{id}":{"delete":{"summary":"Moderators: delete a comment (If-Match accepted). While anything answers it, it stays as \"Comment deleted\"; otherwise it goes","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"responses":{"204":{"description":"Done"},"400":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"412":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/embed/grants":{"post":{"summary":"The embed sign-in window's Continue: a one-time code for the in-app embed. Dashboard sessions only, from ShipChime's own pages","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmbedGrantRequest"}}}},"responses":{"200":{"description":"The code, for the window to post to the embed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmbedGrant"}}}},"400":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/organizations/{id}/api-keys":{"get":{"summary":"List API keys (never the keys themselves)","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"},{"schema":{"type":"integer","minimum":1,"description":"Page size, 1–100 (default 25)"},"required":false,"description":"Page size, 1–100 (default 25)","name":"limit","in":"query"},{"schema":{"type":"string","description":"nextCursor from the previous page"},"required":false,"description":"nextCursor from the previous page","name":"cursor","in":"query"}],"responses":{"200":{"description":"API keys","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/ApiKey"}},"nextCursor":{"type":["string","null"]}},"required":["data","nextCursor"]}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}},"post":{"summary":"Create an API key. The key is returned once and never again.","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"kind":{"type":"string","enum":["api","sdk"],"default":"api","description":"\"sdk\": a key for the Embed SDK. It only reads public changelog data, works only on the organization's verified domains (and their subdomains) or localhost, and never calls this API. It takes no actorKind or scopes"},"actorKind":{"type":"string","enum":["agent","ci","human"],"default":"agent"},"scopes":{"type":"array","items":{"type":"string","enum":["read","releases:write","releases:publish","ideas:write","roadmap:write","status:write","status:publish"]},"minItems":1,"description":"Defaults to the agent defaults"},"productIds":{"type":"array","items":{"type":"string"},"description":"Empty or omitted: every product"},"expiresInDays":{"type":["integer","null"],"minimum":1,"maximum":365,"description":"Default 90; null: it never expires"}},"required":["name"]}}}},"responses":{"201":{"description":"The key, shown once","content":{"application/json":{"schema":{"type":"object","properties":{"apiKey":{"$ref":"#/components/schemas/ApiKey"},"key":{"type":"string"}},"required":["apiKey","key"]}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/api-keys/{id}":{"delete":{"summary":"Revoke an API key immediately","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"responses":{"204":{"description":"Done"},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/organizations/{id}/audit":{"get":{"summary":"The organization's audit log, newest first","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"},{"schema":{"type":"integer","minimum":1,"description":"Page size, 1–100 (default 25)"},"required":false,"description":"Page size, 1–100 (default 25)","name":"limit","in":"query"},{"schema":{"type":"string","description":"nextCursor from the previous page"},"required":false,"description":"nextCursor from the previous page","name":"cursor","in":"query"},{"schema":{"type":"string"},"required":false,"name":"action","in":"query"},{"schema":{"type":"string"},"required":false,"name":"targetType","in":"query"},{"schema":{"type":"string"},"required":false,"name":"targetId","in":"query"},{"schema":{"type":"string"},"required":false,"name":"actorUserId","in":"query"},{"schema":{"type":"string"},"required":false,"name":"apiKeyId","in":"query"}],"responses":{"200":{"description":"Audit events","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/AuditEvent"}},"nextCursor":{"type":["string","null"]}},"required":["data","nextCursor"]}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/me/agent-connections":{"get":{"summary":"The AI agents you've connected over MCP, newest first","parameters":[{"schema":{"type":"integer","minimum":1,"description":"Page size, 1–100 (default 25)"},"required":false,"description":"Page size, 1–100 (default 25)","name":"limit","in":"query"},{"schema":{"type":"string","description":"nextCursor from the previous page"},"required":false,"description":"nextCursor from the previous page","name":"cursor","in":"query"}],"responses":{"200":{"description":"Your connections","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/AgentConnection"}},"nextCursor":{"type":["string","null"]}},"required":["data","nextCursor"]}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/organizations/{id}/agent-connections":{"get":{"summary":"AI agents connected over MCP to the organization's products (owners and admins)","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"},{"schema":{"type":"integer","minimum":1,"description":"Page size, 1–100 (default 25)"},"required":false,"description":"Page size, 1–100 (default 25)","name":"limit","in":"query"},{"schema":{"type":"string","description":"nextCursor from the previous page"},"required":false,"description":"nextCursor from the previous page","name":"cursor","in":"query"}],"responses":{"200":{"description":"The organization's connections","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/AgentConnection"}},"nextCursor":{"type":["string","null"]}},"required":["data","nextCursor"]}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/agent-connections/{id}":{"delete":{"summary":"Disconnect an AI agent: yours, or (owners and admins) any connected to the organization's products. It stops working at once.","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"responses":{"204":{"description":"Done"},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/organizations/{id}/github/connect":{"post":{"summary":"Start connecting GitHub: returns the app's install page (owners and admins)","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"Send the person here","content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string"}},"required":["url"]}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/integrations/github/verify":{"post":{"summary":"GitHub's install callback: verify the installer with their own GitHub token","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":200},"installationId":{"type":"integer","exclusiveMinimum":0},"state":{"type":"string","minLength":16,"maxLength":200}},"required":["code","installationId","state"]}}}},"responses":{"200":{"description":"Verified; nothing is linked until the confirmation POST","content":{"application/json":{"schema":{"type":"object","properties":{"account":{"type":"object","properties":{"login":{"type":"string"},"type":{"type":"string","enum":["User","Organization"]}},"required":["login","type"]},"organization":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"}},"required":["id","name","slug"]}},"required":["account","organization"]}}}},"400":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/integrations/github/link":{"post":{"summary":"Confirm: link the verified installation to the organization","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"state":{"type":"string","minLength":16,"maxLength":200}},"required":["state"]}}}},"responses":{"201":{"description":"Linked","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GitHubInstallation"}}}},"400":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/organizations/{id}/github-installations":{"get":{"summary":"GitHub installations linked to an organization","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"Installations","content":{"application/json":{"schema":{"type":"object","properties":{"configured":{"type":"boolean"},"data":{"type":"array","items":{"$ref":"#/components/schemas/GitHubInstallation"}}},"required":["configured","data"]}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/github-installations/{id}":{"delete":{"summary":"Unlink a GitHub installation (its repositories are unmapped)","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"responses":{"204":{"description":"Done"},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/github-installations/{id}/repositories":{"get":{"summary":"Repositories the installation can see, live from GitHub, with their mapping","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"Repositories","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"fullName":{"type":"string"},"projectId":{"type":["string","null"]}},"required":["id","fullName","projectId"]}}},"required":["data"]}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/projects/{id}/github-repos":{"get":{"summary":"Repositories mapped to a project","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"Repositories","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/GitHubRepository"}}},"required":["data"]}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}},"post":{"summary":"Map a repository from a linked installation to a project","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"installationId":{"type":"string","description":"The GitHubInstallation id"},"repositoryId":{"type":"integer","exclusiveMinimum":0},"includePrereleases":{"type":"boolean","default":false}},"required":["installationId","repositoryId"]}}}},"responses":{"201":{"description":"Mapped","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GitHubRepository"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/github-repos/{id}":{"delete":{"summary":"Unmap a repository","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"responses":{"204":{"description":"Done"},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/products/{id}/feed-application":{"get":{"summary":"A product's place in feed review: its status, whether it can apply, and why not","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"The product's feed status","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeedApplicationState"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}},"post":{"summary":"Apply to list the product on the public feed (settings editors, dashboard only)","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"responses":{"201":{"description":"Applied: the product's feed status","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeedApplicationState"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/admin/feed-applications":{"get":{"summary":"Platform admins: the feed review queue. Pending oldest first; the others newest decided first","parameters":[{"schema":{"type":"integer","minimum":1,"description":"Page size, 1–100 (default 25)"},"required":false,"description":"Page size, 1–100 (default 25)","name":"limit","in":"query"},{"schema":{"type":"string","description":"nextCursor from the previous page"},"required":false,"description":"nextCursor from the previous page","name":"cursor","in":"query"},{"schema":{"type":"string","enum":["pending","approved","needs_changes","rejected"],"default":"pending","description":"pending (default), needs_changes, approved or rejected"},"required":false,"description":"pending (default), needs_changes, approved or rejected","name":"status","in":"query"}],"responses":{"200":{"description":"Applications","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/AdminFeedApplication"}},"nextCursor":{"type":["string","null"]}},"required":["data","nextCursor"]}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/admin/feed-applications/{id}":{"get":{"summary":"Platform admins: one feed application, its product's latest releases and history","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"The application","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminFeedApplicationDetail"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/admin/feed-applications/{id}/decide":{"post":{"summary":"Platform admins: approve a pending feed application, ask for changes, or reject it","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"decision":{"type":"string","enum":["approved","needs_changes","rejected"]},"note":{"type":["string","null"],"maxLength":2000,"description":"Required for needs_changes (the fixes); optional detail otherwise"},"reason":{"type":["string","null"],"enum":["not_live","unverified_domain","too_little_activity","notes_not_for_customers","incomplete_profile","excluded_category","other",null],"description":"Required for rejected; ignored otherwise"}},"required":["decision"]}}}},"responses":{"200":{"description":"The decided application","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminFeedApplication"}}}},"400":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/admin/products":{"get":{"summary":"Platform admins: listed or delisted products, by name, ones approved by hand included","parameters":[{"schema":{"type":"integer","minimum":1,"description":"Page size, 1–100 (default 25)"},"required":false,"description":"Page size, 1–100 (default 25)","name":"limit","in":"query"},{"schema":{"type":"string","description":"nextCursor from the previous page"},"required":false,"description":"nextCursor from the previous page","name":"cursor","in":"query"},{"schema":{"type":"string","enum":["approved","delisted"],"default":"approved","description":"approved (default) or delisted"},"required":false,"description":"approved (default) or delisted","name":"feedStatus","in":"query"},{"schema":{"type":"string","maxLength":100,"description":"Search names and slugs (case-insensitive)"},"required":false,"description":"Search names and slugs (case-insensitive)","name":"q","in":"query"}],"responses":{"200":{"description":"Products","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/AdminProduct"}},"nextCursor":{"type":["string","null"]}},"required":["data","nextCursor"]}}}},"400":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/admin/products/{id}/delist":{"post":{"summary":"Platform admins: take a listed product off the feed, with a reason","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"reason":{"type":"string","minLength":1,"maxLength":500},"notify":{"type":"boolean","default":false,"description":"Email the applicant (or the owners) with the reason. Unticked by default"}},"required":["reason"]}}}},"responses":{"200":{"description":"The product","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminFeedProduct"}}}},"400":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/admin/products/{id}/relist":{"post":{"summary":"Platform admins: put a delisted product back on the feed","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"The product","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminFeedProduct"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/admin/stats":{"get":{"summary":"Platform admins: the platform's numbers","responses":{"200":{"description":"The numbers","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminStats"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/admin/organizations":{"get":{"summary":"Platform admins: every organization with its subscription, by name","parameters":[{"schema":{"type":"integer","minimum":1,"description":"Page size, 1–100 (default 25)"},"required":false,"description":"Page size, 1–100 (default 25)","name":"limit","in":"query"},{"schema":{"type":"string","description":"nextCursor from the previous page"},"required":false,"description":"nextCursor from the previous page","name":"cursor","in":"query"},{"schema":{"type":"string","maxLength":100,"description":"Search names and slugs (case-insensitive)"},"required":false,"description":"Search names and slugs (case-insensitive)","name":"q","in":"query"},{"schema":{"type":"string","enum":["active","suspended"],"description":"active or suspended; every one when omitted"},"required":false,"description":"active or suspended; every one when omitted","name":"status","in":"query"}],"responses":{"200":{"description":"Organizations","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/AdminOrganization"}},"nextCursor":{"type":["string","null"]}},"required":["data","nextCursor"]}}}},"400":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/admin/organizations/{id}":{"get":{"summary":"Platform admins: one organization, its members, products and verified domains","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"The organization","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminOrganizationDetail"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/admin/organizations/{id}/subscription":{"patch":{"summary":"Platform admins: set an organization's plan, its status, the day its allowances reset and its add-ons by hand","description":"Send If-Match with the subscription's revision. `addOns` replaces them all (quantity 0 removes one); add-ons the resulting plan can't buy are refused, and dropped when only the plan changes. Free is always active, with no reset day: its allowances reset on the 1st. Moving to a paid plan without a reset day starts one now.","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminSubscriptionPatch"}}}},"responses":{"200":{"description":"The organization","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminOrganizationDetail"}}}},"400":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"412":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"422":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"428":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/admin/organizations/{id}/suspend":{"post":{"summary":"Platform admins: suspend an organization: its public pages go offline and its data becomes read-only","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"reason":{"type":"string","minLength":1,"maxLength":500},"notify":{"type":"boolean","default":false}},"required":["reason"]}}}},"responses":{"200":{"description":"The organization","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminOrganizationDetail"}}}},"400":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/admin/organizations/{id}/reactivate":{"post":{"summary":"Platform admins: reactivate a suspended organization","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"notify":{"type":"boolean","default":false}}}}}},"responses":{"200":{"description":"The organization","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminOrganizationDetail"}}}},"400":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/admin/users":{"get":{"summary":"Platform admins: everyone who has signed up, newest first","parameters":[{"schema":{"type":"integer","minimum":1,"description":"Page size, 1–100 (default 25)"},"required":false,"description":"Page size, 1–100 (default 25)","name":"limit","in":"query"},{"schema":{"type":"string","description":"nextCursor from the previous page"},"required":false,"description":"nextCursor from the previous page","name":"cursor","in":"query"},{"schema":{"type":"string","maxLength":100,"description":"Search emails, names and @handles (case-insensitive)"},"required":false,"description":"Search emails, names and @handles (case-insensitive)","name":"q","in":"query"},{"schema":{"type":"string","enum":["active","suspended"],"description":"active or suspended; every one when omitted"},"required":false,"description":"active or suspended; every one when omitted","name":"status","in":"query"},{"schema":{"type":"string","enum":["team","reader"],"description":"reader (in no organization) or team (in at least one); every one when omitted"},"required":false,"description":"reader (in no organization) or team (in at least one); every one when omitted","name":"type","in":"query"}],"responses":{"200":{"description":"Users","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/AdminUser"}},"nextCursor":{"type":["string","null"]}},"required":["data","nextCursor"]}}}},"400":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/admin/users/{id}":{"get":{"summary":"Platform admins: one user, their roles, API keys and AI agent connections","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"responses":{"200":{"description":"The user","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminUserDetail"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/admin/users/{id}/suspend":{"post":{"summary":"Platform admins: suspend a user: their sessions, API keys and AI agents are refused","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"reason":{"type":"string","minLength":1,"maxLength":500},"notify":{"type":"boolean","default":false}},"required":["reason"]}}}},"responses":{"200":{"description":"The user","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminUserDetail"}}}},"400":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/admin/users/{id}/restore":{"post":{"summary":"Platform admins: restore a suspended user","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"notify":{"type":"boolean","default":false}}}}}},"responses":{"200":{"description":"The user","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminUserDetail"}}}},"400":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/admin/comments":{"get":{"summary":"Platform admins: recent comments across ShipChime, newest first","parameters":[{"schema":{"type":"integer","minimum":1,"description":"Page size, 1–100 (default 25)"},"required":false,"description":"Page size, 1–100 (default 25)","name":"limit","in":"query"},{"schema":{"type":"string","description":"nextCursor from the previous page"},"required":false,"description":"nextCursor from the previous page","name":"cursor","in":"query"},{"schema":{"type":"string","maxLength":100,"description":"Search the text or the author's @handle (case-insensitive)"},"required":false,"description":"Search the text or the author's @handle (case-insensitive)","name":"q","in":"query"}],"responses":{"200":{"description":"Comments","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminCommentList"}}}},"400":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/app/api/v1/admin/comments/{id}":{"delete":{"summary":"Platform admins: delete a comment, audited in the product's organization as ShipChime","parameters":[{"schema":{"type":"string"},"required":true,"name":"id","in":"path"}],"responses":{"204":{"description":"Done"},"400":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"412":{"description":"Problem","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}}},"webhooks":{}}