跳到主要內容 跳至補充內容

GitHub 

GitHub is a platform and cloud-based service for software development and version control using Git. You can use GitHub as a data source when landing or replicating data.

GitHub integration replicates data using the GitHub REST API v3.

See the Schema section for a list of objects available for replication.

Preparing for authentication

To access your data, you need to authenticate the connection with your account credentials.

資訊備註確認您使用的帳戶可讀取您要擷取的表格。

Creating the connection

如需詳細資訊,請參閱連線到 SaaS 應用程式

  1. 填寫所需的連線屬性。
  2. 連線名稱中提供連線名稱。

  3. 選取開啟連線中繼資料以在建立後定義連線的中繼資料。

  4. 按一下建立

Connection settings
SettingDescription
Data gateway

如您的使用情況有需要,選取 資料移動閘道

資訊備註

此欄位無法用於 Qlik Talend Cloud 啟動器 訂閱,因為不支援 資料移動閘道。若您有另一個訂閱層級且不想使用 資料移動閘道,選取

如需關於 資料移動閘道 福利的資訊以及需要此項的使用案例,請參閱 Qlik 資料閘道 - 資料移動

Start Date

MM/DD/YYYY 格式輸入資料必須從來源複寫到目標的日期。

Github Repository NameGithub Repository Name
Access token

Access token.

Schema

資訊備註

Schemas and naming conventions can change from version to version. It is recommended to verify your version before continuing.

The schema and info displayed below is for version 2.

Depending on your destination, table and column names may not appear as they are outlined below.

assignees

The assignees table contains info about the available assignees for issues in the repositories specified for the integration.

Replication Method

Full Table

Primary Key

id

Useful links

GitHub documentation

GitHub API method

collaborators

The collaborators table contains info about the users who contribute to the repositories specified for the integration.

For organization-owned repositories, this will include outside collaborators, organization owners, organization members that are direct collaborators, who have access through team memberships, or have access through default organization permissions.

Replication Method

Full Table

Primary Key

id

Useful links

GitHub API method

comments

The comments table contains info about comments made on issues in the repositories specified for the integration.

Replication Method

CDC

Primary Key

id

Useful links

GitHub documentation

GitHub API method

commit_comments

The commit_comments table contains info about the commit comments in the repositories specified for the integration.

Replication Method

CDC

Primary Key

id

Replication Key

updated_at

Useful links

GitHub API method

commits

The commits table contains info about repository commits in a project.

Replication Method

CDC

Primary Key

sha

Useful links

GitHub documentation

GitHub API method

events

The events table contains information about events in the repositories specified for the integration.

Replication Method

CDC

Primary Key

id

Useful links

GitHub documentation

GitHub API method

issue_events

The issue_events table contains info about issue events in the repositories specified for the integration.

Replication Method

CDC

Primary Key

id

Useful links

GitHub API method

issue_labels

The issue_labels table contains info about issue labels in the repositories specified for the integration.

Replication Method

Full Table

Primary Key

id

Useful links

GitHub API method

issue_milestones

The issue_milestones table contains info about issue milestones in the repositories specified for the integration.

Replication Method

CDC

Primary Key

id

Useful links

GitHub API method

issues

The issues table contains info about issues in the repositories specified for the integration.

Issues and pull requests

GitHub’s API considers every pull request an issue, but not every issue may be a pull request. Therefore, this table may contain both issues and pull requests.

Replication Method

CDC

Primary Key

id

Useful links

GitHub documentation

GitHub API method

pr_commits

The pr_commits table contains info about pull request commits and is a slight variation of the commits table. This allows you to associate commits to pull requests that are squash merged.

Replication Method

CDC

Primary Key

id

Useful links

pr_commits schema on GitHub

GitHub API method

project_cards

The project_cards table contains information about project cards in the repositories specified for the integration.

Replication Method

CDC

Primary Key

id

Useful links

GitHub documentation

GitHub API method

project_columns

The project_columns table contains info about the columns of projects in the repositories specified for the integration.

Replication Method

CDC

Primary Key

id

Useful links

GitHub API method

projects

The projects table contains info about projects in the repositories specified for the integration.

Replication Method

CDC

Primary Key

id

Useful links

GitHub API method

pull_requests

The pull_requests table contains info about pull requests made against the repositories specified for the integration.

Replication Method

CDC

Primary Key

id

Useful links

GitHub documentation

GitHub API method

releases

The releases table contains info about releases in the repositories specified for the integration.

Note: GitHub doesn’t include regular Git tags that haven’t been associated with a release.

Replication Method

Full Table

Primary Key

id

Useful links

GitHub API method

review_comments

The review_comments table contains info about comments made on pull request reviews in the repositories specified for the integration.

Replication Method

CDC

Primary Key

id

Useful links

GitHub API method

reviews

The reviews table contains info about pull request reviews in the repositories specified for the integration. A pull request review is a group of comments on a pull request.

Replication Method

CDC

Primary Key

id

Useful links

GitHub documentation

GitHub API method

stargazers

The stargazers table contains info about users who have starred the repositories specified for the integration.

Replication Method

Full Table

Primary Key

user_id

Useful links

GitHub API method

team_members

The team_members table contains info about members of organization teams that are visible to the user who authorized the integration.

Replication Method

Full Table

Primary Key

id

Useful links

GitHub API method

team_memberships

The team_memberships table contains info about membership of users in of organization teams that are visible to the user who authorized the integration.

Replication Method

Full Table

Primary Key

url

Useful links

GitHub API method

teams

The teams table contains info about the teams in an organization. Only teams that are visible to the user who authorized the integration in Stitch will be replicated.

Replication Method

Full Table

Primary Key

id

Useful links

GitHub API method

此頁面是否對您有幫助?

若您發現此頁面或其內容有任何問題——錯字、遺漏步驟或技術錯誤——請告知我們!