GitHub integration summary

Stitch’s GitHub integration replicates data using the GitHub REST API v3. Refer to the Schema section for a list of objects available for replication.

GitHub feature snapshot

A high-level look at Stitch's GitHub (v1) integration, including release status, useful links, and the features supported in Stitch.

STITCH
Release status

Deprecated on September 29, 2022

Supported by

Singer Community

Stitch plan

Standard

API availability

Not available

Singer GitHub repository

singer-io/tap-github

REPLICATION SETTINGS
Anchor Scheduling

Supported

Advanced Scheduling

Supported

Table-level reset

Unsupported

Configurable Replication Methods

Unsupported

DATA SELECTION
Table selection

Supported

Column selection

Supported

Select all

Supported

TRANSPARENCY
Extraction Logs

Supported

Loading Reports

Supported

Connecting GitHub

GitHub setup requirements

To set up GitHub in Stitch, you need:

  • Access to the projects you want to replicate data from. Stitch will only be able to access the same projects as the user who authorizes the connection in Stitch.


Step 1: Add GitHub as a Stitch data source

  1. Sign into your Stitch account.
  2. On the Stitch Dashboard page, click the Add Integration button.

  3. Click the GitHub icon.

  4. Enter a name for the integration. This is the name that will display on the Stitch Dashboard for the integration; it’ll also be used to create the schema in your destination.

    For example, the name “Stitch GitHub” would create a schema called stitch_github in the destination. Note: Schema names cannot be changed after you save the integration.

  5. In the GitHub Repository Name field, enter the paths of the repositories you want to track. The path is relative to https://github.com. For example: The path for the Stitch Docs repository is stitchdata/docs

    To track multiple repositories, enter a space delimited list of the repository paths. For example: stitchdata/docs stitchdata/docs-about-docs

Step 2: Define the historical replication start date

The Sync Historical Data setting defines the starting date for your GitHub integration. This means that:

  • For tables using Key-based Incremental Replication, data equal to or newer than this date will be replicated to your destination.
  • For tables using Full Table Replication, all data - including records that are older, equal to, or newer than this date - will be replicated to your destination.

Change this setting if you want to replicate data beyond GitHub’s default setting of 1 year. For a detailed look at historical replication jobs, check out the Syncing Historical SaaS Data guide.

Step 3: Create a replication schedule

In the Replication Frequency section, you’ll create the integration’s replication schedule. An integration’s replication schedule determines how often Stitch runs a replication job, and the time that job begins.

GitHub integrations support the following replication scheduling methods:

To keep your row usage low, consider setting the integration to replicate less frequently. See the Understanding and Reducing Your Row Usage guide for tips on reducing your usage.

Step 4: Authorize Stitch to access GitHub

  1. Once you’ve configured the integration parameters, click Authorize. You will be prompted to grant Stitch access to your GitHub account.
  2. Sign in to GitHub.
  3. If you want to replicate data from private repositories, click Request next to the name of the relevant GitHub organization, then click Request approval from owners. The owners of the repository will then receive an email prompting them to approve or deny the request.

    Note: This step is not needed if you only want to access public repositories. Any public repository, even within your work organization, should be available without approval from the owners.

    GitHub authorization screen

  4. Click Authorize singer-bot.

Once the authorization process is completed, you will be redirected to Stitch. You will be able to start replicating data from public repositories. The extraction from private repositories will fail until the owner has approved the access request.

Initial and historical replication jobs

After you finish setting up GitHub, its Sync Status may show as Pending on either the Stitch Dashboard or in the Integration Details page.

For a new integration, a Pending status indicates that Stitch is in the process of scheduling the initial replication job for the integration. This may take some time to complete.

Free historical data loads

The first seven days of replication, beginning when data is first replicated, are free. Rows replicated from the new integration during this time won’t count towards your quota. Stitch offers this as a way of testing new integrations, measuring usage, and ensuring historical data volumes don’t quickly consume your quota.


GitHub table reference

Replication Method :

Full Table

Primary Key :

id

API endpoint :

List assignees

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

id
INTEGER

The assignee ID.

login
STRING

The user’s username.

_sdc_repository
STRING

type
STRING

The user’s type.

