shlink/docs/swagger/swagger.json

45 lines
1.0 KiB
JSON
Raw Normal View History

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