From 1e696b1cbbc0abaaf5144c77d6a637138a35819c Mon Sep 17 00:00:00 2001 From: fen Date: Fri, 16 Oct 2026 16:57:25 -0500 Subject: [PATCH] docs: remove leftover "Create a can" curl example for deleted endpoint --- docs/api.md | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/docs/api.md b/docs/api.md index 6103669..ae188e7 100644 --- a/docs/api.md +++ b/docs/api.md @@ -248,17 +248,6 @@ Hard delete immediately (row removed): curl -X DELETE -H "Authorization: Bearer TOKEN" http://localhost:8080/api/pastes/ab12cd34/redeem ``` -Create a can: - -```bash -curl -X POST http://localhost:8080/api/pastes/can \ - -F "title=My bundle" \ - -F "expires_in=48h" \ - -F "custom_slug=my-bundle" \ - -F 'json_items=[{"title":"notes.txt","content":"some notes"}]' \ - -F "files=@screenshot.png" -``` - ## Deletion and expiry behavior - Expired pastes are soft-deleted by a background sweeper that runs every minute.