url
STRING

The profile URL associated with the user.


Replication Method :

Full Table

Primary Key :

id

API endpoint :

List 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.

id
INTEGER

The collaborator’s ID.

Reference:

login
STRING

The collaborator’s username.

_sdc_repository
STRING

type
STRING

The collaborator’s type.

url
STRING

The profile URL associated with the collaborator.


Replication Method :

Key-based Incremental

Replication Key :

since

Primary Key :

id

API endpoint :

List issue comments for a repository

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

id
INTEGER

The comment ID.

author_association
STRING

body
STRING

The body of the comment.

created_at
DATE-TIME

The time the comment was created.

home_url
STRING

The home URL of the comment.

html_url
STRING

The HTML URL of the comment.

issue_url
STRING

The URL of the issue associated with the comment.

node_id
STRING

The node ID.

_sdc_repository
STRING

updated_at
DATE-TIME

The time the comment was last updated.

url
STRING

The GitHub URL of the comment.

user
OBJECT

Details about the user who created the comment.

login
STRING

The login name of the user who created the comment.

id
STRING

The ID of the user who created the comment.

node_id
STRING

The node ID of the user who created the comment.

avatar_url
STRING

The URL of the avatar of the user who created the comment.

gravatar_id
STRING

The URL of the Gravatar of the user who created the comment.

url
STRING

The API URL of the user who created the comment.

html_url
STRING

The GitHub URL of the user who created the comment.

followers_url
STRING

The URL to the user’s followers page.

following_url
STRING

The URL to the user’s following page.

gists_url
STRING

The URL to the user’s gists page.

starred_url
STRING

The URL to the user’s starred page.

subscriptions_url
STRING

The URL to the user’s subscriptions page.

organizations_url
STRING

The URL to the user’s organizations page.

repos_url
STRING

The URL to the user’s repositories page.

events_url
STRING

The URL to the user’s events page.

received_events_url
STRING

The URL to the user’s received events page.

type
STRING

The type of the user.

site_admin
STRING

Indicates if the user is a site administrator.

comments (table), user (attribute)

Replication Method :

Key-based Incremental

Replication Key :

since

Primary Key :

sha

API endpoint :

List commits

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

sha
STRING

The git commit hash.

comments_url
STRING

The URL to the commit’s comments page.

commit
OBJECT

Details about the commit.

url
STRING

The URL to the commit.

tree
OBJECT

Details about the commit tree.

sha
STRING

The git commit tree hash.

url
STRING

The URL to the commit tree.

commits (table), tree (attribute)

author
OBJECT

Details about the author of the commit.

date
STRING

The date the author committed the change.

email
STRING

The author’s email address.

name
STRING

The author’s name.

commits (table), author (attribute)

message
STRING

The commit message.

committer
OBJECT

Details about the user who committed the change.

date
STRING

The date the committer committed the change.

email
STRING

The committer’s email address.

name
STRING

The committer’s name.

commits (table), committer (attribute)

comment_count
INTEGER

The number of comments on the commit.

message
STRING

tree
OBJECT

sha
STRING

url
STRING

commits (table), tree (attribute)

url
STRING

commits (table), commit (attribute)

files
ARRAY

additions
NUMBER

blob_url
STRING

changes
NUMBER

deletions
NUMBER

filename
STRING

patch
STRING

raw_url
STRING

status
STRING

commits (table), files (attribute)

html_url
STRING

The HTML URL to the commit.

parents
ARRAY

Details about the parent commits.

sha
STRING

The git hash of the parent commit.

html_url
STRING

The HTML URL to the parent commit.

url
STRING

The URL to the parent commit.

commits (table), parents (attribute)

_sdc_repository
STRING

url
STRING

The URL to the commit.


Replication Method :

Key-based Incremental

Replication Key :

since

Primary Key :

id

API endpoint :

List commit comments for a repository

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

id
NUMBER

The commit comment ID.

Reference:

updated_at
DATE-TIME

body
STRING

commit_id
STRING

Reference:

created_at
DATE-TIME

html_url
STRING

line
NUMBER

node_id
STRING

path
STRING

position
NUMBER

url
STRING

user
OBJECT

avatar_url
STRING

