shlink/docs/swagger/paths/{shortCode}.json

21 lines
516 B
JSON
Raw Normal View History

2018-12-09 08:18:10 -06:00
{
"get": {
"operationId": "shortUrl",
"tags": [
"URL Shortener"
],
"summary": "Short URL",
"description": "Represents a short URL. Tracks the visit and redirects tio the corresponding long URL",
"parameters": [
{
"$ref": "../parameters/shortCode.json"
2018-12-09 08:18:10 -06:00
}
],
"responses": {
"302": {
"description": "Visit properly tracked and redirected"
}
}
}
}