content-type: application/json
Generate a token to enable analytics and other functionalities
token
:
str
//Unique token which is supplied with link (optional)
,created_at
:
time
//Time when stored in database
,content-type: application/json
Shorten a link
"schedule_delete" excepts any valid date object [Try to give iso date string].
link
:
str
short_link
:
str
//Five charachter code
,timestamp
:
int
//timestamp when stored in database
,is_preview
:
bool
,unique_id
:
str
//10 digit unique hex code
,content-type: application/json
Redirect to original route OR respond with JSON
Redirect to Link or preview page
content-type: application/json
Get clicked analytics
count
:
number
content-type: application/json
Update information about some links
content-type: application/json
Delete a short link