events_url
STRING

followers_url
STRING

following_url
STRING

gists_url
STRING

gravatar_id
STRING

html_url
STRING

id
NUMBER

login
STRING

node_id
STRING

organizations_url
STRING

received_events_url
STRING

repos_url
STRING

site_admin
BOOLEAN

starred_url
STRING

subscriptions_url
STRING

type
STRING

url
STRING

commit_comments (table), user (attribute)

Replication Method :

Key-based Incremental

Replication Key :

since

Primary Key :

id

API endpoint :

List issue events for a repository

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

id
NUMBER

The event ID.

actor
OBJECT

Information about the user that triggered an event.

avatar_url
STRING

display_login
STRING

gravatar_id
STRING

id
NUMBER

login
STRING

url
STRING

events (table), actor (attribute)

created_at
STRING

The date the event was created.

distinct_size
NUMBER

The number of distinct commits in a push.

head
STRING

The SHA of the most recent commit on ref after the push.

org
OBJECT

Information about the organization.

avatar_url
STRING

gravatar_id
STRING

id
NUMBER

login
STRING

url
STRING

events (table), org (attribute)

payload
OBJECT

Information about the events payload.

action
STRING

before
STRING

comment
STRING

commits
ARRAY

author
OBJECT

email
STRING

name
STRING

events (table), author (attribute)

distinct
BOOLEAN

message
STRING

sha
STRING

Reference:

url
STRING

events (table), commits (attribute)

description
STRING

issue
STRING

master_branch
STRING

pusher_type
STRING

ref
STRING

ref_type
STRING

events (table), payload (attribute)

public
BOOLEAN

When a private repository becomes public.

push_id
NUMBER

The push ID.

ref
STRING

The full git ref that was pushed.

repo
OBJECT

Information about the repository where the event occurred.

id
NUMBER

name
STRING

url
STRING

events (table), repo (attribute)

_sdc_repository
STRING

size
NUMBER

The number of commits in the push.

type
STRING

The event type.


Replication Method :

Key-based Incremental

Replication Key :

since

Primary Key :

id

API endpoint :

List issues for repository

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.

id
INTEGER

The issue ID.

Reference:

_sdc_repository
STRING

assignee
OBJECT

author_association
STRING

body
STRING

closed_at
DATE-TIME

comments
INTEGER

comments_url
STRING

created_at
DATE-TIME

events_url
STRING

html_url
STRING

labels
ARRAY

color
STRING

default
BOOLEAN

description
STRING

id
INTEGER

Reference:

name
STRING

node_id
STRING

url
STRING

issues (table), labels (attribute)

labels_url
STRING

locked
BOOLEAN

node_id
STRING

number
INTEGER

pull_request
OBJECT

diff_url
STRING

html_url
STRING

patch_url
STRING

url
STRING

issues (table), pull_request (attribute)

repository_url
STRING

state
STRING

title
STRING

updated_at
DATE-TIME

The last time the issue was updated.

url
STRING

user
OBJECT

avatar_url
STRING

events_url
STRING

followers_url
STRING

following_url
STRING

gists_url
STRING

gravatar_id
STRING

html_url
STRING

id
INTEGER

login
STRING

node_id
STRING

organizations_url
STRING

received_events_url
STRING

repos_url
STRING

site_admin
BOOLEAN

starred_url
STRING

subscriptions_url
STRING

type
STRING

url
STRING

issues (table), user (attribute)

Replication Method :

Key-based Incremental

Replication Key :

since

Primary Key :

id

API endpoint :

List issue events for a repository

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

id
INTEGER

The issue event ID.

_sdc_repository
STRING

actor
OBJECT

avatar_url
STRING

events_url
STRING

followers_url
STRING

following_url
STRING

gists_url
STRING

gravatar_id
STRING

html_url
STRING

id
INTEGER

login
STRING

node_id
STRING

organizations_url
STRING

received_events_url
STRING

repos_url
STRING

site_admin
BOOLEAN

starred_url
STRING

subscriptions_url
STRING

type
STRING

url
STRING

issue_events (table), actor (attribute)

assignee
OBJECT

avatar_url
STRING

events_url
STRING

followers_url
STRING

