shlink/docs/swagger/swagger.json

39 lines
954 B
JSON
Raw Normal View History

{
"swagger": "2.0",
"info": {
"title": "Shlink",
"description": "Shlink, the self-hosted URL shortener",
"version": "1.2.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"
},
"/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}/visits": {
2016-10-22 17:02:13 -05:00
"$ref": "paths/v1_short-codes_{shortCode}_visits.json"
},
"/v1/short-codes/{shortCode}/tags": {
2016-10-22 17:02:13 -05:00
"$ref": "paths/v1_short-codes_{shortCode}_tags.json"
}
}
}