Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 594 Bytes

README.md

File metadata and controls

34 lines (24 loc) · 594 Bytes

SteveYi Short Link

A Short Link System, Written by Golang and PostgreSQL.

API

  • GET /{ShortLinkCode}
code: You will get it when you create a short link.
  • POST /api/v1/create
admin: open admin features  
token: contact admin to get it.(Need enabled admin features)  
link: need redicert link, (like as https://steveyi.net/)  
g-recaptcha-response: Google Recaptcha  
custom: open custom code features  
customcode: custom code.(Need enabled custom features)  
  • POST /api/v1/list
Get the Short Link List.
  • POST /api/v1/revoke
Revoke the ShortLink