following_url
STRING

gists_url
STRING

gravatar_id
STRING

html_url
STRING

id
INTEGER

login
STRING

node_id
STRING

organizations_url
STRING

received_events_url
STRING

repos_url
STRING

site_admin
BOOLEAN

starred_url
STRING

subscriptions_url
STRING

type
STRING

url
STRING

issue_events (table), assignee (attribute)

assigner
OBJECT

avatar_url
STRING

events_url
STRING

followers_url
STRING

following_url
STRING

gists_url
STRING

gravatar_id
STRING

html_url
STRING

id
INTEGER

login
STRING

node_id
STRING

organizations_url
STRING

received_events_url
STRING

repos_url
STRING

site_admin
BOOLEAN

starred_url
STRING

subscriptions_url
STRING

type
STRING

url
STRING

issue_events (table), assigner (attribute)

commit_id
STRING

Reference:

commit_url
STRING

created_at
DATE-TIME

event
STRING

issue
OBJECT

active_lock_reason
STRING

assignee
OBJECT

avatar_url
STRING

events_url
STRING

followers_url
STRING

following_url
STRING

gists_url
STRING

gravatar_id
STRING

html_url
STRING

id
INTEGER

login
STRING

node_id
STRING

organizations_url
STRING

received_events_url
STRING

repos_url
STRING

site_admin
BOOLEAN

starred_url
STRING

subscriptions_url
STRING

type
STRING

url
STRING

issue_events (table), assignee (attribute)

assignees
ARRAY

avatar_url
STRING

events_url
STRING

followers_url
STRING

following_url
STRING

gists_url
STRING

gravatar_id
STRING

html_url
STRING

id
INTEGER

login
STRING

node_id
STRING

organizations_url
STRING

received_events_url
STRING

repos_url
STRING

site_admin
BOOLEAN

starred_url
STRING

subscriptions_url
STRING

type
STRING

url
STRING

issue_events (table), assignees (attribute)

author_association
STRING

body
STRING

closed_at
DATE-TIME

comments
INTEGER

comments_url
STRING

created_at
DATE-TIME

events_url
STRING

html_url
STRING

id
INTEGER

Reference:

labels
ARRAY

color
STRING

default
BOOLEAN

description
STRING

id
INTEGER

Reference:

name
STRING

node_id
STRING

url
STRING

issue_events (table), labels (attribute)

labels_url
STRING

locked
BOOLEAN

milestone
OBJECT

closed_at
STRING

closed_issues
INTEGER

created_at
DATE-TIME

creator
OBJECT

avatar_url
STRING

events_url
STRING

followers_url
STRING

following_url
STRING

gists_url
STRING

gravatar_id
STRING

html_url
STRING

id
INTEGER

login
STRING

node_id
STRING

organizations_url
STRING

received_events_url
STRING

repos_url
STRING

site_admin
BOOLEAN

starred_url
STRING

subscriptions_url
STRING

type
STRING

url
STRING

issue_events (table), creator (attribute)

description
STRING

due_on
DATE-TIME

html_url
STRING

id
INTEGER

Reference:

labels_url
STRING

node_id
STRING

number
INTEGER

open_issues
INTEGER

state
STRING

title
STRING

updated_at
DATE-TIME

url
STRING

issue_events (table), milestone (attribute)

node_id
STRING

number
INTEGER

performed_via_github_app
STRING

pull_request
OBJECT

diff_url
STRING

html_url
STRING

patch_url
STRING

url
STRING

issue_events (table), pull_request (attribute)

repository_url
STRING

state
STRING

title
STRING

updated_at
DATE-TIME

url
STRING

user
OBJECT

avatar_url
STRING

events_url
STRING

followers_url
STRING

following_url
STRING

gists_url
STRING

gravatar_id
STRING

html_url
STRING

id
INTEGER

login
STRING

node_id
STRING

organizations_url
STRING

received_events_url
STRING

repos_url
STRING

site_admin
BOOLEAN

starred_url
STRING

subscriptions_url
STRING

type
STRING

url
STRING

issue_events (table), user (attribute)
issue_events (table), issue (attribute)

label
OBJECT

color
STRING

name
STRING

issue_events (table), label (attribute)

