ApyHub (Independent Publisher) (#2698)

* Revert "Merge branch 'microsoft:dev' into dev"

This reverts commit 096a7c3199, reversing
changes made to cb0948670f.

* Revert "Merge branch 'microsoft:dev' into dev"

This reverts commit cb0948670f, reversing
changes made to dc26e8a026.

* Revert "Revert "Merge branch 'microsoft:dev' into dev""

This reverts commit 01764d0a6d.

* Revert "Revert "Merge branch 'microsoft:dev' into dev""

This reverts commit a3f086ef0f.

* Add files via upload

* Revert "Add files via upload"

This reverts commit eeff7b7a02.

* Add files via upload

* Delete independent-publisher-connectors/FileIO directory

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Revert "Add files via upload"

This reverts commit 1d85506958.

* Add files via upload
This commit is contained in:
Troy Taylor 2023-06-13 19:15:29 -04:00 коммит произвёл GitHub
Родитель 57a755e035
Коммит 239d98a320
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
3 изменённых файлов: 263 добавлений и 0 удалений

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

@ -0,0 +1,219 @@
{
"swagger": "2.0",
"info": {
"title": "ApyHub",
"description": "ApyHub is the a service utility belt that helps developers save time and boost efficiency. Included are actions for archiving and unarchive files.",
"version": "1.0",
"contact": {
"name": "Troy Taylor",
"url": "https://www.hitachisolutions.com",
"email": "ttaylor@hitachisolutions.com"
}
},
"host": "api.apyhub.com",
"basePath": "/",
"schemes": [
"https"
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"paths": {
"/generate/archive/file-urls/archive-file": {
"post": {
"responses": {
"200": {
"description": "default",
"schema": {
"type": "object",
"properties": {
"$content-type": {
"type": "string",
"description": "The content type.",
"title": "Content Type"
},
"$content": {
"type": "string",
"description": "The content.",
"title": "Content"
}
}
},
"headers": {
"content-disposition": {
"type": "string",
"description": "The content disposition.",
"x-ms-summary": "Content Disposition"
}
}
}
},
"summary": "Create archive file",
"description": "Archive multiple URL files to a ZIP file.",
"operationId": "ArchiveFilePost",
"parameters": [
{
"name": "output",
"in": "query",
"x-ms-summary": "Output",
"description": "The output.",
"required": false,
"type": "string"
},
{
"name": "body",
"in": "body",
"required": false,
"schema": {
"type": "object",
"properties": {
"urls": {
"type": "array",
"items": {
"type": "string"
},
"description": "The URL addresses.",
"title": "URLs"
}
},
"required": [
"urls"
]
}
}
]
}
},
"/generate/archive/file-urls/archive-url": {
"post": {
"responses": {
"200": {
"description": "default",
"schema": {
"type": "object",
"properties": {
"data": {
"type": "string",
"description": "The data.",
"title": "Data"
}
}
}
}
},
"summary": "Create archive URL",
"description": "Archive multiple URL files to a ZIP file at a URL address.",
"operationId": "ArchiveURLPost",
"parameters": [
{
"name": "output",
"in": "query",
"x-ms-summary": "Output",
"description": "The output.",
"required": false,
"type": "string"
},
{
"name": "body",
"in": "body",
"required": false,
"schema": {
"type": "object",
"properties": {
"urls": {
"type": "array",
"items": {
"type": "string"
},
"description": "The URL addresses.",
"title": "URLs"
}
},
"required": [
"urls"
]
}
}
]
}
},
"/extract/archive/url/file-urls": {
"post": {
"responses": {
"200": {
"description": "default",
"schema": {
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"type": "string"
},
"description": "The data.",
"title": "Data"
}
}
}
}
},
"summary": "Unarchive URL file",
"description": "Extract multiple files from a file at a URL address.",
"operationId": "UnarchiveURLPost",
"parameters": [
{
"name": "body",
"in": "body",
"required": false,
"schema": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "The URL address.",
"title": "URL"
}
},
"required": [
"url"
]
}
}
]
}
}
},
"definitions": {},
"parameters": {},
"responses": {},
"securityDefinitions": {
"API Key": {
"type": "apiKey",
"in": "header",
"name": "apy-token"
}
},
"security": [
{
"API Key": []
}
],
"tags": [],
"x-ms-connector-metadata": [
{
"propertyName": "Website",
"propertyValue": "https://apyhub.com/"
},
{
"propertyName": "Privacy policy",
"propertyValue": "https://apyhub.com/privacy"
},
{
"propertyName": "Categories",
"propertyValue": "Content and Files"
}
]
}

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

@ -0,0 +1,23 @@
{
"properties": {
"connectionParameters": {
"api_key": {
"type": "securestring",
"uiDefinition": {
"displayName": "API Key",
"description": "The API Key for this api",
"tooltip": "Provide your API Key",
"constraints": {
"tabIndex": 2,
"clearText": false,
"required": "true"
}
}
}
},
"iconBrandColor": "#da3b01",
"capabilities": [],
"publisher": "Troy Taylor",
"stackOwner": "ApyHub"
}
}

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

@ -0,0 +1,21 @@
# ApyHub
ApyHub is the a service utility belt that helps developers save time and boost efficiency. Included are actions for archiving and unarchive files.
## Publisher: Troy Taylor, Hitachi Solutions
## Prerequisites
You must sign up for an account with [ApyHub](https://apyhub.com/auth/signup).
## Obtaining Credentials
Once logged in to your dashboard, go to the API Keys page under My Workspace to create a new API key.
## Supported Operations
### Create archive file
Archive multiple URL files to a ZIP file.
### Create archive URL
Archive multiple URL files to a ZIP file at a URL address.
### Unarchive URL file
Extract multiple files from a file at a URL address.
## Known Issues and Limitations
There are no known issues at this time.