mirror of
https://github.com/shlinkio/shlink.git
synced 2024-12-11 08:38:03 +03:00
27 lines
706 B
JSON
27 lines
706 B
JSON
|
{
|
||
|
"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": [
|
||
|
{
|
||
|
"name": "shortCode",
|
||
|
"in": "path",
|
||
|
"description": "The short code to resolve.",
|
||
|
"required": true,
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"responses": {
|
||
|
"302": {
|
||
|
"description": "Visit properly tracked and redirected"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|