ApyHub (Independent Publisher) (#2698)
* Revert "Merge branch 'microsoft:dev' into dev" This reverts commit096a7c3199
, reversing changes made tocb0948670f
. * Revert "Merge branch 'microsoft:dev' into dev" This reverts commitcb0948670f
, reversing changes made todc26e8a026
. * Revert "Revert "Merge branch 'microsoft:dev' into dev"" This reverts commit01764d0a6d
. * Revert "Revert "Merge branch 'microsoft:dev' into dev"" This reverts commita3f086ef0f
. * Add files via upload * Revert "Add files via upload" This reverts commiteeff7b7a02
. * 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 commit1d85506958
. * Add files via upload
This commit is contained in:
Родитель
57a755e035
Коммит
239d98a320
|
@ -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.
|
Загрузка…
Ссылка в новой задаче