tiny-url-ex/manifest.json

22 lines
426 B
JSON
Raw Normal View History

{
"GET": {
2018-06-16 16:04:28 +00:00
"info": "redirects to given tiny url",
"scope": [[]],
2018-06-16 16:04:28 +00:00
"in": {
"URL#0": { "info": "tiny url to redirect to", "name": "url", "type": "varchar(3,30)" }
},
"out": {}
},
2018-06-16 16:04:28 +00:00
"POST": {
"info": "creates a new tiny url",
"scope": [[]],
"in": {
"url": { "info": "preferred tiny url", "type": "varchar(3,30)" },
"target": { "info": "url to shorten", "type": "varchar(5,300)" }
},
"out": {}
}
2018-06-16 16:04:28 +00:00
}