shlink/docs/swagger/swagger.json

45 lines
1 KiB
JSON
Raw Normal View History

{
"swagger": "2.0",
"info": {
"title": "Shlink",
"description": "Shlink, the self-hosted URL shortener",
2017-07-08 12:55:33 +02:00
"version": "1.0"
},
"schemes": [
2016-10-23 00:02:13 +02:00
"http",
"https"
],
"basePath": "/rest",
"produces": [
"application/json"
],
2016-10-23 00:02:13 +02:00
"consumes": [
"application/x-www-form-urlencoded",
"application/json"
],
"paths": {
"/v1/authenticate": {
2016-10-23 00:02:13 +02:00
"$ref": "paths/v1_authenticate.json"
},
2017-07-08 12:55:33 +02:00
"/v1/short-codes": {
2016-10-23 00:02:13 +02:00
"$ref": "paths/v1_short-codes.json"
},
"/v1/short-codes/{shortCode}": {
2016-10-23 00:02:13 +02:00
"$ref": "paths/v1_short-codes_{shortCode}.json"
},
"/v1/short-codes/{shortCode}/tags": {
2016-10-23 00:02:13 +02:00
"$ref": "paths/v1_short-codes_{shortCode}_tags.json"
2017-07-08 12:55:33 +02:00
},
"/v1/tags": {
"$ref": "paths/v1_tags.json"
},
"/v1/short-codes/{shortCode}/visits": {
"$ref": "paths/v1_short-codes_{shortCode}_visits.json"
}
}
}