node_id
STRING

performed_via_github_app
STRING

rename
OBJECT

from
STRING

to
STRING

issue_events (table), rename (attribute)

requested_reviewer
OBJECT

avatar_url
STRING

events_url
STRING

followers_url
STRING

following_url
STRING

gists_url
STRING

gravatar_id
STRING

html_url
STRING

id
INTEGER

login
STRING

node_id
STRING

organizations_url
STRING

received_events_url
STRING

repos_url
STRING

site_admin
BOOLEAN

starred_url
STRING

subscriptions_url
STRING

type
STRING

url
STRING

issue_events (table), requested_reviewer (attribute)

review_requester
OBJECT

avatar_url
STRING

events_url
STRING

followers_url
STRING

following_url
STRING

gists_url
STRING

gravatar_id
STRING

html_url
STRING

id
INTEGER

login
STRING

node_id
STRING

organizations_url
STRING

received_events_url
STRING

repos_url
STRING

site_admin
BOOLEAN

starred_url
STRING

subscriptions_url
STRING

type
STRING

url
STRING

issue_events (table), review_requester (attribute)

url
STRING


Replication Method :

Key-based Incremental

Replication Key :

since

Primary Key :

id

API endpoint :

List labels for a repository

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

id
NUMBER

The issue label ID.

Reference:

_sdc_repository
STRING

color
STRING

default
BOOLEAN

description
STRING

name
STRING

node_id
STRING

url
STRING


Replication Method :

Key-based Incremental

Replication Key :

since

Primary Key :

id

API endpoint :

List milestones

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

id
NUMBER

The issue milestone ID.

Reference:

_sdc_repository
STRING

closed_at
DATE-TIME

closed_issues
NUMBER

created_at
DATE-TIME

creator
OBJECT

avatar_url
STRING

events_url
STRING

followers_url
STRING

following_url
STRING

gists_url
STRING

gravatar_id
STRING

html_url
STRING

id
NUMBER

login
STRING

node_id
STRING

organizations_url
STRING

received_events_url
STRING

repos_url
STRING

site_admin
BOOLEAN

starred_url
STRING

subscriptions_url
STRING

type
STRING

url
STRING

issue_milestones (table), creator (attribute)

description
STRING

due_on
DATE-TIME

html_url
STRING

labels_url
STRING

node_id
STRING

number
NUMBER

open_issues
NUMBER

state
STRING

title
STRING

updated_at
DATE-TIME

url
STRING


Replication Method :

Key-based Incremental

Replication Key :

since

Primary Key :

id

API endpoint :

List repository projects

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

Note: This table must be selected to replicate the following tables:

id
NUMBER

The project ID.

Reference:

body
STRING

columns_url
STRING

created_at
DATE-TIME

creator
OBJECT

id
NUMBER

login
STRING

projects (table), creator (attribute)

html_url
STRING

name
STRING

node_id
STRING

number
NUMBER

owner_url
STRING

state
STRING

updated_at
DATE-TIME

url
STRING


Replication Method :

Key-based Incremental

Replication Key :

since

Primary Key :

id

API endpoint :

List project cards

Parent table :

projects

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

Note: In order to replicate this table, you must also set the projects table to replicate.

id
NUMBER

The project card ID.

updated_at
DATE-TIME

The time the card was last updated.

_sdc_repository
STRING

archived
BOOLEAN

Whether or not the card has been archived.

cards_url
STRING

The URL where the cards are located.

column_url
STRING

The column URL.

content_url
STRING

The content URL.

created_at
DATE-TIME

The time the card was created.

creator
OBJECT

Information about the card’s creator.

id
NUMBER

login
STRING

project_cards (table), creator (attribute)

name
STRING

The name of the card.

node_id
STRING

The card’s node ID.

note
STRING

Notes in the card.

project_url
STRING

The project URL.

url
STRING

The card URL.


Replication Method :

Key-based Incremental

Replication Key :

since

Primary Key :

id

API endpoint :

List project columns

Parent table :

projects

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

Note: In order to replicate this table, you must also set the projects table to replicate.

id
NUMBER

The project column ID.

_sdc_repository
STRING

cards_url
STRING

