共用方式為


GitHub Utils (Independent Publisher) (Preview)

The GitHub Utils connector has a bunch of actions in there that can help you with certain topics that you can encounter. For instance, it's possible to get information about licenses and code of conducts, to convert markdown to HTML and much more!

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 Daniel Laskewitz
URL https://youtube.com/daniellaskewitz
Email connectorsupport@laskewitz.io
Connector Metadata
Publisher Daniel Laskewitz
Website https://docs.github.com/en/rest?apiVersion=2022-11-28
Privacy policy https://docs.github.com/en/github/site-policy/github-privacy-statement
Categories Content and Files

Throttling Limits

Name Calls Renewal Period
API calls per connection 100 60 seconds

Actions

Get a code of conduct

Get information about a specific code of conduct.

Get a license

Get information about a specific license.

Get All API versions

Get all supported GitHub API versions.

Get all codes of conduct

Get all codes of conduct.

Get All Commonly Used Licenses

Get all commonly used licenses.

Get the Zen of GitHub

Get a random sentence from the Zen of GitHub.

Render a Markdown document

Render a markdown document as an HTML page or as raw text.

Render a Markdown document in raw mode

Render a Markdown document in raw mode.

Get a code of conduct

Get information about a specific code of conduct.

Parameters

Name Key Required Type Description
X-GitHub-Api-Version
X-GitHub-Api-Version string

The GitHub API version.

Code Of Conduct
code_of_conduct True string

Select a code of conduct.

Returns

Get a license

Get information about a specific license.

Parameters

Name Key Required Type Description
X-GitHub-Api-Version
X-GitHub-Api-Version string

The GitHub API version.

License
license True string

Select a license

Returns

Get All API versions

Get all supported GitHub API versions.

Returns

Name Path Type Description
array of string

Get all codes of conduct

Get all codes of conduct.

Parameters

Name Key Required Type Description
X-GitHub-Api-Version
X-GitHub-Api-Version string

The GitHub API version.

Returns

Get All Commonly Used Licenses

Get all commonly used licenses.

Parameters

Name Key Required Type Description
Page
page integer

Page number of the results to fetch.

Per Page
per_page integer

The number of results per page (max 100).

Featured
featured boolean

Whether the license is featured or not.

X-GitHub-Api-Version
X-GitHub-Api-Version string

The GitHub API version.

Returns

response
array of License

Get the Zen of GitHub

Get a random sentence from the Zen of GitHub.

Parameters

Name Key Required Type Description
X-GitHub-Api-Version
X-GitHub-Api-Version string

The GitHub API version.

Returns

response
string

Render a Markdown document

Render a markdown document as an HTML page or as raw text.

Parameters

Name Key Required Type Description
X-GitHub-Api-Version
X-GitHub-Api-Version string

The GitHub API version.

Text
text True string

The Markdown text to render in HTML.

Mode
mode string

The rendering mode.

Context
context string

The repository context to use when creating references in gfm mode. For example, setting context to octo-org/octo-repo will change the text #42 into an HTML link to issue 42 in the octo-org/octo-repo repository.

Returns

response
byte

Render a Markdown document in raw mode

Render a Markdown document in raw mode.

Parameters

Name Key Required Type Description
X-GitHub-Api-Version
X-GitHub-Api-Version string

The GitHub API version.

Content-Type
Content-Type True string

Use a text/plain or text/x-markdown

body
body True string

Returns

response
string

Definitions

Code_Of_Conduct

Name Path Type Description
Code of conduct Key
key string

The key of the code of conduct.

Code of Conduct Name
name string

The name of the code of conduct.

Code of Conduct HTML URL
html_url string

The HTML URL of the code of conduct.

Code of Conduct API URL
url string

The API URL of the code of conduct.

Code of Conduct Body
body string

The body in markdown of the code of conduct.

Code_Of_Conducts

Name Path Type Description
Items
Code_Of_Conduct

License

Name Path Type Description
License Key
key string

The key of the license.

License Name
name string

Name of the license.

License SPDX ID
spdx_id string

SPDX ID of the license.

License URL
url string

URL of the license.

License Node ID
node_id string

Node ID of the license.

License_Advanced

Name Path Type Description
License Key
key string

The key of the license.

License Name
name string

The name of the license.

License SPDX ID
spdx_id string

The SPDX ID of the license.

License Node ID
node_id string

The node ID of the license.

html_url
html_url string

The HTML URL of the license.

License Description
description string

Short description of the license.

License Implementation
implementation string

The implementation of the license.

License Permissions
permissions array of string

The permissions of the license.

License Conditions
conditions array of string

The conditions of the license.

License Limitations
limitations array of string

The limitations of the license.

License Long Description
body string

Long description of the license.

byte

This is the basic data type 'byte'.

string

This is the basic data type 'string'.