1
0
mirror of synced 2025-12-31 06:05:12 -05:00
Files
airbyte/airbyte-integrations/connectors/source-github/source_github/schemas/pull_requests.json
oleh.zorenko 84ba3e79b3 🎉 Native GitHub connector (#4174)
* GitHub source initial version

All streams are in `full_refresh` mode only.

* Run format command

* Add handling for 404 error in Teams stream

* Update creds naming for github

* Update acceptance tests

* Update check_connection()

* Code review fixes

Remove `/integration_tests/catalog.json` file.
Use `Collaborators` class in `check_connection()` function.
Remove excessive data from GithubStream class.

* Remove unused import

* Implement requested changes

* Add incremental streams

* Remove `supports_incremental`

* Update docs

* Implement requested changes

* Implement requested changes

* Implement requested changes

* Bump connector version
2021-07-06 17:06:34 +03:00

234 lines
4.8 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"_ab_github_repository": {
"type": ["string"]
},
"url": {
"type": ["null", "string"]
},
"id": {
"type": ["null", "integer"]
},
"node_id": {
"type": ["null", "string"]
},
"html_url": {
"type": ["null", "string"]
},
"diff_url": {
"type": ["null", "string"]
},
"patch_url": {
"type": ["null", "string"]
},
"issue_url": {
"type": ["null", "string"]
},
"commits_url": {
"type": ["null", "string"]
},
"review_comments_url": {
"type": ["null", "string"]
},
"review_comment_url": {
"type": ["null", "string"]
},
"comments_url": {
"type": ["null", "string"]
},
"statuses_url": {
"type": ["null", "string"]
},
"number": {
"type": ["null", "integer"]
},
"state": {
"type": ["null", "string"]
},
"locked": {
"type": ["null", "integer"]
},
"title": {
"type": ["null", "string"]
},
"user_id": {
"type": ["null", "integer"]
},
"body": {
"type": ["null", "string"]
},
"labels": {
"type": ["null", "array"],
"items": {
"type": ["null", "integer"]
}
},
"milestone_id": {
"type": ["null", "integer"]
},
"active_lock_reason": {
"type": ["null", "string"]
},
"created_at": {
"type": ["null", "string"],
"format": "date-time"
},
"updated_at": {
"type": ["null", "string"],
"format": "date-time"
},
"closed_at": {
"type": ["null", "string"],
"format": "date-time"
},
"merged_at": {
"type": ["null", "string"],
"format": "date-time"
},
"merge_commit_sha": {
"type": ["null", "string"]
},
"assignee_id": {
"type": ["null", "integer"]
},
"assignees": {
"type": ["null", "array"],
"items": {
"type": ["null", "integer"]
}
},
"requested_reviewers": {
"type": ["null", "array"],
"items": {
"type": ["null", "integer"]
}
},
"requested_teams": {
"type": ["null", "array"],
"items": {
"type": ["null", "integer"]
}
},
"head": {
"type": ["null", "object"],
"properties": {
"label": {
"type": ["null", "string"]
},
"ref": {
"type": ["null", "string"]
},
"sha": {
"type": ["null", "string"]
},
"user_id": {
"type": ["null", "integer"]
},
"repo_id": {
"type": ["null", "integer"]
}
}
},
"base": {
"type": ["null", "object"],
"properties": {
"label": {
"type": ["null", "string"]
},
"ref": {
"type": ["null", "string"]
},
"sha": {
"type": ["null", "string"]
},
"user_id": {
"type": ["null", "integer"]
},
"repo_id": {
"type": ["null", "integer"]
}
}
},
"_links": {
"type": ["null", "object"],
"properties": {
"self": {
"type": ["null", "object"],
"properties": {
"href": {
"type": ["null", "string"]
}
}
},
"html": {
"type": ["null", "object"],
"properties": {
"href": {
"type": ["null", "string"]
}
}
},
"issue": {
"type": ["null", "object"],
"properties": {
"href": {
"type": ["null", "string"]
}
}
},
"comments": {
"type": ["null", "object"],
"properties": {
"href": {
"type": ["null", "string"]
}
}
},
"review_comments": {
"type": ["null", "object"],
"properties": {
"href": {
"type": ["null", "string"]
}
}
},
"review_comment": {
"type": ["null", "object"],
"properties": {
"href": {
"type": ["null", "string"]
}
}
},
"commits": {
"type": ["null", "object"],
"properties": {
"href": {
"type": ["null", "string"]
}
}
},
"statuses": {
"type": ["null", "object"],
"properties": {
"href": {
"type": ["null", "string"]
}
}
}
}
},
"author_association": {
"type": ["null", "string"]
},
"auto_merge": {
"type": ["null", "boolean"]
},
"draft": {
"type": ["null", "boolean"]
}
}
}