created_at
DATE-TIME

name
STRING

node_id
STRING

project_url
STRING

updated_at
DATE-TIME

url
STRING


Replication Method :

Key-based Incremental

Replication Key :

since

Primary Key :

id

API endpoint :

List commits on a pull request

Parent table :

pull_requests

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.

Note: In order to replicate this table, you must also set the pull_requests table to replicate.

id
STRING

The commit ID.

pr_number
INTEGER

pr_id
STRING

The ID of the pull request associated with the commit.

Reference:

sha
STRING

The git commit hash.

Reference:

comments_url
STRING

The URL to the commit’s comments page.

commit
OBJECT

Details about the commit.

url
STRING

The URL to the commit.

tree
OBJECT

Details about the commit tree.

sha
STRING

The git commit tree hash.

url
STRING

The URL to the commit tree.

pr_commits (table), tree (attribute)

author
OBJECT

Details about the author of the commit.

date
STRING

The date the author committed the change.

email
STRING

The author’s email address.

name
STRING

The author’s name.

pr_commits (table), author (attribute)

message
STRING

The commit message.

committer
OBJECT

Details about the user who committed the change.

date
STRING

The date the committer committed the change.

email
STRING

The committer’s email address.

name
STRING

The committer’s name.

pr_commits (table), committer (attribute)

comment_count
INTEGER

The number of comments on the commit.

pr_commits (table), commit (attribute)

html_url
STRING

The HTML URL to the commit.

parents
ARRAY

Details about the parent commits.

sha
STRING

The git hash of the parent commit.

html_url
STRING

The HTML URL to the parent commit.

url
STRING

The URL to the parent commit.

pr_commits (table), parents (attribute)

url
STRING

The URL to the commit.


Replication Method :

Key-based Incremental

Replication Key :

since

Primary Key :

id

API endpoint :

List pull requests

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

Note: This table must be selected to replicate the following tables:

id
STRING

The pull request ID.

Reference:

_sdc_repository
STRING

base
OBJECT

Details about the base branch.

ref
STRING

label
STRING

repo
OBJECT

id
INTEGER

name
STRING

url
STRING

pull_requests (table), repo (attribute)

sha
STRING

pull_requests (table), base (attribute)

body
STRING

The description of the pull request.

closed_at
STRING

The time the pull request was closed.

created_at
STRING

The time the pull request was created.

labels
ARRAY

color
STRING

default
BOOLEAN

description
STRING

id
INTEGER

Reference:

name
STRING

node_id
STRING

url
STRING

pull_requests (table), labels (attribute)

merged_at
STRING

The time the pull request was merged.

number
INTEGER

The number of the pull request in the repository.

state
STRING

The current status of the pull request. For example: open

title
STRING

The title of the pull request.

updated_at
DATE-TIME

The last time the pull request was updated.

url
STRING

The URL to the pull request.

user
OBJECT

Details about the user who created the pull request.

id
INTEGER

The user ID.

Reference:

login
STRING

The user’s GitHub username.

pull_requests (table), user (attribute)

Replication Method :

Full Table

Primary Key :

id

API endpoint :

List 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.

id
STRING

The release ID.

_sdc_repository
STRING

author
OBJECT

Details about the author of the release.

id
INTEGER

The user ID of the author.

login
STRING

The username of the author.

releases (table), author (attribute)

body
STRING

The text describing the tag.

created_at
DATE-TIME

The date the release was created.

draft
BOOLEAN

If TRUE, the release is a draft release.

html_url
STRING

The HTML URL to the release.

name
STRING

The name of the release.

prerelease
BOOLEAN

If TRUE, the release is a pre-release.

published_at
DATE-TIME

The date the release was published.

tag_name
STRING

The name of the tag.

target_commitish
STRING

The commitish value that determines where the Git tag was created.

url
STRING

The URL to the release.


Replication Method :

Key-based Incremental

Replication Key :

since

Primary Key :

id

API endpoint :

List reviews for a pull request

Parent table :

pull_requests

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.

Note: In order to replicate this table, you must also set the pull_requests table to replicate.

id
INTEGER

The review ID.

body
STRING

The description of the review.

commit_id
STRING

The ID of the commit the review was performed on.

