Links Controller
DELETE /link/delete/{link}
Type |
Name |
Description |
Schema |
Path |
link required |
link |
string |
HTTP Code |
Description |
Schema |
200 |
OK |
No Content |
204 |
No Content |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
GET /link/redirect/{link}
Type |
Name |
Description |
Schema |
Path |
link required |
link |
string |
Query |
id required |
id |
integer (int64) |
HTTP Code |
Description |
Schema |
200 |
OK |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
/link/redirect/string?id=0
HTTP Code |
Description |
Schema |
200 |
OK |
string |
201 |
Created |
No Content |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
{
"expirationTimeInDays" : 0,
"fullLink" : "string",
"user_id" : 0
}
Type |
Name |
Description |
Schema |
Body |
count optional |
count |
integer (int32) |
HTTP Code |
Description |
Schema |
200 |
OK |
< Stats > array |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
[ {
"count" : 0,
"short_link" : "string"
} ]
Type |
Name |
Description |
Schema |
Body |
count optional |
count |
integer (int32) |
HTTP Code |
Description |
Schema |
200 |
OK |
< Stats > array |
401 |
Unauthorized |
No Content |
403 |
Forbidden |
No Content |
404 |
Not Found |
No Content |
[ {
"count" : 0,
"short_link" : "string"
} ]