共用方式為


Shields.io (Independent Publisher) (Preview)

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.

This connector is available in the following products and regions:

Service Class Regions
Logic Apps Standard All Logic Apps regions except the following:
     -   Azure Government regions
     -   Azure China regions
     -   US Department of Defense (DoD)
Power Automate Premium All Power Automate regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Power Apps Premium All Power Apps regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Contact
Name Troy Taylor
URL https://www.hitachisolutions.com
Email ttaylor@hitachisolutions.com
Connector Metadata
Publisher Troy Taylor, Hitachi Solutions
Website https://shields.io/
Privacy policy https://shields.io/
Categories Social Media;Website

Throttling Limits

Name Calls Renewal Period
API calls per connection 100 60 seconds

Actions

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/

Create a static badge

Create a static badge using defined parameters.

Parameters

Name Key Required Type Description
Label
label string

Override the default left-hand-side text.

Label Color
labelColor string

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.

Message
message string

Override the default right-hand-side text

Color
color string

Set background of the right part (hex, rgb, rgba, hsl, hsla and css named colors supported). The legacy name "colorB" is also supported.

Style
style string

The style of the badge. Flat is the default.

Logo
logo string

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.

Logo Color
logoColor string

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.

Logo Width
logoWidth integer

Set the horizontal space to give to the logo

Link
link string

Specify what clicking on the left/right of a badge should do. Note that this only works when integrating your badge in an HTML tag, but not an tag or a markup language.

Cache Seconds
cacheSeconds integer

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.

Returns

response
object

Get a pre-configured badge

Get a pre-configured badge. All badges are sorted by category at https://shields.io/

Parameters

Name Key Required Type Description
Parameters
parameters True string

The badge parameters, e.g. github/last-commit/troystaylor/PowerPlatformConnectors. Please note that the first forward slash must be omitted from the example.

Returns

response
object

Definitions

object

This is the type 'object'.