Reference:

html_url
STRING

The HTML URL to the review.

pull_request_url
STRING

The URL to the pull request being reviewed.

state
STRING

The state of the review. Possible values are:

  • APPROVED
  • PENDING
  • CHANGES_REQUESTED

submitted_at
DATE-TIME

user
OBJECT

Details about the user who submitted the review.

id
INTEGER

The user ID.

Reference:

login
STRING

The user’s GitHub username.

reviews (table), user (attribute)

Replication Method :

Key-based Incremental

Replication Key :

since

Primary Key :

id

API endpoint :

List comments on a pull request

Parent table :

pull_requests

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

Note: In order to replicate this table, you must also set the pull_requests table to replicate.

id
INTEGER

The review comment ID.

updated_at
DATE-TIME

The time the review comment was last updated.

assignee
STRING

assignees
STRING

author_association
STRING

base
STRING

body
STRING

The body of the review comment.

comments_url
STRING

commit_id
STRING

The ID of the commit the review comment is associated with.

Reference:

commits_url
STRING

created_at
DATE-TIME

The time the review comment was created.

diff_hunk
STRING

diff_url
STRING

The diff URL associated with the review comment.

head
STRING

html_url
STRING

The HTML URL of the review comment.

in_reply_to_id
INTEGER

If the review comment is a reply to another review comment, this will be the ID of the review comment it is in response to.

Reference:

issue_url
STRING

The URL of the issue associated with the review comment.

labels
STRING

locked
STRING

merge_commit_sha
STRING

milestone
STRING

node_id
STRING

The review comment’s node ID.

original_commit_id
STRING

The ID of the original comment the review comment is associated with.

Reference:

original_position
INTEGER

The original position of the review comment.

patch_url
STRING

path
STRING

The path of the file the review comment was made on.

position
INTEGER

The position of the review comment.

pull_request_review_id
INTEGER

The ID of the pull request review the comment is a part of.

Reference:

pull_request_url
STRING

The URL of the pull request associated with the review comment.

requested_reviewers
STRING

requested_teams
STRING

review_comment_url
STRING

review_comments_url
STRING

statuses_url
STRING

url
STRING

The GitHub URL of the review comment.

user
OBJECT

Details about the user who created the review comment.

login
STRING

The login name of the user who created the review comment.

id
STRING

The ID of the user who created the review comment.

review_comments (table), user (attribute)

Replication Method :

Key-based Incremental

Replication Key :

since

Primary Key :

user_id

API endpoint :

List stargazers

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

user_id
INTEGER

The user ID.

_sdc_repository
STRING

starred_at
STRING

The time the user starred the repository.

user
OBJECT

Details about the user who starred the repository.

id
INTEGER

The user ID.

stargazers (table), user (attribute)

Replication Method :

Key-based Incremental

Replication Key :

since

Primary Key :

id

API endpoint :

List 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.

Note: This table must be selected to replicate the following tables:

id
NUMBER

The team ID.

Reference:

_sdc_repository
STRING

description
STRING

html_url
STRING

members_url
STRING

name
STRING

node_id
STRING

parent
OBJECT, STRING

permission
STRING

privacy
STRING

repositories_url
STRING

slug
STRING

url
STRING


Replication Method :

Key-based Incremental

Replication Key :

since

Primary Key :

id

API endpoint :

List teams

Parent table :

teams

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

Note: In order to replicate this table, you must also set the teams table to replicate.

id
NUMBER

The team member’s ID.

Reference:

_sdc_repository
STRING

avatar_url
STRING

events_url
STRING

followers_url
STRING

following_url
STRING

gists_url
STRING

gravatar_id
STRING

html_url
STRING

login
STRING

node_id
STRING

organizations_url
STRING

received_events_url
STRING

repos_url
STRING

site_admin
BOOLEAN

starred_url
STRING

subscriptions_url
STRING

type
STRING

url
STRING


Replication Method :

Key-based Incremental

Replication Key :

since

Primary Key :

url

API endpoint :

Get team membership for a user

Parent table :

teams

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

Note: In order to replicate this table, you must also set the teams table to replicate.

url
STRING

_sdc_repository
STRING

role
STRING