| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "exec_times": 0,
- "name": "string",
- "next": "2019-08-24T14:15:22Z",
- "prev": "2019-08-24T14:15:22Z",
- "schedule": "string"
}
]| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "email": "user@example.com",
- "primary": true,
- "user_id": 0,
- "username": "string",
- "verified": true
}
]| q | string keyword |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "email": "user@example.com",
- "primary": true,
- "user_id": 0,
- "username": "string",
- "verified": true
}
]| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
| type | string Default: "system" Enum: "system" "default" "all" system, default or both kinds of webhooks |
[- {
- "active": true,
- "authorization_header": "string",
- "branch_filter": "string",
- "config": {
- "property1": "string",
- "property2": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "events": [
- "string"
], - "id": 0,
- "type": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}
]| active | boolean Default: false |
| authorization_header | string |
| branch_filter | string |
required | object (CreateHookOptionConfig) CreateHookOptionConfig has all config options in it required are "content_type" and "url" Required |
| events | Array of strings |
| type required | string Enum: "dingtalk" "discord" "gitea" "gogs" "msteams" "slack" "telegram" "feishu" "wechatwork" "packagist" |
{- "active": false,
- "authorization_header": "string",
- "branch_filter": "string",
- "config": {
- "property1": "string",
- "property2": "string"
}, - "events": [
- "string"
], - "type": "dingtalk"
}{- "active": true,
- "authorization_header": "string",
- "branch_filter": "string",
- "config": {
- "property1": "string",
- "property2": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "events": [
- "string"
], - "id": 0,
- "type": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}| id required | integer <int64> id of the hook to get |
{- "active": true,
- "authorization_header": "string",
- "branch_filter": "string",
- "config": {
- "property1": "string",
- "property2": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "events": [
- "string"
], - "id": 0,
- "type": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}| id required | integer <int64> id of the hook to update |
| active | boolean |
| authorization_header | string |
| branch_filter | string |
object | |
| events | Array of strings |
{- "active": true,
- "authorization_header": "string",
- "branch_filter": "string",
- "config": {
- "property1": "string",
- "property2": "string"
}, - "events": [
- "string"
]
}{- "active": true,
- "authorization_header": "string",
- "branch_filter": "string",
- "config": {
- "property1": "string",
- "property2": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "events": [
- "string"
], - "id": 0,
- "type": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}
]| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
| pattern | string pattern of repositories to search for |
[- "string"
]| source_id | integer <int64> ID of the user's login source to search for |
| login_name | string user's login name to search for |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
]| created_at | string <date-time> For explicitly setting the user creation timestamp. Useful when users are migrated from other systems. When omitted, the user's creation timestamp will be set to "now". |
| email required | string <email> |
| full_name | string |
| login_name | string |
| must_change_password | boolean |
| password | string |
| restricted | boolean |
| send_notify | boolean |
| source_id | integer <int64> |
| username required | string |
| visibility | string |
{- "created_at": "2019-08-24T14:15:22Z",
- "email": "user@example.com",
- "full_name": "string",
- "login_name": "string",
- "must_change_password": true,
- "password": "string",
- "restricted": true,
- "send_notify": true,
- "source_id": 0,
- "username": "string",
- "visibility": "string"
}{- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}| username required | string username of user to edit |
| active | boolean |
| admin | boolean |
| allow_create_organization | boolean |
| allow_git_hook | boolean |
| allow_import_local | boolean |
| description | string |
string <email> | |
| full_name | string |
| location | string |
| login_name required | string |
| max_repo_creation | integer <int64> |
| must_change_password | boolean |
| password | string |
| prohibit_login | boolean |
| restricted | boolean |
| source_id required | integer <int64> |
| visibility | string |
| website | string |
{- "active": true,
- "admin": true,
- "allow_create_organization": true,
- "allow_git_hook": true,
- "allow_import_local": true,
- "description": "string",
- "email": "user@example.com",
- "full_name": "string",
- "location": "string",
- "login_name": "string",
- "max_repo_creation": 0,
- "must_change_password": true,
- "password": "string",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "visibility": "string",
- "website": "string"
}{- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}| username required | string username of user |
| badge_slugs | Array of strings |
{- "badge_slugs": [
- "badge1",
- "badge2"
]
}| username required | string username of user |
| badge_slugs | Array of strings |
{- "badge_slugs": [
- "badge1",
- "badge2"
]
}| username required | string username of the user |
| key required | string unique An armored SSH key to add |
| read_only | boolean Describe if the key has only read access or read/write |
| title required | string unique Title of the key to add |
{- "key": "string",
- "read_only": true,
- "title": "string"
}{- "created_at": "2019-08-24T14:15:22Z",
- "fingerprint": "string",
- "id": 0,
- "key": "string",
- "key_type": "string",
- "read_only": true,
- "title": "string",
- "url": "string",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
}| username required | string username of the user that will own the created organization |
| description | string |
string | |
| full_name | string |
| location | string |
| repo_admin_change_team_access | boolean |
| username required | string |
| visibility | string Enum: "public" "limited" "private" possible values are |
| website | string |
{- "description": "string",
- "email": "string",
- "full_name": "string",
- "location": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "public",
- "website": "string"
}{- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}| username required | string existing username of user |
| new_username required | string unique New username for this user. This name cannot be in use yet by any other user. |
{- "new_username": "string"
}| username required | string username of the user. This user will own the created repository |
| auto_init | boolean Whether the repository should be auto-initialized? |
| default_branch | string DefaultBranch of the repository (used when initializes and in template) |
| description | string Description of the repository to create |
| gitignores | string Gitignores to use |
| issue_labels | string Label-Set to use |
| license | string License to use |
| name required | string unique Name of the repository to create |
| object_format_name | string Enum: "sha1" "sha256" ObjectFormatName of the underlying git repository |
| private | boolean Whether the repository is private |
| readme | string Readme of the repository to create |
| template | boolean Whether the repository is template |
| trust_model | string Enum: "default" "collaborator" "committer" "collaboratorcommitter" TrustModel of the repository |
{- "auto_init": true,
- "default_branch": "string",
- "description": "string",
- "gitignores": "string",
- "issue_labels": "string",
- "license": "string",
- "name": "string",
- "object_format_name": "sha1",
- "private": true,
- "readme": "string",
- "template": true,
- "trust_model": "default"
}{- "allow_fast_forward_only_merge": true,
- "allow_merge_commits": true,
- "allow_rebase": true,
- "allow_rebase_explicit": true,
- "allow_rebase_update": true,
- "allow_squash_merge": true,
- "archived": true,
- "archived_at": "2019-08-24T14:15:22Z",
- "avatar_url": "string",
- "clone_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "default_allow_maintainer_edit": true,
- "default_branch": "string",
- "default_delete_branch_after_merge": true,
- "default_merge_style": "string",
- "description": "string",
- "empty": true,
- "external_tracker": {
- "external_tracker_format": "string",
- "external_tracker_regexp_pattern": "string",
- "external_tracker_style": "string",
- "external_tracker_url": "string"
}, - "external_wiki": {
- "external_wiki_url": "string"
}, - "fork": true,
- "forks_count": 0,
- "full_name": "string",
- "has_actions": true,
- "has_issues": true,
- "has_packages": true,
- "has_projects": true,
- "has_pull_requests": true,
- "has_releases": true,
- "has_wiki": true,
- "html_url": "string",
- "id": 0,
- "ignore_whitespace_conflicts": true,
- "internal": true,
- "internal_tracker": {
- "allow_only_contributors_to_track_time": true,
- "enable_issue_dependencies": true,
- "enable_time_tracker": true
}, - "language": "string",
- "languages_url": "string",
- "licenses": [
- "string"
], - "link": "string",
- "mirror": true,
- "mirror_interval": "string",
- "mirror_updated": "2019-08-24T14:15:22Z",
- "name": "string",
- "object_format_name": "sha1",
- "open_issues_count": 0,
- "open_pr_counter": 0,
- "original_url": "string",
- "owner": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "parent": { },
- "permissions": {
- "admin": true,
- "pull": true,
- "push": true
}, - "private": true,
- "projects_mode": "string",
- "release_counter": 0,
- "repo_transfer": {
- "doer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "recipient": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "teams": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
]
}, - "size": 0,
- "ssh_url": "string",
- "stars_count": 0,
- "template": true,
- "topics": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "watchers_count": 0,
- "website": "string"
}| name required | string name of the template |
[- {
- "color": "00aabb",
- "description": "string",
- "exclusive": false,
- "name": "string"
}
]| name required | string name of the license |
{- "body": "string",
- "implementation": "string",
- "key": "string",
- "name": "string",
- "url": "string"
}| Context | string URL path for rendering issue, media and file links Expected format: /subpath/{user}/{repo}/src/{branch, commit, tag}/{identifier/path}/{file/dir} in: body |
| Mode | string Mode to render (markdown, comment, wiki, file) in: body |
| Text | string Text markdown to render in: body |
| Wiki | boolean Is it a wiki page? (use mode=wiki instead) Deprecated: true in: body |
{- "Context": "string",
- "Mode": "string",
- "Text": "string",
- "Wiki": true
}"string"| Context | string URL path for rendering issue, media and file links Expected format: /subpath/{user}/{repo}/src/{branch, commit, tag}/{identifier/path}/{file/dir} in: body |
| FilePath | string File path for detecting extension in file mode in: body |
| Mode | string Mode to render (markdown, comment, wiki, file) in: body |
| Text | string Text markup to render in: body |
| Wiki | boolean Is it a wiki page? (use mode=wiki instead) Deprecated: true in: body |
{- "Context": "string",
- "FilePath": "string",
- "Mode": "string",
- "Text": "string",
- "Wiki": true
}"string"{- "metadata": { },
- "openRegistrations": true,
- "protocols": [
- "string"
], - "services": {
- "inbound": [
- "string"
], - "outbound": [
- "string"
]
}, - "software": {
- "homepage": "string",
- "name": "string",
- "repository": "string",
- "version": "string"
}, - "usage": {
- "localComments": 0,
- "localPosts": 0,
- "users": {
- "activeHalfyear": 0,
- "activeMonth": 0,
- "total": 0
}
}, - "version": "string"
}| all | boolean If true, show notifications marked as read. Default value is false |
| status-types | Array of strings Show notifications with the provided status types. Options are: unread, read and/or pinned. Defaults to unread & pinned. |
| subject-type | Array of strings Items Enum: "issue" "pull" "commit" "repository" filter notifications by subject type |
| since | string <date-time> Only show notifications updated after the given time. This is a timestamp in RFC 3339 format |
| before | string <date-time> Only show notifications updated before the given time. This is a timestamp in RFC 3339 format |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "id": 0,
- "pinned": true,
- "repository": {
- "allow_fast_forward_only_merge": true,
- "allow_merge_commits": true,
- "allow_rebase": true,
- "allow_rebase_explicit": true,
- "allow_rebase_update": true,
- "allow_squash_merge": true,
- "archived": true,
- "archived_at": "2019-08-24T14:15:22Z",
- "avatar_url": "string",
- "clone_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "default_allow_maintainer_edit": true,
- "default_branch": "string",
- "default_delete_branch_after_merge": true,
- "default_merge_style": "string",
- "description": "string",
- "empty": true,
- "external_tracker": {
- "external_tracker_format": "string",
- "external_tracker_regexp_pattern": "string",
- "external_tracker_style": "string",
- "external_tracker_url": "string"
}, - "external_wiki": {
- "external_wiki_url": "string"
}, - "fork": true,
- "forks_count": 0,
- "full_name": "string",
- "has_actions": true,
- "has_issues": true,
- "has_packages": true,
- "has_projects": true,
- "has_pull_requests": true,
- "has_releases": true,
- "has_wiki": true,
- "html_url": "string",
- "id": 0,
- "ignore_whitespace_conflicts": true,
- "internal": true,
- "internal_tracker": {
- "allow_only_contributors_to_track_time": true,
- "enable_issue_dependencies": true,
- "enable_time_tracker": true
}, - "language": "string",
- "languages_url": "string",
- "licenses": [
- "string"
], - "link": "string",
- "mirror": true,
- "mirror_interval": "string",
- "mirror_updated": "2019-08-24T14:15:22Z",
- "name": "string",
- "object_format_name": "sha1",
- "open_issues_count": 0,
- "open_pr_counter": 0,
- "original_url": "string",
- "owner": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "parent": { },
- "permissions": {
- "admin": true,
- "pull": true,
- "push": true
}, - "private": true,
- "projects_mode": "string",
- "release_counter": 0,
- "repo_transfer": {
- "doer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "recipient": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "teams": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
]
}, - "size": 0,
- "ssh_url": "string",
- "stars_count": 0,
- "template": true,
- "topics": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "watchers_count": 0,
- "website": "string"
}, - "subject": {
- "html_url": "string",
- "latest_comment_html_url": "string",
- "latest_comment_url": "string",
- "state": "string",
- "title": "string",
- "type": "string",
- "url": "string"
}, - "unread": true,
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string"
}
]| last_read_at | string <date-time> Describes the last point that notifications were checked. Anything updated since this time will not be updated. |
| all | string If true, mark all notifications on this repo. Default value is false |
| status-types | Array of strings Mark notifications with the provided status types. Options are: unread, read and/or pinned. Defaults to unread. |
| to-status | string Status to mark notifications as, Defaults to read. |
[- {
- "id": 0,
- "pinned": true,
- "repository": {
- "allow_fast_forward_only_merge": true,
- "allow_merge_commits": true,
- "allow_rebase": true,
- "allow_rebase_explicit": true,
- "allow_rebase_update": true,
- "allow_squash_merge": true,
- "archived": true,
- "archived_at": "2019-08-24T14:15:22Z",
- "avatar_url": "string",
- "clone_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "default_allow_maintainer_edit": true,
- "default_branch": "string",
- "default_delete_branch_after_merge": true,
- "default_merge_style": "string",
- "description": "string",
- "empty": true,
- "external_tracker": {
- "external_tracker_format": "string",
- "external_tracker_regexp_pattern": "string",
- "external_tracker_style": "string",
- "external_tracker_url": "string"
}, - "external_wiki": {
- "external_wiki_url": "string"
}, - "fork": true,
- "forks_count": 0,
- "full_name": "string",
- "has_actions": true,
- "has_issues": true,
- "has_packages": true,
- "has_projects": true,
- "has_pull_requests": true,
- "has_releases": true,
- "has_wiki": true,
- "html_url": "string",
- "id": 0,
- "ignore_whitespace_conflicts": true,
- "internal": true,
- "internal_tracker": {
- "allow_only_contributors_to_track_time": true,
- "enable_issue_dependencies": true,
- "enable_time_tracker": true
}, - "language": "string",
- "languages_url": "string",
- "licenses": [
- "string"
], - "link": "string",
- "mirror": true,
- "mirror_interval": "string",
- "mirror_updated": "2019-08-24T14:15:22Z",
- "name": "string",
- "object_format_name": "sha1",
- "open_issues_count": 0,
- "open_pr_counter": 0,
- "original_url": "string",
- "owner": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "parent": { },
- "permissions": {
- "admin": true,
- "pull": true,
- "push": true
}, - "private": true,
- "projects_mode": "string",
- "release_counter": 0,
- "repo_transfer": {
- "doer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "recipient": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "teams": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
]
}, - "size": 0,
- "ssh_url": "string",
- "stars_count": 0,
- "template": true,
- "topics": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "watchers_count": 0,
- "website": "string"
}, - "subject": {
- "html_url": "string",
- "latest_comment_html_url": "string",
- "latest_comment_url": "string",
- "state": "string",
- "title": "string",
- "type": "string",
- "url": "string"
}, - "unread": true,
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string"
}
]| id required | string id of notification thread |
{- "id": 0,
- "pinned": true,
- "repository": {
- "allow_fast_forward_only_merge": true,
- "allow_merge_commits": true,
- "allow_rebase": true,
- "allow_rebase_explicit": true,
- "allow_rebase_update": true,
- "allow_squash_merge": true,
- "archived": true,
- "archived_at": "2019-08-24T14:15:22Z",
- "avatar_url": "string",
- "clone_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "default_allow_maintainer_edit": true,
- "default_branch": "string",
- "default_delete_branch_after_merge": true,
- "default_merge_style": "string",
- "description": "string",
- "empty": true,
- "external_tracker": {
- "external_tracker_format": "string",
- "external_tracker_regexp_pattern": "string",
- "external_tracker_style": "string",
- "external_tracker_url": "string"
}, - "external_wiki": {
- "external_wiki_url": "string"
}, - "fork": true,
- "forks_count": 0,
- "full_name": "string",
- "has_actions": true,
- "has_issues": true,
- "has_packages": true,
- "has_projects": true,
- "has_pull_requests": true,
- "has_releases": true,
- "has_wiki": true,
- "html_url": "string",
- "id": 0,
- "ignore_whitespace_conflicts": true,
- "internal": true,
- "internal_tracker": {
- "allow_only_contributors_to_track_time": true,
- "enable_issue_dependencies": true,
- "enable_time_tracker": true
}, - "language": "string",
- "languages_url": "string",
- "licenses": [
- "string"
], - "link": "string",
- "mirror": true,
- "mirror_interval": "string",
- "mirror_updated": "2019-08-24T14:15:22Z",
- "name": "string",
- "object_format_name": "sha1",
- "open_issues_count": 0,
- "open_pr_counter": 0,
- "original_url": "string",
- "owner": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "parent": { },
- "permissions": {
- "admin": true,
- "pull": true,
- "push": true
}, - "private": true,
- "projects_mode": "string",
- "release_counter": 0,
- "repo_transfer": {
- "doer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "recipient": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "teams": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
]
}, - "size": 0,
- "ssh_url": "string",
- "stars_count": 0,
- "template": true,
- "topics": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "watchers_count": 0,
- "website": "string"
}, - "subject": {
- "html_url": "string",
- "latest_comment_html_url": "string",
- "latest_comment_url": "string",
- "state": "string",
- "title": "string",
- "type": "string",
- "url": "string"
}, - "unread": true,
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string"
}| id required | string id of notification thread |
| to-status | string Default: "read" Status to mark notifications as |
{- "id": 0,
- "pinned": true,
- "repository": {
- "allow_fast_forward_only_merge": true,
- "allow_merge_commits": true,
- "allow_rebase": true,
- "allow_rebase_explicit": true,
- "allow_rebase_update": true,
- "allow_squash_merge": true,
- "archived": true,
- "archived_at": "2019-08-24T14:15:22Z",
- "avatar_url": "string",
- "clone_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "default_allow_maintainer_edit": true,
- "default_branch": "string",
- "default_delete_branch_after_merge": true,
- "default_merge_style": "string",
- "description": "string",
- "empty": true,
- "external_tracker": {
- "external_tracker_format": "string",
- "external_tracker_regexp_pattern": "string",
- "external_tracker_style": "string",
- "external_tracker_url": "string"
}, - "external_wiki": {
- "external_wiki_url": "string"
}, - "fork": true,
- "forks_count": 0,
- "full_name": "string",
- "has_actions": true,
- "has_issues": true,
- "has_packages": true,
- "has_projects": true,
- "has_pull_requests": true,
- "has_releases": true,
- "has_wiki": true,
- "html_url": "string",
- "id": 0,
- "ignore_whitespace_conflicts": true,
- "internal": true,
- "internal_tracker": {
- "allow_only_contributors_to_track_time": true,
- "enable_issue_dependencies": true,
- "enable_time_tracker": true
}, - "language": "string",
- "languages_url": "string",
- "licenses": [
- "string"
], - "link": "string",
- "mirror": true,
- "mirror_interval": "string",
- "mirror_updated": "2019-08-24T14:15:22Z",
- "name": "string",
- "object_format_name": "sha1",
- "open_issues_count": 0,
- "open_pr_counter": 0,
- "original_url": "string",
- "owner": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "parent": { },
- "permissions": {
- "admin": true,
- "pull": true,
- "push": true
}, - "private": true,
- "projects_mode": "string",
- "release_counter": 0,
- "repo_transfer": {
- "doer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "recipient": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "teams": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
]
}, - "size": 0,
- "ssh_url": "string",
- "stars_count": 0,
- "template": true,
- "topics": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "watchers_count": 0,
- "website": "string"
}, - "subject": {
- "html_url": "string",
- "latest_comment_html_url": "string",
- "latest_comment_url": "string",
- "state": "string",
- "title": "string",
- "type": "string",
- "url": "string"
}, - "unread": true,
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string"
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| all | boolean If true, show notifications marked as read. Default value is false |
| status-types | Array of strings Show notifications with the provided status types. Options are: unread, read and/or pinned. Defaults to unread & pinned |
| subject-type | Array of strings Items Enum: "issue" "pull" "commit" "repository" filter notifications by subject type |
| since | string <date-time> Only show notifications updated after the given time. This is a timestamp in RFC 3339 format |
| before | string <date-time> Only show notifications updated before the given time. This is a timestamp in RFC 3339 format |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "id": 0,
- "pinned": true,
- "repository": {
- "allow_fast_forward_only_merge": true,
- "allow_merge_commits": true,
- "allow_rebase": true,
- "allow_rebase_explicit": true,
- "allow_rebase_update": true,
- "allow_squash_merge": true,
- "archived": true,
- "archived_at": "2019-08-24T14:15:22Z",
- "avatar_url": "string",
- "clone_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "default_allow_maintainer_edit": true,
- "default_branch": "string",
- "default_delete_branch_after_merge": true,
- "default_merge_style": "string",
- "description": "string",
- "empty": true,
- "external_tracker": {
- "external_tracker_format": "string",
- "external_tracker_regexp_pattern": "string",
- "external_tracker_style": "string",
- "external_tracker_url": "string"
}, - "external_wiki": {
- "external_wiki_url": "string"
}, - "fork": true,
- "forks_count": 0,
- "full_name": "string",
- "has_actions": true,
- "has_issues": true,
- "has_packages": true,
- "has_projects": true,
- "has_pull_requests": true,
- "has_releases": true,
- "has_wiki": true,
- "html_url": "string",
- "id": 0,
- "ignore_whitespace_conflicts": true,
- "internal": true,
- "internal_tracker": {
- "allow_only_contributors_to_track_time": true,
- "enable_issue_dependencies": true,
- "enable_time_tracker": true
}, - "language": "string",
- "languages_url": "string",
- "licenses": [
- "string"
], - "link": "string",
- "mirror": true,
- "mirror_interval": "string",
- "mirror_updated": "2019-08-24T14:15:22Z",
- "name": "string",
- "object_format_name": "sha1",
- "open_issues_count": 0,
- "open_pr_counter": 0,
- "original_url": "string",
- "owner": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "parent": { },
- "permissions": {
- "admin": true,
- "pull": true,
- "push": true
}, - "private": true,
- "projects_mode": "string",
- "release_counter": 0,
- "repo_transfer": {
- "doer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "recipient": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "teams": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
]
}, - "size": 0,
- "ssh_url": "string",
- "stars_count": 0,
- "template": true,
- "topics": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "watchers_count": 0,
- "website": "string"
}, - "subject": {
- "html_url": "string",
- "latest_comment_html_url": "string",
- "latest_comment_url": "string",
- "state": "string",
- "title": "string",
- "type": "string",
- "url": "string"
}, - "unread": true,
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string"
}
]| owner required | string owner of the repo |
| repo required | string name of the repo |
| all | string If true, mark all notifications on this repo. Default value is false |
| status-types | Array of strings Mark notifications with the provided status types. Options are: unread, read and/or pinned. Defaults to unread. |
| to-status | string Status to mark notifications as. Defaults to read. |
| last_read_at | string <date-time> Describes the last point that notifications were checked. Anything updated since this time will not be updated. |
[- {
- "id": 0,
- "pinned": true,
- "repository": {
- "allow_fast_forward_only_merge": true,
- "allow_merge_commits": true,
- "allow_rebase": true,
- "allow_rebase_explicit": true,
- "allow_rebase_update": true,
- "allow_squash_merge": true,
- "archived": true,
- "archived_at": "2019-08-24T14:15:22Z",
- "avatar_url": "string",
- "clone_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "default_allow_maintainer_edit": true,
- "default_branch": "string",
- "default_delete_branch_after_merge": true,
- "default_merge_style": "string",
- "description": "string",
- "empty": true,
- "external_tracker": {
- "external_tracker_format": "string",
- "external_tracker_regexp_pattern": "string",
- "external_tracker_style": "string",
- "external_tracker_url": "string"
}, - "external_wiki": {
- "external_wiki_url": "string"
}, - "fork": true,
- "forks_count": 0,
- "full_name": "string",
- "has_actions": true,
- "has_issues": true,
- "has_packages": true,
- "has_projects": true,
- "has_pull_requests": true,
- "has_releases": true,
- "has_wiki": true,
- "html_url": "string",
- "id": 0,
- "ignore_whitespace_conflicts": true,
- "internal": true,
- "internal_tracker": {
- "allow_only_contributors_to_track_time": true,
- "enable_issue_dependencies": true,
- "enable_time_tracker": true
}, - "language": "string",
- "languages_url": "string",
- "licenses": [
- "string"
], - "link": "string",
- "mirror": true,
- "mirror_interval": "string",
- "mirror_updated": "2019-08-24T14:15:22Z",
- "name": "string",
- "object_format_name": "sha1",
- "open_issues_count": 0,
- "open_pr_counter": 0,
- "original_url": "string",
- "owner": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "parent": { },
- "permissions": {
- "admin": true,
- "pull": true,
- "push": true
}, - "private": true,
- "projects_mode": "string",
- "release_counter": 0,
- "repo_transfer": {
- "doer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "recipient": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "teams": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
]
}, - "size": 0,
- "ssh_url": "string",
- "stars_count": 0,
- "template": true,
- "topics": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "watchers_count": 0,
- "website": "string"
}, - "subject": {
- "html_url": "string",
- "latest_comment_html_url": "string",
- "latest_comment_url": "string",
- "state": "string",
- "title": "string",
- "type": "string",
- "url": "string"
}, - "unread": true,
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string"
}
]| org required | string name of organization |
| auto_init | boolean Whether the repository should be auto-initialized? |
| default_branch | string DefaultBranch of the repository (used when initializes and in template) |
| description | string Description of the repository to create |
| gitignores | string Gitignores to use |
| issue_labels | string Label-Set to use |
| license | string License to use |
| name required | string unique Name of the repository to create |
| object_format_name | string Enum: "sha1" "sha256" ObjectFormatName of the underlying git repository |
| private | boolean Whether the repository is private |
| readme | string Readme of the repository to create |
| template | boolean Whether the repository is template |
| trust_model | string Enum: "default" "collaborator" "committer" "collaboratorcommitter" TrustModel of the repository |
{- "auto_init": true,
- "default_branch": "string",
- "description": "string",
- "gitignores": "string",
- "issue_labels": "string",
- "license": "string",
- "name": "string",
- "object_format_name": "sha1",
- "private": true,
- "readme": "string",
- "template": true,
- "trust_model": "default"
}{- "allow_fast_forward_only_merge": true,
- "allow_merge_commits": true,
- "allow_rebase": true,
- "allow_rebase_explicit": true,
- "allow_rebase_update": true,
- "allow_squash_merge": true,
- "archived": true,
- "archived_at": "2019-08-24T14:15:22Z",
- "avatar_url": "string",
- "clone_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "default_allow_maintainer_edit": true,
- "default_branch": "string",
- "default_delete_branch_after_merge": true,
- "default_merge_style": "string",
- "description": "string",
- "empty": true,
- "external_tracker": {
- "external_tracker_format": "string",
- "external_tracker_regexp_pattern": "string",
- "external_tracker_style": "string",
- "external_tracker_url": "string"
}, - "external_wiki": {
- "external_wiki_url": "string"
}, - "fork": true,
- "forks_count": 0,
- "full_name": "string",
- "has_actions": true,
- "has_issues": true,
- "has_packages": true,
- "has_projects": true,
- "has_pull_requests": true,
- "has_releases": true,
- "has_wiki": true,
- "html_url": "string",
- "id": 0,
- "ignore_whitespace_conflicts": true,
- "internal": true,
- "internal_tracker": {
- "allow_only_contributors_to_track_time": true,
- "enable_issue_dependencies": true,
- "enable_time_tracker": true
}, - "language": "string",
- "languages_url": "string",
- "licenses": [
- "string"
], - "link": "string",
- "mirror": true,
- "mirror_interval": "string",
- "mirror_updated": "2019-08-24T14:15:22Z",
- "name": "string",
- "object_format_name": "sha1",
- "open_issues_count": 0,
- "open_pr_counter": 0,
- "original_url": "string",
- "owner": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "parent": { },
- "permissions": {
- "admin": true,
- "pull": true,
- "push": true
}, - "private": true,
- "projects_mode": "string",
- "release_counter": 0,
- "repo_transfer": {
- "doer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "recipient": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "teams": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
]
}, - "size": 0,
- "ssh_url": "string",
- "stars_count": 0,
- "template": true,
- "topics": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "watchers_count": 0,
- "website": "string"
}| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}
]| description | string |
string | |
| full_name | string |
| location | string |
| repo_admin_change_team_access | boolean |
| username required | string |
| visibility | string Enum: "public" "limited" "private" possible values are |
| website | string |
{- "description": "string",
- "email": "string",
- "full_name": "string",
- "location": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "public",
- "website": "string"
}{- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}| org required | string name of the organization to get |
{- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}| org required | string name of the organization to edit |
| description | string |
string | |
| full_name | string |
| location | string |
| repo_admin_change_team_access | boolean |
| visibility | string Enum: "public" "limited" "private" possible values are |
| website | string |
{- "description": "string",
- "email": "string",
- "full_name": "string",
- "location": "string",
- "repo_admin_change_team_access": true,
- "visibility": "public",
- "website": "string"
}{- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}| org required | string name of the organization |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "created_at": "2019-08-24T14:15:22Z",
- "name": "string"
}
]| org required | string name of organization |
| secretname required | string name of the secret |
| data required | string Data of the secret to update |
{- "data": "string"
}| org required | string name of the organization |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "data": "string",
- "name": "string",
- "owner_id": 0,
- "repo_id": 0
}
]| org required | string name of the organization |
| variablename required | string name of the variable |
{- "data": "string",
- "name": "string",
- "owner_id": 0,
- "repo_id": 0
}| org required | string name of the organization |
| variablename required | string name of the variable |
| name | string New name for the variable. If the field is empty, the variable name won't be updated. |
| value required | string Value of the variable to update |
{- "name": "string",
- "value": "string"
}| org required | string name of the organization |
| variablename required | string name of the variable |
| value required | string Value of the variable to create |
{- "value": "string"
}| org required | string name of the organization |
| variablename required | string name of the variable |
{- "data": "string",
- "name": "string",
- "owner_id": 0,
- "repo_id": 0
}| org required | string name of the org |
| date | string <date> the date of the activities to be found |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "act_user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "act_user_id": 0,
- "comment": {
- "assets": [
- {
- "browser_download_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "download_count": 0,
- "id": 0,
- "name": "string",
- "size": 0,
- "uuid": "string"
}
], - "body": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "html_url": "string",
- "id": 0,
- "issue_url": "string",
- "original_author": "string",
- "original_author_id": 0,
- "pull_request_url": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
}, - "comment_id": 0,
- "content": "string",
- "created": "2019-08-24T14:15:22Z",
- "id": 0,
- "is_private": true,
- "op_type": "create_repo",
- "ref_name": "string",
- "repo": {
- "allow_fast_forward_only_merge": true,
- "allow_merge_commits": true,
- "allow_rebase": true,
- "allow_rebase_explicit": true,
- "allow_rebase_update": true,
- "allow_squash_merge": true,
- "archived": true,
- "archived_at": "2019-08-24T14:15:22Z",
- "avatar_url": "string",
- "clone_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "default_allow_maintainer_edit": true,
- "default_branch": "string",
- "default_delete_branch_after_merge": true,
- "default_merge_style": "string",
- "description": "string",
- "empty": true,
- "external_tracker": {
- "external_tracker_format": "string",
- "external_tracker_regexp_pattern": "string",
- "external_tracker_style": "string",
- "external_tracker_url": "string"
}, - "external_wiki": {
- "external_wiki_url": "string"
}, - "fork": true,
- "forks_count": 0,
- "full_name": "string",
- "has_actions": true,
- "has_issues": true,
- "has_packages": true,
- "has_projects": true,
- "has_pull_requests": true,
- "has_releases": true,
- "has_wiki": true,
- "html_url": "string",
- "id": 0,
- "ignore_whitespace_conflicts": true,
- "internal": true,
- "internal_tracker": {
- "allow_only_contributors_to_track_time": true,
- "enable_issue_dependencies": true,
- "enable_time_tracker": true
}, - "language": "string",
- "languages_url": "string",
- "licenses": [
- "string"
], - "link": "string",
- "mirror": true,
- "mirror_interval": "string",
- "mirror_updated": "2019-08-24T14:15:22Z",
- "name": "string",
- "object_format_name": "sha1",
- "open_issues_count": 0,
- "open_pr_counter": 0,
- "original_url": "string",
- "owner": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "parent": { },
- "permissions": {
- "admin": true,
- "pull": true,
- "push": true
}, - "private": true,
- "projects_mode": "string",
- "release_counter": 0,
- "repo_transfer": {
- "doer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "recipient": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "teams": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
]
}, - "size": 0,
- "ssh_url": "string",
- "stars_count": 0,
- "template": true,
- "topics": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "watchers_count": 0,
- "website": "string"
}, - "repo_id": 0,
- "user_id": 0
}
]| org required | string name of the organization |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
]| org required | string name of the organization |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "active": true,
- "authorization_header": "string",
- "branch_filter": "string",
- "config": {
- "property1": "string",
- "property2": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "events": [
- "string"
], - "id": 0,
- "type": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}
]| org required | string name of the organization |
| active | boolean Default: false |
| authorization_header | string |
| branch_filter | string |
required | object (CreateHookOptionConfig) CreateHookOptionConfig has all config options in it required are "content_type" and "url" Required |
| events | Array of strings |
| type required | string Enum: "dingtalk" "discord" "gitea" "gogs" "msteams" "slack" "telegram" "feishu" "wechatwork" "packagist" |
{- "active": false,
- "authorization_header": "string",
- "branch_filter": "string",
- "config": {
- "property1": "string",
- "property2": "string"
}, - "events": [
- "string"
], - "type": "dingtalk"
}{- "active": true,
- "authorization_header": "string",
- "branch_filter": "string",
- "config": {
- "property1": "string",
- "property2": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "events": [
- "string"
], - "id": 0,
- "type": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}| org required | string name of the organization |
| id required | integer <int64> id of the hook to get |
{- "active": true,
- "authorization_header": "string",
- "branch_filter": "string",
- "config": {
- "property1": "string",
- "property2": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "events": [
- "string"
], - "id": 0,
- "type": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}| org required | string name of the organization |
| id required | integer <int64> id of the hook to update |
| active | boolean |
| authorization_header | string |
| branch_filter | string |
object | |
| events | Array of strings |
{- "active": true,
- "authorization_header": "string",
- "branch_filter": "string",
- "config": {
- "property1": "string",
- "property2": "string"
}, - "events": [
- "string"
]
}{- "active": true,
- "authorization_header": "string",
- "branch_filter": "string",
- "config": {
- "property1": "string",
- "property2": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "events": [
- "string"
], - "id": 0,
- "type": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}| org required | string name of the organization |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "color": "00aabb",
- "description": "string",
- "exclusive": false,
- "id": 0,
- "is_archived": false,
- "name": "string",
- "url": "string"
}
]| org required | string name of the organization |
| color required | string |
| description | string |
| exclusive | boolean |
| is_archived | boolean |
| name required | string |
{- "color": "#00aabb",
- "description": "string",
- "exclusive": false,
- "is_archived": false,
- "name": "string"
}{- "color": "00aabb",
- "description": "string",
- "exclusive": false,
- "id": 0,
- "is_archived": false,
- "name": "string",
- "url": "string"
}| org required | string name of the organization |
| id required | integer <int64> id of the label to get |
{- "color": "00aabb",
- "description": "string",
- "exclusive": false,
- "id": 0,
- "is_archived": false,
- "name": "string",
- "url": "string"
}| org required | string name of the organization |
| id required | integer <int64> id of the label to edit |
| color | string |
| description | string |
| exclusive | boolean |
| is_archived | boolean |
| name | string |
{- "color": "#00aabb",
- "description": "string",
- "exclusive": false,
- "is_archived": false,
- "name": "string"
}{- "color": "00aabb",
- "description": "string",
- "exclusive": false,
- "id": 0,
- "is_archived": false,
- "name": "string",
- "url": "string"
}| org required | string name of the organization |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
]| org required | string name of the organization |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
]| org required | string name of the organization |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "allow_fast_forward_only_merge": true,
- "allow_merge_commits": true,
- "allow_rebase": true,
- "allow_rebase_explicit": true,
- "allow_rebase_update": true,
- "allow_squash_merge": true,
- "archived": true,
- "archived_at": "2019-08-24T14:15:22Z",
- "avatar_url": "string",
- "clone_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "default_allow_maintainer_edit": true,
- "default_branch": "string",
- "default_delete_branch_after_merge": true,
- "default_merge_style": "string",
- "description": "string",
- "empty": true,
- "external_tracker": {
- "external_tracker_format": "string",
- "external_tracker_regexp_pattern": "string",
- "external_tracker_style": "string",
- "external_tracker_url": "string"
}, - "external_wiki": {
- "external_wiki_url": "string"
}, - "fork": true,
- "forks_count": 0,
- "full_name": "string",
- "has_actions": true,
- "has_issues": true,
- "has_packages": true,
- "has_projects": true,
- "has_pull_requests": true,
- "has_releases": true,
- "has_wiki": true,
- "html_url": "string",
- "id": 0,
- "ignore_whitespace_conflicts": true,
- "internal": true,
- "internal_tracker": {
- "allow_only_contributors_to_track_time": true,
- "enable_issue_dependencies": true,
- "enable_time_tracker": true
}, - "language": "string",
- "languages_url": "string",
- "licenses": [
- "string"
], - "link": "string",
- "mirror": true,
- "mirror_interval": "string",
- "mirror_updated": "2019-08-24T14:15:22Z",
- "name": "string",
- "object_format_name": "sha1",
- "open_issues_count": 0,
- "open_pr_counter": 0,
- "original_url": "string",
- "owner": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "parent": { },
- "permissions": {
- "admin": true,
- "pull": true,
- "push": true
}, - "private": true,
- "projects_mode": "string",
- "release_counter": 0,
- "repo_transfer": {
- "doer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "recipient": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "teams": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
]
}, - "size": 0,
- "ssh_url": "string",
- "stars_count": 0,
- "template": true,
- "topics": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "watchers_count": 0,
- "website": "string"
}
]| org required | string name of organization |
| auto_init | boolean Whether the repository should be auto-initialized? |
| default_branch | string DefaultBranch of the repository (used when initializes and in template) |
| description | string Description of the repository to create |
| gitignores | string Gitignores to use |
| issue_labels | string Label-Set to use |
| license | string License to use |
| name required | string unique Name of the repository to create |
| object_format_name | string Enum: "sha1" "sha256" ObjectFormatName of the underlying git repository |
| private | boolean Whether the repository is private |
| readme | string Readme of the repository to create |
| template | boolean Whether the repository is template |
| trust_model | string Enum: "default" "collaborator" "committer" "collaboratorcommitter" TrustModel of the repository |
{- "auto_init": true,
- "default_branch": "string",
- "description": "string",
- "gitignores": "string",
- "issue_labels": "string",
- "license": "string",
- "name": "string",
- "object_format_name": "sha1",
- "private": true,
- "readme": "string",
- "template": true,
- "trust_model": "default"
}{- "allow_fast_forward_only_merge": true,
- "allow_merge_commits": true,
- "allow_rebase": true,
- "allow_rebase_explicit": true,
- "allow_rebase_update": true,
- "allow_squash_merge": true,
- "archived": true,
- "archived_at": "2019-08-24T14:15:22Z",
- "avatar_url": "string",
- "clone_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "default_allow_maintainer_edit": true,
- "default_branch": "string",
- "default_delete_branch_after_merge": true,
- "default_merge_style": "string",
- "description": "string",
- "empty": true,
- "external_tracker": {
- "external_tracker_format": "string",
- "external_tracker_regexp_pattern": "string",
- "external_tracker_style": "string",
- "external_tracker_url": "string"
}, - "external_wiki": {
- "external_wiki_url": "string"
}, - "fork": true,
- "forks_count": 0,
- "full_name": "string",
- "has_actions": true,
- "has_issues": true,
- "has_packages": true,
- "has_projects": true,
- "has_pull_requests": true,
- "has_releases": true,
- "has_wiki": true,
- "html_url": "string",
- "id": 0,
- "ignore_whitespace_conflicts": true,
- "internal": true,
- "internal_tracker": {
- "allow_only_contributors_to_track_time": true,
- "enable_issue_dependencies": true,
- "enable_time_tracker": true
}, - "language": "string",
- "languages_url": "string",
- "licenses": [
- "string"
], - "link": "string",
- "mirror": true,
- "mirror_interval": "string",
- "mirror_updated": "2019-08-24T14:15:22Z",
- "name": "string",
- "object_format_name": "sha1",
- "open_issues_count": 0,
- "open_pr_counter": 0,
- "original_url": "string",
- "owner": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "parent": { },
- "permissions": {
- "admin": true,
- "pull": true,
- "push": true
}, - "private": true,
- "projects_mode": "string",
- "release_counter": 0,
- "repo_transfer": {
- "doer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "recipient": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "teams": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
]
}, - "size": 0,
- "ssh_url": "string",
- "stars_count": 0,
- "template": true,
- "topics": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "watchers_count": 0,
- "website": "string"
}| org required | string name of the organization |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
]| org required | string name of the organization |
| can_create_org_repo | boolean |
| description | string |
| includes_all_repositories | boolean |
| name required | string |
| permission | string Enum: "read" "write" "admin" |
| units | Array of strings |
object |
{- "can_create_org_repo": true,
- "description": "string",
- "includes_all_repositories": true,
- "name": "string",
- "permission": "read",
- "units": [
- "repo.actions",
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.ext_wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": "{\"repo.actions\",\"repo.packages\",\"repo.code\":\"read\",\"repo.issues\":\"write\",\"repo.ext_issues\":\"none\",\"repo.wiki\":\"admin\",\"repo.pulls\":\"owner\",\"repo.releases\":\"none\",\"repo.projects\":\"none\",\"repo.ext_wiki\":\"none\"}"
}{- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}| org required | string name of the organization |
| q | string keywords to search |
| include_desc | boolean include search within team description (defaults to true) |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
{- "data": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
], - "ok": true
}| id required | integer <int64> id of the team to get |
{- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}| id required | integer id of the team to edit |
| can_create_org_repo | boolean |
| description | string |
| includes_all_repositories | boolean |
| name required | string |
| permission | string Enum: "read" "write" "admin" |
| units | Array of strings |
object |
{- "can_create_org_repo": true,
- "description": "string",
- "includes_all_repositories": true,
- "name": "string",
- "permission": "read",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}{- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}| id required | integer <int64> id of the team |
| date | string <date> the date of the activities to be found |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "act_user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "act_user_id": 0,
- "comment": {
- "assets": [
- {
- "browser_download_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "download_count": 0,
- "id": 0,
- "name": "string",
- "size": 0,
- "uuid": "string"
}
], - "body": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "html_url": "string",
- "id": 0,
- "issue_url": "string",
- "original_author": "string",
- "original_author_id": 0,
- "pull_request_url": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
}, - "comment_id": 0,
- "content": "string",
- "created": "2019-08-24T14:15:22Z",
- "id": 0,
- "is_private": true,
- "op_type": "create_repo",
- "ref_name": "string",
- "repo": {
- "allow_fast_forward_only_merge": true,
- "allow_merge_commits": true,
- "allow_rebase": true,
- "allow_rebase_explicit": true,
- "allow_rebase_update": true,
- "allow_squash_merge": true,
- "archived": true,
- "archived_at": "2019-08-24T14:15:22Z",
- "avatar_url": "string",
- "clone_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "default_allow_maintainer_edit": true,
- "default_branch": "string",
- "default_delete_branch_after_merge": true,
- "default_merge_style": "string",
- "description": "string",
- "empty": true,
- "external_tracker": {
- "external_tracker_format": "string",
- "external_tracker_regexp_pattern": "string",
- "external_tracker_style": "string",
- "external_tracker_url": "string"
}, - "external_wiki": {
- "external_wiki_url": "string"
}, - "fork": true,
- "forks_count": 0,
- "full_name": "string",
- "has_actions": true,
- "has_issues": true,
- "has_packages": true,
- "has_projects": true,
- "has_pull_requests": true,
- "has_releases": true,
- "has_wiki": true,
- "html_url": "string",
- "id": 0,
- "ignore_whitespace_conflicts": true,
- "internal": true,
- "internal_tracker": {
- "allow_only_contributors_to_track_time": true,
- "enable_issue_dependencies": true,
- "enable_time_tracker": true
}, - "language": "string",
- "languages_url": "string",
- "licenses": [
- "string"
], - "link": "string",
- "mirror": true,
- "mirror_interval": "string",
- "mirror_updated": "2019-08-24T14:15:22Z",
- "name": "string",
- "object_format_name": "sha1",
- "open_issues_count": 0,
- "open_pr_counter": 0,
- "original_url": "string",
- "owner": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "parent": { },
- "permissions": {
- "admin": true,
- "pull": true,
- "push": true
}, - "private": true,
- "projects_mode": "string",
- "release_counter": 0,
- "repo_transfer": {
- "doer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "recipient": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "teams": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
]
}, - "size": 0,
- "ssh_url": "string",
- "stars_count": 0,
- "template": true,
- "topics": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "watchers_count": 0,
- "website": "string"
}, - "repo_id": 0,
- "user_id": 0
}
]| id required | integer <int64> id of the team |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
]| id required | integer <int64> id of the team |
| username required | string username of the member to list |
{- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}| id required | integer <int64> id of the team |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "allow_fast_forward_only_merge": true,
- "allow_merge_commits": true,
- "allow_rebase": true,
- "allow_rebase_explicit": true,
- "allow_rebase_update": true,
- "allow_squash_merge": true,
- "archived": true,
- "archived_at": "2019-08-24T14:15:22Z",
- "avatar_url": "string",
- "clone_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "default_allow_maintainer_edit": true,
- "default_branch": "string",
- "default_delete_branch_after_merge": true,
- "default_merge_style": "string",
- "description": "string",
- "empty": true,
- "external_tracker": {
- "external_tracker_format": "string",
- "external_tracker_regexp_pattern": "string",
- "external_tracker_style": "string",
- "external_tracker_url": "string"
}, - "external_wiki": {
- "external_wiki_url": "string"
}, - "fork": true,
- "forks_count": 0,
- "full_name": "string",
- "has_actions": true,
- "has_issues": true,
- "has_packages": true,
- "has_projects": true,
- "has_pull_requests": true,
- "has_releases": true,
- "has_wiki": true,
- "html_url": "string",
- "id": 0,
- "ignore_whitespace_conflicts": true,
- "internal": true,
- "internal_tracker": {
- "allow_only_contributors_to_track_time": true,
- "enable_issue_dependencies": true,
- "enable_time_tracker": true
}, - "language": "string",
- "languages_url": "string",
- "licenses": [
- "string"
], - "link": "string",
- "mirror": true,
- "mirror_interval": "string",
- "mirror_updated": "2019-08-24T14:15:22Z",
- "name": "string",
- "object_format_name": "sha1",
- "open_issues_count": 0,
- "open_pr_counter": 0,
- "original_url": "string",
- "owner": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "parent": { },
- "permissions": {
- "admin": true,
- "pull": true,
- "push": true
}, - "private": true,
- "projects_mode": "string",
- "release_counter": 0,
- "repo_transfer": {
- "doer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "recipient": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "teams": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
]
}, - "size": 0,
- "ssh_url": "string",
- "stars_count": 0,
- "template": true,
- "topics": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "watchers_count": 0,
- "website": "string"
}
]| id required | integer <int64> id of the team |
| org required | string organization that owns the repo to list |
| repo required | string name of the repo to list |
{- "allow_fast_forward_only_merge": true,
- "allow_merge_commits": true,
- "allow_rebase": true,
- "allow_rebase_explicit": true,
- "allow_rebase_update": true,
- "allow_squash_merge": true,
- "archived": true,
- "archived_at": "2019-08-24T14:15:22Z",
- "avatar_url": "string",
- "clone_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "default_allow_maintainer_edit": true,
- "default_branch": "string",
- "default_delete_branch_after_merge": true,
- "default_merge_style": "string",
- "description": "string",
- "empty": true,
- "external_tracker": {
- "external_tracker_format": "string",
- "external_tracker_regexp_pattern": "string",
- "external_tracker_style": "string",
- "external_tracker_url": "string"
}, - "external_wiki": {
- "external_wiki_url": "string"
}, - "fork": true,
- "forks_count": 0,
- "full_name": "string",
- "has_actions": true,
- "has_issues": true,
- "has_packages": true,
- "has_projects": true,
- "has_pull_requests": true,
- "has_releases": true,
- "has_wiki": true,
- "html_url": "string",
- "id": 0,
- "ignore_whitespace_conflicts": true,
- "internal": true,
- "internal_tracker": {
- "allow_only_contributors_to_track_time": true,
- "enable_issue_dependencies": true,
- "enable_time_tracker": true
}, - "language": "string",
- "languages_url": "string",
- "licenses": [
- "string"
], - "link": "string",
- "mirror": true,
- "mirror_interval": "string",
- "mirror_updated": "2019-08-24T14:15:22Z",
- "name": "string",
- "object_format_name": "sha1",
- "open_issues_count": 0,
- "open_pr_counter": 0,
- "original_url": "string",
- "owner": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "parent": { },
- "permissions": {
- "admin": true,
- "pull": true,
- "push": true
}, - "private": true,
- "projects_mode": "string",
- "release_counter": 0,
- "repo_transfer": {
- "doer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "recipient": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "teams": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
]
}, - "size": 0,
- "ssh_url": "string",
- "stars_count": 0,
- "template": true,
- "topics": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "watchers_count": 0,
- "website": "string"
}This does not delete the repository, it only removes the repository from the team.
| id required | integer <int64> id of the team |
| org required | string organization that owns the repo to remove |
| repo required | string name of the repo to remove |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}
]| username required | string username of user |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}
]| username required | string username of user |
| org required | string name of the organization |
{- "can_create_repository": true,
- "can_read": true,
- "can_write": true,
- "is_admin": true,
- "is_owner": true
}| owner required | string owner of the packages |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
| type | string Enum: "alpine" "cargo" "chef" "composer" "conan" "conda" "container" "cran" "debian" "generic" "go" "helm" "maven" "npm" "nuget" "pub" "pypi" "rpm" "rubygems" "swift" "vagrant" package type filter |
| q | string name filter |
[- {
- "created_at": "2019-08-24T14:15:22Z",
- "creator": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "html_url": "string",
- "id": 0,
- "name": "string",
- "owner": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "repository": {
- "allow_fast_forward_only_merge": true,
- "allow_merge_commits": true,
- "allow_rebase": true,
- "allow_rebase_explicit": true,
- "allow_rebase_update": true,
- "allow_squash_merge": true,
- "archived": true,
- "archived_at": "2019-08-24T14:15:22Z",
- "avatar_url": "string",
- "clone_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "default_allow_maintainer_edit": true,
- "default_branch": "string",
- "default_delete_branch_after_merge": true,
- "default_merge_style": "string",
- "description": "string",
- "empty": true,
- "external_tracker": {
- "external_tracker_format": "string",
- "external_tracker_regexp_pattern": "string",
- "external_tracker_style": "string",
- "external_tracker_url": "string"
}, - "external_wiki": {
- "external_wiki_url": "string"
}, - "fork": true,
- "forks_count": 0,
- "full_name": "string",
- "has_actions": true,
- "has_issues": true,
- "has_packages": true,
- "has_projects": true,
- "has_pull_requests": true,
- "has_releases": true,
- "has_wiki": true,
- "html_url": "string",
- "id": 0,
- "ignore_whitespace_conflicts": true,
- "internal": true,
- "internal_tracker": {
- "allow_only_contributors_to_track_time": true,
- "enable_issue_dependencies": true,
- "enable_time_tracker": true
}, - "language": "string",
- "languages_url": "string",
- "licenses": [
- "string"
], - "link": "string",
- "mirror": true,
- "mirror_interval": "string",
- "mirror_updated": "2019-08-24T14:15:22Z",
- "name": "string",
- "object_format_name": "sha1",
- "open_issues_count": 0,
- "open_pr_counter": 0,
- "original_url": "string",
- "owner": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "parent": { },
- "permissions": {
- "admin": true,
- "pull": true,
- "push": true
}, - "private": true,
- "projects_mode": "string",
- "release_counter": 0,
- "repo_transfer": {
- "doer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "recipient": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "teams": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
]
}, - "size": 0,
- "ssh_url": "string",
- "stars_count": 0,
- "template": true,
- "topics": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "watchers_count": 0,
- "website": "string"
}, - "type": "string",
- "version": "string"
}
]| owner required | string owner of the package |
| type required | string type of the package |
| name required | string name of the package |
| version required | string version of the package |
{- "created_at": "2019-08-24T14:15:22Z",
- "creator": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "html_url": "string",
- "id": 0,
- "name": "string",
- "owner": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "repository": {
- "allow_fast_forward_only_merge": true,
- "allow_merge_commits": true,
- "allow_rebase": true,
- "allow_rebase_explicit": true,
- "allow_rebase_update": true,
- "allow_squash_merge": true,
- "archived": true,
- "archived_at": "2019-08-24T14:15:22Z",
- "avatar_url": "string",
- "clone_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "default_allow_maintainer_edit": true,
- "default_branch": "string",
- "default_delete_branch_after_merge": true,
- "default_merge_style": "string",
- "description": "string",
- "empty": true,
- "external_tracker": {
- "external_tracker_format": "string",
- "external_tracker_regexp_pattern": "string",
- "external_tracker_style": "string",
- "external_tracker_url": "string"
}, - "external_wiki": {
- "external_wiki_url": "string"
}, - "fork": true,
- "forks_count": 0,
- "full_name": "string",
- "has_actions": true,
- "has_issues": true,
- "has_packages": true,
- "has_projects": true,
- "has_pull_requests": true,
- "has_releases": true,
- "has_wiki": true,
- "html_url": "string",
- "id": 0,
- "ignore_whitespace_conflicts": true,
- "internal": true,
- "internal_tracker": {
- "allow_only_contributors_to_track_time": true,
- "enable_issue_dependencies": true,
- "enable_time_tracker": true
}, - "language": "string",
- "languages_url": "string",
- "licenses": [
- "string"
], - "link": "string",
- "mirror": true,
- "mirror_interval": "string",
- "mirror_updated": "2019-08-24T14:15:22Z",
- "name": "string",
- "object_format_name": "sha1",
- "open_issues_count": 0,
- "open_pr_counter": 0,
- "original_url": "string",
- "owner": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "parent": { },
- "permissions": {
- "admin": true,
- "pull": true,
- "push": true
}, - "private": true,
- "projects_mode": "string",
- "release_counter": 0,
- "repo_transfer": {
- "doer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "recipient": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "teams": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
]
}, - "size": 0,
- "ssh_url": "string",
- "stars_count": 0,
- "template": true,
- "topics": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "watchers_count": 0,
- "website": "string"
}, - "type": "string",
- "version": "string"
}| owner required | string owner of the package |
| type required | string type of the package |
| name required | string name of the package |
| version required | string version of the package |
[- {
- "Size": 0,
- "id": 0,
- "md5": "string",
- "name": "string",
- "sha1": "string",
- "sha256": "string",
- "sha512": "string"
}
]| state | string Default: "open" Enum: "open" "closed" "all" State of the issue |
| labels | string Comma-separated list of label names. Fetch only issues that have any of these labels. Non existent labels are discarded. |
| milestones | string Comma-separated list of milestone names. Fetch only issues that have any of these milestones. Non existent milestones are discarded. |
| q | string Search string |
| priority_repo_id | integer <int64> Repository ID to prioritize in the results |
| type | string Enum: "issues" "pulls" Filter by issue type |
| since | string <date-time> Only show issues updated after the given time (RFC 3339 format) |
| before | string <date-time> Only show issues updated before the given time (RFC 3339 format) |
| assigned | boolean Default: false Filter issues or pulls assigned to the authenticated user |
| created | boolean Default: false Filter issues or pulls created by the authenticated user |
| mentioned | boolean Default: false Filter issues or pulls mentioning the authenticated user |
| review_requested | boolean Default: false Filter pull requests where the authenticated user's review was requested |
| reviewed | boolean Default: false Filter pull requests reviewed by the authenticated user |
| owner | string Filter by repository owner |
| team | string Filter by team (requires organization owner parameter) |
| page | integer >= 1 Default: 1 Page number of results to return (1-based) |
| limit | integer >= 0 Number of items per page |
[- {
- "assets": [
- {
- "browser_download_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "download_count": 0,
- "id": 0,
- "name": "string",
- "size": 0,
- "uuid": "string"
}
], - "assignee": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "assignees": [
- {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
], - "body": "string",
- "closed_at": "2019-08-24T14:15:22Z",
- "comments": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "due_date": "2019-08-24T14:15:22Z",
- "html_url": "string",
- "id": 0,
- "is_locked": true,
- "labels": [
- {
- "color": "00aabb",
- "description": "string",
- "exclusive": false,
- "id": 0,
- "is_archived": false,
- "name": "string",
- "url": "string"
}
], - "milestone": {
- "closed_at": "2019-08-24T14:15:22Z",
- "closed_issues": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "description": "string",
- "due_on": "2019-08-24T14:15:22Z",
- "id": 0,
- "open_issues": 0,
- "state": "string",
- "title": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "number": 0,
- "original_author": "string",
- "original_author_id": 0,
- "pin_order": 0,
- "pull_request": {
- "draft": true,
- "html_url": "string",
- "merged": true,
- "merged_at": "2019-08-24T14:15:22Z"
}, - "ref": "string",
- "repository": {
- "full_name": "string",
- "id": 0,
- "name": "string",
- "owner": "string"
}, - "state": "string",
- "title": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
}
]| owner required | string owner of the repo |
| repo required | string name of the repo |
| state | string Enum: "closed" "open" "all" whether issue is open or closed |
| labels | string comma separated list of labels. Fetch only issues that have any of this labels. Non existent labels are discarded |
| q | string search string |
| type | string Enum: "issues" "pulls" filter by type (issues / pulls) if set |
| milestones | string comma separated list of milestone names or ids. It uses names and fall back to ids. Fetch only issues that have any of this milestones. Non existent milestones are discarded |
| since | string <date-time> Only show items updated after the given time. This is a timestamp in RFC 3339 format |
| before | string <date-time> Only show items updated before the given time. This is a timestamp in RFC 3339 format |
| created_by | string Only show items which were created by the given user |
| assigned_by | string Only show items for which the given user is assigned |
| mentioned_by | string Only show items in which the given user was mentioned |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "assets": [
- {
- "browser_download_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "download_count": 0,
- "id": 0,
- "name": "string",
- "size": 0,
- "uuid": "string"
}
], - "assignee": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "assignees": [
- {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
], - "body": "string",
- "closed_at": "2019-08-24T14:15:22Z",
- "comments": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "due_date": "2019-08-24T14:15:22Z",
- "html_url": "string",
- "id": 0,
- "is_locked": true,
- "labels": [
- {
- "color": "00aabb",
- "description": "string",
- "exclusive": false,
- "id": 0,
- "is_archived": false,
- "name": "string",
- "url": "string"
}
], - "milestone": {
- "closed_at": "2019-08-24T14:15:22Z",
- "closed_issues": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "description": "string",
- "due_on": "2019-08-24T14:15:22Z",
- "id": 0,
- "open_issues": 0,
- "state": "string",
- "title": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "number": 0,
- "original_author": "string",
- "original_author_id": 0,
- "pin_order": 0,
- "pull_request": {
- "draft": true,
- "html_url": "string",
- "merged": true,
- "merged_at": "2019-08-24T14:15:22Z"
}, - "ref": "string",
- "repository": {
- "full_name": "string",
- "id": 0,
- "name": "string",
- "owner": "string"
}, - "state": "string",
- "title": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
}
]| owner required | string owner of the repo |
| repo required | string name of the repo |
| assignee | string deprecated |
| assignees | Array of strings |
| body | string |
| closed | boolean |
| due_date | string <date-time> |
| labels | Array of integers <int64> [ items <int64 > ] list of label ids |
| milestone | integer <int64> milestone id |
| ref | string |
| title required | string |
{- "assignee": "string",
- "assignees": [
- "string"
], - "body": "string",
- "closed": true,
- "due_date": "2019-08-24T14:15:22Z",
- "labels": [
- 0
], - "milestone": 0,
- "ref": "string",
- "title": "string"
}{- "assets": [
- {
- "browser_download_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "download_count": 0,
- "id": 0,
- "name": "string",
- "size": 0,
- "uuid": "string"
}
], - "assignee": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "assignees": [
- {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
], - "body": "string",
- "closed_at": "2019-08-24T14:15:22Z",
- "comments": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "due_date": "2019-08-24T14:15:22Z",
- "html_url": "string",
- "id": 0,
- "is_locked": true,
- "labels": [
- {
- "color": "00aabb",
- "description": "string",
- "exclusive": false,
- "id": 0,
- "is_archived": false,
- "name": "string",
- "url": "string"
}
], - "milestone": {
- "closed_at": "2019-08-24T14:15:22Z",
- "closed_issues": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "description": "string",
- "due_on": "2019-08-24T14:15:22Z",
- "id": 0,
- "open_issues": 0,
- "state": "string",
- "title": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "number": 0,
- "original_author": "string",
- "original_author_id": 0,
- "pin_order": 0,
- "pull_request": {
- "draft": true,
- "html_url": "string",
- "merged": true,
- "merged_at": "2019-08-24T14:15:22Z"
}, - "ref": "string",
- "repository": {
- "full_name": "string",
- "id": 0,
- "name": "string",
- "owner": "string"
}, - "state": "string",
- "title": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| since | string <date-time> if provided, only comments updated since the provided time are returned. |
| before | string <date-time> if provided, only comments updated before the provided time are returned. |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "assets": [
- {
- "browser_download_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "download_count": 0,
- "id": 0,
- "name": "string",
- "size": 0,
- "uuid": "string"
}
], - "body": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "html_url": "string",
- "id": 0,
- "issue_url": "string",
- "original_author": "string",
- "original_author_id": 0,
- "pull_request_url": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
}
]| owner required | string owner of the repo |
| repo required | string name of the repo |
| id required | integer <int64> id of the comment |
{- "assets": [
- {
- "browser_download_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "download_count": 0,
- "id": 0,
- "name": "string",
- "size": 0,
- "uuid": "string"
}
], - "body": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "html_url": "string",
- "id": 0,
- "issue_url": "string",
- "original_author": "string",
- "original_author_id": 0,
- "pull_request_url": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| id required | integer <int64> id of the comment to edit |
| body required | string |
{- "body": "string"
}{- "assets": [
- {
- "browser_download_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "download_count": 0,
- "id": 0,
- "name": "string",
- "size": 0,
- "uuid": "string"
}
], - "body": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "html_url": "string",
- "id": 0,
- "issue_url": "string",
- "original_author": "string",
- "original_author_id": 0,
- "pull_request_url": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| id required | integer <int64> id of the comment |
[- {
- "browser_download_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "download_count": 0,
- "id": 0,
- "name": "string",
- "size": 0,
- "uuid": "string"
}
]| owner required | string owner of the repo |
| repo required | string name of the repo |
| id required | integer <int64> id of the comment |
| name | string name of the attachment |
| attachment required | string <binary> attachment to upload |
{- "browser_download_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "download_count": 0,
- "id": 0,
- "name": "string",
- "size": 0,
- "uuid": "string"
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| id required | integer <int64> id of the comment |
| attachment_id required | integer <int64> id of the attachment to get |
{- "browser_download_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "download_count": 0,
- "id": 0,
- "name": "string",
- "size": 0,
- "uuid": "string"
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| id required | integer <int64> id of the comment |
| attachment_id required | integer <int64> id of the attachment to delete |
| owner required | string owner of the repo |
| repo required | string name of the repo |
| id required | integer <int64> id of the comment |
| attachment_id required | integer <int64> id of the attachment to edit |
| name | string |
{- "name": "string"
}{- "browser_download_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "download_count": 0,
- "id": 0,
- "name": "string",
- "size": 0,
- "uuid": "string"
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| id required | integer <int64> id of the comment to edit |
[- {
- "content": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
}
]| owner required | string owner of the repo |
| repo required | string name of the repo |
| id required | integer <int64> id of the comment to edit |
| content | string |
{- "content": "string"
}{- "content": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| id required | integer <int64> id of the comment to edit |
| content | string |
{- "content": "string"
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| index required | integer <int64> index of the issue to get |
{- "assets": [
- {
- "browser_download_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "download_count": 0,
- "id": 0,
- "name": "string",
- "size": 0,
- "uuid": "string"
}
], - "assignee": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "assignees": [
- {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
], - "body": "string",
- "closed_at": "2019-08-24T14:15:22Z",
- "comments": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "due_date": "2019-08-24T14:15:22Z",
- "html_url": "string",
- "id": 0,
- "is_locked": true,
- "labels": [
- {
- "color": "00aabb",
- "description": "string",
- "exclusive": false,
- "id": 0,
- "is_archived": false,
- "name": "string",
- "url": "string"
}
], - "milestone": {
- "closed_at": "2019-08-24T14:15:22Z",
- "closed_issues": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "description": "string",
- "due_on": "2019-08-24T14:15:22Z",
- "id": 0,
- "open_issues": 0,
- "state": "string",
- "title": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "number": 0,
- "original_author": "string",
- "original_author_id": 0,
- "pin_order": 0,
- "pull_request": {
- "draft": true,
- "html_url": "string",
- "merged": true,
- "merged_at": "2019-08-24T14:15:22Z"
}, - "ref": "string",
- "repository": {
- "full_name": "string",
- "id": 0,
- "name": "string",
- "owner": "string"
}, - "state": "string",
- "title": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| index required | integer <int64> index of the issue to edit |
| assignee | string deprecated |
| assignees | Array of strings |
| body | string |
| due_date | string <date-time> |
| milestone | integer <int64> |
| ref | string |
| state | string |
| title | string |
| unset_due_date | boolean |
{- "assignee": "string",
- "assignees": [
- "string"
], - "body": "string",
- "due_date": "2019-08-24T14:15:22Z",
- "milestone": 0,
- "ref": "string",
- "state": "string",
- "title": "string",
- "unset_due_date": true
}{- "assets": [
- {
- "browser_download_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "download_count": 0,
- "id": 0,
- "name": "string",
- "size": 0,
- "uuid": "string"
}
], - "assignee": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "assignees": [
- {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
], - "body": "string",
- "closed_at": "2019-08-24T14:15:22Z",
- "comments": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "due_date": "2019-08-24T14:15:22Z",
- "html_url": "string",
- "id": 0,
- "is_locked": true,
- "labels": [
- {
- "color": "00aabb",
- "description": "string",
- "exclusive": false,
- "id": 0,
- "is_archived": false,
- "name": "string",
- "url": "string"
}
], - "milestone": {
- "closed_at": "2019-08-24T14:15:22Z",
- "closed_issues": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "description": "string",
- "due_on": "2019-08-24T14:15:22Z",
- "id": 0,
- "open_issues": 0,
- "state": "string",
- "title": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "number": 0,
- "original_author": "string",
- "original_author_id": 0,
- "pin_order": 0,
- "pull_request": {
- "draft": true,
- "html_url": "string",
- "merged": true,
- "merged_at": "2019-08-24T14:15:22Z"
}, - "ref": "string",
- "repository": {
- "full_name": "string",
- "id": 0,
- "name": "string",
- "owner": "string"
}, - "state": "string",
- "title": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| index required | integer <int64> index of the issue |
[- {
- "browser_download_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "download_count": 0,
- "id": 0,
- "name": "string",
- "size": 0,
- "uuid": "string"
}
]| owner required | string owner of the repo |
| repo required | string name of the repo |
| index required | integer <int64> index of the issue |
| name | string name of the attachment |
| attachment required | string <binary> attachment to upload |
{- "browser_download_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "download_count": 0,
- "id": 0,
- "name": "string",
- "size": 0,
- "uuid": "string"
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| index required | integer <int64> index of the issue |
| attachment_id required | integer <int64> id of the attachment to get |
{- "browser_download_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "download_count": 0,
- "id": 0,
- "name": "string",
- "size": 0,
- "uuid": "string"
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| index required | integer <int64> index of the issue |
| attachment_id required | integer <int64> id of the attachment to delete |
| owner required | string owner of the repo |
| repo required | string name of the repo |
| index required | integer <int64> index of the issue |
| attachment_id required | integer <int64> id of the attachment to edit |
| name | string |
{- "name": "string"
}{- "browser_download_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "download_count": 0,
- "id": 0,
- "name": "string",
- "size": 0,
- "uuid": "string"
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| index required | string index of the issue |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "assets": [
- {
- "browser_download_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "download_count": 0,
- "id": 0,
- "name": "string",
- "size": 0,
- "uuid": "string"
}
], - "assignee": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "assignees": [
- {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
], - "body": "string",
- "closed_at": "2019-08-24T14:15:22Z",
- "comments": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "due_date": "2019-08-24T14:15:22Z",
- "html_url": "string",
- "id": 0,
- "is_locked": true,
- "labels": [
- {
- "color": "00aabb",
- "description": "string",
- "exclusive": false,
- "id": 0,
- "is_archived": false,
- "name": "string",
- "url": "string"
}
], - "milestone": {
- "closed_at": "2019-08-24T14:15:22Z",
- "closed_issues": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "description": "string",
- "due_on": "2019-08-24T14:15:22Z",
- "id": 0,
- "open_issues": 0,
- "state": "string",
- "title": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "number": 0,
- "original_author": "string",
- "original_author_id": 0,
- "pin_order": 0,
- "pull_request": {
- "draft": true,
- "html_url": "string",
- "merged": true,
- "merged_at": "2019-08-24T14:15:22Z"
}, - "ref": "string",
- "repository": {
- "full_name": "string",
- "id": 0,
- "name": "string",
- "owner": "string"
}, - "state": "string",
- "title": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
}
]| owner required | string owner of the repo |
| repo required | string name of the repo |
| index required | string index of the issue |
| index | integer <int64> |
| owner | string |
| repo | string |
{- "index": 0,
- "owner": "string",
- "repo": "string"
}{- "assets": [
- {
- "browser_download_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "download_count": 0,
- "id": 0,
- "name": "string",
- "size": 0,
- "uuid": "string"
}
], - "assignee": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "assignees": [
- {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
], - "body": "string",
- "closed_at": "2019-08-24T14:15:22Z",
- "comments": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "due_date": "2019-08-24T14:15:22Z",
- "html_url": "string",
- "id": 0,
- "is_locked": true,
- "labels": [
- {
- "color": "00aabb",
- "description": "string",
- "exclusive": false,
- "id": 0,
- "is_archived": false,
- "name": "string",
- "url": "string"
}
], - "milestone": {
- "closed_at": "2019-08-24T14:15:22Z",
- "closed_issues": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "description": "string",
- "due_on": "2019-08-24T14:15:22Z",
- "id": 0,
- "open_issues": 0,
- "state": "string",
- "title": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "number": 0,
- "original_author": "string",
- "original_author_id": 0,
- "pin_order": 0,
- "pull_request": {
- "draft": true,
- "html_url": "string",
- "merged": true,
- "merged_at": "2019-08-24T14:15:22Z"
}, - "ref": "string",
- "repository": {
- "full_name": "string",
- "id": 0,
- "name": "string",
- "owner": "string"
}, - "state": "string",
- "title": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| index required | string index of the issue |
| index | integer <int64> |
| owner | string |
| repo | string |
{- "index": 0,
- "owner": "string",
- "repo": "string"
}{- "assets": [
- {
- "browser_download_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "download_count": 0,
- "id": 0,
- "name": "string",
- "size": 0,
- "uuid": "string"
}
], - "assignee": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "assignees": [
- {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
], - "body": "string",
- "closed_at": "2019-08-24T14:15:22Z",
- "comments": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "due_date": "2019-08-24T14:15:22Z",
- "html_url": "string",
- "id": 0,
- "is_locked": true,
- "labels": [
- {
- "color": "00aabb",
- "description": "string",
- "exclusive": false,
- "id": 0,
- "is_archived": false,
- "name": "string",
- "url": "string"
}
], - "milestone": {
- "closed_at": "2019-08-24T14:15:22Z",
- "closed_issues": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "description": "string",
- "due_on": "2019-08-24T14:15:22Z",
- "id": 0,
- "open_issues": 0,
- "state": "string",
- "title": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "number": 0,
- "original_author": "string",
- "original_author_id": 0,
- "pin_order": 0,
- "pull_request": {
- "draft": true,
- "html_url": "string",
- "merged": true,
- "merged_at": "2019-08-24T14:15:22Z"
}, - "ref": "string",
- "repository": {
- "full_name": "string",
- "id": 0,
- "name": "string",
- "owner": "string"
}, - "state": "string",
- "title": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| index required | integer <int64> index of the issue |
| since | string <date-time> if provided, only comments updated since the specified time are returned. |
| before | string <date-time> if provided, only comments updated before the provided time are returned. |
[- {
- "assets": [
- {
- "browser_download_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "download_count": 0,
- "id": 0,
- "name": "string",
- "size": 0,
- "uuid": "string"
}
], - "body": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "html_url": "string",
- "id": 0,
- "issue_url": "string",
- "original_author": "string",
- "original_author_id": 0,
- "pull_request_url": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
}
]| owner required | string owner of the repo |
| repo required | string name of the repo |
| index required | integer <int64> index of the issue |
| body required | string |
{- "body": "string"
}{- "assets": [
- {
- "browser_download_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "download_count": 0,
- "id": 0,
- "name": "string",
- "size": 0,
- "uuid": "string"
}
], - "body": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "html_url": "string",
- "id": 0,
- "issue_url": "string",
- "original_author": "string",
- "original_author_id": 0,
- "pull_request_url": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| index required | integer this parameter is ignored |
| id required | integer <int64> id of comment to delete |
| owner required | string owner of the repo |
| repo required | string name of the repo |
| index required | integer this parameter is ignored |
| id required | integer <int64> id of the comment to edit |
| body required | string |
{- "body": "string"
}{- "assets": [
- {
- "browser_download_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "download_count": 0,
- "id": 0,
- "name": "string",
- "size": 0,
- "uuid": "string"
}
], - "body": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "html_url": "string",
- "id": 0,
- "issue_url": "string",
- "original_author": "string",
- "original_author_id": 0,
- "pull_request_url": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| index required | integer <int64> index of the issue to create or update a deadline on |
| due_date required | string <date-time> |
{- "due_date": "2019-08-24T14:15:22Z"
}{- "due_date": "2019-08-24T14:15:22Z"
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| index required | string index of the issue |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "assets": [
- {
- "browser_download_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "download_count": 0,
- "id": 0,
- "name": "string",
- "size": 0,
- "uuid": "string"
}
], - "assignee": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "assignees": [
- {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
], - "body": "string",
- "closed_at": "2019-08-24T14:15:22Z",
- "comments": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "due_date": "2019-08-24T14:15:22Z",
- "html_url": "string",
- "id": 0,
- "is_locked": true,
- "labels": [
- {
- "color": "00aabb",
- "description": "string",
- "exclusive": false,
- "id": 0,
- "is_archived": false,
- "name": "string",
- "url": "string"
}
], - "milestone": {
- "closed_at": "2019-08-24T14:15:22Z",
- "closed_issues": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "description": "string",
- "due_on": "2019-08-24T14:15:22Z",
- "id": 0,
- "open_issues": 0,
- "state": "string",
- "title": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "number": 0,
- "original_author": "string",
- "original_author_id": 0,
- "pin_order": 0,
- "pull_request": {
- "draft": true,
- "html_url": "string",
- "merged": true,
- "merged_at": "2019-08-24T14:15:22Z"
}, - "ref": "string",
- "repository": {
- "full_name": "string",
- "id": 0,
- "name": "string",
- "owner": "string"
}, - "state": "string",
- "title": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
}
]| owner required | string owner of the repo |
| repo required | string name of the repo |
| index required | string index of the issue |
| index | integer <int64> |
| owner | string |
| repo | string |
{- "index": 0,
- "owner": "string",
- "repo": "string"
}{- "assets": [
- {
- "browser_download_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "download_count": 0,
- "id": 0,
- "name": "string",
- "size": 0,
- "uuid": "string"
}
], - "assignee": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "assignees": [
- {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
], - "body": "string",
- "closed_at": "2019-08-24T14:15:22Z",
- "comments": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "due_date": "2019-08-24T14:15:22Z",
- "html_url": "string",
- "id": 0,
- "is_locked": true,
- "labels": [
- {
- "color": "00aabb",
- "description": "string",
- "exclusive": false,
- "id": 0,
- "is_archived": false,
- "name": "string",
- "url": "string"
}
], - "milestone": {
- "closed_at": "2019-08-24T14:15:22Z",
- "closed_issues": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "description": "string",
- "due_on": "2019-08-24T14:15:22Z",
- "id": 0,
- "open_issues": 0,
- "state": "string",
- "title": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "number": 0,
- "original_author": "string",
- "original_author_id": 0,
- "pin_order": 0,
- "pull_request": {
- "draft": true,
- "html_url": "string",
- "merged": true,
- "merged_at": "2019-08-24T14:15:22Z"
}, - "ref": "string",
- "repository": {
- "full_name": "string",
- "id": 0,
- "name": "string",
- "owner": "string"
}, - "state": "string",
- "title": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| index required | string index of the issue |
| index | integer <int64> |
| owner | string |
| repo | string |
{- "index": 0,
- "owner": "string",
- "repo": "string"
}{- "assets": [
- {
- "browser_download_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "download_count": 0,
- "id": 0,
- "name": "string",
- "size": 0,
- "uuid": "string"
}
], - "assignee": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "assignees": [
- {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
], - "body": "string",
- "closed_at": "2019-08-24T14:15:22Z",
- "comments": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "due_date": "2019-08-24T14:15:22Z",
- "html_url": "string",
- "id": 0,
- "is_locked": true,
- "labels": [
- {
- "color": "00aabb",
- "description": "string",
- "exclusive": false,
- "id": 0,
- "is_archived": false,
- "name": "string",
- "url": "string"
}
], - "milestone": {
- "closed_at": "2019-08-24T14:15:22Z",
- "closed_issues": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "description": "string",
- "due_on": "2019-08-24T14:15:22Z",
- "id": 0,
- "open_issues": 0,
- "state": "string",
- "title": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "number": 0,
- "original_author": "string",
- "original_author_id": 0,
- "pin_order": 0,
- "pull_request": {
- "draft": true,
- "html_url": "string",
- "merged": true,
- "merged_at": "2019-08-24T14:15:22Z"
}, - "ref": "string",
- "repository": {
- "full_name": "string",
- "id": 0,
- "name": "string",
- "owner": "string"
}, - "state": "string",
- "title": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| index required | integer <int64> index of the issue |
[- {
- "color": "00aabb",
- "description": "string",
- "exclusive": false,
- "id": 0,
- "is_archived": false,
- "name": "string",
- "url": "string"
}
]| owner required | string owner of the repo |
| repo required | string name of the repo |
| index required | integer <int64> index of the issue |
| labels | Array of any Labels can be a list of integers representing label IDs or a list of strings representing label names |
{- "labels": [
- null
]
}[- {
- "color": "00aabb",
- "description": "string",
- "exclusive": false,
- "id": 0,
- "is_archived": false,
- "name": "string",
- "url": "string"
}
]| owner required | string owner of the repo |
| repo required | string name of the repo |
| index required | integer <int64> index of the issue |
| labels | Array of any Labels can be a list of integers representing label IDs or a list of strings representing label names |
{- "labels": [
- null
]
}[- {
- "color": "00aabb",
- "description": "string",
- "exclusive": false,
- "id": 0,
- "is_archived": false,
- "name": "string",
- "url": "string"
}
]| owner required | string owner of the repo |
| repo required | string name of the repo |
| index required | integer <int64> index of the issue |
| id required | integer <int64> id of the label to remove |
| owner required | string owner of the repo |
| repo required | string name of the repo |
| index required | integer <int64> index of issue |
| position required | integer <int64> the new position |
| owner required | string owner of the repo |
| repo required | string name of the repo |
| index required | integer <int64> index of the issue |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "content": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
}
]| owner required | string owner of the repo |
| repo required | string name of the repo |
| index required | integer <int64> index of the issue |
| content | string |
{- "content": "string"
}{- "content": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| index required | integer <int64> index of the issue |
| content | string |
{- "content": "string"
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| index required | integer <int64> index of the issue to stop the stopwatch on |
| owner required | string owner of the repo |
| repo required | string name of the repo |
| index required | integer <int64> index of the issue to stop the stopwatch on |
| owner required | string owner of the repo |
| repo required | string name of the repo |
| index required | integer <int64> index of the issue |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
]| owner required | string owner of the repo |
| repo required | string name of the repo |
| index required | integer <int64> index of the issue |
{- "created_at": "2019-08-24T14:15:22Z",
- "ignored": true,
- "reason": null,
- "repository_url": "string",
- "subscribed": true,
- "url": "string"
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| index required | integer <int64> index of the issue |
| user required | string user to subscribe |
| owner required | string owner of the repo |
| repo required | string name of the repo |
| index required | integer <int64> index of the issue |
| user required | string user witch unsubscribe |
| owner required | string owner of the repo |
| repo required | string name of the repo |
| index required | integer <int64> index of the issue |
| since | string <date-time> if provided, only comments updated since the specified time are returned. |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
| before | string <date-time> if provided, only comments updated before the provided time are returned. |
[- {
- "assignee": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "assignee_team": {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}, - "body": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "dependent_issue": {
- "assets": [
- {
- "browser_download_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "download_count": 0,
- "id": 0,
- "name": "string",
- "size": 0,
- "uuid": "string"
}
], - "assignee": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "assignees": [
- {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
], - "body": "string",
- "closed_at": "2019-08-24T14:15:22Z",
- "comments": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "due_date": "2019-08-24T14:15:22Z",
- "html_url": "string",
- "id": 0,
- "is_locked": true,
- "labels": [
- {
- "color": "00aabb",
- "description": "string",
- "exclusive": false,
- "id": 0,
- "is_archived": false,
- "name": "string",
- "url": "string"
}
], - "milestone": {
- "closed_at": "2019-08-24T14:15:22Z",
- "closed_issues": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "description": "string",
- "due_on": "2019-08-24T14:15:22Z",
- "id": 0,
- "open_issues": 0,
- "state": "string",
- "title": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "number": 0,
- "original_author": "string",
- "original_author_id": 0,
- "pin_order": 0,
- "pull_request": {
- "draft": true,
- "html_url": "string",
- "merged": true,
- "merged_at": "2019-08-24T14:15:22Z"
}, - "ref": "string",
- "repository": {
- "full_name": "string",
- "id": 0,
- "name": "string",
- "owner": "string"
}, - "state": "string",
- "title": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
}, - "html_url": "string",
- "id": 0,
- "issue_url": "string",
- "label": {
- "color": "00aabb",
- "description": "string",
- "exclusive": false,
- "id": 0,
- "is_archived": false,
- "name": "string",
- "url": "string"
}, - "milestone": {
- "closed_at": "2019-08-24T14:15:22Z",
- "closed_issues": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "description": "string",
- "due_on": "2019-08-24T14:15:22Z",
- "id": 0,
- "open_issues": 0,
- "state": "string",
- "title": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "new_ref": "string",
- "new_title": "string",
- "old_milestone": {
- "closed_at": "2019-08-24T14:15:22Z",
- "closed_issues": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "description": "string",
- "due_on": "2019-08-24T14:15:22Z",
- "id": 0,
- "open_issues": 0,
- "state": "string",
- "title": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "old_project_id": 0,
- "old_ref": "string",
- "old_title": "string",
- "project_id": 0,
- "pull_request_url": "string",
- "ref_action": "string",
- "ref_comment": {
- "assets": [
- {
- "browser_download_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "download_count": 0,
- "id": 0,
- "name": "string",
- "size": 0,
- "uuid": "string"
}
], - "body": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "html_url": "string",
- "id": 0,
- "issue_url": "string",
- "original_author": "string",
- "original_author_id": 0,
- "pull_request_url": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
}, - "ref_commit_sha": "string",
- "ref_issue": {
- "assets": [
- {
- "browser_download_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "download_count": 0,
- "id": 0,
- "name": "string",
- "size": 0,
- "uuid": "string"
}
], - "assignee": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "assignees": [
- {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
], - "body": "string",
- "closed_at": "2019-08-24T14:15:22Z",
- "comments": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "due_date": "2019-08-24T14:15:22Z",
- "html_url": "string",
- "id": 0,
- "is_locked": true,
- "labels": [
- {
- "color": "00aabb",
- "description": "string",
- "exclusive": false,
- "id": 0,
- "is_archived": false,
- "name": "string",
- "url": "string"
}
], - "milestone": {
- "closed_at": "2019-08-24T14:15:22Z",
- "closed_issues": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "description": "string",
- "due_on": "2019-08-24T14:15:22Z",
- "id": 0,
- "open_issues": 0,
- "state": "string",
- "title": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "number": 0,
- "original_author": "string",
- "original_author_id": 0,
- "pin_order": 0,
- "pull_request": {
- "draft": true,
- "html_url": "string",
- "merged": true,
- "merged_at": "2019-08-24T14:15:22Z"
}, - "ref": "string",
- "repository": {
- "full_name": "string",
- "id": 0,
- "name": "string",
- "owner": "string"
}, - "state": "string",
- "title": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
}, - "removed_assignee": true,
- "resolve_doer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "review_id": 0,
- "tracked_time": {
- "created": "2019-08-24T14:15:22Z",
- "id": 0,
- "issue": {
- "assets": [
- {
- "browser_download_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "download_count": 0,
- "id": 0,
- "name": "string",
- "size": 0,
- "uuid": "string"
}
], - "assignee": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "assignees": [
- {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
], - "body": "string",
- "closed_at": "2019-08-24T14:15:22Z",
- "comments": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "due_date": "2019-08-24T14:15:22Z",
- "html_url": "string",
- "id": 0,
- "is_locked": true,
- "labels": [
- {
- "color": "00aabb",
- "description": "string",
- "exclusive": false,
- "id": 0,
- "is_archived": false,
- "name": "string",
- "url": "string"
}
], - "milestone": {
- "closed_at": "2019-08-24T14:15:22Z",
- "closed_issues": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "description": "string",
- "due_on": "2019-08-24T14:15:22Z",
- "id": 0,
- "open_issues": 0,
- "state": "string",
- "title": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "number": 0,
- "original_author": "string",
- "original_author_id": 0,
- "pin_order": 0,
- "pull_request": {
- "draft": true,
- "html_url": "string",
- "merged": true,
- "merged_at": "2019-08-24T14:15:22Z"
}, - "ref": "string",
- "repository": {
- "full_name": "string",
- "id": 0,
- "name": "string",
- "owner": "string"
}, - "state": "string",
- "title": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
}, - "issue_id": 0,
- "time": 0,
- "user_id": 0,
- "user_name": "string"
}, - "type": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
}
]| owner required | string owner of the repo |
| repo required | string name of the repo |
| index required | integer <int64> index of the issue |
| user | string optional filter by user (available for issue managers) |
| since | string <date-time> Only show times updated after the given time. This is a timestamp in RFC 3339 format |
| before | string <date-time> Only show times updated before the given time. This is a timestamp in RFC 3339 format |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "created": "2019-08-24T14:15:22Z",
- "id": 0,
- "issue": {
- "assets": [
- {
- "browser_download_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "download_count": 0,
- "id": 0,
- "name": "string",
- "size": 0,
- "uuid": "string"
}
], - "assignee": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "assignees": [
- {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
], - "body": "string",
- "closed_at": "2019-08-24T14:15:22Z",
- "comments": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "due_date": "2019-08-24T14:15:22Z",
- "html_url": "string",
- "id": 0,
- "is_locked": true,
- "labels": [
- {
- "color": "00aabb",
- "description": "string",
- "exclusive": false,
- "id": 0,
- "is_archived": false,
- "name": "string",
- "url": "string"
}
], - "milestone": {
- "closed_at": "2019-08-24T14:15:22Z",
- "closed_issues": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "description": "string",
- "due_on": "2019-08-24T14:15:22Z",
- "id": 0,
- "open_issues": 0,
- "state": "string",
- "title": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "number": 0,
- "original_author": "string",
- "original_author_id": 0,
- "pin_order": 0,
- "pull_request": {
- "draft": true,
- "html_url": "string",
- "merged": true,
- "merged_at": "2019-08-24T14:15:22Z"
}, - "ref": "string",
- "repository": {
- "full_name": "string",
- "id": 0,
- "name": "string",
- "owner": "string"
}, - "state": "string",
- "title": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
}, - "issue_id": 0,
- "time": 0,
- "user_id": 0,
- "user_name": "string"
}
]| owner required | string owner of the repo |
| repo required | string name of the repo |
| index required | integer <int64> index of the issue |
| created | string <date-time> |
| time required | integer <int64> time in seconds |
| user_name | string User who spent the time (optional) |
{- "created": "2019-08-24T14:15:22Z",
- "time": 0,
- "user_name": "string"
}{- "created": "2019-08-24T14:15:22Z",
- "id": 0,
- "issue": {
- "assets": [
- {
- "browser_download_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "download_count": 0,
- "id": 0,
- "name": "string",
- "size": 0,
- "uuid": "string"
}
], - "assignee": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "assignees": [
- {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
], - "body": "string",
- "closed_at": "2019-08-24T14:15:22Z",
- "comments": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "due_date": "2019-08-24T14:15:22Z",
- "html_url": "string",
- "id": 0,
- "is_locked": true,
- "labels": [
- {
- "color": "00aabb",
- "description": "string",
- "exclusive": false,
- "id": 0,
- "is_archived": false,
- "name": "string",
- "url": "string"
}
], - "milestone": {
- "closed_at": "2019-08-24T14:15:22Z",
- "closed_issues": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "description": "string",
- "due_on": "2019-08-24T14:15:22Z",
- "id": 0,
- "open_issues": 0,
- "state": "string",
- "title": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "number": 0,
- "original_author": "string",
- "original_author_id": 0,
- "pin_order": 0,
- "pull_request": {
- "draft": true,
- "html_url": "string",
- "merged": true,
- "merged_at": "2019-08-24T14:15:22Z"
}, - "ref": "string",
- "repository": {
- "full_name": "string",
- "id": 0,
- "name": "string",
- "owner": "string"
}, - "state": "string",
- "title": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
}, - "issue_id": 0,
- "time": 0,
- "user_id": 0,
- "user_name": "string"
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| index required | integer <int64> index of the issue |
| id required | integer <int64> id of time to delete |
| owner required | string owner of the repo |
| repo required | string name of the repo |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "color": "00aabb",
- "description": "string",
- "exclusive": false,
- "id": 0,
- "is_archived": false,
- "name": "string",
- "url": "string"
}
]| owner required | string owner of the repo |
| repo required | string name of the repo |
| color required | string |
| description | string |
| exclusive | boolean |
| is_archived | boolean |
| name required | string |
{- "color": "#00aabb",
- "description": "string",
- "exclusive": false,
- "is_archived": false,
- "name": "string"
}{- "color": "00aabb",
- "description": "string",
- "exclusive": false,
- "id": 0,
- "is_archived": false,
- "name": "string",
- "url": "string"
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| id required | integer <int64> id of the label to get |
{- "color": "00aabb",
- "description": "string",
- "exclusive": false,
- "id": 0,
- "is_archived": false,
- "name": "string",
- "url": "string"
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| id required | integer <int64> id of the label to edit |
| color | string |
| description | string |
| exclusive | boolean |
| is_archived | boolean |
| name | string |
{- "color": "#00aabb",
- "description": "string",
- "exclusive": false,
- "is_archived": false,
- "name": "string"
}{- "color": "00aabb",
- "description": "string",
- "exclusive": false,
- "id": 0,
- "is_archived": false,
- "name": "string",
- "url": "string"
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| state | string Milestone state, Recognized values are open, closed and all. Defaults to "open" |
| name | string filter by milestone name |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "closed_at": "2019-08-24T14:15:22Z",
- "closed_issues": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "description": "string",
- "due_on": "2019-08-24T14:15:22Z",
- "id": 0,
- "open_issues": 0,
- "state": "string",
- "title": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}
]| owner required | string owner of the repo |
| repo required | string name of the repo |
| description | string |
| due_on | string <date-time> |
| state | string Enum: "open" "closed" |
| title | string |
{- "description": "string",
- "due_on": "2019-08-24T14:15:22Z",
- "state": "open",
- "title": "string"
}{- "closed_at": "2019-08-24T14:15:22Z",
- "closed_issues": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "description": "string",
- "due_on": "2019-08-24T14:15:22Z",
- "id": 0,
- "open_issues": 0,
- "state": "string",
- "title": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| id required | string the milestone to get, identified by ID and if not available by name |
{- "closed_at": "2019-08-24T14:15:22Z",
- "closed_issues": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "description": "string",
- "due_on": "2019-08-24T14:15:22Z",
- "id": 0,
- "open_issues": 0,
- "state": "string",
- "title": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| id required | string the milestone to edit, identified by ID and if not available by name |
| description | string |
| due_on | string <date-time> |
| state | string |
| title | string |
{- "description": "string",
- "due_on": "2019-08-24T14:15:22Z",
- "state": "string",
- "title": "string"
}{- "closed_at": "2019-08-24T14:15:22Z",
- "closed_issues": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "description": "string",
- "due_on": "2019-08-24T14:15:22Z",
- "id": 0,
- "open_issues": 0,
- "state": "string",
- "title": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}| auth_password | string |
| auth_token | string |
| auth_username | string |
| aws_access_key_id | string |
| aws_secret_access_key | string |
| clone_addr required | string |
| description | string |
| issues | boolean |
| labels | boolean |
| lfs | boolean |
| lfs_endpoint | string |
| milestones | boolean |
| mirror | boolean |
| mirror_interval | string |
| private | boolean |
| pull_requests | boolean |
| releases | boolean |
| repo_name required | string |
| repo_owner | string Name of User or Organisation who will own Repo after migration |
| service | string Enum: "git" "github" "gitea" "gitlab" "gogs" "onedev" "gitbucket" "codebase" |
| uid | integer <int64> deprecated (only for backwards compatibility) |
| wiki | boolean |
{- "auth_password": "string",
- "auth_token": "string",
- "auth_username": "string",
- "aws_access_key_id": "string",
- "aws_secret_access_key": "string",
- "clone_addr": "string",
- "description": "string",
- "issues": true,
- "labels": true,
- "lfs": true,
- "lfs_endpoint": "string",
- "milestones": true,
- "mirror": true,
- "mirror_interval": "string",
- "private": true,
- "pull_requests": true,
- "releases": true,
- "repo_name": "string",
- "repo_owner": "string",
- "service": "git",
- "uid": 0,
- "wiki": true
}{- "allow_fast_forward_only_merge": true,
- "allow_merge_commits": true,
- "allow_rebase": true,
- "allow_rebase_explicit": true,
- "allow_rebase_update": true,
- "allow_squash_merge": true,
- "archived": true,
- "archived_at": "2019-08-24T14:15:22Z",
- "avatar_url": "string",
- "clone_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "default_allow_maintainer_edit": true,
- "default_branch": "string",
- "default_delete_branch_after_merge": true,
- "default_merge_style": "string",
- "description": "string",
- "empty": true,
- "external_tracker": {
- "external_tracker_format": "string",
- "external_tracker_regexp_pattern": "string",
- "external_tracker_style": "string",
- "external_tracker_url": "string"
}, - "external_wiki": {
- "external_wiki_url": "string"
}, - "fork": true,
- "forks_count": 0,
- "full_name": "string",
- "has_actions": true,
- "has_issues": true,
- "has_packages": true,
- "has_projects": true,
- "has_pull_requests": true,
- "has_releases": true,
- "has_wiki": true,
- "html_url": "string",
- "id": 0,
- "ignore_whitespace_conflicts": true,
- "internal": true,
- "internal_tracker": {
- "allow_only_contributors_to_track_time": true,
- "enable_issue_dependencies": true,
- "enable_time_tracker": true
}, - "language": "string",
- "languages_url": "string",
- "licenses": [
- "string"
], - "link": "string",
- "mirror": true,
- "mirror_interval": "string",
- "mirror_updated": "2019-08-24T14:15:22Z",
- "name": "string",
- "object_format_name": "sha1",
- "open_issues_count": 0,
- "open_pr_counter": 0,
- "original_url": "string",
- "owner": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "parent": { },
- "permissions": {
- "admin": true,
- "pull": true,
- "push": true
}, - "private": true,
- "projects_mode": "string",
- "release_counter": 0,
- "repo_transfer": {
- "doer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "recipient": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "teams": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
]
}, - "size": 0,
- "ssh_url": "string",
- "stars_count": 0,
- "template": true,
- "topics": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "watchers_count": 0,
- "website": "string"
}| q | string keyword |
| topic | boolean Limit search to repositories with keyword as topic |
| includeDesc | boolean include search of keyword within repository description |
| uid | integer <int64> search only for repos that the user with the given id owns or contributes to |
| priority_owner_id | integer <int64> repo owner to prioritize in the results |
| team_id | integer <int64> search only for repos that belong to the given team id |
| starredBy | integer <int64> search only for repos that the user with the given id has starred |
| private | boolean include private repositories this user has access to (defaults to true) |
| is_private | boolean show only pubic, private or all repositories (defaults to all) |
| template | boolean include template repositories this user has access to (defaults to true) |
| archived | boolean show only archived, non-archived or all repositories (defaults to all) |
| mode | string type of repository to search for. Supported values are "fork", "source", "mirror" and "collaborative" |
| exclusive | boolean if |
| sort | string sort repos by attribute. Supported values are "alpha", "created", "updated", "size", "git_size", "lfs_size", "stars", "forks" and "id". Default is "alpha" |
| order | string sort order, either "asc" (ascending) or "desc" (descending). Default is "asc", ignored if "sort" is not specified. |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
{- "data": [
- {
- "allow_fast_forward_only_merge": true,
- "allow_merge_commits": true,
- "allow_rebase": true,
- "allow_rebase_explicit": true,
- "allow_rebase_update": true,
- "allow_squash_merge": true,
- "archived": true,
- "archived_at": "2019-08-24T14:15:22Z",
- "avatar_url": "string",
- "clone_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "default_allow_maintainer_edit": true,
- "default_branch": "string",
- "default_delete_branch_after_merge": true,
- "default_merge_style": "string",
- "description": "string",
- "empty": true,
- "external_tracker": {
- "external_tracker_format": "string",
- "external_tracker_regexp_pattern": "string",
- "external_tracker_style": "string",
- "external_tracker_url": "string"
}, - "external_wiki": {
- "external_wiki_url": "string"
}, - "fork": true,
- "forks_count": 0,
- "full_name": "string",
- "has_actions": true,
- "has_issues": true,
- "has_packages": true,
- "has_projects": true,
- "has_pull_requests": true,
- "has_releases": true,
- "has_wiki": true,
- "html_url": "string",
- "id": 0,
- "ignore_whitespace_conflicts": true,
- "internal": true,
- "internal_tracker": {
- "allow_only_contributors_to_track_time": true,
- "enable_issue_dependencies": true,
- "enable_time_tracker": true
}, - "language": "string",
- "languages_url": "string",
- "licenses": [
- "string"
], - "link": "string",
- "mirror": true,
- "mirror_interval": "string",
- "mirror_updated": "2019-08-24T14:15:22Z",
- "name": "string",
- "object_format_name": "sha1",
- "open_issues_count": 0,
- "open_pr_counter": 0,
- "original_url": "string",
- "owner": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "parent": { },
- "permissions": {
- "admin": true,
- "pull": true,
- "push": true
}, - "private": true,
- "projects_mode": "string",
- "release_counter": 0,
- "repo_transfer": {
- "doer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "recipient": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "teams": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
]
}, - "size": 0,
- "ssh_url": "string",
- "stars_count": 0,
- "template": true,
- "topics": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "watchers_count": 0,
- "website": "string"
}
], - "ok": true
}| owner required | string owner of the repo |
| repo required | string name of the repo |
{- "allow_fast_forward_only_merge": true,
- "allow_merge_commits": true,
- "allow_rebase": true,
- "allow_rebase_explicit": true,
- "allow_rebase_update": true,
- "allow_squash_merge": true,
- "archived": true,
- "archived_at": "2019-08-24T14:15:22Z",
- "avatar_url": "string",
- "clone_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "default_allow_maintainer_edit": true,
- "default_branch": "string",
- "default_delete_branch_after_merge": true,
- "default_merge_style": "string",
- "description": "string",
- "empty": true,
- "external_tracker": {
- "external_tracker_format": "string",
- "external_tracker_regexp_pattern": "string",
- "external_tracker_style": "string",
- "external_tracker_url": "string"
}, - "external_wiki": {
- "external_wiki_url": "string"
}, - "fork": true,
- "forks_count": 0,
- "full_name": "string",
- "has_actions": true,
- "has_issues": true,
- "has_packages": true,
- "has_projects": true,
- "has_pull_requests": true,
- "has_releases": true,
- "has_wiki": true,
- "html_url": "string",
- "id": 0,
- "ignore_whitespace_conflicts": true,
- "internal": true,
- "internal_tracker": {
- "allow_only_contributors_to_track_time": true,
- "enable_issue_dependencies": true,
- "enable_time_tracker": true
}, - "language": "string",
- "languages_url": "string",
- "licenses": [
- "string"
], - "link": "string",
- "mirror": true,
- "mirror_interval": "string",
- "mirror_updated": "2019-08-24T14:15:22Z",
- "name": "string",
- "object_format_name": "sha1",
- "open_issues_count": 0,
- "open_pr_counter": 0,
- "original_url": "string",
- "owner": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "parent": { },
- "permissions": {
- "admin": true,
- "pull": true,
- "push": true
}, - "private": true,
- "projects_mode": "string",
- "release_counter": 0,
- "repo_transfer": {
- "doer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "recipient": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "teams": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
]
}, - "size": 0,
- "ssh_url": "string",
- "stars_count": 0,
- "template": true,
- "topics": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "watchers_count": 0,
- "website": "string"
}| owner required | string owner of the repo to edit |
| repo required | string name of the repo to edit |
Properties of a repo that you can edit
| allow_fast_forward_only_merge | boolean either |
| allow_manual_merge | boolean either |
| allow_merge_commits | boolean either |
| allow_rebase | boolean either |
| allow_rebase_explicit | boolean either |
| allow_rebase_update | boolean either |
| allow_squash_merge | boolean either |
| archived | boolean set to |
| autodetect_manual_merge | boolean either |
| default_allow_maintainer_edit | boolean set to |
| default_branch | string sets the default branch for this repository. |
| default_delete_branch_after_merge | boolean set to |
| default_merge_style | string set to a merge style to be used by this repository: "merge", "rebase", "rebase-merge", "squash", or "fast-forward-only". |
| description | string a short description of the repository. |
| enable_prune | boolean enable prune - remove obsolete remote-tracking references when mirroring |
object (ExternalTracker) ExternalTracker represents settings for external tracker | |
object (ExternalWiki) ExternalWiki represents setting for external wiki | |
| has_actions | boolean either |
| has_issues | boolean either |
| has_packages | boolean either |
| has_projects | boolean either |
| has_pull_requests | boolean either |
| has_releases | boolean either |
| has_wiki | boolean either |
| ignore_whitespace_conflicts | boolean either |
object (InternalTracker) InternalTracker represents settings for internal tracker | |
| mirror_interval | string set to a string like |
| name | string unique name of the repository |
| private | boolean either |
| projects_mode | string
|
| template | boolean either |
| website | string a URL with more information about the repository. |
{- "allow_fast_forward_only_merge": true,
- "allow_manual_merge": true,
- "allow_merge_commits": true,
- "allow_rebase": true,
- "allow_rebase_explicit": true,
- "allow_rebase_update": true,
- "allow_squash_merge": true,
- "archived": true,
- "autodetect_manual_merge": true,
- "default_allow_maintainer_edit": true,
- "default_branch": "string",
- "default_delete_branch_after_merge": true,
- "default_merge_style": "string",
- "description": "string",
- "enable_prune": true,
- "external_tracker": {
- "external_tracker_format": "string",
- "external_tracker_regexp_pattern": "string",
- "external_tracker_style": "string",
- "external_tracker_url": "string"
}, - "external_wiki": {
- "external_wiki_url": "string"
}, - "has_actions": true,
- "has_issues": true,
- "has_packages": true,
- "has_projects": true,
- "has_pull_requests": true,
- "has_releases": true,
- "has_wiki": true,
- "ignore_whitespace_conflicts": true,
- "internal_tracker": {
- "allow_only_contributors_to_track_time": true,
- "enable_issue_dependencies": true,
- "enable_time_tracker": true
}, - "mirror_interval": "string",
- "name": "string",
- "private": true,
- "projects_mode": "string",
- "template": true,
- "website": "string"
}{- "allow_fast_forward_only_merge": true,
- "allow_merge_commits": true,
- "allow_rebase": true,
- "allow_rebase_explicit": true,
- "allow_rebase_update": true,
- "allow_squash_merge": true,
- "archived": true,
- "archived_at": "2019-08-24T14:15:22Z",
- "avatar_url": "string",
- "clone_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "default_allow_maintainer_edit": true,
- "default_branch": "string",
- "default_delete_branch_after_merge": true,
- "default_merge_style": "string",
- "description": "string",
- "empty": true,
- "external_tracker": {
- "external_tracker_format": "string",
- "external_tracker_regexp_pattern": "string",
- "external_tracker_style": "string",
- "external_tracker_url": "string"
}, - "external_wiki": {
- "external_wiki_url": "string"
}, - "fork": true,
- "forks_count": 0,
- "full_name": "string",
- "has_actions": true,
- "has_issues": true,
- "has_packages": true,
- "has_projects": true,
- "has_pull_requests": true,
- "has_releases": true,
- "has_wiki": true,
- "html_url": "string",
- "id": 0,
- "ignore_whitespace_conflicts": true,
- "internal": true,
- "internal_tracker": {
- "allow_only_contributors_to_track_time": true,
- "enable_issue_dependencies": true,
- "enable_time_tracker": true
}, - "language": "string",
- "languages_url": "string",
- "licenses": [
- "string"
], - "link": "string",
- "mirror": true,
- "mirror_interval": "string",
- "mirror_updated": "2019-08-24T14:15:22Z",
- "name": "string",
- "object_format_name": "sha1",
- "open_issues_count": 0,
- "open_pr_counter": 0,
- "original_url": "string",
- "owner": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "parent": { },
- "permissions": {
- "admin": true,
- "pull": true,
- "push": true
}, - "private": true,
- "projects_mode": "string",
- "release_counter": 0,
- "repo_transfer": {
- "doer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "recipient": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "teams": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
]
}, - "size": 0,
- "ssh_url": "string",
- "stars_count": 0,
- "template": true,
- "topics": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "watchers_count": 0,
- "website": "string"
}| owner required | string owner of the repository |
| repo required | string name of the repository |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "created_at": "2019-08-24T14:15:22Z",
- "name": "string"
}
]| owner required | string owner of the repository |
| repo required | string name of the repository |
| secretname required | string name of the secret |
| data required | string Data of the secret to update |
{- "data": "string"
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results, default maximum page size is 50 |
{- "total_count": 0,
- "workflow_runs": [
- {
- "created_at": "2019-08-24T14:15:22Z",
- "display_title": "string",
- "event": "string",
- "head_branch": "string",
- "head_sha": "string",
- "id": 0,
- "name": "string",
- "run_number": 0,
- "run_started_at": "2019-08-24T14:15:22Z",
- "status": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "workflow_id": "string"
}
]
}| owner required | string name of the owner |
| repo required | string name of the repository |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "data": "string",
- "name": "string",
- "owner_id": 0,
- "repo_id": 0
}
]| owner required | string name of the owner |
| repo required | string name of the repository |
| variablename required | string name of the variable |
{- "data": "string",
- "name": "string",
- "owner_id": 0,
- "repo_id": 0
}| owner required | string name of the owner |
| repo required | string name of the repository |
| variablename required | string name of the variable |
| name | string New name for the variable. If the field is empty, the variable name won't be updated. |
| value required | string Value of the variable to update |
{- "name": "string",
- "value": "string"
}| owner required | string name of the owner |
| repo required | string name of the repository |
| variablename required | string name of the variable |
| value required | string Value of the variable to create |
{- "value": "string"
}| owner required | string name of the owner |
| repo required | string name of the repository |
| variablename required | string name of the variable |
{- "data": "string",
- "name": "string",
- "owner_id": 0,
- "repo_id": 0
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| date | string <date> the date of the activities to be found |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "act_user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "act_user_id": 0,
- "comment": {
- "assets": [
- {
- "browser_download_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "download_count": 0,
- "id": 0,
- "name": "string",
- "size": 0,
- "uuid": "string"
}
], - "body": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "html_url": "string",
- "id": 0,
- "issue_url": "string",
- "original_author": "string",
- "original_author_id": 0,
- "pull_request_url": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
}, - "comment_id": 0,
- "content": "string",
- "created": "2019-08-24T14:15:22Z",
- "id": 0,
- "is_private": true,
- "op_type": "create_repo",
- "ref_name": "string",
- "repo": {
- "allow_fast_forward_only_merge": true,
- "allow_merge_commits": true,
- "allow_rebase": true,
- "allow_rebase_explicit": true,
- "allow_rebase_update": true,
- "allow_squash_merge": true,
- "archived": true,
- "archived_at": "2019-08-24T14:15:22Z",
- "avatar_url": "string",
- "clone_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "default_allow_maintainer_edit": true,
- "default_branch": "string",
- "default_delete_branch_after_merge": true,
- "default_merge_style": "string",
- "description": "string",
- "empty": true,
- "external_tracker": {
- "external_tracker_format": "string",
- "external_tracker_regexp_pattern": "string",
- "external_tracker_style": "string",
- "external_tracker_url": "string"
}, - "external_wiki": {
- "external_wiki_url": "string"
}, - "fork": true,
- "forks_count": 0,
- "full_name": "string",
- "has_actions": true,
- "has_issues": true,
- "has_packages": true,
- "has_projects": true,
- "has_pull_requests": true,
- "has_releases": true,
- "has_wiki": true,
- "html_url": "string",
- "id": 0,
- "ignore_whitespace_conflicts": true,
- "internal": true,
- "internal_tracker": {
- "allow_only_contributors_to_track_time": true,
- "enable_issue_dependencies": true,
- "enable_time_tracker": true
}, - "language": "string",
- "languages_url": "string",
- "licenses": [
- "string"
], - "link": "string",
- "mirror": true,
- "mirror_interval": "string",
- "mirror_updated": "2019-08-24T14:15:22Z",
- "name": "string",
- "object_format_name": "sha1",
- "open_issues_count": 0,
- "open_pr_counter": 0,
- "original_url": "string",
- "owner": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "parent": { },
- "permissions": {
- "admin": true,
- "pull": true,
- "push": true
}, - "private": true,
- "projects_mode": "string",
- "release_counter": 0,
- "repo_transfer": {
- "doer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "recipient": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "teams": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
]
}, - "size": 0,
- "ssh_url": "string",
- "stars_count": 0,
- "template": true,
- "topics": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "watchers_count": 0,
- "website": "string"
}, - "repo_id": 0,
- "user_id": 0
}
]| owner required | string owner of the repo |
| repo required | string name of the repo |
| archive required | string the git reference for download with attached archive format (e.g. master.zip) |
| owner required | string owner of the repo |
| repo required | string name of the repo |
[- {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
]| owner required | string owner of the repo |
| repo required | string name of the repo |
| image | string image must be base64 encoded |
{- "image": "string"
}| owner required | string owner of the repo |
| repo required | string name of the repo |
[- {
- "approvals_whitelist_teams": [
- "string"
], - "approvals_whitelist_username": [
- "string"
], - "block_admin_merge_override": true,
- "block_on_official_review_requests": true,
- "block_on_outdated_branch": true,
- "block_on_rejected_reviews": true,
- "branch_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "dismiss_stale_approvals": true,
- "enable_approvals_whitelist": true,
- "enable_force_push": true,
- "enable_force_push_allowlist": true,
- "enable_merge_whitelist": true,
- "enable_push": true,
- "enable_push_whitelist": true,
- "enable_status_check": true,
- "force_push_allowlist_deploy_keys": true,
- "force_push_allowlist_teams": [
- "string"
], - "force_push_allowlist_usernames": [
- "string"
], - "ignore_stale_approvals": true,
- "merge_whitelist_teams": [
- "string"
], - "merge_whitelist_usernames": [
- "string"
], - "priority": 0,
- "protected_file_patterns": "string",
- "push_whitelist_deploy_keys": true,
- "push_whitelist_teams": [
- "string"
], - "push_whitelist_usernames": [
- "string"
], - "require_signed_commits": true,
- "required_approvals": 0,
- "rule_name": "string",
- "status_check_contexts": [
- "string"
], - "unprotected_file_patterns": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}
]| owner required | string owner of the repo |
| repo required | string name of the repo |
| approvals_whitelist_teams | Array of strings |
| approvals_whitelist_username | Array of strings |
| block_admin_merge_override | boolean |
| block_on_official_review_requests | boolean |
| block_on_outdated_branch | boolean |
| block_on_rejected_reviews | boolean |
| branch_name | string Deprecated: true |
| dismiss_stale_approvals | boolean |
| enable_approvals_whitelist | boolean |
| enable_force_push | boolean |
| enable_force_push_allowlist | boolean |
| enable_merge_whitelist | boolean |
| enable_push | boolean |
| enable_push_whitelist | boolean |
| enable_status_check | boolean |
| force_push_allowlist_deploy_keys | boolean |
| force_push_allowlist_teams | Array of strings |
| force_push_allowlist_usernames | Array of strings |
| ignore_stale_approvals | boolean |
| merge_whitelist_teams | Array of strings |
| merge_whitelist_usernames | Array of strings |
| priority | integer <int64> |
| protected_file_patterns | string |
| push_whitelist_deploy_keys | boolean |
| push_whitelist_teams | Array of strings |
| push_whitelist_usernames | Array of strings |
| require_signed_commits | boolean |
| required_approvals | integer <int64> |
| rule_name | string |
| status_check_contexts | Array of strings |
| unprotected_file_patterns | string |
{- "approvals_whitelist_teams": [
- "string"
], - "approvals_whitelist_username": [
- "string"
], - "block_admin_merge_override": true,
- "block_on_official_review_requests": true,
- "block_on_outdated_branch": true,
- "block_on_rejected_reviews": true,
- "branch_name": "string",
- "dismiss_stale_approvals": true,
- "enable_approvals_whitelist": true,
- "enable_force_push": true,
- "enable_force_push_allowlist": true,
- "enable_merge_whitelist": true,
- "enable_push": true,
- "enable_push_whitelist": true,
- "enable_status_check": true,
- "force_push_allowlist_deploy_keys": true,
- "force_push_allowlist_teams": [
- "string"
], - "force_push_allowlist_usernames": [
- "string"
], - "ignore_stale_approvals": true,
- "merge_whitelist_teams": [
- "string"
], - "merge_whitelist_usernames": [
- "string"
], - "priority": 0,
- "protected_file_patterns": "string",
- "push_whitelist_deploy_keys": true,
- "push_whitelist_teams": [
- "string"
], - "push_whitelist_usernames": [
- "string"
], - "require_signed_commits": true,
- "required_approvals": 0,
- "rule_name": "string",
- "status_check_contexts": [
- "string"
], - "unprotected_file_patterns": "string"
}{- "approvals_whitelist_teams": [
- "string"
], - "approvals_whitelist_username": [
- "string"
], - "block_admin_merge_override": true,
- "block_on_official_review_requests": true,
- "block_on_outdated_branch": true,
- "block_on_rejected_reviews": true,
- "branch_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "dismiss_stale_approvals": true,
- "enable_approvals_whitelist": true,
- "enable_force_push": true,
- "enable_force_push_allowlist": true,
- "enable_merge_whitelist": true,
- "enable_push": true,
- "enable_push_whitelist": true,
- "enable_status_check": true,
- "force_push_allowlist_deploy_keys": true,
- "force_push_allowlist_teams": [
- "string"
], - "force_push_allowlist_usernames": [
- "string"
], - "ignore_stale_approvals": true,
- "merge_whitelist_teams": [
- "string"
], - "merge_whitelist_usernames": [
- "string"
], - "priority": 0,
- "protected_file_patterns": "string",
- "push_whitelist_deploy_keys": true,
- "push_whitelist_teams": [
- "string"
], - "push_whitelist_usernames": [
- "string"
], - "require_signed_commits": true,
- "required_approvals": 0,
- "rule_name": "string",
- "status_check_contexts": [
- "string"
], - "unprotected_file_patterns": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| ids | Array of integers <int64> [ items <int64 > ] |
{- "ids": [
- 0
]
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| name required | string name of protected branch |
{- "approvals_whitelist_teams": [
- "string"
], - "approvals_whitelist_username": [
- "string"
], - "block_admin_merge_override": true,
- "block_on_official_review_requests": true,
- "block_on_outdated_branch": true,
- "block_on_rejected_reviews": true,
- "branch_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "dismiss_stale_approvals": true,
- "enable_approvals_whitelist": true,
- "enable_force_push": true,
- "enable_force_push_allowlist": true,
- "enable_merge_whitelist": true,
- "enable_push": true,
- "enable_push_whitelist": true,
- "enable_status_check": true,
- "force_push_allowlist_deploy_keys": true,
- "force_push_allowlist_teams": [
- "string"
], - "force_push_allowlist_usernames": [
- "string"
], - "ignore_stale_approvals": true,
- "merge_whitelist_teams": [
- "string"
], - "merge_whitelist_usernames": [
- "string"
], - "priority": 0,
- "protected_file_patterns": "string",
- "push_whitelist_deploy_keys": true,
- "push_whitelist_teams": [
- "string"
], - "push_whitelist_usernames": [
- "string"
], - "require_signed_commits": true,
- "required_approvals": 0,
- "rule_name": "string",
- "status_check_contexts": [
- "string"
], - "unprotected_file_patterns": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| name required | string name of protected branch |
| approvals_whitelist_teams | Array of strings |
| approvals_whitelist_username | Array of strings |
| block_admin_merge_override | boolean |
| block_on_official_review_requests | boolean |
| block_on_outdated_branch | boolean |
| block_on_rejected_reviews | boolean |
| dismiss_stale_approvals | boolean |
| enable_approvals_whitelist | boolean |
| enable_force_push | boolean |
| enable_force_push_allowlist | boolean |
| enable_merge_whitelist | boolean |
| enable_push | boolean |
| enable_push_whitelist | boolean |
| enable_status_check | boolean |
| force_push_allowlist_deploy_keys | boolean |
| force_push_allowlist_teams | Array of strings |
| force_push_allowlist_usernames | Array of strings |
| ignore_stale_approvals | boolean |
| merge_whitelist_teams | Array of strings |
| merge_whitelist_usernames | Array of strings |
| priority | integer <int64> |
| protected_file_patterns | string |
| push_whitelist_deploy_keys | boolean |
| push_whitelist_teams | Array of strings |
| push_whitelist_usernames | Array of strings |
| require_signed_commits | boolean |
| required_approvals | integer <int64> |
| status_check_contexts | Array of strings |
| unprotected_file_patterns | string |
{- "approvals_whitelist_teams": [
- "string"
], - "approvals_whitelist_username": [
- "string"
], - "block_admin_merge_override": true,
- "block_on_official_review_requests": true,
- "block_on_outdated_branch": true,
- "block_on_rejected_reviews": true,
- "dismiss_stale_approvals": true,
- "enable_approvals_whitelist": true,
- "enable_force_push": true,
- "enable_force_push_allowlist": true,
- "enable_merge_whitelist": true,
- "enable_push": true,
- "enable_push_whitelist": true,
- "enable_status_check": true,
- "force_push_allowlist_deploy_keys": true,
- "force_push_allowlist_teams": [
- "string"
], - "force_push_allowlist_usernames": [
- "string"
], - "ignore_stale_approvals": true,
- "merge_whitelist_teams": [
- "string"
], - "merge_whitelist_usernames": [
- "string"
], - "priority": 0,
- "protected_file_patterns": "string",
- "push_whitelist_deploy_keys": true,
- "push_whitelist_teams": [
- "string"
], - "push_whitelist_usernames": [
- "string"
], - "require_signed_commits": true,
- "required_approvals": 0,
- "status_check_contexts": [
- "string"
], - "unprotected_file_patterns": "string"
}{- "approvals_whitelist_teams": [
- "string"
], - "approvals_whitelist_username": [
- "string"
], - "block_admin_merge_override": true,
- "block_on_official_review_requests": true,
- "block_on_outdated_branch": true,
- "block_on_rejected_reviews": true,
- "branch_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "dismiss_stale_approvals": true,
- "enable_approvals_whitelist": true,
- "enable_force_push": true,
- "enable_force_push_allowlist": true,
- "enable_merge_whitelist": true,
- "enable_push": true,
- "enable_push_whitelist": true,
- "enable_status_check": true,
- "force_push_allowlist_deploy_keys": true,
- "force_push_allowlist_teams": [
- "string"
], - "force_push_allowlist_usernames": [
- "string"
], - "ignore_stale_approvals": true,
- "merge_whitelist_teams": [
- "string"
], - "merge_whitelist_usernames": [
- "string"
], - "priority": 0,
- "protected_file_patterns": "string",
- "push_whitelist_deploy_keys": true,
- "push_whitelist_teams": [
- "string"
], - "push_whitelist_usernames": [
- "string"
], - "require_signed_commits": true,
- "required_approvals": 0,
- "rule_name": "string",
- "status_check_contexts": [
- "string"
], - "unprotected_file_patterns": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "commit": {
- "added": [
- "string"
], - "author": {
- "email": "user@example.com",
- "name": "string",
- "username": "string"
}, - "committer": {
- "email": "user@example.com",
- "name": "string",
- "username": "string"
}, - "id": "string",
- "message": "string",
- "modified": [
- "string"
], - "removed": [
- "string"
], - "timestamp": "2019-08-24T14:15:22Z",
- "url": "string",
- "verification": {
- "payload": "string",
- "reason": "string",
- "signature": "string",
- "signer": {
- "email": "user@example.com",
- "name": "string",
- "username": "string"
}, - "verified": true
}
}, - "effective_branch_protection_name": "string",
- "enable_status_check": true,
- "name": "string",
- "protected": true,
- "required_approvals": 0,
- "status_check_contexts": [
- "string"
], - "user_can_merge": true,
- "user_can_push": true
}
]| owner required | string owner of the repo |
| repo required | string name of the repo |
| new_branch_name required | string unique Name of the branch to create |
| old_branch_name | string unique Deprecated: true Name of the old branch to create from |
| old_ref_name | string unique Name of the old branch/tag/commit to create from |
{- "new_branch_name": "string",
- "old_branch_name": "string",
- "old_ref_name": "string"
}{- "commit": {
- "added": [
- "string"
], - "author": {
- "email": "user@example.com",
- "name": "string",
- "username": "string"
}, - "committer": {
- "email": "user@example.com",
- "name": "string",
- "username": "string"
}, - "id": "string",
- "message": "string",
- "modified": [
- "string"
], - "removed": [
- "string"
], - "timestamp": "2019-08-24T14:15:22Z",
- "url": "string",
- "verification": {
- "payload": "string",
- "reason": "string",
- "signature": "string",
- "signer": {
- "email": "user@example.com",
- "name": "string",
- "username": "string"
}, - "verified": true
}
}, - "effective_branch_protection_name": "string",
- "enable_status_check": true,
- "name": "string",
- "protected": true,
- "required_approvals": 0,
- "status_check_contexts": [
- "string"
], - "user_can_merge": true,
- "user_can_push": true
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| branch required | string branch to get |
{- "commit": {
- "added": [
- "string"
], - "author": {
- "email": "user@example.com",
- "name": "string",
- "username": "string"
}, - "committer": {
- "email": "user@example.com",
- "name": "string",
- "username": "string"
}, - "id": "string",
- "message": "string",
- "modified": [
- "string"
], - "removed": [
- "string"
], - "timestamp": "2019-08-24T14:15:22Z",
- "url": "string",
- "verification": {
- "payload": "string",
- "reason": "string",
- "signature": "string",
- "signer": {
- "email": "user@example.com",
- "name": "string",
- "username": "string"
}, - "verified": true
}
}, - "effective_branch_protection_name": "string",
- "enable_status_check": true,
- "name": "string",
- "protected": true,
- "required_approvals": 0,
- "status_check_contexts": [
- "string"
], - "user_can_merge": true,
- "user_can_push": true
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| branch required | string name of the branch |
| name required | string unique New branch name |
{- "name": "string"
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
]| owner required | string owner of the repo |
| repo required | string name of the repo |
| collaborator required | string username of the collaborator to add |
| permission | string Enum: "read" "write" "admin" |
{- "permission": "read"
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| collaborator required | string username of the collaborator |
{- "permission": "string",
- "role_name": "string",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| sha | string SHA or branch to start listing commits from (usually 'master') |
| path | string filepath of a file/dir |
| stat | boolean include diff stats for every commit (disable for speedup, default 'true') |
| verification | boolean include verification for every commit (disable for speedup, default 'true') |
| files | boolean include a list of affected files for every commit (disable for speedup, default 'true') |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results (ignored if used with 'path') |
| not | string commits that match the given specifier will not be listed. |
[- {
- "author": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "commit": {
- "author": {
- "date": "string",
- "email": "user@example.com",
- "name": "string"
}, - "committer": {
- "date": "string",
- "email": "user@example.com",
- "name": "string"
}, - "message": "string",
- "tree": {
- "created": "2019-08-24T14:15:22Z",
- "sha": "string",
- "url": "string"
}, - "url": "string",
- "verification": {
- "payload": "string",
- "reason": "string",
- "signature": "string",
- "signer": {
- "email": "user@example.com",
- "name": "string",
- "username": "string"
}, - "verified": true
}
}, - "committer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "created": "2019-08-24T14:15:22Z",
- "files": [
- {
- "filename": "string",
- "status": "string"
}
], - "html_url": "string",
- "parents": [
- {
- "created": "2019-08-24T14:15:22Z",
- "sha": "string",
- "url": "string"
}
], - "sha": "string",
- "stats": {
- "additions": 0,
- "deletions": 0,
- "total": 0
}, - "url": "string"
}
]| owner required | string owner of the repo |
| repo required | string name of the repo |
| ref required | string name of branch/tag/commit |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
{- "commit_url": "string",
- "repository": {
- "allow_fast_forward_only_merge": true,
- "allow_merge_commits": true,
- "allow_rebase": true,
- "allow_rebase_explicit": true,
- "allow_rebase_update": true,
- "allow_squash_merge": true,
- "archived": true,
- "archived_at": "2019-08-24T14:15:22Z",
- "avatar_url": "string",
- "clone_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "default_allow_maintainer_edit": true,
- "default_branch": "string",
- "default_delete_branch_after_merge": true,
- "default_merge_style": "string",
- "description": "string",
- "empty": true,
- "external_tracker": {
- "external_tracker_format": "string",
- "external_tracker_regexp_pattern": "string",
- "external_tracker_style": "string",
- "external_tracker_url": "string"
}, - "external_wiki": {
- "external_wiki_url": "string"
}, - "fork": true,
- "forks_count": 0,
- "full_name": "string",
- "has_actions": true,
- "has_issues": true,
- "has_packages": true,
- "has_projects": true,
- "has_pull_requests": true,
- "has_releases": true,
- "has_wiki": true,
- "html_url": "string",
- "id": 0,
- "ignore_whitespace_conflicts": true,
- "internal": true,
- "internal_tracker": {
- "allow_only_contributors_to_track_time": true,
- "enable_issue_dependencies": true,
- "enable_time_tracker": true
}, - "language": "string",
- "languages_url": "string",
- "licenses": [
- "string"
], - "link": "string",
- "mirror": true,
- "mirror_interval": "string",
- "mirror_updated": "2019-08-24T14:15:22Z",
- "name": "string",
- "object_format_name": "sha1",
- "open_issues_count": 0,
- "open_pr_counter": 0,
- "original_url": "string",
- "owner": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "parent": { },
- "permissions": {
- "admin": true,
- "pull": true,
- "push": true
}, - "private": true,
- "projects_mode": "string",
- "release_counter": 0,
- "repo_transfer": {
- "doer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "recipient": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "teams": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
]
}, - "size": 0,
- "ssh_url": "string",
- "stars_count": 0,
- "template": true,
- "topics": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "watchers_count": 0,
- "website": "string"
}, - "sha": "string",
- "state": "string",
- "statuses": [
- {
- "context": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "creator": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "description": "string",
- "id": 0,
- "status": "string",
- "target_url": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string"
}
], - "total_count": 0,
- "url": "string"
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| ref required | string name of branch/tag/commit |
| sort | string Enum: "oldest" "recentupdate" "leastupdate" "leastindex" "highestindex" type of sort |
| state | string Enum: "pending" "success" "error" "failure" "warning" type of state |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "context": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "creator": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "description": "string",
- "id": 0,
- "status": "string",
- "target_url": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string"
}
]| owner required | string owner of the repo |
| repo required | string name of the repo |
| sha required | string SHA of the commit to get |
{- "additions": 0,
- "allow_maintainer_edit": true,
- "assignee": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "assignees": [
- {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
], - "base": {
- "label": "string",
- "ref": "string",
- "repo": {
- "allow_fast_forward_only_merge": true,
- "allow_merge_commits": true,
- "allow_rebase": true,
- "allow_rebase_explicit": true,
- "allow_rebase_update": true,
- "allow_squash_merge": true,
- "archived": true,
- "archived_at": "2019-08-24T14:15:22Z",
- "avatar_url": "string",
- "clone_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "default_allow_maintainer_edit": true,
- "default_branch": "string",
- "default_delete_branch_after_merge": true,
- "default_merge_style": "string",
- "description": "string",
- "empty": true,
- "external_tracker": {
- "external_tracker_format": "string",
- "external_tracker_regexp_pattern": "string",
- "external_tracker_style": "string",
- "external_tracker_url": "string"
}, - "external_wiki": {
- "external_wiki_url": "string"
}, - "fork": true,
- "forks_count": 0,
- "full_name": "string",
- "has_actions": true,
- "has_issues": true,
- "has_packages": true,
- "has_projects": true,
- "has_pull_requests": true,
- "has_releases": true,
- "has_wiki": true,
- "html_url": "string",
- "id": 0,
- "ignore_whitespace_conflicts": true,
- "internal": true,
- "internal_tracker": {
- "allow_only_contributors_to_track_time": true,
- "enable_issue_dependencies": true,
- "enable_time_tracker": true
}, - "language": "string",
- "languages_url": "string",
- "licenses": [
- "string"
], - "link": "string",
- "mirror": true,
- "mirror_interval": "string",
- "mirror_updated": "2019-08-24T14:15:22Z",
- "name": "string",
- "object_format_name": "sha1",
- "open_issues_count": 0,
- "open_pr_counter": 0,
- "original_url": "string",
- "owner": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "parent": { },
- "permissions": {
- "admin": true,
- "pull": true,
- "push": true
}, - "private": true,
- "projects_mode": "string",
- "release_counter": 0,
- "repo_transfer": {
- "doer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "recipient": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "teams": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
]
}, - "size": 0,
- "ssh_url": "string",
- "stars_count": 0,
- "template": true,
- "topics": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "watchers_count": 0,
- "website": "string"
}, - "repo_id": 0,
- "sha": "string"
}, - "body": "string",
- "changed_files": 0,
- "closed_at": "2019-08-24T14:15:22Z",
- "comments": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "deletions": 0,
- "diff_url": "string",
- "draft": true,
- "due_date": "2019-08-24T14:15:22Z",
- "head": {
- "label": "string",
- "ref": "string",
- "repo": {
- "allow_fast_forward_only_merge": true,
- "allow_merge_commits": true,
- "allow_rebase": true,
- "allow_rebase_explicit": true,
- "allow_rebase_update": true,
- "allow_squash_merge": true,
- "archived": true,
- "archived_at": "2019-08-24T14:15:22Z",
- "avatar_url": "string",
- "clone_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "default_allow_maintainer_edit": true,
- "default_branch": "string",
- "default_delete_branch_after_merge": true,
- "default_merge_style": "string",
- "description": "string",
- "empty": true,
- "external_tracker": {
- "external_tracker_format": "string",
- "external_tracker_regexp_pattern": "string",
- "external_tracker_style": "string",
- "external_tracker_url": "string"
}, - "external_wiki": {
- "external_wiki_url": "string"
}, - "fork": true,
- "forks_count": 0,
- "full_name": "string",
- "has_actions": true,
- "has_issues": true,
- "has_packages": true,
- "has_projects": true,
- "has_pull_requests": true,
- "has_releases": true,
- "has_wiki": true,
- "html_url": "string",
- "id": 0,
- "ignore_whitespace_conflicts": true,
- "internal": true,
- "internal_tracker": {
- "allow_only_contributors_to_track_time": true,
- "enable_issue_dependencies": true,
- "enable_time_tracker": true
}, - "language": "string",
- "languages_url": "string",
- "licenses": [
- "string"
], - "link": "string",
- "mirror": true,
- "mirror_interval": "string",
- "mirror_updated": "2019-08-24T14:15:22Z",
- "name": "string",
- "object_format_name": "sha1",
- "open_issues_count": 0,
- "open_pr_counter": 0,
- "original_url": "string",
- "owner": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "parent": { },
- "permissions": {
- "admin": true,
- "pull": true,
- "push": true
}, - "private": true,
- "projects_mode": "string",
- "release_counter": 0,
- "repo_transfer": {
- "doer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "recipient": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "teams": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
]
}, - "size": 0,
- "ssh_url": "string",
- "stars_count": 0,
- "template": true,
- "topics": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "watchers_count": 0,
- "website": "string"
}, - "repo_id": 0,
- "sha": "string"
}, - "html_url": "string",
- "id": 0,
- "is_locked": true,
- "labels": [
- {
- "color": "00aabb",
- "description": "string",
- "exclusive": false,
- "id": 0,
- "is_archived": false,
- "name": "string",
- "url": "string"
}
], - "merge_base": "string",
- "merge_commit_sha": "string",
- "mergeable": true,
- "merged": true,
- "merged_at": "2019-08-24T14:15:22Z",
- "merged_by": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "milestone": {
- "closed_at": "2019-08-24T14:15:22Z",
- "closed_issues": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "description": "string",
- "due_on": "2019-08-24T14:15:22Z",
- "id": 0,
- "open_issues": 0,
- "state": "string",
- "title": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "number": 0,
- "patch_url": "string",
- "pin_order": 0,
- "requested_reviewers": [
- {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
], - "requested_reviewers_teams": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
], - "review_comments": 0,
- "state": "string",
- "title": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| basehead required | string compare two branches or commits |
{- "commits": [
- {
- "author": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "commit": {
- "author": {
- "date": "string",
- "email": "user@example.com",
- "name": "string"
}, - "committer": {
- "date": "string",
- "email": "user@example.com",
- "name": "string"
}, - "message": "string",
- "tree": {
- "created": "2019-08-24T14:15:22Z",
- "sha": "string",
- "url": "string"
}, - "url": "string",
- "verification": {
- "payload": "string",
- "reason": "string",
- "signature": "string",
- "signer": {
- "email": "user@example.com",
- "name": "string",
- "username": "string"
}, - "verified": true
}
}, - "committer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "created": "2019-08-24T14:15:22Z",
- "files": [
- {
- "filename": "string",
- "status": "string"
}
], - "html_url": "string",
- "parents": [
- {
- "created": "2019-08-24T14:15:22Z",
- "sha": "string",
- "url": "string"
}
], - "sha": "string",
- "stats": {
- "additions": 0,
- "deletions": 0,
- "total": 0
}, - "url": "string"
}
], - "total_commits": 0
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| ref | string The name of the commit/branch/tag. Default the repository’s default branch (usually master) |
[- {
- "_links": {
- "git": "string",
- "html": "string",
- "self": "string"
}, - "content": "string",
- "download_url": "string",
- "encoding": "string",
- "git_url": "string",
- "html_url": "string",
- "last_commit_sha": "string",
- "name": "string",
- "path": "string",
- "sha": "string",
- "size": 0,
- "submodule_git_url": "string",
- "target": "string",
- "type": "string",
- "url": "string"
}
]| owner required | string owner of the repo |
| repo required | string name of the repo |
object (Identity) Identity for a person's identity like an author or committer | |
| branch | string branch (optional) to base this file from. if not given, the default branch is used |
object (Identity) Identity for a person's identity like an author or committer | |
object (CommitDateOptions) CommitDateOptions store dates for GIT_AUTHOR_DATE and GIT_COMMITTER_DATE | |
required | Array of objects (ChangeFileOperation) list of file operations |
| message | string message (optional) for the commit of this file. if not supplied, a default message will be used |
| new_branch | string new_branch (optional) will make a new branch from |
| signoff | boolean Add a Signed-off-by trailer by the committer at the end of the commit log message. |
{- "author": {
- "email": "user@example.com",
- "name": "string"
}, - "branch": "string",
- "committer": {
- "email": "user@example.com",
- "name": "string"
}, - "dates": {
- "author": "2019-08-24T14:15:22Z",
- "committer": "2019-08-24T14:15:22Z"
}, - "files": [
- {
- "content": "string",
- "from_path": "string",
- "operation": "create",
- "path": "string",
- "sha": "string"
}
], - "message": "string",
- "new_branch": "string",
- "signoff": true
}{- "commit": {
- "author": {
- "date": "string",
- "email": "user@example.com",
- "name": "string"
}, - "committer": {
- "date": "string",
- "email": "user@example.com",
- "name": "string"
}, - "created": "2019-08-24T14:15:22Z",
- "html_url": "string",
- "message": "string",
- "parents": [
- {
- "created": "2019-08-24T14:15:22Z",
- "sha": "string",
- "url": "string"
}
], - "sha": "string",
- "tree": {
- "created": "2019-08-24T14:15:22Z",
- "sha": "string",
- "url": "string"
}, - "url": "string"
}, - "files": [
- {
- "_links": {
- "git": "string",
- "html": "string",
- "self": "string"
}, - "content": "string",
- "download_url": "string",
- "encoding": "string",
- "git_url": "string",
- "html_url": "string",
- "last_commit_sha": "string",
- "name": "string",
- "path": "string",
- "sha": "string",
- "size": 0,
- "submodule_git_url": "string",
- "target": "string",
- "type": "string",
- "url": "string"
}
], - "verification": {
- "payload": "string",
- "reason": "string",
- "signature": "string",
- "signer": {
- "email": "user@example.com",
- "name": "string",
- "username": "string"
}, - "verified": true
}
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| filepath required | string path of the dir, file, symlink or submodule in the repo |
| ref | string The name of the commit/branch/tag. Default the repository’s default branch (usually master) |
{- "_links": {
- "git": "string",
- "html": "string",
- "self": "string"
}, - "content": "string",
- "download_url": "string",
- "encoding": "string",
- "git_url": "string",
- "html_url": "string",
- "last_commit_sha": "string",
- "name": "string",
- "path": "string",
- "sha": "string",
- "size": 0,
- "submodule_git_url": "string",
- "target": "string",
- "type": "string",
- "url": "string"
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| filepath required | string path of the file to update |
object (Identity) Identity for a person's identity like an author or committer | |
| branch | string branch (optional) to base this file from. if not given, the default branch is used |
object (Identity) Identity for a person's identity like an author or committer | |
| content required | string content must be base64 encoded |
object (CommitDateOptions) CommitDateOptions store dates for GIT_AUTHOR_DATE and GIT_COMMITTER_DATE | |
| from_path | string from_path (optional) is the path of the original file which will be moved/renamed to the path in the URL |
| message | string message (optional) for the commit of this file. if not supplied, a default message will be used |
| new_branch | string new_branch (optional) will make a new branch from |
| sha required | string sha is the SHA for the file that already exists |
| signoff | boolean Add a Signed-off-by trailer by the committer at the end of the commit log message. |
{- "author": {
- "email": "user@example.com",
- "name": "string"
}, - "branch": "string",
- "committer": {
- "email": "user@example.com",
- "name": "string"
}, - "content": "string",
- "dates": {
- "author": "2019-08-24T14:15:22Z",
- "committer": "2019-08-24T14:15:22Z"
}, - "from_path": "string",
- "message": "string",
- "new_branch": "string",
- "sha": "string",
- "signoff": true
}{- "commit": {
- "author": {
- "date": "string",
- "email": "user@example.com",
- "name": "string"
}, - "committer": {
- "date": "string",
- "email": "user@example.com",
- "name": "string"
}, - "created": "2019-08-24T14:15:22Z",
- "html_url": "string",
- "message": "string",
- "parents": [
- {
- "created": "2019-08-24T14:15:22Z",
- "sha": "string",
- "url": "string"
}
], - "sha": "string",
- "tree": {
- "created": "2019-08-24T14:15:22Z",
- "sha": "string",
- "url": "string"
}, - "url": "string"
}, - "content": {
- "_links": {
- "git": "string",
- "html": "string",
- "self": "string"
}, - "content": "string",
- "download_url": "string",
- "encoding": "string",
- "git_url": "string",
- "html_url": "string",
- "last_commit_sha": "string",
- "name": "string",
- "path": "string",
- "sha": "string",
- "size": 0,
- "submodule_git_url": "string",
- "target": "string",
- "type": "string",
- "url": "string"
}, - "verification": {
- "payload": "string",
- "reason": "string",
- "signature": "string",
- "signer": {
- "email": "user@example.com",
- "name": "string",
- "username": "string"
}, - "verified": true
}
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| filepath required | string path of the file to create |
object (Identity) Identity for a person's identity like an author or committer | |
| branch | string branch (optional) to base this file from. if not given, the default branch is used |
object (Identity) Identity for a person's identity like an author or committer | |
| content required | string content must be base64 encoded |
object (CommitDateOptions) CommitDateOptions store dates for GIT_AUTHOR_DATE and GIT_COMMITTER_DATE | |
| message | string message (optional) for the commit of this file. if not supplied, a default message will be used |
| new_branch | string new_branch (optional) will make a new branch from |
| signoff | boolean Add a Signed-off-by trailer by the committer at the end of the commit log message. |
{- "author": {
- "email": "user@example.com",
- "name": "string"
}, - "branch": "string",
- "committer": {
- "email": "user@example.com",
- "name": "string"
}, - "content": "string",
- "dates": {
- "author": "2019-08-24T14:15:22Z",
- "committer": "2019-08-24T14:15:22Z"
}, - "message": "string",
- "new_branch": "string",
- "signoff": true
}{- "commit": {
- "author": {
- "date": "string",
- "email": "user@example.com",
- "name": "string"
}, - "committer": {
- "date": "string",
- "email": "user@example.com",
- "name": "string"
}, - "created": "2019-08-24T14:15:22Z",
- "html_url": "string",
- "message": "string",
- "parents": [
- {
- "created": "2019-08-24T14:15:22Z",
- "sha": "string",
- "url": "string"
}
], - "sha": "string",
- "tree": {
- "created": "2019-08-24T14:15:22Z",
- "sha": "string",
- "url": "string"
}, - "url": "string"
}, - "content": {
- "_links": {
- "git": "string",
- "html": "string",
- "self": "string"
}, - "content": "string",
- "download_url": "string",
- "encoding": "string",
- "git_url": "string",
- "html_url": "string",
- "last_commit_sha": "string",
- "name": "string",
- "path": "string",
- "sha": "string",
- "size": 0,
- "submodule_git_url": "string",
- "target": "string",
- "type": "string",
- "url": "string"
}, - "verification": {
- "payload": "string",
- "reason": "string",
- "signature": "string",
- "signer": {
- "email": "user@example.com",
- "name": "string",
- "username": "string"
}, - "verified": true
}
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| filepath required | string path of the file to delete |
object (Identity) Identity for a person's identity like an author or committer | |
| branch | string branch (optional) to base this file from. if not given, the default branch is used |
object (Identity) Identity for a person's identity like an author or committer | |
object (CommitDateOptions) CommitDateOptions store dates for GIT_AUTHOR_DATE and GIT_COMMITTER_DATE | |
| message | string message (optional) for the commit of this file. if not supplied, a default message will be used |
| new_branch | string new_branch (optional) will make a new branch from |
| sha required | string sha is the SHA for the file that already exists |
| signoff | boolean Add a Signed-off-by trailer by the committer at the end of the commit log message. |
{- "author": {
- "email": "user@example.com",
- "name": "string"
}, - "branch": "string",
- "committer": {
- "email": "user@example.com",
- "name": "string"
}, - "dates": {
- "author": "2019-08-24T14:15:22Z",
- "committer": "2019-08-24T14:15:22Z"
}, - "message": "string",
- "new_branch": "string",
- "sha": "string",
- "signoff": true
}{- "commit": {
- "author": {
- "date": "string",
- "email": "user@example.com",
- "name": "string"
}, - "committer": {
- "date": "string",
- "email": "user@example.com",
- "name": "string"
}, - "created": "2019-08-24T14:15:22Z",
- "html_url": "string",
- "message": "string",
- "parents": [
- {
- "created": "2019-08-24T14:15:22Z",
- "sha": "string",
- "url": "string"
}
], - "sha": "string",
- "tree": {
- "created": "2019-08-24T14:15:22Z",
- "sha": "string",
- "url": "string"
}, - "url": "string"
}, - "content": null,
- "verification": {
- "payload": "string",
- "reason": "string",
- "signature": "string",
- "signer": {
- "email": "user@example.com",
- "name": "string",
- "username": "string"
}, - "verified": true
}
}| owner required | string owner of the repo |
| repo required | string name of the repo |
object (Identity) Identity for a person's identity like an author or committer | |
| branch | string branch (optional) to base this file from. if not given, the default branch is used |
object (Identity) Identity for a person's identity like an author or committer | |
| content required | string content must be base64 encoded |
object (CommitDateOptions) CommitDateOptions store dates for GIT_AUTHOR_DATE and GIT_COMMITTER_DATE | |
| from_path | string from_path (optional) is the path of the original file which will be moved/renamed to the path in the URL |
| message | string message (optional) for the commit of this file. if not supplied, a default message will be used |
| new_branch | string new_branch (optional) will make a new branch from |
| sha required | string sha is the SHA for the file that already exists |
| signoff | boolean Add a Signed-off-by trailer by the committer at the end of the commit log message. |
{- "author": {
- "email": "user@example.com",
- "name": "string"
}, - "branch": "string",
- "committer": {
- "email": "user@example.com",
- "name": "string"
}, - "content": "string",
- "dates": {
- "author": "2019-08-24T14:15:22Z",
- "committer": "2019-08-24T14:15:22Z"
}, - "from_path": "string",
- "message": "string",
- "new_branch": "string",
- "sha": "string",
- "signoff": true
}{- "commit": {
- "author": {
- "date": "string",
- "email": "user@example.com",
- "name": "string"
}, - "committer": {
- "date": "string",
- "email": "user@example.com",
- "name": "string"
}, - "created": "2019-08-24T14:15:22Z",
- "html_url": "string",
- "message": "string",
- "parents": [
- {
- "created": "2019-08-24T14:15:22Z",
- "sha": "string",
- "url": "string"
}
], - "sha": "string",
- "tree": {
- "created": "2019-08-24T14:15:22Z",
- "sha": "string",
- "url": "string"
}, - "url": "string"
}, - "content": {
- "_links": {
- "git": "string",
- "html": "string",
- "self": "string"
}, - "content": "string",
- "download_url": "string",
- "encoding": "string",
- "git_url": "string",
- "html_url": "string",
- "last_commit_sha": "string",
- "name": "string",
- "path": "string",
- "sha": "string",
- "size": 0,
- "submodule_git_url": "string",
- "target": "string",
- "type": "string",
- "url": "string"
}, - "verification": {
- "payload": "string",
- "reason": "string",
- "signature": "string",
- "signer": {
- "email": "user@example.com",
- "name": "string",
- "username": "string"
}, - "verified": true
}
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| filepath required | string filepath of file to get |
| ref | string The name of the commit/branch/tag. Default the repository’s default branch (usually master) |
| owner required | string owner of the repo |
| repo required | string name of the repo |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "allow_fast_forward_only_merge": true,
- "allow_merge_commits": true,
- "allow_rebase": true,
- "allow_rebase_explicit": true,
- "allow_rebase_update": true,
- "allow_squash_merge": true,
- "archived": true,
- "archived_at": "2019-08-24T14:15:22Z",
- "avatar_url": "string",
- "clone_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "default_allow_maintainer_edit": true,
- "default_branch": "string",
- "default_delete_branch_after_merge": true,
- "default_merge_style": "string",
- "description": "string",
- "empty": true,
- "external_tracker": {
- "external_tracker_format": "string",
- "external_tracker_regexp_pattern": "string",
- "external_tracker_style": "string",
- "external_tracker_url": "string"
}, - "external_wiki": {
- "external_wiki_url": "string"
}, - "fork": true,
- "forks_count": 0,
- "full_name": "string",
- "has_actions": true,
- "has_issues": true,
- "has_packages": true,
- "has_projects": true,
- "has_pull_requests": true,
- "has_releases": true,
- "has_wiki": true,
- "html_url": "string",
- "id": 0,
- "ignore_whitespace_conflicts": true,
- "internal": true,
- "internal_tracker": {
- "allow_only_contributors_to_track_time": true,
- "enable_issue_dependencies": true,
- "enable_time_tracker": true
}, - "language": "string",
- "languages_url": "string",
- "licenses": [
- "string"
], - "link": "string",
- "mirror": true,
- "mirror_interval": "string",
- "mirror_updated": "2019-08-24T14:15:22Z",
- "name": "string",
- "object_format_name": "sha1",
- "open_issues_count": 0,
- "open_pr_counter": 0,
- "original_url": "string",
- "owner": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "parent": { },
- "permissions": {
- "admin": true,
- "pull": true,
- "push": true
}, - "private": true,
- "projects_mode": "string",
- "release_counter": 0,
- "repo_transfer": {
- "doer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "recipient": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "teams": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
]
}, - "size": 0,
- "ssh_url": "string",
- "stars_count": 0,
- "template": true,
- "topics": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "watchers_count": 0,
- "website": "string"
}
]| owner required | string owner of the repo to fork |
| repo required | string name of the repo to fork |
| name | string name of the forked repository |
| organization | string organization name, if forking into an organization |
{- "name": "string",
- "organization": "string"
}{- "allow_fast_forward_only_merge": true,
- "allow_merge_commits": true,
- "allow_rebase": true,
- "allow_rebase_explicit": true,
- "allow_rebase_update": true,
- "allow_squash_merge": true,
- "archived": true,
- "archived_at": "2019-08-24T14:15:22Z",
- "avatar_url": "string",
- "clone_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "default_allow_maintainer_edit": true,
- "default_branch": "string",
- "default_delete_branch_after_merge": true,
- "default_merge_style": "string",
- "description": "string",
- "empty": true,
- "external_tracker": {
- "external_tracker_format": "string",
- "external_tracker_regexp_pattern": "string",
- "external_tracker_style": "string",
- "external_tracker_url": "string"
}, - "external_wiki": {
- "external_wiki_url": "string"
}, - "fork": true,
- "forks_count": 0,
- "full_name": "string",
- "has_actions": true,
- "has_issues": true,
- "has_packages": true,
- "has_projects": true,
- "has_pull_requests": true,
- "has_releases": true,
- "has_wiki": true,
- "html_url": "string",
- "id": 0,
- "ignore_whitespace_conflicts": true,
- "internal": true,
- "internal_tracker": {
- "allow_only_contributors_to_track_time": true,
- "enable_issue_dependencies": true,
- "enable_time_tracker": true
}, - "language": "string",
- "languages_url": "string",
- "licenses": [
- "string"
], - "link": "string",
- "mirror": true,
- "mirror_interval": "string",
- "mirror_updated": "2019-08-24T14:15:22Z",
- "name": "string",
- "object_format_name": "sha1",
- "open_issues_count": 0,
- "open_pr_counter": 0,
- "original_url": "string",
- "owner": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "parent": { },
- "permissions": {
- "admin": true,
- "pull": true,
- "push": true
}, - "private": true,
- "projects_mode": "string",
- "release_counter": 0,
- "repo_transfer": {
- "doer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "recipient": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "teams": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
]
}, - "size": 0,
- "ssh_url": "string",
- "stars_count": 0,
- "template": true,
- "topics": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "watchers_count": 0,
- "website": "string"
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| sha required | string sha of the commit |
{- "content": "string",
- "encoding": "string",
- "sha": "string",
- "size": 0,
- "url": "string"
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| sha required | string a git ref or commit sha |
| stat | boolean include diff stats for every commit (disable for speedup, default 'true') |
| verification | boolean include verification for every commit (disable for speedup, default 'true') |
| files | boolean include a list of affected files for every commit (disable for speedup, default 'true') |
{- "author": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "commit": {
- "author": {
- "date": "string",
- "email": "user@example.com",
- "name": "string"
}, - "committer": {
- "date": "string",
- "email": "user@example.com",
- "name": "string"
}, - "message": "string",
- "tree": {
- "created": "2019-08-24T14:15:22Z",
- "sha": "string",
- "url": "string"
}, - "url": "string",
- "verification": {
- "payload": "string",
- "reason": "string",
- "signature": "string",
- "signer": {
- "email": "user@example.com",
- "name": "string",
- "username": "string"
}, - "verified": true
}
}, - "committer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "created": "2019-08-24T14:15:22Z",
- "files": [
- {
- "filename": "string",
- "status": "string"
}
], - "html_url": "string",
- "parents": [
- {
- "created": "2019-08-24T14:15:22Z",
- "sha": "string",
- "url": "string"
}
], - "sha": "string",
- "stats": {
- "additions": 0,
- "deletions": 0,
- "total": 0
}, - "url": "string"
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| sha required | string SHA of the commit to get |
| diffType required | string Enum: "diff" "patch" whether the output is diff or patch |
"string"| owner required | string owner of the repo |
| repo required | string name of the repo |
| sha required | string a git ref or commit sha |
| verification | boolean include verification for every commit (disable for speedup, default 'true') |
| files | boolean include a list of affected files for every commit (disable for speedup, default 'true') |
{- "commit": {
- "author": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "commit": {
- "author": {
- "date": "string",
- "email": "user@example.com",
- "name": "string"
}, - "committer": {
- "date": "string",
- "email": "user@example.com",
- "name": "string"
}, - "message": "string",
- "tree": {
- "created": "2019-08-24T14:15:22Z",
- "sha": "string",
- "url": "string"
}, - "url": "string",
- "verification": {
- "payload": "string",
- "reason": "string",
- "signature": "string",
- "signer": {
- "email": "user@example.com",
- "name": "string",
- "username": "string"
}, - "verified": true
}
}, - "committer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "created": "2019-08-24T14:15:22Z",
- "files": [
- {
- "filename": "string",
- "status": "string"
}
], - "html_url": "string",
- "parents": [
- {
- "created": "2019-08-24T14:15:22Z",
- "sha": "string",
- "url": "string"
}
], - "sha": "string",
- "stats": {
- "additions": 0,
- "deletions": 0,
- "total": 0
}, - "url": "string"
}, - "message": "string"
}| owner required | string owner of the repo |
| repo required | string name of the repo |
[- {
- "object": {
- "sha": "string",
- "type": "string",
- "url": "string"
}, - "ref": "string",
- "url": "string"
}
]| owner required | string owner of the repo |
| repo required | string name of the repo |
| ref required | string part or full name of the ref |
[- {
- "object": {
- "sha": "string",
- "type": "string",
- "url": "string"
}, - "ref": "string",
- "url": "string"
}
]| owner required | string owner of the repo |
| repo required | string name of the repo |
| sha required | string sha of the tag. The Git tags API only supports annotated tag objects, not lightweight tags. |
{- "message": "string",
- "object": {
- "sha": "string",
- "type": "string",
- "url": "string"
}, - "sha": "string",
- "tag": "string",
- "tagger": {
- "date": "string",
- "email": "user@example.com",
- "name": "string"
}, - "url": "string",
- "verification": {
- "payload": "string",
- "reason": "string",
- "signature": "string",
- "signer": {
- "email": "user@example.com",
- "name": "string",
- "username": "string"
}, - "verified": true
}
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| sha required | string sha of the commit |
| recursive | boolean show all directories and files |
| page | integer page number; the 'truncated' field in the response will be true if there are still more items after this page, false if the last page |
| per_page | integer number of items per page |
{- "page": 0,
- "sha": "string",
- "total_count": 0,
- "tree": [
- {
- "mode": "string",
- "path": "string",
- "sha": "string",
- "size": 0,
- "type": "string",
- "url": "string"
}
], - "truncated": true,
- "url": "string"
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "active": true,
- "authorization_header": "string",
- "branch_filter": "string",
- "config": {
- "property1": "string",
- "property2": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "events": [
- "string"
], - "id": 0,
- "type": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}
]| owner required | string owner of the repo |
| repo required | string name of the repo |
| active | boolean Default: false |
| authorization_header | string |
| branch_filter | string |
required | object (CreateHookOptionConfig) CreateHookOptionConfig has all config options in it required are "content_type" and "url" Required |
| events | Array of strings |
| type required | string Enum: "dingtalk" "discord" "gitea" "gogs" "msteams" "slack" "telegram" "feishu" "wechatwork" "packagist" |
{- "active": false,
- "authorization_header": "string",
- "branch_filter": "string",
- "config": {
- "property1": "string",
- "property2": "string"
}, - "events": [
- "string"
], - "type": "dingtalk"
}{- "active": true,
- "authorization_header": "string",
- "branch_filter": "string",
- "config": {
- "property1": "string",
- "property2": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "events": [
- "string"
], - "id": 0,
- "type": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}| owner required | string owner of the repo |
| repo required | string name of the repo |
[- {
- "content": "string",
- "is_active": true,
- "name": "string"
}
]| owner required | string owner of the repo |
| repo required | string name of the repo |
| id required | string id of the hook to get |
{- "content": "string",
- "is_active": true,
- "name": "string"
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| id required | string id of the hook to get |
| content | string |
{- "content": "string"
}{- "content": "string",
- "is_active": true,
- "name": "string"
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| id required | integer <int64> id of the hook to get |
{- "active": true,
- "authorization_header": "string",
- "branch_filter": "string",
- "config": {
- "property1": "string",
- "property2": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "events": [
- "string"
], - "id": 0,
- "type": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| id required | integer <int64> index of the hook |
| active | boolean |
| authorization_header | string |
| branch_filter | string |
object | |
| events | Array of strings |
{- "active": true,
- "authorization_header": "string",
- "branch_filter": "string",
- "config": {
- "property1": "string",
- "property2": "string"
}, - "events": [
- "string"
]
}{- "active": true,
- "authorization_header": "string",
- "branch_filter": "string",
- "config": {
- "property1": "string",
- "property2": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "events": [
- "string"
], - "id": 0,
- "type": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| id required | integer <int64> id of the hook to test |
| ref | string The name of the commit/branch/tag, indicates which commit will be loaded to the webhook payload. |
| owner required | string owner of the repo |
| repo required | string name of the repo |
{- "blank_issues_enabled": true,
- "contact_links": [
- {
- "about": "string",
- "name": "string",
- "url": "string"
}
]
}| owner required | string owner of the repo |
| repo required | string name of the repo |
{- "message": "string",
- "valid": true
}| owner required | string owner of the repo |
| repo required | string name of the repo |
[- {
- "about": "string",
- "assignees": [
- "string"
], - "body": [
- {
- "attributes": {
- "property1": null,
- "property2": null
}, - "id": "string",
- "type": "string",
- "validations": {
- "property1": null,
- "property2": null
}, - "visible": [
- "string"
]
}
], - "content": "string",
- "file_name": "string",
- "labels": [
- "string"
], - "name": "string",
- "ref": "string",
- "title": "string"
}
]| owner required | string owner of the repo |
| repo required | string name of the repo |
[- {
- "assets": [
- {
- "browser_download_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "download_count": 0,
- "id": 0,
- "name": "string",
- "size": 0,
- "uuid": "string"
}
], - "assignee": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "assignees": [
- {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
], - "body": "string",
- "closed_at": "2019-08-24T14:15:22Z",
- "comments": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "due_date": "2019-08-24T14:15:22Z",
- "html_url": "string",
- "id": 0,
- "is_locked": true,
- "labels": [
- {
- "color": "00aabb",
- "description": "string",
- "exclusive": false,
- "id": 0,
- "is_archived": false,
- "name": "string",
- "url": "string"
}
], - "milestone": {
- "closed_at": "2019-08-24T14:15:22Z",
- "closed_issues": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "description": "string",
- "due_on": "2019-08-24T14:15:22Z",
- "id": 0,
- "open_issues": 0,
- "state": "string",
- "title": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "number": 0,
- "original_author": "string",
- "original_author_id": 0,
- "pin_order": 0,
- "pull_request": {
- "draft": true,
- "html_url": "string",
- "merged": true,
- "merged_at": "2019-08-24T14:15:22Z"
}, - "ref": "string",
- "repository": {
- "full_name": "string",
- "id": 0,
- "name": "string",
- "owner": "string"
}, - "state": "string",
- "title": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
}
]| owner required | string owner of the repo |
| repo required | string name of the repo |
| key_id | integer the key_id to search for |
| fingerprint | string fingerprint of the key |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "created_at": "2019-08-24T14:15:22Z",
- "fingerprint": "string",
- "id": 0,
- "key": "string",
- "key_id": 0,
- "read_only": true,
- "repository": {
- "allow_fast_forward_only_merge": true,
- "allow_merge_commits": true,
- "allow_rebase": true,
- "allow_rebase_explicit": true,
- "allow_rebase_update": true,
- "allow_squash_merge": true,
- "archived": true,
- "archived_at": "2019-08-24T14:15:22Z",
- "avatar_url": "string",
- "clone_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "default_allow_maintainer_edit": true,
- "default_branch": "string",
- "default_delete_branch_after_merge": true,
- "default_merge_style": "string",
- "description": "string",
- "empty": true,
- "external_tracker": {
- "external_tracker_format": "string",
- "external_tracker_regexp_pattern": "string",
- "external_tracker_style": "string",
- "external_tracker_url": "string"
}, - "external_wiki": {
- "external_wiki_url": "string"
}, - "fork": true,
- "forks_count": 0,
- "full_name": "string",
- "has_actions": true,
- "has_issues": true,
- "has_packages": true,
- "has_projects": true,
- "has_pull_requests": true,
- "has_releases": true,
- "has_wiki": true,
- "html_url": "string",
- "id": 0,
- "ignore_whitespace_conflicts": true,
- "internal": true,
- "internal_tracker": {
- "allow_only_contributors_to_track_time": true,
- "enable_issue_dependencies": true,
- "enable_time_tracker": true
}, - "language": "string",
- "languages_url": "string",
- "licenses": [
- "string"
], - "link": "string",
- "mirror": true,
- "mirror_interval": "string",
- "mirror_updated": "2019-08-24T14:15:22Z",
- "name": "string",
- "object_format_name": "sha1",
- "open_issues_count": 0,
- "open_pr_counter": 0,
- "original_url": "string",
- "owner": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "parent": { },
- "permissions": {
- "admin": true,
- "pull": true,
- "push": true
}, - "private": true,
- "projects_mode": "string",
- "release_counter": 0,
- "repo_transfer": {
- "doer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "recipient": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "teams": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
]
}, - "size": 0,
- "ssh_url": "string",
- "stars_count": 0,
- "template": true,
- "topics": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "watchers_count": 0,
- "website": "string"
}, - "title": "string",
- "url": "string"
}
]| owner required | string owner of the repo |
| repo required | string name of the repo |
| key required | string unique An armored SSH key to add |
| read_only | boolean Describe if the key has only read access or read/write |
| title required | string unique Title of the key to add |
{- "key": "string",
- "read_only": true,
- "title": "string"
}{- "created_at": "2019-08-24T14:15:22Z",
- "fingerprint": "string",
- "id": 0,
- "key": "string",
- "key_id": 0,
- "read_only": true,
- "repository": {
- "allow_fast_forward_only_merge": true,
- "allow_merge_commits": true,
- "allow_rebase": true,
- "allow_rebase_explicit": true,
- "allow_rebase_update": true,
- "allow_squash_merge": true,
- "archived": true,
- "archived_at": "2019-08-24T14:15:22Z",
- "avatar_url": "string",
- "clone_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "default_allow_maintainer_edit": true,
- "default_branch": "string",
- "default_delete_branch_after_merge": true,
- "default_merge_style": "string",
- "description": "string",
- "empty": true,
- "external_tracker": {
- "external_tracker_format": "string",
- "external_tracker_regexp_pattern": "string",
- "external_tracker_style": "string",
- "external_tracker_url": "string"
}, - "external_wiki": {
- "external_wiki_url": "string"
}, - "fork": true,
- "forks_count": 0,
- "full_name": "string",
- "has_actions": true,
- "has_issues": true,
- "has_packages": true,
- "has_projects": true,
- "has_pull_requests": true,
- "has_releases": true,
- "has_wiki": true,
- "html_url": "string",
- "id": 0,
- "ignore_whitespace_conflicts": true,
- "internal": true,
- "internal_tracker": {
- "allow_only_contributors_to_track_time": true,
- "enable_issue_dependencies": true,
- "enable_time_tracker": true
}, - "language": "string",
- "languages_url": "string",
- "licenses": [
- "string"
], - "link": "string",
- "mirror": true,
- "mirror_interval": "string",
- "mirror_updated": "2019-08-24T14:15:22Z",
- "name": "string",
- "object_format_name": "sha1",
- "open_issues_count": 0,
- "open_pr_counter": 0,
- "original_url": "string",
- "owner": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "parent": { },
- "permissions": {
- "admin": true,
- "pull": true,
- "push": true
}, - "private": true,
- "projects_mode": "string",
- "release_counter": 0,
- "repo_transfer": {
- "doer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "recipient": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "teams": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
]
}, - "size": 0,
- "ssh_url": "string",
- "stars_count": 0,
- "template": true,
- "topics": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "watchers_count": 0,
- "website": "string"
}, - "title": "string",
- "url": "string"
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| id required | integer <int64> id of the key to get |
{- "created_at": "2019-08-24T14:15:22Z",
- "fingerprint": "string",
- "id": 0,
- "key": "string",
- "key_id": 0,
- "read_only": true,
- "repository": {
- "allow_fast_forward_only_merge": true,
- "allow_merge_commits": true,
- "allow_rebase": true,
- "allow_rebase_explicit": true,
- "allow_rebase_update": true,
- "allow_squash_merge": true,
- "archived": true,
- "archived_at": "2019-08-24T14:15:22Z",
- "avatar_url": "string",
- "clone_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "default_allow_maintainer_edit": true,
- "default_branch": "string",
- "default_delete_branch_after_merge": true,
- "default_merge_style": "string",
- "description": "string",
- "empty": true,
- "external_tracker": {
- "external_tracker_format": "string",
- "external_tracker_regexp_pattern": "string",
- "external_tracker_style": "string",
- "external_tracker_url": "string"
}, - "external_wiki": {
- "external_wiki_url": "string"
}, - "fork": true,
- "forks_count": 0,
- "full_name": "string",
- "has_actions": true,
- "has_issues": true,
- "has_packages": true,
- "has_projects": true,
- "has_pull_requests": true,
- "has_releases": true,
- "has_wiki": true,
- "html_url": "string",
- "id": 0,
- "ignore_whitespace_conflicts": true,
- "internal": true,
- "internal_tracker": {
- "allow_only_contributors_to_track_time": true,
- "enable_issue_dependencies": true,
- "enable_time_tracker": true
}, - "language": "string",
- "languages_url": "string",
- "licenses": [
- "string"
], - "link": "string",
- "mirror": true,
- "mirror_interval": "string",
- "mirror_updated": "2019-08-24T14:15:22Z",
- "name": "string",
- "object_format_name": "sha1",
- "open_issues_count": 0,
- "open_pr_counter": 0,
- "original_url": "string",
- "owner": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "parent": { },
- "permissions": {
- "admin": true,
- "pull": true,
- "push": true
}, - "private": true,
- "projects_mode": "string",
- "release_counter": 0,
- "repo_transfer": {
- "doer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "recipient": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "teams": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
]
}, - "size": 0,
- "ssh_url": "string",
- "stars_count": 0,
- "template": true,
- "topics": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "watchers_count": 0,
- "website": "string"
}, - "title": "string",
- "url": "string"
}| owner required | string owner of the repo |
| repo required | string name of the repo |
{- "property1": 0,
- "property2": 0
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| filepath required | string path of the file to get, it should be "{ref}/{filepath}". If there is no ref could be inferred, it will be treated as the default branch |
| ref | string The name of the commit/branch/tag. Default the repository’s default branch |
| owner required | string owner of the repo |
| repo required | string name of the repo |
| branch | string |
{- "branch": "string"
}{- "merge_type": "string"
}| owner required | string owner of the repo |
| repo required | string name of the repo |
{- "issues": true,
- "pull_requests": true
}| owner required | string Owner of the repo |
| repo required | string Name of the repo |
| state | string Default: "open" Enum: "open" "closed" "all" State of pull request |
| sort | string Enum: "oldest" "recentupdate" "leastupdate" "mostcomment" "leastcomment" "priority" Type of sort |
| milestone | integer <int64> ID of the milestone |
| labels | Array of integers <int64> [ items <int64 > ] Label IDs |
| poster | string Filter by pull request author |
| page | integer >= 1 Default: 1 Page number of results to return (1-based) |
| limit | integer >= 0 Page size of results |
[- {
- "additions": 0,
- "allow_maintainer_edit": true,
- "assignee": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "assignees": [
- {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
], - "base": {
- "label": "string",
- "ref": "string",
- "repo": {
- "allow_fast_forward_only_merge": true,
- "allow_merge_commits": true,
- "allow_rebase": true,
- "allow_rebase_explicit": true,
- "allow_rebase_update": true,
- "allow_squash_merge": true,
- "archived": true,
- "archived_at": "2019-08-24T14:15:22Z",
- "avatar_url": "string",
- "clone_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "default_allow_maintainer_edit": true,
- "default_branch": "string",
- "default_delete_branch_after_merge": true,
- "default_merge_style": "string",
- "description": "string",
- "empty": true,
- "external_tracker": {
- "external_tracker_format": "string",
- "external_tracker_regexp_pattern": "string",
- "external_tracker_style": "string",
- "external_tracker_url": "string"
}, - "external_wiki": {
- "external_wiki_url": "string"
}, - "fork": true,
- "forks_count": 0,
- "full_name": "string",
- "has_actions": true,
- "has_issues": true,
- "has_packages": true,
- "has_projects": true,
- "has_pull_requests": true,
- "has_releases": true,
- "has_wiki": true,
- "html_url": "string",
- "id": 0,
- "ignore_whitespace_conflicts": true,
- "internal": true,
- "internal_tracker": {
- "allow_only_contributors_to_track_time": true,
- "enable_issue_dependencies": true,
- "enable_time_tracker": true
}, - "language": "string",
- "languages_url": "string",
- "licenses": [
- "string"
], - "link": "string",
- "mirror": true,
- "mirror_interval": "string",
- "mirror_updated": "2019-08-24T14:15:22Z",
- "name": "string",
- "object_format_name": "sha1",
- "open_issues_count": 0,
- "open_pr_counter": 0,
- "original_url": "string",
- "owner": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "parent": { },
- "permissions": {
- "admin": true,
- "pull": true,
- "push": true
}, - "private": true,
- "projects_mode": "string",
- "release_counter": 0,
- "repo_transfer": {
- "doer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "recipient": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "teams": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
]
}, - "size": 0,
- "ssh_url": "string",
- "stars_count": 0,
- "template": true,
- "topics": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "watchers_count": 0,
- "website": "string"
}, - "repo_id": 0,
- "sha": "string"
}, - "body": "string",
- "changed_files": 0,
- "closed_at": "2019-08-24T14:15:22Z",
- "comments": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "deletions": 0,
- "diff_url": "string",
- "draft": true,
- "due_date": "2019-08-24T14:15:22Z",
- "head": {
- "label": "string",
- "ref": "string",
- "repo": {
- "allow_fast_forward_only_merge": true,
- "allow_merge_commits": true,
- "allow_rebase": true,
- "allow_rebase_explicit": true,
- "allow_rebase_update": true,
- "allow_squash_merge": true,
- "archived": true,
- "archived_at": "2019-08-24T14:15:22Z",
- "avatar_url": "string",
- "clone_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "default_allow_maintainer_edit": true,
- "default_branch": "string",
- "default_delete_branch_after_merge": true,
- "default_merge_style": "string",
- "description": "string",
- "empty": true,
- "external_tracker": {
- "external_tracker_format": "string",
- "external_tracker_regexp_pattern": "string",
- "external_tracker_style": "string",
- "external_tracker_url": "string"
}, - "external_wiki": {
- "external_wiki_url": "string"
}, - "fork": true,
- "forks_count": 0,
- "full_name": "string",
- "has_actions": true,
- "has_issues": true,
- "has_packages": true,
- "has_projects": true,
- "has_pull_requests": true,
- "has_releases": true,
- "has_wiki": true,
- "html_url": "string",
- "id": 0,
- "ignore_whitespace_conflicts": true,
- "internal": true,
- "internal_tracker": {
- "allow_only_contributors_to_track_time": true,
- "enable_issue_dependencies": true,
- "enable_time_tracker": true
}, - "language": "string",
- "languages_url": "string",
- "licenses": [
- "string"
], - "link": "string",
- "mirror": true,
- "mirror_interval": "string",
- "mirror_updated": "2019-08-24T14:15:22Z",
- "name": "string",
- "object_format_name": "sha1",
- "open_issues_count": 0,
- "open_pr_counter": 0,
- "original_url": "string",
- "owner": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "parent": { },
- "permissions": {
- "admin": true,
- "pull": true,
- "push": true
}, - "private": true,
- "projects_mode": "string",
- "release_counter": 0,
- "repo_transfer": {
- "doer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "recipient": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "teams": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
]
}, - "size": 0,
- "ssh_url": "string",
- "stars_count": 0,
- "template": true,
- "topics": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "watchers_count": 0,
- "website": "string"
}, - "repo_id": 0,
- "sha": "string"
}, - "html_url": "string",
- "id": 0,
- "is_locked": true,
- "labels": [
- {
- "color": "00aabb",
- "description": "string",
- "exclusive": false,
- "id": 0,
- "is_archived": false,
- "name": "string",
- "url": "string"
}
], - "merge_base": "string",
- "merge_commit_sha": "string",
- "mergeable": true,
- "merged": true,
- "merged_at": "2019-08-24T14:15:22Z",
- "merged_by": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "milestone": {
- "closed_at": "2019-08-24T14:15:22Z",
- "closed_issues": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "description": "string",
- "due_on": "2019-08-24T14:15:22Z",
- "id": 0,
- "open_issues": 0,
- "state": "string",
- "title": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "number": 0,
- "patch_url": "string",
- "pin_order": 0,
- "requested_reviewers": [
- {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
], - "requested_reviewers_teams": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
], - "review_comments": 0,
- "state": "string",
- "title": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
}
]| owner required | string owner of the repo |
| repo required | string name of the repo |
| assignee | string |
| assignees | Array of strings |
| base | string |
| body | string |
| due_date | string <date-time> |
| head | string |
| labels | Array of integers <int64> [ items <int64 > ] |
| milestone | integer <int64> |
| reviewers | Array of strings |
| team_reviewers | Array of strings |
| title | string |
{- "assignee": "string",
- "assignees": [
- "string"
], - "base": "string",
- "body": "string",
- "due_date": "2019-08-24T14:15:22Z",
- "head": "string",
- "labels": [
- 0
], - "milestone": 0,
- "reviewers": [
- "string"
], - "team_reviewers": [
- "string"
], - "title": "string"
}{- "additions": 0,
- "allow_maintainer_edit": true,
- "assignee": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "assignees": [
- {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
], - "base": {
- "label": "string",
- "ref": "string",
- "repo": {
- "allow_fast_forward_only_merge": true,
- "allow_merge_commits": true,
- "allow_rebase": true,
- "allow_rebase_explicit": true,
- "allow_rebase_update": true,
- "allow_squash_merge": true,
- "archived": true,
- "archived_at": "2019-08-24T14:15:22Z",
- "avatar_url": "string",
- "clone_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "default_allow_maintainer_edit": true,
- "default_branch": "string",
- "default_delete_branch_after_merge": true,
- "default_merge_style": "string",
- "description": "string",
- "empty": true,
- "external_tracker": {
- "external_tracker_format": "string",
- "external_tracker_regexp_pattern": "string",
- "external_tracker_style": "string",
- "external_tracker_url": "string"
}, - "external_wiki": {
- "external_wiki_url": "string"
}, - "fork": true,
- "forks_count": 0,
- "full_name": "string",
- "has_actions": true,
- "has_issues": true,
- "has_packages": true,
- "has_projects": true,
- "has_pull_requests": true,
- "has_releases": true,
- "has_wiki": true,
- "html_url": "string",
- "id": 0,
- "ignore_whitespace_conflicts": true,
- "internal": true,
- "internal_tracker": {
- "allow_only_contributors_to_track_time": true,
- "enable_issue_dependencies": true,
- "enable_time_tracker": true
}, - "language": "string",
- "languages_url": "string",
- "licenses": [
- "string"
], - "link": "string",
- "mirror": true,
- "mirror_interval": "string",
- "mirror_updated": "2019-08-24T14:15:22Z",
- "name": "string",
- "object_format_name": "sha1",
- "open_issues_count": 0,
- "open_pr_counter": 0,
- "original_url": "string",
- "owner": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "parent": { },
- "permissions": {
- "admin": true,
- "pull": true,
- "push": true
}, - "private": true,
- "projects_mode": "string",
- "release_counter": 0,
- "repo_transfer": {
- "doer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "recipient": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "teams": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
]
}, - "size": 0,
- "ssh_url": "string",
- "stars_count": 0,
- "template": true,
- "topics": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "watchers_count": 0,
- "website": "string"
}, - "repo_id": 0,
- "sha": "string"
}, - "body": "string",
- "changed_files": 0,
- "closed_at": "2019-08-24T14:15:22Z",
- "comments": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "deletions": 0,
- "diff_url": "string",
- "draft": true,
- "due_date": "2019-08-24T14:15:22Z",
- "head": {
- "label": "string",
- "ref": "string",
- "repo": {
- "allow_fast_forward_only_merge": true,
- "allow_merge_commits": true,
- "allow_rebase": true,
- "allow_rebase_explicit": true,
- "allow_rebase_update": true,
- "allow_squash_merge": true,
- "archived": true,
- "archived_at": "2019-08-24T14:15:22Z",
- "avatar_url": "string",
- "clone_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "default_allow_maintainer_edit": true,
- "default_branch": "string",
- "default_delete_branch_after_merge": true,
- "default_merge_style": "string",
- "description": "string",
- "empty": true,
- "external_tracker": {
- "external_tracker_format": "string",
- "external_tracker_regexp_pattern": "string",
- "external_tracker_style": "string",
- "external_tracker_url": "string"
}, - "external_wiki": {
- "external_wiki_url": "string"
}, - "fork": true,
- "forks_count": 0,
- "full_name": "string",
- "has_actions": true,
- "has_issues": true,
- "has_packages": true,
- "has_projects": true,
- "has_pull_requests": true,
- "has_releases": true,
- "has_wiki": true,
- "html_url": "string",
- "id": 0,
- "ignore_whitespace_conflicts": true,
- "internal": true,
- "internal_tracker": {
- "allow_only_contributors_to_track_time": true,
- "enable_issue_dependencies": true,
- "enable_time_tracker": true
}, - "language": "string",
- "languages_url": "string",
- "licenses": [
- "string"
], - "link": "string",
- "mirror": true,
- "mirror_interval": "string",
- "mirror_updated": "2019-08-24T14:15:22Z",
- "name": "string",
- "object_format_name": "sha1",
- "open_issues_count": 0,
- "open_pr_counter": 0,
- "original_url": "string",
- "owner": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "parent": { },
- "permissions": {
- "admin": true,
- "pull": true,
- "push": true
}, - "private": true,
- "projects_mode": "string",
- "release_counter": 0,
- "repo_transfer": {
- "doer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "recipient": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "teams": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
]
}, - "size": 0,
- "ssh_url": "string",
- "stars_count": 0,
- "template": true,
- "topics": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "watchers_count": 0,
- "website": "string"
}, - "repo_id": 0,
- "sha": "string"
}, - "html_url": "string",
- "id": 0,
- "is_locked": true,
- "labels": [
- {
- "color": "00aabb",
- "description": "string",
- "exclusive": false,
- "id": 0,
- "is_archived": false,
- "name": "string",
- "url": "string"
}
], - "merge_base": "string",
- "merge_commit_sha": "string",
- "mergeable": true,
- "merged": true,
- "merged_at": "2019-08-24T14:15:22Z",
- "merged_by": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "milestone": {
- "closed_at": "2019-08-24T14:15:22Z",
- "closed_issues": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "description": "string",
- "due_on": "2019-08-24T14:15:22Z",
- "id": 0,
- "open_issues": 0,
- "state": "string",
- "title": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "number": 0,
- "patch_url": "string",
- "pin_order": 0,
- "requested_reviewers": [
- {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
], - "requested_reviewers_teams": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
], - "review_comments": 0,
- "state": "string",
- "title": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
}| owner required | string owner of the repo |
| repo required | string name of the repo |
[- {
- "additions": 0,
- "allow_maintainer_edit": true,
- "assignee": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "assignees": [
- {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
], - "base": {
- "label": "string",
- "ref": "string",
- "repo": {
- "allow_fast_forward_only_merge": true,
- "allow_merge_commits": true,
- "allow_rebase": true,
- "allow_rebase_explicit": true,
- "allow_rebase_update": true,
- "allow_squash_merge": true,
- "archived": true,
- "archived_at": "2019-08-24T14:15:22Z",
- "avatar_url": "string",
- "clone_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "default_allow_maintainer_edit": true,
- "default_branch": "string",
- "default_delete_branch_after_merge": true,
- "default_merge_style": "string",
- "description": "string",
- "empty": true,
- "external_tracker": {
- "external_tracker_format": "string",
- "external_tracker_regexp_pattern": "string",
- "external_tracker_style": "string",
- "external_tracker_url": "string"
}, - "external_wiki": {
- "external_wiki_url": "string"
}, - "fork": true,
- "forks_count": 0,
- "full_name": "string",
- "has_actions": true,
- "has_issues": true,
- "has_packages": true,
- "has_projects": true,
- "has_pull_requests": true,
- "has_releases": true,
- "has_wiki": true,
- "html_url": "string",
- "id": 0,
- "ignore_whitespace_conflicts": true,
- "internal": true,
- "internal_tracker": {
- "allow_only_contributors_to_track_time": true,
- "enable_issue_dependencies": true,
- "enable_time_tracker": true
}, - "language": "string",
- "languages_url": "string",
- "licenses": [
- "string"
], - "link": "string",
- "mirror": true,
- "mirror_interval": "string",
- "mirror_updated": "2019-08-24T14:15:22Z",
- "name": "string",
- "object_format_name": "sha1",
- "open_issues_count": 0,
- "open_pr_counter": 0,
- "original_url": "string",
- "owner": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "parent": { },
- "permissions": {
- "admin": true,
- "pull": true,
- "push": true
}, - "private": true,
- "projects_mode": "string",
- "release_counter": 0,
- "repo_transfer": {
- "doer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "recipient": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "teams": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
]
}, - "size": 0,
- "ssh_url": "string",
- "stars_count": 0,
- "template": true,
- "topics": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "watchers_count": 0,
- "website": "string"
}, - "repo_id": 0,
- "sha": "string"
}, - "body": "string",
- "changed_files": 0,
- "closed_at": "2019-08-24T14:15:22Z",
- "comments": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "deletions": 0,
- "diff_url": "string",
- "draft": true,
- "due_date": "2019-08-24T14:15:22Z",
- "head": {
- "label": "string",
- "ref": "string",
- "repo": {
- "allow_fast_forward_only_merge": true,
- "allow_merge_commits": true,
- "allow_rebase": true,
- "allow_rebase_explicit": true,
- "allow_rebase_update": true,
- "allow_squash_merge": true,
- "archived": true,
- "archived_at": "2019-08-24T14:15:22Z",
- "avatar_url": "string",
- "clone_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "default_allow_maintainer_edit": true,
- "default_branch": "string",
- "default_delete_branch_after_merge": true,
- "default_merge_style": "string",
- "description": "string",
- "empty": true,
- "external_tracker": {
- "external_tracker_format": "string",
- "external_tracker_regexp_pattern": "string",
- "external_tracker_style": "string",
- "external_tracker_url": "string"
}, - "external_wiki": {
- "external_wiki_url": "string"
}, - "fork": true,
- "forks_count": 0,
- "full_name": "string",
- "has_actions": true,
- "has_issues": true,
- "has_packages": true,
- "has_projects": true,
- "has_pull_requests": true,
- "has_releases": true,
- "has_wiki": true,
- "html_url": "string",
- "id": 0,
- "ignore_whitespace_conflicts": true,
- "internal": true,
- "internal_tracker": {
- "allow_only_contributors_to_track_time": true,
- "enable_issue_dependencies": true,
- "enable_time_tracker": true
}, - "language": "string",
- "languages_url": "string",
- "licenses": [
- "string"
], - "link": "string",
- "mirror": true,
- "mirror_interval": "string",
- "mirror_updated": "2019-08-24T14:15:22Z",
- "name": "string",
- "object_format_name": "sha1",
- "open_issues_count": 0,
- "open_pr_counter": 0,
- "original_url": "string",
- "owner": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "parent": { },
- "permissions": {
- "admin": true,
- "pull": true,
- "push": true
}, - "private": true,
- "projects_mode": "string",
- "release_counter": 0,
- "repo_transfer": {
- "doer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "recipient": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "teams": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
]
}, - "size": 0,
- "ssh_url": "string",
- "stars_count": 0,
- "template": true,
- "topics": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "watchers_count": 0,
- "website": "string"
}, - "repo_id": 0,
- "sha": "string"
}, - "html_url": "string",
- "id": 0,
- "is_locked": true,
- "labels": [
- {
- "color": "00aabb",
- "description": "string",
- "exclusive": false,
- "id": 0,
- "is_archived": false,
- "name": "string",
- "url": "string"
}
], - "merge_base": "string",
- "merge_commit_sha": "string",
- "mergeable": true,
- "merged": true,
- "merged_at": "2019-08-24T14:15:22Z",
- "merged_by": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "milestone": {
- "closed_at": "2019-08-24T14:15:22Z",
- "closed_issues": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "description": "string",
- "due_on": "2019-08-24T14:15:22Z",
- "id": 0,
- "open_issues": 0,
- "state": "string",
- "title": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "number": 0,
- "patch_url": "string",
- "pin_order": 0,
- "requested_reviewers": [
- {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
], - "requested_reviewers_teams": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
], - "review_comments": 0,
- "state": "string",
- "title": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
}
]| owner required | string owner of the repo |
| repo required | string name of the repo |
| base required | string base of the pull request to get |
| head required | string head of the pull request to get |
{- "additions": 0,
- "allow_maintainer_edit": true,
- "assignee": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "assignees": [
- {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
], - "base": {
- "label": "string",
- "ref": "string",
- "repo": {
- "allow_fast_forward_only_merge": true,
- "allow_merge_commits": true,
- "allow_rebase": true,
- "allow_rebase_explicit": true,
- "allow_rebase_update": true,
- "allow_squash_merge": true,
- "archived": true,
- "archived_at": "2019-08-24T14:15:22Z",
- "avatar_url": "string",
- "clone_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "default_allow_maintainer_edit": true,
- "default_branch": "string",
- "default_delete_branch_after_merge": true,
- "default_merge_style": "string",
- "description": "string",
- "empty": true,
- "external_tracker": {
- "external_tracker_format": "string",
- "external_tracker_regexp_pattern": "string",
- "external_tracker_style": "string",
- "external_tracker_url": "string"
}, - "external_wiki": {
- "external_wiki_url": "string"
}, - "fork": true,
- "forks_count": 0,
- "full_name": "string",
- "has_actions": true,
- "has_issues": true,
- "has_packages": true,
- "has_projects": true,
- "has_pull_requests": true,
- "has_releases": true,
- "has_wiki": true,
- "html_url": "string",
- "id": 0,
- "ignore_whitespace_conflicts": true,
- "internal": true,
- "internal_tracker": {
- "allow_only_contributors_to_track_time": true,
- "enable_issue_dependencies": true,
- "enable_time_tracker": true
}, - "language": "string",
- "languages_url": "string",
- "licenses": [
- "string"
], - "link": "string",
- "mirror": true,
- "mirror_interval": "string",
- "mirror_updated": "2019-08-24T14:15:22Z",
- "name": "string",
- "object_format_name": "sha1",
- "open_issues_count": 0,
- "open_pr_counter": 0,
- "original_url": "string",
- "owner": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "parent": { },
- "permissions": {
- "admin": true,
- "pull": true,
- "push": true
}, - "private": true,
- "projects_mode": "string",
- "release_counter": 0,
- "repo_transfer": {
- "doer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "recipient": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "teams": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
]
}, - "size": 0,
- "ssh_url": "string",
- "stars_count": 0,
- "template": true,
- "topics": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "watchers_count": 0,
- "website": "string"
}, - "repo_id": 0,
- "sha": "string"
}, - "body": "string",
- "changed_files": 0,
- "closed_at": "2019-08-24T14:15:22Z",
- "comments": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "deletions": 0,
- "diff_url": "string",
- "draft": true,
- "due_date": "2019-08-24T14:15:22Z",
- "head": {
- "label": "string",
- "ref": "string",
- "repo": {
- "allow_fast_forward_only_merge": true,
- "allow_merge_commits": true,
- "allow_rebase": true,
- "allow_rebase_explicit": true,
- "allow_rebase_update": true,
- "allow_squash_merge": true,
- "archived": true,
- "archived_at": "2019-08-24T14:15:22Z",
- "avatar_url": "string",
- "clone_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "default_allow_maintainer_edit": true,
- "default_branch": "string",
- "default_delete_branch_after_merge": true,
- "default_merge_style": "string",
- "description": "string",
- "empty": true,
- "external_tracker": {
- "external_tracker_format": "string",
- "external_tracker_regexp_pattern": "string",
- "external_tracker_style": "string",
- "external_tracker_url": "string"
}, - "external_wiki": {
- "external_wiki_url": "string"
}, - "fork": true,
- "forks_count": 0,
- "full_name": "string",
- "has_actions": true,
- "has_issues": true,
- "has_packages": true,
- "has_projects": true,
- "has_pull_requests": true,
- "has_releases": true,
- "has_wiki": true,
- "html_url": "string",
- "id": 0,
- "ignore_whitespace_conflicts": true,
- "internal": true,
- "internal_tracker": {
- "allow_only_contributors_to_track_time": true,
- "enable_issue_dependencies": true,
- "enable_time_tracker": true
}, - "language": "string",
- "languages_url": "string",
- "licenses": [
- "string"
], - "link": "string",
- "mirror": true,
- "mirror_interval": "string",
- "mirror_updated": "2019-08-24T14:15:22Z",
- "name": "string",
- "object_format_name": "sha1",
- "open_issues_count": 0,
- "open_pr_counter": 0,
- "original_url": "string",
- "owner": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "parent": { },
- "permissions": {
- "admin": true,
- "pull": true,
- "push": true
}, - "private": true,
- "projects_mode": "string",
- "release_counter": 0,
- "repo_transfer": {
- "doer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "recipient": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "teams": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
]
}, - "size": 0,
- "ssh_url": "string",
- "stars_count": 0,
- "template": true,
- "topics": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "watchers_count": 0,
- "website": "string"
}, - "repo_id": 0,
- "sha": "string"
}, - "html_url": "string",
- "id": 0,
- "is_locked": true,
- "labels": [
- {
- "color": "00aabb",
- "description": "string",
- "exclusive": false,
- "id": 0,
- "is_archived": false,
- "name": "string",
- "url": "string"
}
], - "merge_base": "string",
- "merge_commit_sha": "string",
- "mergeable": true,
- "merged": true,
- "merged_at": "2019-08-24T14:15:22Z",
- "merged_by": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "milestone": {
- "closed_at": "2019-08-24T14:15:22Z",
- "closed_issues": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "description": "string",
- "due_on": "2019-08-24T14:15:22Z",
- "id": 0,
- "open_issues": 0,
- "state": "string",
- "title": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "number": 0,
- "patch_url": "string",
- "pin_order": 0,
- "requested_reviewers": [
- {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
], - "requested_reviewers_teams": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
], - "review_comments": 0,
- "state": "string",
- "title": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| index required | integer <int64> index of the pull request to get |
{- "additions": 0,
- "allow_maintainer_edit": true,
- "assignee": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "assignees": [
- {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
], - "base": {
- "label": "string",
- "ref": "string",
- "repo": {
- "allow_fast_forward_only_merge": true,
- "allow_merge_commits": true,
- "allow_rebase": true,
- "allow_rebase_explicit": true,
- "allow_rebase_update": true,
- "allow_squash_merge": true,
- "archived": true,
- "archived_at": "2019-08-24T14:15:22Z",
- "avatar_url": "string",
- "clone_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "default_allow_maintainer_edit": true,
- "default_branch": "string",
- "default_delete_branch_after_merge": true,
- "default_merge_style": "string",
- "description": "string",
- "empty": true,
- "external_tracker": {
- "external_tracker_format": "string",
- "external_tracker_regexp_pattern": "string",
- "external_tracker_style": "string",
- "external_tracker_url": "string"
}, - "external_wiki": {
- "external_wiki_url": "string"
}, - "fork": true,
- "forks_count": 0,
- "full_name": "string",
- "has_actions": true,
- "has_issues": true,
- "has_packages": true,
- "has_projects": true,
- "has_pull_requests": true,
- "has_releases": true,
- "has_wiki": true,
- "html_url": "string",
- "id": 0,
- "ignore_whitespace_conflicts": true,
- "internal": true,
- "internal_tracker": {
- "allow_only_contributors_to_track_time": true,
- "enable_issue_dependencies": true,
- "enable_time_tracker": true
}, - "language": "string",
- "languages_url": "string",
- "licenses": [
- "string"
], - "link": "string",
- "mirror": true,
- "mirror_interval": "string",
- "mirror_updated": "2019-08-24T14:15:22Z",
- "name": "string",
- "object_format_name": "sha1",
- "open_issues_count": 0,
- "open_pr_counter": 0,
- "original_url": "string",
- "owner": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "parent": { },
- "permissions": {
- "admin": true,
- "pull": true,
- "push": true
}, - "private": true,
- "projects_mode": "string",
- "release_counter": 0,
- "repo_transfer": {
- "doer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "recipient": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "teams": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
]
}, - "size": 0,
- "ssh_url": "string",
- "stars_count": 0,
- "template": true,
- "topics": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "watchers_count": 0,
- "website": "string"
}, - "repo_id": 0,
- "sha": "string"
}, - "body": "string",
- "changed_files": 0,
- "closed_at": "2019-08-24T14:15:22Z",
- "comments": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "deletions": 0,
- "diff_url": "string",
- "draft": true,
- "due_date": "2019-08-24T14:15:22Z",
- "head": {
- "label": "string",
- "ref": "string",
- "repo": {
- "allow_fast_forward_only_merge": true,
- "allow_merge_commits": true,
- "allow_rebase": true,
- "allow_rebase_explicit": true,
- "allow_rebase_update": true,
- "allow_squash_merge": true,
- "archived": true,
- "archived_at": "2019-08-24T14:15:22Z",
- "avatar_url": "string",
- "clone_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "default_allow_maintainer_edit": true,
- "default_branch": "string",
- "default_delete_branch_after_merge": true,
- "default_merge_style": "string",
- "description": "string",
- "empty": true,
- "external_tracker": {
- "external_tracker_format": "string",
- "external_tracker_regexp_pattern": "string",
- "external_tracker_style": "string",
- "external_tracker_url": "string"
}, - "external_wiki": {
- "external_wiki_url": "string"
}, - "fork": true,
- "forks_count": 0,
- "full_name": "string",
- "has_actions": true,
- "has_issues": true,
- "has_packages": true,
- "has_projects": true,
- "has_pull_requests": true,
- "has_releases": true,
- "has_wiki": true,
- "html_url": "string",
- "id": 0,
- "ignore_whitespace_conflicts": true,
- "internal": true,
- "internal_tracker": {
- "allow_only_contributors_to_track_time": true,
- "enable_issue_dependencies": true,
- "enable_time_tracker": true
}, - "language": "string",
- "languages_url": "string",
- "licenses": [
- "string"
], - "link": "string",
- "mirror": true,
- "mirror_interval": "string",
- "mirror_updated": "2019-08-24T14:15:22Z",
- "name": "string",
- "object_format_name": "sha1",
- "open_issues_count": 0,
- "open_pr_counter": 0,
- "original_url": "string",
- "owner": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "parent": { },
- "permissions": {
- "admin": true,
- "pull": true,
- "push": true
}, - "private": true,
- "projects_mode": "string",
- "release_counter": 0,
- "repo_transfer": {
- "doer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "recipient": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "teams": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
]
}, - "size": 0,
- "ssh_url": "string",
- "stars_count": 0,
- "template": true,
- "topics": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "watchers_count": 0,
- "website": "string"
}, - "repo_id": 0,
- "sha": "string"
}, - "html_url": "string",
- "id": 0,
- "is_locked": true,
- "labels": [
- {
- "color": "00aabb",
- "description": "string",
- "exclusive": false,
- "id": 0,
- "is_archived": false,
- "name": "string",
- "url": "string"
}
], - "merge_base": "string",
- "merge_commit_sha": "string",
- "mergeable": true,
- "merged": true,
- "merged_at": "2019-08-24T14:15:22Z",
- "merged_by": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "milestone": {
- "closed_at": "2019-08-24T14:15:22Z",
- "closed_issues": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "description": "string",
- "due_on": "2019-08-24T14:15:22Z",
- "id": 0,
- "open_issues": 0,
- "state": "string",
- "title": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "number": 0,
- "patch_url": "string",
- "pin_order": 0,
- "requested_reviewers": [
- {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
], - "requested_reviewers_teams": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
], - "review_comments": 0,
- "state": "string",
- "title": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| index required | integer <int64> index of the pull request to edit |
| allow_maintainer_edit | boolean |
| assignee | string |
| assignees | Array of strings |
| base | string |
| body | string |
| due_date | string <date-time> |
| labels | Array of integers <int64> [ items <int64 > ] |
| milestone | integer <int64> |
| state | string |
| title | string |
| unset_due_date | boolean |
{- "allow_maintainer_edit": true,
- "assignee": "string",
- "assignees": [
- "string"
], - "base": "string",
- "body": "string",
- "due_date": "2019-08-24T14:15:22Z",
- "labels": [
- 0
], - "milestone": 0,
- "state": "string",
- "title": "string",
- "unset_due_date": true
}{- "additions": 0,
- "allow_maintainer_edit": true,
- "assignee": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "assignees": [
- {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
], - "base": {
- "label": "string",
- "ref": "string",
- "repo": {
- "allow_fast_forward_only_merge": true,
- "allow_merge_commits": true,
- "allow_rebase": true,
- "allow_rebase_explicit": true,
- "allow_rebase_update": true,
- "allow_squash_merge": true,
- "archived": true,
- "archived_at": "2019-08-24T14:15:22Z",
- "avatar_url": "string",
- "clone_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "default_allow_maintainer_edit": true,
- "default_branch": "string",
- "default_delete_branch_after_merge": true,
- "default_merge_style": "string",
- "description": "string",
- "empty": true,
- "external_tracker": {
- "external_tracker_format": "string",
- "external_tracker_regexp_pattern": "string",
- "external_tracker_style": "string",
- "external_tracker_url": "string"
}, - "external_wiki": {
- "external_wiki_url": "string"
}, - "fork": true,
- "forks_count": 0,
- "full_name": "string",
- "has_actions": true,
- "has_issues": true,
- "has_packages": true,
- "has_projects": true,
- "has_pull_requests": true,
- "has_releases": true,
- "has_wiki": true,
- "html_url": "string",
- "id": 0,
- "ignore_whitespace_conflicts": true,
- "internal": true,
- "internal_tracker": {
- "allow_only_contributors_to_track_time": true,
- "enable_issue_dependencies": true,
- "enable_time_tracker": true
}, - "language": "string",
- "languages_url": "string",
- "licenses": [
- "string"
], - "link": "string",
- "mirror": true,
- "mirror_interval": "string",
- "mirror_updated": "2019-08-24T14:15:22Z",
- "name": "string",
- "object_format_name": "sha1",
- "open_issues_count": 0,
- "open_pr_counter": 0,
- "original_url": "string",
- "owner": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "parent": { },
- "permissions": {
- "admin": true,
- "pull": true,
- "push": true
}, - "private": true,
- "projects_mode": "string",
- "release_counter": 0,
- "repo_transfer": {
- "doer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "recipient": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "teams": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
]
}, - "size": 0,
- "ssh_url": "string",
- "stars_count": 0,
- "template": true,
- "topics": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "watchers_count": 0,
- "website": "string"
}, - "repo_id": 0,
- "sha": "string"
}, - "body": "string",
- "changed_files": 0,
- "closed_at": "2019-08-24T14:15:22Z",
- "comments": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "deletions": 0,
- "diff_url": "string",
- "draft": true,
- "due_date": "2019-08-24T14:15:22Z",
- "head": {
- "label": "string",
- "ref": "string",
- "repo": {
- "allow_fast_forward_only_merge": true,
- "allow_merge_commits": true,
- "allow_rebase": true,
- "allow_rebase_explicit": true,
- "allow_rebase_update": true,
- "allow_squash_merge": true,
- "archived": true,
- "archived_at": "2019-08-24T14:15:22Z",
- "avatar_url": "string",
- "clone_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "default_allow_maintainer_edit": true,
- "default_branch": "string",
- "default_delete_branch_after_merge": true,
- "default_merge_style": "string",
- "description": "string",
- "empty": true,
- "external_tracker": {
- "external_tracker_format": "string",
- "external_tracker_regexp_pattern": "string",
- "external_tracker_style": "string",
- "external_tracker_url": "string"
}, - "external_wiki": {
- "external_wiki_url": "string"
}, - "fork": true,
- "forks_count": 0,
- "full_name": "string",
- "has_actions": true,
- "has_issues": true,
- "has_packages": true,
- "has_projects": true,
- "has_pull_requests": true,
- "has_releases": true,
- "has_wiki": true,
- "html_url": "string",
- "id": 0,
- "ignore_whitespace_conflicts": true,
- "internal": true,
- "internal_tracker": {
- "allow_only_contributors_to_track_time": true,
- "enable_issue_dependencies": true,
- "enable_time_tracker": true
}, - "language": "string",
- "languages_url": "string",
- "licenses": [
- "string"
], - "link": "string",
- "mirror": true,
- "mirror_interval": "string",
- "mirror_updated": "2019-08-24T14:15:22Z",
- "name": "string",
- "object_format_name": "sha1",
- "open_issues_count": 0,
- "open_pr_counter": 0,
- "original_url": "string",
- "owner": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "parent": { },
- "permissions": {
- "admin": true,
- "pull": true,
- "push": true
}, - "private": true,
- "projects_mode": "string",
- "release_counter": 0,
- "repo_transfer": {
- "doer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "recipient": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "teams": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
]
}, - "size": 0,
- "ssh_url": "string",
- "stars_count": 0,
- "template": true,
- "topics": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "watchers_count": 0,
- "website": "string"
}, - "repo_id": 0,
- "sha": "string"
}, - "html_url": "string",
- "id": 0,
- "is_locked": true,
- "labels": [
- {
- "color": "00aabb",
- "description": "string",
- "exclusive": false,
- "id": 0,
- "is_archived": false,
- "name": "string",
- "url": "string"
}
], - "merge_base": "string",
- "merge_commit_sha": "string",
- "mergeable": true,
- "merged": true,
- "merged_at": "2019-08-24T14:15:22Z",
- "merged_by": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "milestone": {
- "closed_at": "2019-08-24T14:15:22Z",
- "closed_issues": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "description": "string",
- "due_on": "2019-08-24T14:15:22Z",
- "id": 0,
- "open_issues": 0,
- "state": "string",
- "title": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "number": 0,
- "patch_url": "string",
- "pin_order": 0,
- "requested_reviewers": [
- {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
], - "requested_reviewers_teams": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
], - "review_comments": 0,
- "state": "string",
- "title": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| index required | integer <int64> index of the pull request to get |
| diffType required | string Enum: "diff" "patch" whether the output is diff or patch |
| binary | boolean whether to include binary file changes. if true, the diff is applicable with |
"string"| owner required | string owner of the repo |
| repo required | string name of the repo |
| index required | integer <int64> index of the pull request to get |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
| verification | boolean include verification for every commit (disable for speedup, default 'true') |
| files | boolean include a list of affected files for every commit (disable for speedup, default 'true') |
[- {
- "author": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "commit": {
- "author": {
- "date": "string",
- "email": "user@example.com",
- "name": "string"
}, - "committer": {
- "date": "string",
- "email": "user@example.com",
- "name": "string"
}, - "message": "string",
- "tree": {
- "created": "2019-08-24T14:15:22Z",
- "sha": "string",
- "url": "string"
}, - "url": "string",
- "verification": {
- "payload": "string",
- "reason": "string",
- "signature": "string",
- "signer": {
- "email": "user@example.com",
- "name": "string",
- "username": "string"
}, - "verified": true
}
}, - "committer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "created": "2019-08-24T14:15:22Z",
- "files": [
- {
- "filename": "string",
- "status": "string"
}
], - "html_url": "string",
- "parents": [
- {
- "created": "2019-08-24T14:15:22Z",
- "sha": "string",
- "url": "string"
}
], - "sha": "string",
- "stats": {
- "additions": 0,
- "deletions": 0,
- "total": 0
}, - "url": "string"
}
]| owner required | string owner of the repo |
| repo required | string name of the repo |
| index required | integer <int64> index of the pull request to get |
| skip-to | string skip to given file |
| whitespace | string Enum: "ignore-all" "ignore-change" "ignore-eol" "show-all" whitespace behavior |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "additions": 0,
- "changes": 0,
- "contents_url": "string",
- "deletions": 0,
- "filename": "string",
- "html_url": "string",
- "previous_filename": "string",
- "raw_url": "string",
- "status": "string"
}
]| owner required | string owner of the repo |
| repo required | string name of the repo |
| index required | integer <int64> index of the pull request to merge |
| Do required | string Enum: "merge" "rebase" "rebase-merge" "squash" "fast-forward-only" "manually-merged" |
| MergeCommitID | string |
| MergeMessageField | string |
| MergeTitleField | string |
| delete_branch_after_merge | boolean |
| force_merge | boolean |
| head_commit_id | string |
| merge_when_checks_succeed | boolean |
{- "Do": "merge",
- "MergeCommitID": "string",
- "MergeMessageField": "string",
- "MergeTitleField": "string",
- "delete_branch_after_merge": true,
- "force_merge": true,
- "head_commit_id": "string",
- "merge_when_checks_succeed": true
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| index required | integer <int64> index of the pull request to merge |
| owner required | string owner of the repo |
| repo required | string name of the repo |
| index required | integer <int64> index of the pull request |
| reviewers | Array of strings |
| team_reviewers | Array of strings |
{- "reviewers": [
- "string"
], - "team_reviewers": [
- "string"
]
}[- {
- "body": "string",
- "comments_count": 0,
- "commit_id": "string",
- "dismissed": true,
- "html_url": "string",
- "id": 0,
- "official": true,
- "pull_request_url": "string",
- "stale": true,
- "state": "string",
- "submitted_at": "2019-08-24T14:15:22Z",
- "team": {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}, - "updated_at": "2019-08-24T14:15:22Z",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
}
]| owner required | string owner of the repo |
| repo required | string name of the repo |
| index required | integer <int64> index of the pull request |
| reviewers | Array of strings |
| team_reviewers | Array of strings |
{- "reviewers": [
- "string"
], - "team_reviewers": [
- "string"
]
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| index required | integer <int64> index of the pull request |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "body": "string",
- "comments_count": 0,
- "commit_id": "string",
- "dismissed": true,
- "html_url": "string",
- "id": 0,
- "official": true,
- "pull_request_url": "string",
- "stale": true,
- "state": "string",
- "submitted_at": "2019-08-24T14:15:22Z",
- "team": {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}, - "updated_at": "2019-08-24T14:15:22Z",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
}
]| owner required | string owner of the repo |
| repo required | string name of the repo |
| index required | integer <int64> index of the pull request |
| body | string |
Array of objects (CreatePullReviewComment) | |
| commit_id | string |
| event | string (ReviewStateType) ReviewStateType review state type |
{- "body": "string",
- "comments": [
- {
- "body": "string",
- "new_position": 0,
- "old_position": 0,
- "path": "string"
}
], - "commit_id": "string",
- "event": "string"
}{- "body": "string",
- "comments_count": 0,
- "commit_id": "string",
- "dismissed": true,
- "html_url": "string",
- "id": 0,
- "official": true,
- "pull_request_url": "string",
- "stale": true,
- "state": "string",
- "submitted_at": "2019-08-24T14:15:22Z",
- "team": {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}, - "updated_at": "2019-08-24T14:15:22Z",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| index required | integer <int64> index of the pull request |
| id required | integer <int64> id of the review |
{- "body": "string",
- "comments_count": 0,
- "commit_id": "string",
- "dismissed": true,
- "html_url": "string",
- "id": 0,
- "official": true,
- "pull_request_url": "string",
- "stale": true,
- "state": "string",
- "submitted_at": "2019-08-24T14:15:22Z",
- "team": {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}, - "updated_at": "2019-08-24T14:15:22Z",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| index required | integer <int64> index of the pull request |
| id required | integer <int64> id of the review |
| body | string |
| event | string (ReviewStateType) ReviewStateType review state type |
{- "body": "string",
- "event": "string"
}{- "body": "string",
- "comments_count": 0,
- "commit_id": "string",
- "dismissed": true,
- "html_url": "string",
- "id": 0,
- "official": true,
- "pull_request_url": "string",
- "stale": true,
- "state": "string",
- "submitted_at": "2019-08-24T14:15:22Z",
- "team": {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}, - "updated_at": "2019-08-24T14:15:22Z",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| index required | integer <int64> index of the pull request |
| id required | integer <int64> id of the review |
| owner required | string owner of the repo |
| repo required | string name of the repo |
| index required | integer <int64> index of the pull request |
| id required | integer <int64> id of the review |
[- {
- "body": "string",
- "commit_id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "diff_hunk": "string",
- "html_url": "string",
- "id": 0,
- "original_commit_id": "string",
- "original_position": 0,
- "path": "string",
- "position": 0,
- "pull_request_review_id": 0,
- "pull_request_url": "string",
- "resolver": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "updated_at": "2019-08-24T14:15:22Z",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
}
]| owner required | string owner of the repo |
| repo required | string name of the repo |
| index required | integer <int64> index of the pull request |
| id required | integer <int64> id of the review |
| message | string |
| priors | boolean |
{- "message": "string",
- "priors": true
}{- "body": "string",
- "comments_count": 0,
- "commit_id": "string",
- "dismissed": true,
- "html_url": "string",
- "id": 0,
- "official": true,
- "pull_request_url": "string",
- "stale": true,
- "state": "string",
- "submitted_at": "2019-08-24T14:15:22Z",
- "team": {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}, - "updated_at": "2019-08-24T14:15:22Z",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| index required | integer <int64> index of the pull request |
| id required | integer <int64> id of the review |
{- "body": "string",
- "comments_count": 0,
- "commit_id": "string",
- "dismissed": true,
- "html_url": "string",
- "id": 0,
- "official": true,
- "pull_request_url": "string",
- "stale": true,
- "state": "string",
- "submitted_at": "2019-08-24T14:15:22Z",
- "team": {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}, - "updated_at": "2019-08-24T14:15:22Z",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| index required | integer <int64> index of the pull request to get |
| style | string Enum: "merge" "rebase" how to update pull request |
| owner required | string owner of the repo |
| repo required | string name of the repo |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "created": "2019-08-24T14:15:22Z",
- "interval": "string",
- "last_error": "string",
- "last_update": "2019-08-24T14:15:22Z",
- "remote_address": "string",
- "remote_name": "string",
- "repo_name": "string",
- "sync_on_commit": true
}
]| owner required | string owner of the repo |
| repo required | string name of the repo |
| interval | string |
| remote_address | string |
| remote_password | string |
| remote_username | string |
| sync_on_commit | boolean |
{- "interval": "string",
- "remote_address": "string",
- "remote_password": "string",
- "remote_username": "string",
- "sync_on_commit": true
}{- "created": "2019-08-24T14:15:22Z",
- "interval": "string",
- "last_error": "string",
- "last_update": "2019-08-24T14:15:22Z",
- "remote_address": "string",
- "remote_name": "string",
- "repo_name": "string",
- "sync_on_commit": true
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| name required | string remote name of push mirror |
{- "created": "2019-08-24T14:15:22Z",
- "interval": "string",
- "last_error": "string",
- "last_update": "2019-08-24T14:15:22Z",
- "remote_address": "string",
- "remote_name": "string",
- "repo_name": "string",
- "sync_on_commit": true
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| filepath required | string path of the file to get, it should be "{ref}/{filepath}". If there is no ref could be inferred, it will be treated as the default branch |
| ref | string The name of the commit/branch/tag. Default the repository’s default branch |
| owner required | string owner of the repo |
| repo required | string name of the repo |
| draft | boolean filter (exclude / include) drafts, if you dont have repo write access none will show |
| pre-release | boolean filter (exclude / include) pre-releases |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "assets": [
- {
- "browser_download_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "download_count": 0,
- "id": 0,
- "name": "string",
- "size": 0,
- "uuid": "string"
}
], - "author": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "body": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "draft": true,
- "html_url": "string",
- "id": 0,
- "name": "string",
- "prerelease": true,
- "published_at": "2019-08-24T14:15:22Z",
- "tag_name": "string",
- "tarball_url": "string",
- "target_commitish": "string",
- "upload_url": "string",
- "url": "string",
- "zipball_url": "string"
}
]| owner required | string owner of the repo |
| repo required | string name of the repo |
| body | string |
| draft | boolean |
| name | string |
| prerelease | boolean |
| tag_name required | string |
| target_commitish | string |
{- "body": "string",
- "draft": true,
- "name": "string",
- "prerelease": true,
- "tag_name": "string",
- "target_commitish": "string"
}{- "assets": [
- {
- "browser_download_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "download_count": 0,
- "id": 0,
- "name": "string",
- "size": 0,
- "uuid": "string"
}
], - "author": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "body": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "draft": true,
- "html_url": "string",
- "id": 0,
- "name": "string",
- "prerelease": true,
- "published_at": "2019-08-24T14:15:22Z",
- "tag_name": "string",
- "tarball_url": "string",
- "target_commitish": "string",
- "upload_url": "string",
- "url": "string",
- "zipball_url": "string"
}| owner required | string owner of the repo |
| repo required | string name of the repo |
{- "assets": [
- {
- "browser_download_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "download_count": 0,
- "id": 0,
- "name": "string",
- "size": 0,
- "uuid": "string"
}
], - "author": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "body": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "draft": true,
- "html_url": "string",
- "id": 0,
- "name": "string",
- "prerelease": true,
- "published_at": "2019-08-24T14:15:22Z",
- "tag_name": "string",
- "tarball_url": "string",
- "target_commitish": "string",
- "upload_url": "string",
- "url": "string",
- "zipball_url": "string"
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| tag required | string tag name of the release to get |
{- "assets": [
- {
- "browser_download_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "download_count": 0,
- "id": 0,
- "name": "string",
- "size": 0,
- "uuid": "string"
}
], - "author": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "body": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "draft": true,
- "html_url": "string",
- "id": 0,
- "name": "string",
- "prerelease": true,
- "published_at": "2019-08-24T14:15:22Z",
- "tag_name": "string",
- "tarball_url": "string",
- "target_commitish": "string",
- "upload_url": "string",
- "url": "string",
- "zipball_url": "string"
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| id required | integer <int64> id of the release to get |
{- "assets": [
- {
- "browser_download_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "download_count": 0,
- "id": 0,
- "name": "string",
- "size": 0,
- "uuid": "string"
}
], - "author": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "body": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "draft": true,
- "html_url": "string",
- "id": 0,
- "name": "string",
- "prerelease": true,
- "published_at": "2019-08-24T14:15:22Z",
- "tag_name": "string",
- "tarball_url": "string",
- "target_commitish": "string",
- "upload_url": "string",
- "url": "string",
- "zipball_url": "string"
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| id required | integer <int64> id of the release to edit |
| body | string |
| draft | boolean |
| name | string |
| prerelease | boolean |
| tag_name | string |
| target_commitish | string |
{- "body": "string",
- "draft": true,
- "name": "string",
- "prerelease": true,
- "tag_name": "string",
- "target_commitish": "string"
}{- "assets": [
- {
- "browser_download_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "download_count": 0,
- "id": 0,
- "name": "string",
- "size": 0,
- "uuid": "string"
}
], - "author": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "body": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "draft": true,
- "html_url": "string",
- "id": 0,
- "name": "string",
- "prerelease": true,
- "published_at": "2019-08-24T14:15:22Z",
- "tag_name": "string",
- "tarball_url": "string",
- "target_commitish": "string",
- "upload_url": "string",
- "url": "string",
- "zipball_url": "string"
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| id required | integer <int64> id of the release |
[- {
- "browser_download_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "download_count": 0,
- "id": 0,
- "name": "string",
- "size": 0,
- "uuid": "string"
}
]| owner required | string owner of the repo |
| repo required | string name of the repo |
| id required | integer <int64> id of the release |
| name | string name of the attachment |
| attachment | string <binary> attachment to upload |
{- "browser_download_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "download_count": 0,
- "id": 0,
- "name": "string",
- "size": 0,
- "uuid": "string"
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| id required | integer <int64> id of the release |
| attachment_id required | integer <int64> id of the attachment to get |
{- "browser_download_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "download_count": 0,
- "id": 0,
- "name": "string",
- "size": 0,
- "uuid": "string"
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| id required | integer <int64> id of the release |
| attachment_id required | integer <int64> id of the attachment to delete |
| owner required | string owner of the repo |
| repo required | string name of the repo |
| id required | integer <int64> id of the release |
| attachment_id required | integer <int64> id of the attachment to edit |
| name | string |
{- "name": "string"
}{- "browser_download_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "download_count": 0,
- "id": 0,
- "name": "string",
- "size": 0,
- "uuid": "string"
}| owner required | string owner of the repo |
| repo required | string name of the repo |
[- {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
]| owner required | string owner of the repo |
| repo required | string name of the repo |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
]| owner required | string owner of the repo |
| repo required | string name of the repo |
| sha required | string sha of the commit |
| sort | string Enum: "oldest" "recentupdate" "leastupdate" "leastindex" "highestindex" type of sort |
| state | string Enum: "pending" "success" "error" "failure" "warning" type of state |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "context": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "creator": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "description": "string",
- "id": 0,
- "status": "string",
- "target_url": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string"
}
]| owner required | string owner of the repo |
| repo required | string name of the repo |
| sha required | string sha of the commit |
| context | string |
| description | string |
| state | string (CommitStatusState) CommitStatusState holds the state of a CommitStatus It can be "pending", "success", "error" and "failure" |
| target_url | string |
{- "context": "string",
- "description": "string",
- "state": "string",
- "target_url": "string"
}{- "context": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "creator": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "description": "string",
- "id": 0,
- "status": "string",
- "target_url": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string"
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
]| owner required | string owner of the repo |
| repo required | string name of the repo |
{- "created_at": "2019-08-24T14:15:22Z",
- "ignored": true,
- "reason": null,
- "repository_url": "string",
- "subscribed": true,
- "url": "string"
}| owner required | string owner of the repo |
| repo required | string name of the repo |
{- "created_at": "2019-08-24T14:15:22Z",
- "ignored": true,
- "reason": null,
- "repository_url": "string",
- "subscribed": true,
- "url": "string"
}| owner required | string owner of the repo |
| repo required | string name of the repo |
[- {
- "created_at": "2019-08-24T14:15:22Z",
- "id": 0,
- "name_pattern": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "whitelist_teams": [
- "string"
], - "whitelist_usernames": [
- "string"
]
}
]| owner required | string owner of the repo |
| repo required | string name of the repo |
| name_pattern | string |
| whitelist_teams | Array of strings |
| whitelist_usernames | Array of strings |
{- "name_pattern": "string",
- "whitelist_teams": [
- "string"
], - "whitelist_usernames": [
- "string"
]
}{- "created_at": "2019-08-24T14:15:22Z",
- "id": 0,
- "name_pattern": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "whitelist_teams": [
- "string"
], - "whitelist_usernames": [
- "string"
]
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| id required | integer id of the tag protect to get |
{- "created_at": "2019-08-24T14:15:22Z",
- "id": 0,
- "name_pattern": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "whitelist_teams": [
- "string"
], - "whitelist_usernames": [
- "string"
]
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| id required | integer id of protected tag |
| name_pattern | string |
| whitelist_teams | Array of strings |
| whitelist_usernames | Array of strings |
{- "name_pattern": "string",
- "whitelist_teams": [
- "string"
], - "whitelist_usernames": [
- "string"
]
}{- "created_at": "2019-08-24T14:15:22Z",
- "id": 0,
- "name_pattern": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "whitelist_teams": [
- "string"
], - "whitelist_usernames": [
- "string"
]
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results, default maximum page size is 50 |
[- {
- "commit": {
- "created": "2019-08-24T14:15:22Z",
- "sha": "string",
- "url": "string"
}, - "id": "string",
- "message": "string",
- "name": "string",
- "tarball_url": "string",
- "zipball_url": "string"
}
]| owner required | string owner of the repo |
| repo required | string name of the repo |
| message | string |
| tag_name required | string |
| target | string |
{- "message": "string",
- "tag_name": "string",
- "target": "string"
}{- "commit": {
- "created": "2019-08-24T14:15:22Z",
- "sha": "string",
- "url": "string"
}, - "id": "string",
- "message": "string",
- "name": "string",
- "tarball_url": "string",
- "zipball_url": "string"
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| tag required | string name of tag |
{- "commit": {
- "created": "2019-08-24T14:15:22Z",
- "sha": "string",
- "url": "string"
}, - "id": "string",
- "message": "string",
- "name": "string",
- "tarball_url": "string",
- "zipball_url": "string"
}| owner required | string owner of the repo |
| repo required | string name of the repo |
[- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
]| owner required | string owner of the repo |
| repo required | string name of the repo |
| team required | string team name |
{- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| user | string optional filter by user (available for issue managers) |
| since | string <date-time> Only show times updated after the given time. This is a timestamp in RFC 3339 format |
| before | string <date-time> Only show times updated before the given time. This is a timestamp in RFC 3339 format |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "created": "2019-08-24T14:15:22Z",
- "id": 0,
- "issue": {
- "assets": [
- {
- "browser_download_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "download_count": 0,
- "id": 0,
- "name": "string",
- "size": 0,
- "uuid": "string"
}
], - "assignee": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "assignees": [
- {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
], - "body": "string",
- "closed_at": "2019-08-24T14:15:22Z",
- "comments": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "due_date": "2019-08-24T14:15:22Z",
- "html_url": "string",
- "id": 0,
- "is_locked": true,
- "labels": [
- {
- "color": "00aabb",
- "description": "string",
- "exclusive": false,
- "id": 0,
- "is_archived": false,
- "name": "string",
- "url": "string"
}
], - "milestone": {
- "closed_at": "2019-08-24T14:15:22Z",
- "closed_issues": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "description": "string",
- "due_on": "2019-08-24T14:15:22Z",
- "id": 0,
- "open_issues": 0,
- "state": "string",
- "title": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "number": 0,
- "original_author": "string",
- "original_author_id": 0,
- "pin_order": 0,
- "pull_request": {
- "draft": true,
- "html_url": "string",
- "merged": true,
- "merged_at": "2019-08-24T14:15:22Z"
}, - "ref": "string",
- "repository": {
- "full_name": "string",
- "id": 0,
- "name": "string",
- "owner": "string"
}, - "state": "string",
- "title": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
}, - "issue_id": 0,
- "time": 0,
- "user_id": 0,
- "user_name": "string"
}
]| owner required | string owner of the repo |
| repo required | string name of the repo |
| user required | string username of user |
[- {
- "created": "2019-08-24T14:15:22Z",
- "id": 0,
- "issue": {
- "assets": [
- {
- "browser_download_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "download_count": 0,
- "id": 0,
- "name": "string",
- "size": 0,
- "uuid": "string"
}
], - "assignee": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "assignees": [
- {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
], - "body": "string",
- "closed_at": "2019-08-24T14:15:22Z",
- "comments": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "due_date": "2019-08-24T14:15:22Z",
- "html_url": "string",
- "id": 0,
- "is_locked": true,
- "labels": [
- {
- "color": "00aabb",
- "description": "string",
- "exclusive": false,
- "id": 0,
- "is_archived": false,
- "name": "string",
- "url": "string"
}
], - "milestone": {
- "closed_at": "2019-08-24T14:15:22Z",
- "closed_issues": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "description": "string",
- "due_on": "2019-08-24T14:15:22Z",
- "id": 0,
- "open_issues": 0,
- "state": "string",
- "title": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "number": 0,
- "original_author": "string",
- "original_author_id": 0,
- "pin_order": 0,
- "pull_request": {
- "draft": true,
- "html_url": "string",
- "merged": true,
- "merged_at": "2019-08-24T14:15:22Z"
}, - "ref": "string",
- "repository": {
- "full_name": "string",
- "id": 0,
- "name": "string",
- "owner": "string"
}, - "state": "string",
- "title": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
}, - "issue_id": 0,
- "time": 0,
- "user_id": 0,
- "user_name": "string"
}
]| owner required | string owner of the repo |
| repo required | string name of the repo |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
{- "topics": [
- "string"
]
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| topics | Array of strings list of topic names |
{- "topics": [
- "string"
]
}| owner required | string owner of the repo to transfer |
| repo required | string name of the repo to transfer |
Transfer Options
| new_owner required | string |
| team_ids | Array of integers <int64> [ items <int64 > ] ID of the team or teams to add to the repository. Teams can only be added to organization-owned repositories. |
{- "new_owner": "string",
- "team_ids": [
- 0
]
}{- "allow_fast_forward_only_merge": true,
- "allow_merge_commits": true,
- "allow_rebase": true,
- "allow_rebase_explicit": true,
- "allow_rebase_update": true,
- "allow_squash_merge": true,
- "archived": true,
- "archived_at": "2019-08-24T14:15:22Z",
- "avatar_url": "string",
- "clone_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "default_allow_maintainer_edit": true,
- "default_branch": "string",
- "default_delete_branch_after_merge": true,
- "default_merge_style": "string",
- "description": "string",
- "empty": true,
- "external_tracker": {
- "external_tracker_format": "string",
- "external_tracker_regexp_pattern": "string",
- "external_tracker_style": "string",
- "external_tracker_url": "string"
}, - "external_wiki": {
- "external_wiki_url": "string"
}, - "fork": true,
- "forks_count": 0,
- "full_name": "string",
- "has_actions": true,
- "has_issues": true,
- "has_packages": true,
- "has_projects": true,
- "has_pull_requests": true,
- "has_releases": true,
- "has_wiki": true,
- "html_url": "string",
- "id": 0,
- "ignore_whitespace_conflicts": true,
- "internal": true,
- "internal_tracker": {
- "allow_only_contributors_to_track_time": true,
- "enable_issue_dependencies": true,
- "enable_time_tracker": true
}, - "language": "string",
- "languages_url": "string",
- "licenses": [
- "string"
], - "link": "string",
- "mirror": true,
- "mirror_interval": "string",
- "mirror_updated": "2019-08-24T14:15:22Z",
- "name": "string",
- "object_format_name": "sha1",
- "open_issues_count": 0,
- "open_pr_counter": 0,
- "original_url": "string",
- "owner": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "parent": { },
- "permissions": {
- "admin": true,
- "pull": true,
- "push": true
}, - "private": true,
- "projects_mode": "string",
- "release_counter": 0,
- "repo_transfer": {
- "doer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "recipient": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "teams": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
]
}, - "size": 0,
- "ssh_url": "string",
- "stars_count": 0,
- "template": true,
- "topics": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "watchers_count": 0,
- "website": "string"
}| owner required | string owner of the repo to transfer |
| repo required | string name of the repo to transfer |
{- "allow_fast_forward_only_merge": true,
- "allow_merge_commits": true,
- "allow_rebase": true,
- "allow_rebase_explicit": true,
- "allow_rebase_update": true,
- "allow_squash_merge": true,
- "archived": true,
- "archived_at": "2019-08-24T14:15:22Z",
- "avatar_url": "string",
- "clone_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "default_allow_maintainer_edit": true,
- "default_branch": "string",
- "default_delete_branch_after_merge": true,
- "default_merge_style": "string",
- "description": "string",
- "empty": true,
- "external_tracker": {
- "external_tracker_format": "string",
- "external_tracker_regexp_pattern": "string",
- "external_tracker_style": "string",
- "external_tracker_url": "string"
}, - "external_wiki": {
- "external_wiki_url": "string"
}, - "fork": true,
- "forks_count": 0,
- "full_name": "string",
- "has_actions": true,
- "has_issues": true,
- "has_packages": true,
- "has_projects": true,
- "has_pull_requests": true,
- "has_releases": true,
- "has_wiki": true,
- "html_url": "string",
- "id": 0,
- "ignore_whitespace_conflicts": true,
- "internal": true,
- "internal_tracker": {
- "allow_only_contributors_to_track_time": true,
- "enable_issue_dependencies": true,
- "enable_time_tracker": true
}, - "language": "string",
- "languages_url": "string",
- "licenses": [
- "string"
], - "link": "string",
- "mirror": true,
- "mirror_interval": "string",
- "mirror_updated": "2019-08-24T14:15:22Z",
- "name": "string",
- "object_format_name": "sha1",
- "open_issues_count": 0,
- "open_pr_counter": 0,
- "original_url": "string",
- "owner": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "parent": { },
- "permissions": {
- "admin": true,
- "pull": true,
- "push": true
}, - "private": true,
- "projects_mode": "string",
- "release_counter": 0,
- "repo_transfer": {
- "doer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "recipient": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "teams": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
]
}, - "size": 0,
- "ssh_url": "string",
- "stars_count": 0,
- "template": true,
- "topics": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "watchers_count": 0,
- "website": "string"
}| owner required | string owner of the repo to transfer |
| repo required | string name of the repo to transfer |
{- "allow_fast_forward_only_merge": true,
- "allow_merge_commits": true,
- "allow_rebase": true,
- "allow_rebase_explicit": true,
- "allow_rebase_update": true,
- "allow_squash_merge": true,
- "archived": true,
- "archived_at": "2019-08-24T14:15:22Z",
- "avatar_url": "string",
- "clone_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "default_allow_maintainer_edit": true,
- "default_branch": "string",
- "default_delete_branch_after_merge": true,
- "default_merge_style": "string",
- "description": "string",
- "empty": true,
- "external_tracker": {
- "external_tracker_format": "string",
- "external_tracker_regexp_pattern": "string",
- "external_tracker_style": "string",
- "external_tracker_url": "string"
}, - "external_wiki": {
- "external_wiki_url": "string"
}, - "fork": true,
- "forks_count": 0,
- "full_name": "string",
- "has_actions": true,
- "has_issues": true,
- "has_packages": true,
- "has_projects": true,
- "has_pull_requests": true,
- "has_releases": true,
- "has_wiki": true,
- "html_url": "string",
- "id": 0,
- "ignore_whitespace_conflicts": true,
- "internal": true,
- "internal_tracker": {
- "allow_only_contributors_to_track_time": true,
- "enable_issue_dependencies": true,
- "enable_time_tracker": true
}, - "language": "string",
- "languages_url": "string",
- "licenses": [
- "string"
], - "link": "string",
- "mirror": true,
- "mirror_interval": "string",
- "mirror_updated": "2019-08-24T14:15:22Z",
- "name": "string",
- "object_format_name": "sha1",
- "open_issues_count": 0,
- "open_pr_counter": 0,
- "original_url": "string",
- "owner": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "parent": { },
- "permissions": {
- "admin": true,
- "pull": true,
- "push": true
}, - "private": true,
- "projects_mode": "string",
- "release_counter": 0,
- "repo_transfer": {
- "doer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "recipient": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "teams": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
]
}, - "size": 0,
- "ssh_url": "string",
- "stars_count": 0,
- "template": true,
- "topics": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "watchers_count": 0,
- "website": "string"
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| content_base64 | string content must be base64 encoded |
| message | string optional commit message summarizing the change |
| title | string page title. leave empty to keep unchanged |
{- "content_base64": "string",
- "message": "string",
- "title": "string"
}{- "commit_count": 0,
- "content_base64": "string",
- "footer": "string",
- "html_url": "string",
- "last_commit": {
- "author": {
- "date": "string",
- "email": "user@example.com",
- "name": "string"
}, - "commiter": {
- "date": "string",
- "email": "user@example.com",
- "name": "string"
}, - "message": "string",
- "sha": "string"
}, - "sidebar": "string",
- "sub_url": "string",
- "title": "string"
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| pageName required | string name of the page |
{- "commit_count": 0,
- "content_base64": "string",
- "footer": "string",
- "html_url": "string",
- "last_commit": {
- "author": {
- "date": "string",
- "email": "user@example.com",
- "name": "string"
}, - "commiter": {
- "date": "string",
- "email": "user@example.com",
- "name": "string"
}, - "message": "string",
- "sha": "string"
}, - "sidebar": "string",
- "sub_url": "string",
- "title": "string"
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| pageName required | string name of the page |
| content_base64 | string content must be base64 encoded |
| message | string optional commit message summarizing the change |
| title | string page title. leave empty to keep unchanged |
{- "content_base64": "string",
- "message": "string",
- "title": "string"
}{- "commit_count": 0,
- "content_base64": "string",
- "footer": "string",
- "html_url": "string",
- "last_commit": {
- "author": {
- "date": "string",
- "email": "user@example.com",
- "name": "string"
}, - "commiter": {
- "date": "string",
- "email": "user@example.com",
- "name": "string"
}, - "message": "string",
- "sha": "string"
}, - "sidebar": "string",
- "sub_url": "string",
- "title": "string"
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "html_url": "string",
- "last_commit": {
- "author": {
- "date": "string",
- "email": "user@example.com",
- "name": "string"
}, - "commiter": {
- "date": "string",
- "email": "user@example.com",
- "name": "string"
}, - "message": "string",
- "sha": "string"
}, - "sub_url": "string",
- "title": "string"
}
]| owner required | string owner of the repo |
| repo required | string name of the repo |
| pageName required | string name of the page |
| page | integer page number of results to return (1-based) |
{- "commits": [
- {
- "author": {
- "date": "string",
- "email": "user@example.com",
- "name": "string"
}, - "commiter": {
- "date": "string",
- "email": "user@example.com",
- "name": "string"
}, - "message": "string",
- "sha": "string"
}
], - "count": 0
}| template_owner required | string name of the template repository owner |
| template_repo required | string name of the template repository |
| avatar | boolean include avatar of the template repo |
| default_branch | string Default branch of the new repository |
| description | string Description of the repository to create |
| git_content | boolean include git content of default branch in template repo |
| git_hooks | boolean include git hooks in template repo |
| labels | boolean include labels in template repo |
| name required | string unique Name of the repository to create |
| owner required | string The organization or person who will own the new repository |
| private | boolean Whether the repository is private |
| protected_branch | boolean include protected branches in template repo |
| topics | boolean include topics in template repo |
| webhooks | boolean include webhooks in template repo |
{- "avatar": true,
- "default_branch": "string",
- "description": "string",
- "git_content": true,
- "git_hooks": true,
- "labels": true,
- "name": "string",
- "owner": "string",
- "private": true,
- "protected_branch": true,
- "topics": true,
- "webhooks": true
}{- "allow_fast_forward_only_merge": true,
- "allow_merge_commits": true,
- "allow_rebase": true,
- "allow_rebase_explicit": true,
- "allow_rebase_update": true,
- "allow_squash_merge": true,
- "archived": true,
- "archived_at": "2019-08-24T14:15:22Z",
- "avatar_url": "string",
- "clone_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "default_allow_maintainer_edit": true,
- "default_branch": "string",
- "default_delete_branch_after_merge": true,
- "default_merge_style": "string",
- "description": "string",
- "empty": true,
- "external_tracker": {
- "external_tracker_format": "string",
- "external_tracker_regexp_pattern": "string",
- "external_tracker_style": "string",
- "external_tracker_url": "string"
}, - "external_wiki": {
- "external_wiki_url": "string"
}, - "fork": true,
- "forks_count": 0,
- "full_name": "string",
- "has_actions": true,
- "has_issues": true,
- "has_packages": true,
- "has_projects": true,
- "has_pull_requests": true,
- "has_releases": true,
- "has_wiki": true,
- "html_url": "string",
- "id": 0,
- "ignore_whitespace_conflicts": true,
- "internal": true,
- "internal_tracker": {
- "allow_only_contributors_to_track_time": true,
- "enable_issue_dependencies": true,
- "enable_time_tracker": true
}, - "language": "string",
- "languages_url": "string",
- "licenses": [
- "string"
], - "link": "string",
- "mirror": true,
- "mirror_interval": "string",
- "mirror_updated": "2019-08-24T14:15:22Z",
- "name": "string",
- "object_format_name": "sha1",
- "open_issues_count": 0,
- "open_pr_counter": 0,
- "original_url": "string",
- "owner": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "parent": { },
- "permissions": {
- "admin": true,
- "pull": true,
- "push": true
}, - "private": true,
- "projects_mode": "string",
- "release_counter": 0,
- "repo_transfer": {
- "doer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "recipient": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "teams": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
]
}, - "size": 0,
- "ssh_url": "string",
- "stars_count": 0,
- "template": true,
- "topics": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "watchers_count": 0,
- "website": "string"
}| id required | integer <int64> id of the repo to get |
{- "allow_fast_forward_only_merge": true,
- "allow_merge_commits": true,
- "allow_rebase": true,
- "allow_rebase_explicit": true,
- "allow_rebase_update": true,
- "allow_squash_merge": true,
- "archived": true,
- "archived_at": "2019-08-24T14:15:22Z",
- "avatar_url": "string",
- "clone_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "default_allow_maintainer_edit": true,
- "default_branch": "string",
- "default_delete_branch_after_merge": true,
- "default_merge_style": "string",
- "description": "string",
- "empty": true,
- "external_tracker": {
- "external_tracker_format": "string",
- "external_tracker_regexp_pattern": "string",
- "external_tracker_style": "string",
- "external_tracker_url": "string"
}, - "external_wiki": {
- "external_wiki_url": "string"
}, - "fork": true,
- "forks_count": 0,
- "full_name": "string",
- "has_actions": true,
- "has_issues": true,
- "has_packages": true,
- "has_projects": true,
- "has_pull_requests": true,
- "has_releases": true,
- "has_wiki": true,
- "html_url": "string",
- "id": 0,
- "ignore_whitespace_conflicts": true,
- "internal": true,
- "internal_tracker": {
- "allow_only_contributors_to_track_time": true,
- "enable_issue_dependencies": true,
- "enable_time_tracker": true
}, - "language": "string",
- "languages_url": "string",
- "licenses": [
- "string"
], - "link": "string",
- "mirror": true,
- "mirror_interval": "string",
- "mirror_updated": "2019-08-24T14:15:22Z",
- "name": "string",
- "object_format_name": "sha1",
- "open_issues_count": 0,
- "open_pr_counter": 0,
- "original_url": "string",
- "owner": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "parent": { },
- "permissions": {
- "admin": true,
- "pull": true,
- "push": true
}, - "private": true,
- "projects_mode": "string",
- "release_counter": 0,
- "repo_transfer": {
- "doer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "recipient": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "teams": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
]
}, - "size": 0,
- "ssh_url": "string",
- "stars_count": 0,
- "template": true,
- "topics": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "watchers_count": 0,
- "website": "string"
}| q required | string keywords to search |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "created": "2019-08-24T14:15:22Z",
- "id": 0,
- "repo_count": 0,
- "topic_name": "string",
- "updated": "2019-08-24T14:15:22Z"
}
]| auto_init | boolean Whether the repository should be auto-initialized? |
| default_branch | string DefaultBranch of the repository (used when initializes and in template) |
| description | string Description of the repository to create |
| gitignores | string Gitignores to use |
| issue_labels | string Label-Set to use |
| license | string License to use |
| name required | string unique Name of the repository to create |
| object_format_name | string Enum: "sha1" "sha256" ObjectFormatName of the underlying git repository |
| private | boolean Whether the repository is private |
| readme | string Readme of the repository to create |
| template | boolean Whether the repository is template |
| trust_model | string Enum: "default" "collaborator" "committer" "collaboratorcommitter" TrustModel of the repository |
{- "auto_init": true,
- "default_branch": "string",
- "description": "string",
- "gitignores": "string",
- "issue_labels": "string",
- "license": "string",
- "name": "string",
- "object_format_name": "sha1",
- "private": true,
- "readme": "string",
- "template": true,
- "trust_model": "default"
}{- "allow_fast_forward_only_merge": true,
- "allow_merge_commits": true,
- "allow_rebase": true,
- "allow_rebase_explicit": true,
- "allow_rebase_update": true,
- "allow_squash_merge": true,
- "archived": true,
- "archived_at": "2019-08-24T14:15:22Z",
- "avatar_url": "string",
- "clone_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "default_allow_maintainer_edit": true,
- "default_branch": "string",
- "default_delete_branch_after_merge": true,
- "default_merge_style": "string",
- "description": "string",
- "empty": true,
- "external_tracker": {
- "external_tracker_format": "string",
- "external_tracker_regexp_pattern": "string",
- "external_tracker_style": "string",
- "external_tracker_url": "string"
}, - "external_wiki": {
- "external_wiki_url": "string"
}, - "fork": true,
- "forks_count": 0,
- "full_name": "string",
- "has_actions": true,
- "has_issues": true,
- "has_packages": true,
- "has_projects": true,
- "has_pull_requests": true,
- "has_releases": true,
- "has_wiki": true,
- "html_url": "string",
- "id": 0,
- "ignore_whitespace_conflicts": true,
- "internal": true,
- "internal_tracker": {
- "allow_only_contributors_to_track_time": true,
- "enable_issue_dependencies": true,
- "enable_time_tracker": true
}, - "language": "string",
- "languages_url": "string",
- "licenses": [
- "string"
], - "link": "string",
- "mirror": true,
- "mirror_interval": "string",
- "mirror_updated": "2019-08-24T14:15:22Z",
- "name": "string",
- "object_format_name": "sha1",
- "open_issues_count": 0,
- "open_pr_counter": 0,
- "original_url": "string",
- "owner": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "parent": { },
- "permissions": {
- "admin": true,
- "pull": true,
- "push": true
}, - "private": true,
- "projects_mode": "string",
- "release_counter": 0,
- "repo_transfer": {
- "doer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "recipient": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "teams": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
]
}, - "size": 0,
- "ssh_url": "string",
- "stars_count": 0,
- "template": true,
- "topics": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "watchers_count": 0,
- "website": "string"
}{- "http_git_disabled": true,
- "lfs_disabled": true,
- "migrations_disabled": true,
- "mirrors_disabled": true,
- "stars_disabled": true,
- "time_tracking_disabled": true
}{- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}| secretname required | string name of the secret |
| data required | string Data of the secret to update |
{- "data": "string"
}| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "data": "string",
- "name": "string",
- "owner_id": 0,
- "repo_id": 0
}
]| variablename required | string name of the variable |
{- "data": "string",
- "name": "string",
- "owner_id": 0,
- "repo_id": 0
}| variablename required | string name of the variable |
| name | string New name for the variable. If the field is empty, the variable name won't be updated. |
| value required | string Value of the variable to update |
{- "name": "string",
- "value": "string"
}| variablename required | string name of the variable |
| value required | string Value of the variable to create |
{- "value": "string"
}| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "client_id": "string",
- "client_secret": "string",
- "confidential_client": true,
- "created": "2019-08-24T14:15:22Z",
- "id": 0,
- "name": "string",
- "redirect_uris": [
- "string"
], - "skip_secondary_authorization": true
}
]| confidential_client | boolean |
| name | string |
| redirect_uris | Array of strings |
| skip_secondary_authorization | boolean |
{- "confidential_client": true,
- "name": "string",
- "redirect_uris": [
- "string"
], - "skip_secondary_authorization": true
}{- "client_id": "string",
- "client_secret": "string",
- "confidential_client": true,
- "created": "2019-08-24T14:15:22Z",
- "id": 0,
- "name": "string",
- "redirect_uris": [
- "string"
], - "skip_secondary_authorization": true
}| id required | integer <int64> Application ID to be found |
{- "client_id": "string",
- "client_secret": "string",
- "confidential_client": true,
- "created": "2019-08-24T14:15:22Z",
- "id": 0,
- "name": "string",
- "redirect_uris": [
- "string"
], - "skip_secondary_authorization": true
}| id required | integer <int64> application to be updated |
| confidential_client | boolean |
| name | string |
| redirect_uris | Array of strings |
| skip_secondary_authorization | boolean |
{- "confidential_client": true,
- "name": "string",
- "redirect_uris": [
- "string"
], - "skip_secondary_authorization": true
}{- "client_id": "string",
- "client_secret": "string",
- "confidential_client": true,
- "created": "2019-08-24T14:15:22Z",
- "id": 0,
- "name": "string",
- "redirect_uris": [
- "string"
], - "skip_secondary_authorization": true
}| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
]| emails | Array of strings email addresses to add |
{- "emails": [
- "string"
]
}[- {
- "email": "user@example.com",
- "primary": true,
- "user_id": 0,
- "username": "string",
- "verified": true
}
]| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
]| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
]{- "can_certify": true,
- "can_encrypt_comms": true,
- "can_encrypt_storage": true,
- "can_sign": true,
- "created_at": "2019-08-24T14:15:22Z",
- "emails": [
- {
- "email": "string",
- "verified": true
}
], - "expires_at": "2019-08-24T14:15:22Z",
- "id": 0,
- "key_id": "string",
- "primary_key_id": "string",
- "public_key": "string",
- "subkeys": [
- { }
], - "verified": true
}| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "can_certify": true,
- "can_encrypt_comms": true,
- "can_encrypt_storage": true,
- "can_sign": true,
- "created_at": "2019-08-24T14:15:22Z",
- "emails": [
- {
- "email": "string",
- "verified": true
}
], - "expires_at": "2019-08-24T14:15:22Z",
- "id": 0,
- "key_id": "string",
- "primary_key_id": "string",
- "public_key": "string",
- "subkeys": [
- { }
], - "verified": true
}
]| armored_public_key required | string unique An armored GPG key to add |
| armored_signature | string |
{- "armored_public_key": "string",
- "armored_signature": "string"
}{- "can_certify": true,
- "can_encrypt_comms": true,
- "can_encrypt_storage": true,
- "can_sign": true,
- "created_at": "2019-08-24T14:15:22Z",
- "emails": [
- {
- "email": "string",
- "verified": true
}
], - "expires_at": "2019-08-24T14:15:22Z",
- "id": 0,
- "key_id": "string",
- "primary_key_id": "string",
- "public_key": "string",
- "subkeys": [
- { }
], - "verified": true
}| id required | integer <int64> id of key to get |
{- "can_certify": true,
- "can_encrypt_comms": true,
- "can_encrypt_storage": true,
- "can_sign": true,
- "created_at": "2019-08-24T14:15:22Z",
- "emails": [
- {
- "email": "string",
- "verified": true
}
], - "expires_at": "2019-08-24T14:15:22Z",
- "id": 0,
- "key_id": "string",
- "primary_key_id": "string",
- "public_key": "string",
- "subkeys": [
- { }
], - "verified": true
}| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "active": true,
- "authorization_header": "string",
- "branch_filter": "string",
- "config": {
- "property1": "string",
- "property2": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "events": [
- "string"
], - "id": 0,
- "type": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}
]| active | boolean Default: false |
| authorization_header | string |
| branch_filter | string |
required | object (CreateHookOptionConfig) CreateHookOptionConfig has all config options in it required are "content_type" and "url" Required |
| events | Array of strings |
| type required | string Enum: "dingtalk" "discord" "gitea" "gogs" "msteams" "slack" "telegram" "feishu" "wechatwork" "packagist" |
{- "active": false,
- "authorization_header": "string",
- "branch_filter": "string",
- "config": {
- "property1": "string",
- "property2": "string"
}, - "events": [
- "string"
], - "type": "dingtalk"
}{- "active": true,
- "authorization_header": "string",
- "branch_filter": "string",
- "config": {
- "property1": "string",
- "property2": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "events": [
- "string"
], - "id": 0,
- "type": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}| id required | integer <int64> id of the hook to get |
{- "active": true,
- "authorization_header": "string",
- "branch_filter": "string",
- "config": {
- "property1": "string",
- "property2": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "events": [
- "string"
], - "id": 0,
- "type": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}| id required | integer <int64> id of the hook to update |
| active | boolean |
| authorization_header | string |
| branch_filter | string |
object | |
| events | Array of strings |
{- "active": true,
- "authorization_header": "string",
- "branch_filter": "string",
- "config": {
- "property1": "string",
- "property2": "string"
}, - "events": [
- "string"
]
}{- "active": true,
- "authorization_header": "string",
- "branch_filter": "string",
- "config": {
- "property1": "string",
- "property2": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "events": [
- "string"
], - "id": 0,
- "type": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}| fingerprint | string fingerprint of the key |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "created_at": "2019-08-24T14:15:22Z",
- "fingerprint": "string",
- "id": 0,
- "key": "string",
- "key_type": "string",
- "read_only": true,
- "title": "string",
- "url": "string",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
}
]| key required | string unique An armored SSH key to add |
| read_only | boolean Describe if the key has only read access or read/write |
| title required | string unique Title of the key to add |
{- "key": "string",
- "read_only": true,
- "title": "string"
}{- "created_at": "2019-08-24T14:15:22Z",
- "fingerprint": "string",
- "id": 0,
- "key": "string",
- "key_type": "string",
- "read_only": true,
- "title": "string",
- "url": "string",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
}| id required | integer <int64> id of key to get |
{- "created_at": "2019-08-24T14:15:22Z",
- "fingerprint": "string",
- "id": 0,
- "key": "string",
- "key_type": "string",
- "read_only": true,
- "title": "string",
- "url": "string",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
}| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "allow_fast_forward_only_merge": true,
- "allow_merge_commits": true,
- "allow_rebase": true,
- "allow_rebase_explicit": true,
- "allow_rebase_update": true,
- "allow_squash_merge": true,
- "archived": true,
- "archived_at": "2019-08-24T14:15:22Z",
- "avatar_url": "string",
- "clone_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "default_allow_maintainer_edit": true,
- "default_branch": "string",
- "default_delete_branch_after_merge": true,
- "default_merge_style": "string",
- "description": "string",
- "empty": true,
- "external_tracker": {
- "external_tracker_format": "string",
- "external_tracker_regexp_pattern": "string",
- "external_tracker_style": "string",
- "external_tracker_url": "string"
}, - "external_wiki": {
- "external_wiki_url": "string"
}, - "fork": true,
- "forks_count": 0,
- "full_name": "string",
- "has_actions": true,
- "has_issues": true,
- "has_packages": true,
- "has_projects": true,
- "has_pull_requests": true,
- "has_releases": true,
- "has_wiki": true,
- "html_url": "string",
- "id": 0,
- "ignore_whitespace_conflicts": true,
- "internal": true,
- "internal_tracker": {
- "allow_only_contributors_to_track_time": true,
- "enable_issue_dependencies": true,
- "enable_time_tracker": true
}, - "language": "string",
- "languages_url": "string",
- "licenses": [
- "string"
], - "link": "string",
- "mirror": true,
- "mirror_interval": "string",
- "mirror_updated": "2019-08-24T14:15:22Z",
- "name": "string",
- "object_format_name": "sha1",
- "open_issues_count": 0,
- "open_pr_counter": 0,
- "original_url": "string",
- "owner": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "parent": { },
- "permissions": {
- "admin": true,
- "pull": true,
- "push": true
}, - "private": true,
- "projects_mode": "string",
- "release_counter": 0,
- "repo_transfer": {
- "doer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "recipient": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "teams": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
]
}, - "size": 0,
- "ssh_url": "string",
- "stars_count": 0,
- "template": true,
- "topics": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "watchers_count": 0,
- "website": "string"
}
]| auto_init | boolean Whether the repository should be auto-initialized? |
| default_branch | string DefaultBranch of the repository (used when initializes and in template) |
| description | string Description of the repository to create |
| gitignores | string Gitignores to use |
| issue_labels | string Label-Set to use |
| license | string License to use |
| name required | string unique Name of the repository to create |
| object_format_name | string Enum: "sha1" "sha256" ObjectFormatName of the underlying git repository |
| private | boolean Whether the repository is private |
| readme | string Readme of the repository to create |
| template | boolean Whether the repository is template |
| trust_model | string Enum: "default" "collaborator" "committer" "collaboratorcommitter" TrustModel of the repository |
{- "auto_init": true,
- "default_branch": "string",
- "description": "string",
- "gitignores": "string",
- "issue_labels": "string",
- "license": "string",
- "name": "string",
- "object_format_name": "sha1",
- "private": true,
- "readme": "string",
- "template": true,
- "trust_model": "default"
}{- "allow_fast_forward_only_merge": true,
- "allow_merge_commits": true,
- "allow_rebase": true,
- "allow_rebase_explicit": true,
- "allow_rebase_update": true,
- "allow_squash_merge": true,
- "archived": true,
- "archived_at": "2019-08-24T14:15:22Z",
- "avatar_url": "string",
- "clone_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "default_allow_maintainer_edit": true,
- "default_branch": "string",
- "default_delete_branch_after_merge": true,
- "default_merge_style": "string",
- "description": "string",
- "empty": true,
- "external_tracker": {
- "external_tracker_format": "string",
- "external_tracker_regexp_pattern": "string",
- "external_tracker_style": "string",
- "external_tracker_url": "string"
}, - "external_wiki": {
- "external_wiki_url": "string"
}, - "fork": true,
- "forks_count": 0,
- "full_name": "string",
- "has_actions": true,
- "has_issues": true,
- "has_packages": true,
- "has_projects": true,
- "has_pull_requests": true,
- "has_releases": true,
- "has_wiki": true,
- "html_url": "string",
- "id": 0,
- "ignore_whitespace_conflicts": true,
- "internal": true,
- "internal_tracker": {
- "allow_only_contributors_to_track_time": true,
- "enable_issue_dependencies": true,
- "enable_time_tracker": true
}, - "language": "string",
- "languages_url": "string",
- "licenses": [
- "string"
], - "link": "string",
- "mirror": true,
- "mirror_interval": "string",
- "mirror_updated": "2019-08-24T14:15:22Z",
- "name": "string",
- "object_format_name": "sha1",
- "open_issues_count": 0,
- "open_pr_counter": 0,
- "original_url": "string",
- "owner": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "parent": { },
- "permissions": {
- "admin": true,
- "pull": true,
- "push": true
}, - "private": true,
- "projects_mode": "string",
- "release_counter": 0,
- "repo_transfer": {
- "doer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "recipient": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "teams": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
]
}, - "size": 0,
- "ssh_url": "string",
- "stars_count": 0,
- "template": true,
- "topics": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "watchers_count": 0,
- "website": "string"
}[- {
- "description": "string",
- "diff_view_style": "string",
- "full_name": "string",
- "hide_activity": true,
- "hide_email": true,
- "language": "string",
- "location": "string",
- "theme": "string",
- "website": "string"
}
]| description | string |
| diff_view_style | string |
| full_name | string |
| hide_activity | boolean |
| hide_email | boolean Privacy |
| language | string |
| location | string |
| theme | string |
| website | string |
{- "description": "string",
- "diff_view_style": "string",
- "full_name": "string",
- "hide_activity": true,
- "hide_email": true,
- "language": "string",
- "location": "string",
- "theme": "string",
- "website": "string"
}[- {
- "description": "string",
- "diff_view_style": "string",
- "full_name": "string",
- "hide_activity": true,
- "hide_email": true,
- "language": "string",
- "location": "string",
- "theme": "string",
- "website": "string"
}
]| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "allow_fast_forward_only_merge": true,
- "allow_merge_commits": true,
- "allow_rebase": true,
- "allow_rebase_explicit": true,
- "allow_rebase_update": true,
- "allow_squash_merge": true,
- "archived": true,
- "archived_at": "2019-08-24T14:15:22Z",
- "avatar_url": "string",
- "clone_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "default_allow_maintainer_edit": true,
- "default_branch": "string",
- "default_delete_branch_after_merge": true,
- "default_merge_style": "string",
- "description": "string",
- "empty": true,
- "external_tracker": {
- "external_tracker_format": "string",
- "external_tracker_regexp_pattern": "string",
- "external_tracker_style": "string",
- "external_tracker_url": "string"
}, - "external_wiki": {
- "external_wiki_url": "string"
}, - "fork": true,
- "forks_count": 0,
- "full_name": "string",
- "has_actions": true,
- "has_issues": true,
- "has_packages": true,
- "has_projects": true,
- "has_pull_requests": true,
- "has_releases": true,
- "has_wiki": true,
- "html_url": "string",
- "id": 0,
- "ignore_whitespace_conflicts": true,
- "internal": true,
- "internal_tracker": {
- "allow_only_contributors_to_track_time": true,
- "enable_issue_dependencies": true,
- "enable_time_tracker": true
}, - "language": "string",
- "languages_url": "string",
- "licenses": [
- "string"
], - "link": "string",
- "mirror": true,
- "mirror_interval": "string",
- "mirror_updated": "2019-08-24T14:15:22Z",
- "name": "string",
- "object_format_name": "sha1",
- "open_issues_count": 0,
- "open_pr_counter": 0,
- "original_url": "string",
- "owner": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "parent": { },
- "permissions": {
- "admin": true,
- "pull": true,
- "push": true
}, - "private": true,
- "projects_mode": "string",
- "release_counter": 0,
- "repo_transfer": {
- "doer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "recipient": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "teams": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
]
}, - "size": 0,
- "ssh_url": "string",
- "stars_count": 0,
- "template": true,
- "topics": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "watchers_count": 0,
- "website": "string"
}
]| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "created": "2019-08-24T14:15:22Z",
- "duration": "string",
- "issue_index": 0,
- "issue_title": "string",
- "repo_name": "string",
- "repo_owner_name": "string",
- "seconds": 0
}
]| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "allow_fast_forward_only_merge": true,
- "allow_merge_commits": true,
- "allow_rebase": true,
- "allow_rebase_explicit": true,
- "allow_rebase_update": true,
- "allow_squash_merge": true,
- "archived": true,
- "archived_at": "2019-08-24T14:15:22Z",
- "avatar_url": "string",
- "clone_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "default_allow_maintainer_edit": true,
- "default_branch": "string",
- "default_delete_branch_after_merge": true,
- "default_merge_style": "string",
- "description": "string",
- "empty": true,
- "external_tracker": {
- "external_tracker_format": "string",
- "external_tracker_regexp_pattern": "string",
- "external_tracker_style": "string",
- "external_tracker_url": "string"
}, - "external_wiki": {
- "external_wiki_url": "string"
}, - "fork": true,
- "forks_count": 0,
- "full_name": "string",
- "has_actions": true,
- "has_issues": true,
- "has_packages": true,
- "has_projects": true,
- "has_pull_requests": true,
- "has_releases": true,
- "has_wiki": true,
- "html_url": "string",
- "id": 0,
- "ignore_whitespace_conflicts": true,
- "internal": true,
- "internal_tracker": {
- "allow_only_contributors_to_track_time": true,
- "enable_issue_dependencies": true,
- "enable_time_tracker": true
}, - "language": "string",
- "languages_url": "string",
- "licenses": [
- "string"
], - "link": "string",
- "mirror": true,
- "mirror_interval": "string",
- "mirror_updated": "2019-08-24T14:15:22Z",
- "name": "string",
- "object_format_name": "sha1",
- "open_issues_count": 0,
- "open_pr_counter": 0,
- "original_url": "string",
- "owner": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "parent": { },
- "permissions": {
- "admin": true,
- "pull": true,
- "push": true
}, - "private": true,
- "projects_mode": "string",
- "release_counter": 0,
- "repo_transfer": {
- "doer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "recipient": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "teams": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
]
}, - "size": 0,
- "ssh_url": "string",
- "stars_count": 0,
- "template": true,
- "topics": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "watchers_count": 0,
- "website": "string"
}
]| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
]| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
| since | string <date-time> Only show times updated after the given time. This is a timestamp in RFC 3339 format |
| before | string <date-time> Only show times updated before the given time. This is a timestamp in RFC 3339 format |
[- {
- "created": "2019-08-24T14:15:22Z",
- "id": 0,
- "issue": {
- "assets": [
- {
- "browser_download_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "download_count": 0,
- "id": 0,
- "name": "string",
- "size": 0,
- "uuid": "string"
}
], - "assignee": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "assignees": [
- {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
], - "body": "string",
- "closed_at": "2019-08-24T14:15:22Z",
- "comments": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "due_date": "2019-08-24T14:15:22Z",
- "html_url": "string",
- "id": 0,
- "is_locked": true,
- "labels": [
- {
- "color": "00aabb",
- "description": "string",
- "exclusive": false,
- "id": 0,
- "is_archived": false,
- "name": "string",
- "url": "string"
}
], - "milestone": {
- "closed_at": "2019-08-24T14:15:22Z",
- "closed_issues": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "description": "string",
- "due_on": "2019-08-24T14:15:22Z",
- "id": 0,
- "open_issues": 0,
- "state": "string",
- "title": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "number": 0,
- "original_author": "string",
- "original_author_id": 0,
- "pin_order": 0,
- "pull_request": {
- "draft": true,
- "html_url": "string",
- "merged": true,
- "merged_at": "2019-08-24T14:15:22Z"
}, - "ref": "string",
- "repository": {
- "full_name": "string",
- "id": 0,
- "name": "string",
- "owner": "string"
}, - "state": "string",
- "title": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
}, - "issue_id": 0,
- "time": 0,
- "user_id": 0,
- "user_name": "string"
}
]| q | string keyword |
| uid | integer <int64> ID of the user to search for |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
{- "data": [
- {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
], - "ok": true
}| username required | string username of user to get |
{- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}| username required | string username of user |
| only-performed-by | boolean if true, only show actions performed by the requested user |
| date | string <date> the date of the activities to be found |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "act_user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "act_user_id": 0,
- "comment": {
- "assets": [
- {
- "browser_download_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "download_count": 0,
- "id": 0,
- "name": "string",
- "size": 0,
- "uuid": "string"
}
], - "body": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "html_url": "string",
- "id": 0,
- "issue_url": "string",
- "original_author": "string",
- "original_author_id": 0,
- "pull_request_url": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
}, - "comment_id": 0,
- "content": "string",
- "created": "2019-08-24T14:15:22Z",
- "id": 0,
- "is_private": true,
- "op_type": "create_repo",
- "ref_name": "string",
- "repo": {
- "allow_fast_forward_only_merge": true,
- "allow_merge_commits": true,
- "allow_rebase": true,
- "allow_rebase_explicit": true,
- "allow_rebase_update": true,
- "allow_squash_merge": true,
- "archived": true,
- "archived_at": "2019-08-24T14:15:22Z",
- "avatar_url": "string",
- "clone_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "default_allow_maintainer_edit": true,
- "default_branch": "string",
- "default_delete_branch_after_merge": true,
- "default_merge_style": "string",
- "description": "string",
- "empty": true,
- "external_tracker": {
- "external_tracker_format": "string",
- "external_tracker_regexp_pattern": "string",
- "external_tracker_style": "string",
- "external_tracker_url": "string"
}, - "external_wiki": {
- "external_wiki_url": "string"
}, - "fork": true,
- "forks_count": 0,
- "full_name": "string",
- "has_actions": true,
- "has_issues": true,
- "has_packages": true,
- "has_projects": true,
- "has_pull_requests": true,
- "has_releases": true,
- "has_wiki": true,
- "html_url": "string",
- "id": 0,
- "ignore_whitespace_conflicts": true,
- "internal": true,
- "internal_tracker": {
- "allow_only_contributors_to_track_time": true,
- "enable_issue_dependencies": true,
- "enable_time_tracker": true
}, - "language": "string",
- "languages_url": "string",
- "licenses": [
- "string"
], - "link": "string",
- "mirror": true,
- "mirror_interval": "string",
- "mirror_updated": "2019-08-24T14:15:22Z",
- "name": "string",
- "object_format_name": "sha1",
- "open_issues_count": 0,
- "open_pr_counter": 0,
- "original_url": "string",
- "owner": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "parent": { },
- "permissions": {
- "admin": true,
- "pull": true,
- "push": true
}, - "private": true,
- "projects_mode": "string",
- "release_counter": 0,
- "repo_transfer": {
- "doer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "recipient": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "teams": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
]
}, - "size": 0,
- "ssh_url": "string",
- "stars_count": 0,
- "template": true,
- "topics": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "watchers_count": 0,
- "website": "string"
}, - "repo_id": 0,
- "user_id": 0
}
]| username required | string username of user |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
]| username required | string username of user |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
]| username required | string username of user |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "can_certify": true,
- "can_encrypt_comms": true,
- "can_encrypt_storage": true,
- "can_sign": true,
- "created_at": "2019-08-24T14:15:22Z",
- "emails": [
- {
- "email": "string",
- "verified": true
}
], - "expires_at": "2019-08-24T14:15:22Z",
- "id": 0,
- "key_id": "string",
- "primary_key_id": "string",
- "public_key": "string",
- "subkeys": [
- { }
], - "verified": true
}
]| username required | string username of user |
| fingerprint | string fingerprint of the key |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "created_at": "2019-08-24T14:15:22Z",
- "fingerprint": "string",
- "id": 0,
- "key": "string",
- "key_type": "string",
- "read_only": true,
- "title": "string",
- "url": "string",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}
}
]| username required | string username of user |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "allow_fast_forward_only_merge": true,
- "allow_merge_commits": true,
- "allow_rebase": true,
- "allow_rebase_explicit": true,
- "allow_rebase_update": true,
- "allow_squash_merge": true,
- "archived": true,
- "archived_at": "2019-08-24T14:15:22Z",
- "avatar_url": "string",
- "clone_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "default_allow_maintainer_edit": true,
- "default_branch": "string",
- "default_delete_branch_after_merge": true,
- "default_merge_style": "string",
- "description": "string",
- "empty": true,
- "external_tracker": {
- "external_tracker_format": "string",
- "external_tracker_regexp_pattern": "string",
- "external_tracker_style": "string",
- "external_tracker_url": "string"
}, - "external_wiki": {
- "external_wiki_url": "string"
}, - "fork": true,
- "forks_count": 0,
- "full_name": "string",
- "has_actions": true,
- "has_issues": true,
- "has_packages": true,
- "has_projects": true,
- "has_pull_requests": true,
- "has_releases": true,
- "has_wiki": true,
- "html_url": "string",
- "id": 0,
- "ignore_whitespace_conflicts": true,
- "internal": true,
- "internal_tracker": {
- "allow_only_contributors_to_track_time": true,
- "enable_issue_dependencies": true,
- "enable_time_tracker": true
}, - "language": "string",
- "languages_url": "string",
- "licenses": [
- "string"
], - "link": "string",
- "mirror": true,
- "mirror_interval": "string",
- "mirror_updated": "2019-08-24T14:15:22Z",
- "name": "string",
- "object_format_name": "sha1",
- "open_issues_count": 0,
- "open_pr_counter": 0,
- "original_url": "string",
- "owner": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "parent": { },
- "permissions": {
- "admin": true,
- "pull": true,
- "push": true
}, - "private": true,
- "projects_mode": "string",
- "release_counter": 0,
- "repo_transfer": {
- "doer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "recipient": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "teams": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
]
}, - "size": 0,
- "ssh_url": "string",
- "stars_count": 0,
- "template": true,
- "topics": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "watchers_count": 0,
- "website": "string"
}
]| username required | string username of user |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "allow_fast_forward_only_merge": true,
- "allow_merge_commits": true,
- "allow_rebase": true,
- "allow_rebase_explicit": true,
- "allow_rebase_update": true,
- "allow_squash_merge": true,
- "archived": true,
- "archived_at": "2019-08-24T14:15:22Z",
- "avatar_url": "string",
- "clone_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "default_allow_maintainer_edit": true,
- "default_branch": "string",
- "default_delete_branch_after_merge": true,
- "default_merge_style": "string",
- "description": "string",
- "empty": true,
- "external_tracker": {
- "external_tracker_format": "string",
- "external_tracker_regexp_pattern": "string",
- "external_tracker_style": "string",
- "external_tracker_url": "string"
}, - "external_wiki": {
- "external_wiki_url": "string"
}, - "fork": true,
- "forks_count": 0,
- "full_name": "string",
- "has_actions": true,
- "has_issues": true,
- "has_packages": true,
- "has_projects": true,
- "has_pull_requests": true,
- "has_releases": true,
- "has_wiki": true,
- "html_url": "string",
- "id": 0,
- "ignore_whitespace_conflicts": true,
- "internal": true,
- "internal_tracker": {
- "allow_only_contributors_to_track_time": true,
- "enable_issue_dependencies": true,
- "enable_time_tracker": true
}, - "language": "string",
- "languages_url": "string",
- "licenses": [
- "string"
], - "link": "string",
- "mirror": true,
- "mirror_interval": "string",
- "mirror_updated": "2019-08-24T14:15:22Z",
- "name": "string",
- "object_format_name": "sha1",
- "open_issues_count": 0,
- "open_pr_counter": 0,
- "original_url": "string",
- "owner": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "parent": { },
- "permissions": {
- "admin": true,
- "pull": true,
- "push": true
}, - "private": true,
- "projects_mode": "string",
- "release_counter": 0,
- "repo_transfer": {
- "doer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "recipient": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "teams": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
]
}, - "size": 0,
- "ssh_url": "string",
- "stars_count": 0,
- "template": true,
- "topics": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "watchers_count": 0,
- "website": "string"
}
]| username required | string username of the user |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "allow_fast_forward_only_merge": true,
- "allow_merge_commits": true,
- "allow_rebase": true,
- "allow_rebase_explicit": true,
- "allow_rebase_update": true,
- "allow_squash_merge": true,
- "archived": true,
- "archived_at": "2019-08-24T14:15:22Z",
- "avatar_url": "string",
- "clone_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "default_allow_maintainer_edit": true,
- "default_branch": "string",
- "default_delete_branch_after_merge": true,
- "default_merge_style": "string",
- "description": "string",
- "empty": true,
- "external_tracker": {
- "external_tracker_format": "string",
- "external_tracker_regexp_pattern": "string",
- "external_tracker_style": "string",
- "external_tracker_url": "string"
}, - "external_wiki": {
- "external_wiki_url": "string"
}, - "fork": true,
- "forks_count": 0,
- "full_name": "string",
- "has_actions": true,
- "has_issues": true,
- "has_packages": true,
- "has_projects": true,
- "has_pull_requests": true,
- "has_releases": true,
- "has_wiki": true,
- "html_url": "string",
- "id": 0,
- "ignore_whitespace_conflicts": true,
- "internal": true,
- "internal_tracker": {
- "allow_only_contributors_to_track_time": true,
- "enable_issue_dependencies": true,
- "enable_time_tracker": true
}, - "language": "string",
- "languages_url": "string",
- "licenses": [
- "string"
], - "link": "string",
- "mirror": true,
- "mirror_interval": "string",
- "mirror_updated": "2019-08-24T14:15:22Z",
- "name": "string",
- "object_format_name": "sha1",
- "open_issues_count": 0,
- "open_pr_counter": 0,
- "original_url": "string",
- "owner": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "parent": { },
- "permissions": {
- "admin": true,
- "pull": true,
- "push": true
}, - "private": true,
- "projects_mode": "string",
- "release_counter": 0,
- "repo_transfer": {
- "doer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "recipient": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "email": "user@example.com",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "teams": [
- {
- "can_create_org_repo": true,
- "description": "string",
- "id": 0,
- "includes_all_repositories": true,
- "name": "string",
- "organization": {
- "avatar_url": "string",
- "description": "string",
- "email": "string",
- "full_name": "string",
- "id": 0,
- "location": "string",
- "name": "string",
- "repo_admin_change_team_access": true,
- "username": "string",
- "visibility": "string",
- "website": "string"
}, - "permission": "none",
- "units": [
- "repo.code",
- "repo.issues",
- "repo.ext_issues",
- "repo.wiki",
- "repo.pulls",
- "repo.releases",
- "repo.projects",
- "repo.ext_wiki"
], - "units_map": {
- "repo.code": "read",
- "repo.ext_issues": "none",
- "repo.ext_wiki": "none",
- "repo.issues": "write",
- "repo.projects": "none",
- "repo.pulls": "owner",
- "repo.releases": "none",
- "repo.wiki": "admin"
}
}
]
}, - "size": 0,
- "ssh_url": "string",
- "stars_count": 0,
- "template": true,
- "topics": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "watchers_count": 0,
- "website": "string"
}
]| username required | string username of user |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "id": 0,
- "name": "string",
- "scopes": [
- "string"
], - "sha1": "string",
- "token_last_eight": "string"
}
]| username required | string username of user |
| name required | string |
| scopes | Array of strings |
{- "name": "string",
- "scopes": [
- "string"
]
}{- "id": 0,
- "name": "string",
- "scopes": [
- "string"
], - "sha1": "string",
- "token_last_eight": "string"
}Gitea is open source. Star our GitHub repo, and join our community on Discord!
Stay up to date with all things Gitea