Remove cans feature; harden pw_/tok_ cookie flags (pre-release fixes) #307

Merged
fen merged 2 commits from palette/t_1cedb8a0-remove-cans-feature-harden-cookie-flags into dev 2026-10-16 21:59:34 +00:00
Showing only changes of commit 1e696b1cbb - Show all commits
-11
View File
@@ -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.