Shields.io (Independent Publisher) (#1330)

* certify-connector

HubSpot CRM, CMS, and Marketing connectors

* certify-connector

Xero Accounting and Payroll connectors

* Revert "certify-connector"

This reverts commit 5fb06db7f3.

* Revert "certify-connector"

This reverts commit 160b208ed6.

* 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

* Update apiDefinition.swagger.json
This commit is contained in:
Troy Taylor 2022-02-07 16:29:24 -05:00 коммит произвёл GitHub
Родитель 42e31a00ab
Коммит 707d4cfd16
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
3 изменённых файлов: 196 добавлений и 0 удалений

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

@ -0,0 +1,168 @@
{
"swagger": "2.0",
"info": {
"title": "Shields.io",
"description": "Shields.io is a service for concise, consistent, and legible badges in SVG and raster format, which can easily be included in GitHub readmes or any other web page. The service supports dozens of continuous integration services, package registries, distributions, app stores, social networks, code coverage services, and code analysis services.",
"version": "1.0",
"contact": {
"name": "Troy Taylor",
"url": "https://www.hitachisolutions.com",
"email": "ttaylor@hitachisolutions.com"
}
},
"host": "img.shields.io",
"basePath": "/",
"schemes": [
"https"
],
"consumes": [],
"produces": [],
"paths": {
"/static/v1": {
"get": {
"responses": {
"200": {
"description": "default",
"schema": {
"type": "object",
"properties": {}
}
}
},
"summary": "Create a static badge",
"description": "Create a static badge using defined parameters.",
"operationId": "BadgeCreate",
"parameters": [
{
"name": "label",
"in": "query",
"required": false,
"type": "string",
"description": "Override the default left-hand-side text.",
"x-ms-summary": "Label"
},
{
"name": "labelColor",
"in": "query",
"required": false,
"type": "string",
"description": "Set the color of the logo (hex, rgb, rgba, hsl, hsla and css named colors supported). Supported for named logos but not for custom logos.",
"x-ms-summary": "Label Color"
},
{
"name": "message",
"in": "query",
"required": false,
"type": "string",
"description": "Override the default right-hand-side text",
"x-ms-summary": "Message"
},
{
"name": "color",
"in": "query",
"required": false,
"type": "string",
"description": "Set background of the right part (hex, rgb, rgba, hsl, hsla and css named colors supported). The legacy name \"colorB\" is also supported.",
"x-ms-summary": "Color"
},
{
"name": "style",
"in": "query",
"required": false,
"type": "string",
"description": "The style of the badge. Flat is the default.",
"x-ms-summary": "Style"
},
{
"name": "logo",
"in": "query",
"required": false,
"type": "string",
"description": "Used for either a named logo or a custom logo image (> 14px high). Insert one of the named logos from (bitcoin, dependabot, gitlab, npm, paypal, serverfault, stackexchange, superuser, telegram, travis) or simple-icons. For custom logos, there is a limit on the total size of request headers we can accept (8192 bytes). From a practical perspective, this means the base64-encoded image text is limited to somewhere slightly under 8192 bytes depending on the rest of the request header.",
"x-ms-summary": "Logo"
},
{
"name": "logoColor",
"in": "query",
"required": false,
"type": "string",
"description": "Set the color of the logo (hex, rgb, rgba, hsl, hsla and css named colors supported). Supported for named logos but not for custom logos.",
"x-ms-summary": "Logo Color"
},
{
"name": "logoWidth",
"in": "query",
"required": false,
"type": "integer",
"description": "Set the horizontal space to give to the logo",
"x-ms-summary": "Logo Width"
},
{
"name": "link",
"in": "query",
"required": false,
"type": "string",
"description": "Specify what clicking on the left/right of a badge should do. Note that this only works when integrating your badge in an<object> HTML tag, but not an<img> tag or a markup language.",
"x-ms-summary": "Link"
},
{
"name": "cacheSeconds",
"in": "query",
"required": false,
"type": "integer",
"default": 3600,
"description": "Set the HTTP cache lifetime (rules are applied to infer a default value on a per-badge basis, any values specified below the default will be ignored). The legacy name \"maxAge\" is also supported.",
"x-ms-summary": "Cache Seconds"
}
]
}
},
"/{parameters}": {
"get": {
"responses": {
"200": {
"description": "default",
"schema": {
"type": "object",
"properties": {}
}
}
},
"summary": "Get a pre-configured badge",
"description": "Get a pre-configured badge. All badges are sorted by category at https://shields.io/",
"operationId": "BadgeGet",
"parameters": [
{
"name": "parameters",
"in": "path",
"x-ms-summary": "Parameters",
"description": "The badge parameters, e.g. github/last-commit/troystaylor/PowerPlatformConnectors. Please note that the first forward slash must be omitted from the example.",
"required": true,
"type": "string",
"x-ms-url-encoding": "single"
}
]
}
}
},
"definitions": {},
"parameters": {},
"responses": {},
"securityDefinitions": {},
"security": [],
"tags": [],
"x-ms-connector-metadata": [
{
"propertyName": "Website",
"propertyValue": "https://shields.io/"
},
{
"propertyName": "Privacy policy",
"propertyValue": "https://shields.io/"
},
{
"propertyName": "Categories",
"propertyValue": "Social Media;Website"
}
]
}

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

@ -0,0 +1,9 @@
{
"properties": {
"connectionParameters": {},
"iconBrandColor": "#da3b01",
"capabilities": [],
"publisher": "Troy Taylor, Hitachi Solutions",
"stackOwner": "Shields.io"
}
}

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

@ -0,0 +1,19 @@
# Shields.io
Shields.io is a service for concise, consistent, and legible badges in SVG and raster format, which can easily be included in GitHub readmes or any other web page. The service supports dozens of continuous integration services, package registries, distributions, app stores, social networks, code coverage services, and code analysis services.
## Publisher: Troy Taylor, Hitachi Solutions
## Prerequisites
There are no prequisites for this connector.
## Obtaining Credentials
There are no credentials needed for this connector.
## Supported Operations
### Create a static badge
Create a static badge using defined parameters.
### Get a pre-configured badge
Get a pre-configured badge. All badges are sorted by category at <https://shields.io/>
## Known Issues and Limitations
There are no known issues at this time.