All docs This doc
Skip to end of metadata
Go to start of metadata

To use the Github connector, add the <github.init> element in your configuration before carrying out any other Github operations. Github uses the OAuth 2.0 based access token for authentication. To create tokens for the application, you must provide its client ID and secret, which you can find on the OAuth application settings page. Click here for further reference on obtaining an access token. 

init
<github.init>
	<accessToken>{$ctx:accessToken}</accessToken>
    <apiUrl>{$ctx:apiUrl}</apiUrl>
    <mediaType>{$ctx:mediaType}</mediaType>
</github.init>
Properties
  • accessToken: The access token used to call the API methods. 
  • apiUrl: URL of the Github API. If not provided, it is set to "https://api.github.com".
  • mediaType: Custom media type used by the API to let consumers choose the format of the data they wish to receive.

Now that you have connected to Github, use the information in the following topics to perform various operations with the connector.

338
1710
  • No labels