From d092a189dd1c863795f609f893ddd8579c0ce465 Mon Sep 17 00:00:00 2001 From: Troy Taylor <44444967+troystaylor@users.noreply.github.com> Date: Tue, 26 Apr 2022 13:15:36 -0400 Subject: [PATCH] Ron Swanson Quotes (Independent Publisher) (#1392) * certify-connector HubSpot CRM, CMS, and Marketing connectors * certify-connector Xero Accounting and Payroll connectors * Revert "certify-connector" This reverts commit 5fb06db7f3e0ea67bd7da4c55b729ff2395ddf68. * Revert "certify-connector" This reverts commit 160b208ed6202cb979f15eaae99eca33088faf88. * certify-connector * certify-connector * certify-connector * Update apiDefinition.swagger.json Fixed description * Update apiDefinition.swagger.json Cut to below 500 * Update apiDefinition.swagger.json Cut to below 500. * Delete icon.png * Delete settings.json * Update apiDefinition.swagger.json * Delete independent-publisher-connectors/HubSpot CMS directory * Delete independent-publisher-connectors/HubSpot CRM directory * Delete independent-publisher-connectors/HubSpot Marketing directory * Delete independent-publisher-connectors/Xero Accounting directory * Delete independent-publisher-connectors/Xero Payroll - UK directory * Delete independent-publisher-connectors/Xero Projects directory * Include iconBrandColor #da3b01 for IP * Include iconBrandColor #da3b01 in best practices * Rename README.template.md to readme.md * Add templates for IP * Fix typo * Add files via upload * Delete Google Cloud Translation directory * Add files via upload --- .../apiDefinition.swagger.json | 120 ++++++++++++++++++ .../Ron Swanson Quotes/apiProperties.json | 9 ++ .../Ron Swanson Quotes/readme.md | 21 +++ 3 files changed, 150 insertions(+) create mode 100644 independent-publisher-connectors/Ron Swanson Quotes/apiDefinition.swagger.json create mode 100644 independent-publisher-connectors/Ron Swanson Quotes/apiProperties.json create mode 100644 independent-publisher-connectors/Ron Swanson Quotes/readme.md diff --git a/independent-publisher-connectors/Ron Swanson Quotes/apiDefinition.swagger.json b/independent-publisher-connectors/Ron Swanson Quotes/apiDefinition.swagger.json new file mode 100644 index 000000000..f30600f60 --- /dev/null +++ b/independent-publisher-connectors/Ron Swanson Quotes/apiDefinition.swagger.json @@ -0,0 +1,120 @@ +{ + "swagger": "2.0", + "info": { + "title": "Ron Swanson Quotes", + "description": "Quotes for every occasion. Because Ron Swanson is a hero.", + "version": "1.0", + "contact": { + "name": "Troy Taylor", + "url": "https://www.hitachisolutions.com", + "email": "ttaylor@hitachisolutions.com" + } + }, + "host": "ron-swanson-quotes.herokuapp.com", + "basePath": "/v2", + "schemes": [ + "https" + ], + "consumes": [], + "produces": [], + "paths": { + "/quotes": { + "get": { + "responses": { + "200": { + "description": "default", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "summary": "Get a quote", + "description": "Returns an array with one quote.", + "operationId": "QuoteGet", + "parameters": [] + } + }, + "/quotes/{count}": { + "get": { + "responses": { + "200": { + "description": "default", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "summary": "Get a number of quotes", + "description": "Returns an array with a count of quotes.", + "operationId": "Quotes", + "parameters": [ + { + "name": "count", + "in": "path", + "x-ms-summary": "Count", + "x-ms-url-encoding": "single", + "description": "The count number requesting.", + "required": true, + "type": "integer", + "format": "int32" + } + ] + } + }, + "/quotes/search/{term}": { + "get": { + "responses": { + "200": { + "description": "default", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "summary": "Search for a term", + "description": "Returns an array of quotes matching term without case sensitivity.", + "operationId": "Search", + "parameters": [ + { + "name": "term", + "in": "path", + "x-ms-summary": "Term", + "x-ms-url-encoding": "single", + "description": "The search term.", + "required": true, + "type": "string" + } + ] + } + } + }, + "definitions": {}, + "parameters": {}, + "responses": {}, + "securityDefinitions": {}, + "security": [], + "tags": [], + "x-ms-connector-metadata": [ + { + "propertyName": "Website", + "propertyValue": "https://github.com/jamesseanwright/ron-swanson-quotes" + }, + { + "propertyName": "Privacy policy", + "propertyValue": "https://github.com/jamesseanwright/ron-swanson-quotes" + }, + { + "propertyName": "Categories", + "propertyValue": "Lifestyle and Entertainment" + } + ] +} \ No newline at end of file diff --git a/independent-publisher-connectors/Ron Swanson Quotes/apiProperties.json b/independent-publisher-connectors/Ron Swanson Quotes/apiProperties.json new file mode 100644 index 000000000..3b1accb5f --- /dev/null +++ b/independent-publisher-connectors/Ron Swanson Quotes/apiProperties.json @@ -0,0 +1,9 @@ +{ + "properties": { + "connectionParameters": {}, + "iconBrandColor": "#da3b01", + "capabilities": [], + "publisher": "Troy Taylor", + "stackOwner": "James Wright" + } +} \ No newline at end of file diff --git a/independent-publisher-connectors/Ron Swanson Quotes/readme.md b/independent-publisher-connectors/Ron Swanson Quotes/readme.md new file mode 100644 index 000000000..4b0e91009 --- /dev/null +++ b/independent-publisher-connectors/Ron Swanson Quotes/readme.md @@ -0,0 +1,21 @@ +# Ron Swanson Quotes +Quotes for every occasion. Because Ron Swanson is a hero. + +## Publisher: Troy Taylor, Hitachi Solutions + +## Prerequisites +There are no prerequisites for this connector. + +## Obtaining Credentials +There are no credentials needed for this connector. + +## Supported Operations +### Get a quote +Returns an array with one quote. +### Get a number of quotes +Returns an array with a count of quotes. +### Search for a term +Returns an array of quotes matching term without case sensitivity. + +## Known Issues and Limitations +There are no known issues at this time.