Skip to content
undeleted
How this was published

publish.

curl https://plan.undeleted.sh/publish \
  -X POST \
  -H "Authorization: Bearer $PLAN_API_KEY" \
  -H "Content-Type: text/html" \
  -H "X-Plan-Visibility: public" \
  -H "X-Plan-Title: Incident postmortem" \
  --data-binary @postmortem.html
# => {"id":"h7tMLp1a","url":"https://plan.undeleted.sh/p/h7tMLp1a", ...}

the source.

<!doctype html>
<html>
<head>
  <meta charset="utf-8">
  <style>
    body { font-family: sans-serif; max-width: 640px; margin: 40px auto; color: #1b1e21; }
    h1 { font-size: 22px; }
  </style>
</head>
<body>
  <h1>Incident postmortem: checkout 500s</h1>
  <p><strong>Duration:</strong> 14 minutes &middot; <strong>Impact:</strong> ~2% of checkout requests</p>
  <h2>Timeline</h2>
  <ul>
    <li>14:02 &mdash; error rate alert fires</li>
    <li>14:06 &mdash; rollback started</li>
    <li>14:16 &mdash; error rate back to baseline</li>
  </ul>
</body>
</html>