* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload
This commit is contained in:
Troy Taylor 2023-02-28 20:28:14 -05:00 коммит произвёл GitHub
Родитель 19a6ab3801
Коммит a48fc77965
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
3 изменённых файлов: 122 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,96 @@
{
"swagger": "2.0",
"info": {
"title": "1pt",
"description": "1pt is a URL shortening service and hosts over 15,000+ redirects with 200,000+ visits.",
"version": "1.0",
"contact": {
"name": "Troy Taylor",
"url": "https://www.hitachisolutions.com",
"email": "ttaylor@hitachisolutions.com"
}
},
"host": "csclub.uwaterloo.ca",
"basePath": "/~phthakka/1pt-express",
"schemes": [
"https"
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"paths": {
"/addURL": {
"post": {
"responses": {
"201": {
"description": "default",
"schema": {
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "The status message.",
"title": "Message"
},
"short": {
"type": "string",
"description": "The short path.",
"title": "Short"
},
"long": {
"type": "string",
"description": "The complete URL shortened.",
"title": "Long"
}
}
}
}
},
"summary": "Add URL",
"description": "Create a short URL redirect.",
"operationId": "URLGet",
"parameters": [
{
"name": "long",
"in": "query",
"required": true,
"type": "string",
"description": "The complete URL to shorten.",
"x-ms-summary": "URL"
},
{
"name": "short",
"in": "query",
"required": false,
"type": "string",
"description": "The requested short URL path.",
"x-ms-summary": "Short"
}
]
}
}
},
"definitions": {},
"parameters": {},
"responses": {},
"securityDefinitions": {},
"security": [],
"tags": [],
"x-ms-connector-metadata": [
{
"propertyName": "Website",
"propertyValue": "https://1pt.co/"
},
{
"propertyName": "Privacy policy",
"propertyValue": "https://1pt.co/"
},
{
"propertyName": "Categories",
"propertyValue": "Social Media;Website"
}
]
}

Просмотреть файл

@ -0,0 +1,9 @@
{
"properties": {
"connectionParameters": {},
"iconBrandColor": "#da3b01",
"capabilities": [],
"publisher": "Troy Taylor",
"stackOwner": "Param Thakkar"
}
}

Просмотреть файл

@ -0,0 +1,17 @@
# 1pt
1pt is a URL shortening service and hosts over 15,000+ redirects with 200,000+ visits.
## Publisher: Troy Taylor, Hitachi Solutions
## Prerequisites
There are no prerequisites to use this service.
## Obtaining Credentials
There are no credentials needed to use this service.
## Supported Operations
### Add URL
Create a short URL redirect.
## Known Issues and Limitations
There are no known issues at this time.