Sink/server/api/link
anirut.k c1ac0bf9f3 feat: implement link upsert API endpoint
- Adds a new API endpoint for creating and retrieving links
- Validates link data using LinkSchema
- Supports case sensitivity for link slugs
- Handles existing links by returning the short link and status
- Creates new links with expiration metadata in Cloudflare KV store
2025-03-21 13:45:41 +07:00
..
ai.get.ts style: eslint 2024-12-24 21:10:36 +08:00
create.post.ts feat: improve case-sensitive slug handling 2024-12-25 12:15:00 +08:00
delete.post.ts feat: init 2024-05-25 08:09:30 +08:00
edit.put.ts feat: Add link search function 2024-12-23 20:57:16 +08:00
list.get.ts fix: adjust cursor handling for KV pagination 2024-12-08 11:37:04 +08:00
query.get.ts feat: init 2024-05-25 08:09:30 +08:00
search.get.ts fix: Increases KV list limit for better data retrieval 2024-12-23 21:09:00 +08:00
upsert.post.ts feat: implement link upsert API endpoint 2025-03-21 13:45:41 +07:00