mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-24 05:38:06 +03:00
44 lines
1 KiB
JSON
44 lines
1 KiB
JSON
{
|
|
"swagger": "2.0",
|
|
"info": {
|
|
"title": "Shlink",
|
|
"description": "Shlink, the self-hosted URL shortener",
|
|
"version": "1.0"
|
|
},
|
|
"schemes": [
|
|
"http",
|
|
"https"
|
|
],
|
|
"basePath": "/rest",
|
|
"produces": [
|
|
"application/json"
|
|
],
|
|
"consumes": [
|
|
"application/x-www-form-urlencoded",
|
|
"application/json"
|
|
],
|
|
|
|
"paths": {
|
|
"/v1/authenticate": {
|
|
"$ref": "paths/v1_authenticate.json"
|
|
},
|
|
|
|
"/v1/short-codes": {
|
|
"$ref": "paths/v1_short-codes.json"
|
|
},
|
|
"/v1/short-codes/{shortCode}": {
|
|
"$ref": "paths/v1_short-codes_{shortCode}.json"
|
|
},
|
|
"/v1/short-codes/{shortCode}/tags": {
|
|
"$ref": "paths/v1_short-codes_{shortCode}_tags.json"
|
|
},
|
|
|
|
"/v1/tags": {
|
|
"$ref": "paths/v1_tags.json"
|
|
},
|
|
|
|
"/v1/short-codes/{shortCode}/visits": {
|
|
"$ref": "paths/v1_short-codes_{shortCode}_visits.json"
|
|
}
|
|
}
|
|
}
|