From ed274d5f955b908efd93038a8ad82244f3f613e3 Mon Sep 17 00:00:00 2001 From: Troy Taylor <44444967+troystaylor@users.noreply.github.com> Date: Tue, 28 Feb 2023 20:26:53 -0500 Subject: [PATCH] Affirmations (Independent Publisher) (#2413) * Add files via upload * Add files via upload * Add files via upload * Add files via upload --- .../Affirmations/apiDefinition.swagger.json | 69 +++++++++++++++++++ .../Affirmations/apiProperties.json | 9 +++ .../Affirmations/readme.md | 17 +++++ 3 files changed, 95 insertions(+) create mode 100644 independent-publisher-connectors/Affirmations/apiDefinition.swagger.json create mode 100644 independent-publisher-connectors/Affirmations/apiProperties.json create mode 100644 independent-publisher-connectors/Affirmations/readme.md diff --git a/independent-publisher-connectors/Affirmations/apiDefinition.swagger.json b/independent-publisher-connectors/Affirmations/apiDefinition.swagger.json new file mode 100644 index 000000000..ecb83c25e --- /dev/null +++ b/independent-publisher-connectors/Affirmations/apiDefinition.swagger.json @@ -0,0 +1,69 @@ +{ + "swagger": "2.0", + "info": { + "title": "Affirmations", + "description": "Retrieve daily affirmations. Inspired by the Saturday Night Live skit, \"Daily Affirmations With Stuart Smalley.\"", + "version": "1.0", + "contact": { + "name": "Troy Taylor", + "url": "https://www.hitachisolutions.com", + "email": "ttaylor@hitachisolutions.com" + } + }, + "host": "www.affirmations.dev", + "basePath": "/", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/": { + "get": { + "responses": { + "200": { + "description": "default", + "schema": { + "type": "object", + "properties": { + "affirmation": { + "type": "string", + "description": "The affirmation.", + "title": "Affirmation" + } + } + } + } + }, + "summary": "Get affirmation", + "description": "Retrieve a daily affirmation.", + "operationId": "Affirmation", + "parameters": [] + } + } + }, + "definitions": {}, + "parameters": {}, + "responses": {}, + "securityDefinitions": {}, + "security": [], + "tags": [], + "x-ms-connector-metadata": [ + { + "propertyName": "Website", + "propertyValue": "https://www.affirmations.dev/" + }, + { + "propertyName": "Privacy policy", + "propertyValue": "https://www.affirmations.dev/" + }, + { + "propertyName": "Categories", + "propertyValue": "Lifestyle and Entertainment" + } + ] +} \ No newline at end of file diff --git a/independent-publisher-connectors/Affirmations/apiProperties.json b/independent-publisher-connectors/Affirmations/apiProperties.json new file mode 100644 index 000000000..ad9bf07af --- /dev/null +++ b/independent-publisher-connectors/Affirmations/apiProperties.json @@ -0,0 +1,9 @@ +{ + "properties": { + "connectionParameters": {}, + "iconBrandColor": "#da3b01", + "capabilities": [], + "publisher": "Troy Taylor", + "stackOwner": "Tilde Ann Thurium" + } +} \ No newline at end of file diff --git a/independent-publisher-connectors/Affirmations/readme.md b/independent-publisher-connectors/Affirmations/readme.md new file mode 100644 index 000000000..4c560ed0a --- /dev/null +++ b/independent-publisher-connectors/Affirmations/readme.md @@ -0,0 +1,17 @@ +# Affirmations +Retrieve daily affirmations. Inspired by the Saturday Night Live skit, "Daily Affirmations With Stuart Smalley." + +## 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 +### Get affirmation +Retrieve a daily affirmation. + +## Known Issues and Limitations +There are no known issues at this time.