mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-25 06:11:11 +03:00
35 lines
962 B
JSON
35 lines
962 B
JSON
{
|
|
"get": {
|
|
"deprecated": true,
|
|
"operationId": "shortUrlPreview",
|
|
"tags": [
|
|
"URL Shortener"
|
|
],
|
|
"summary": "Short URL preview image",
|
|
"description": "Returns the preview of the page behind a short URL",
|
|
"parameters": [
|
|
{
|
|
"name": "shortCode",
|
|
"in": "path",
|
|
"description": "The short code to resolve.",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Image in PNG format",
|
|
"content": {
|
|
"image/png": {
|
|
"schema": {
|
|
"type": "string",
|
|
"format": "binary"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|