| status | string workflow status (pending, queued, in_progress, failure, success, skipped) |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
{- "jobs": [
- {
- "completed_at": "2019-08-24T14:15:22Z",
- "conclusion": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "head_branch": "string",
- "head_sha": "string",
- "html_url": "string",
- "id": 0,
- "labels": [
- "string"
], - "name": "string",
- "run_attempt": 0,
- "run_id": 0,
- "run_url": "string",
- "runner_id": 0,
- "runner_name": "string",
- "started_at": "2019-08-24T14:15:22Z",
- "status": "string",
- "steps": [
- {
- "completed_at": "2019-08-24T14:15:22Z",
- "conclusion": "string",
- "name": "string",
- "number": 0,
- "started_at": "2019-08-24T14:15:22Z",
- "status": "string"
}
], - "url": "string"
}
], - "total_count": 0
}| event | string workflow event name |
| branch | string workflow branch |
| status | string workflow status (pending, queued, in_progress, failure, success, skipped) |
| actor | string triggered by user |
| head_sha | string triggering sha of the workflow run |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
{- "total_count": 0,
- "workflow_runs": [
- {
- "actor": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "completed_at": "2019-08-24T14:15:22Z",
- "conclusion": "string",
- "display_title": "string",
- "event": "string",
- "head_branch": "string",
- "head_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,
- "archived_at": "2019-08-24T14:15:22Z",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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"
}, - "head_sha": "string",
- "html_url": "string",
- "id": 0,
- "path": "string",
- "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,
- "archived_at": "2019-08-24T14:15:22Z",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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"
}, - "repository_id": 0,
- "run_attempt": 0,
- "run_number": 0,
- "started_at": "2019-08-24T14:15:22Z",
- "status": "string",
- "trigger_actor": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "url": "string"
}
]
}| 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 |
| 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 Authorization header to include in webhook requests |
| branch_filter | string Branch filter pattern to determine which branches trigger the webhook |
required | object (CreateHookOptionConfig) CreateHookOptionConfig has all config options in it required are "content_type" and "url" Required |
| events | Array of strings List of events that will trigger this webhook |
| 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 Whether the webhook is active and will be triggered |
| authorization_header | string Authorization header to include in webhook requests |
| branch_filter | string Branch filter pattern to determine which branches trigger the webhook |
object Configuration settings for the webhook | |
| events | Array of strings List of events that trigger this webhook |
{- "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 identifier of the user, provided by the external authenticator |
| 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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 The full display name of the user |
| login_name | string Default: "empty" identifier of the user, provided by the external authenticator (if configured) |
| must_change_password | boolean Whether the user must change password on first login |
| password | string The plain text password for the user |
| restricted | boolean Whether the user has restricted access privileges |
| send_notify | boolean Whether to send welcome notification email to the user |
| source_id | integer <int64> The authentication source ID to associate with the user |
| username required | string username of the user |
| visibility | string User visibility level: public, limited, or private |
{- "created_at": "2019-08-24T14:15:22Z",
- "full_name": "string",
- "login_name": "empty",
- "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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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 whose data is to be edited |
| active | boolean Whether the user account is active |
| admin | boolean Whether the user has administrator privileges |
| allow_create_organization | boolean Whether the user can create organizations |
| allow_git_hook | boolean Whether the user can use Git hooks |
| allow_import_local | boolean Whether the user can import local repositories |
| description | string The user's personal description or bio |
string <email> | |
| full_name | string The full display name of the user |
| location | string The user's location or address |
| login_name required | string Default: "empty" identifier of the user, provided by the external authenticator (if configured) |
| max_repo_creation | integer <int64> Maximum number of repositories the user can create |
| must_change_password | boolean Whether the user must change password on next login |
| password | string The plain text password for the user |
| prohibit_login | boolean Whether the user is prohibited from logging in |
| restricted | boolean Whether the user has restricted access privileges |
| source_id required | integer <int64> |
| visibility | string User visibility level: public, limited, or private |
| website | string The user's personal website URL |
{- "active": true,
- "admin": true,
- "allow_create_organization": true,
- "allow_git_hook": true,
- "allow_import_local": true,
- "description": "string",
- "full_name": "string",
- "location": "string",
- "login_name": "empty",
- "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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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 whose badges are to be listed |
[- {
- "description": "string",
- "id": 0,
- "image_url": "string",
- "slug": "string"
}
]| username required | string username of the user to whom a badge is to be added |
| badge_slugs | Array of strings |
{- "badge_slugs": [
- "badge1",
- "badge2"
]
}| username required | string username of the user whose badge is to be deleted |
| badge_slugs | Array of strings |
{- "badge_slugs": [
- "badge1",
- "badge2"
]
}| username required | string username of the user who is to receive a public key |
| 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",
- "last_used_at": "2019-08-24T14:15:22Z",
- "read_only": true,
- "title": "string",
- "url": "string",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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 who will own the created organization |
| description | string The description of the organization |
string The email address of the organization | |
| full_name | string The full display name of the organization |
| location | string The location of the organization |
| repo_admin_change_team_access | boolean Whether repository administrators can change team access |
| username required | string username of the organization |
| visibility | string Enum: "public" "limited" "private" possible values are |
| website | string The website URL of the organization |
{- "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 current username of the 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 who 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_manual_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",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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_manual_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",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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_manual_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",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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_manual_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",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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_manual_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",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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_manual_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",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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_manual_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",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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_manual_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",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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 The description of the organization |
string The email address of the organization | |
| full_name | string The full display name of the organization |
| location | string The location of the organization |
| repo_admin_change_team_access | boolean Whether repository administrators can change team access |
| username required | string username of the organization |
| visibility | string Enum: "public" "limited" "private" possible values are |
| website | string The website URL of the organization |
{- "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 The description of the organization |
string The email address of the organization | |
| full_name | string The full display name of the organization |
| location | string The location of the organization |
| repo_admin_change_team_access | boolean Whether repository administrators can change team access |
| visibility | string Enum: "public" "limited" "private" possible values are |
| website | string The website URL of the organization |
{- "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 |
| status | string workflow status (pending, queued, in_progress, failure, success, skipped) |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
{- "jobs": [
- {
- "completed_at": "2019-08-24T14:15:22Z",
- "conclusion": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "head_branch": "string",
- "head_sha": "string",
- "html_url": "string",
- "id": 0,
- "labels": [
- "string"
], - "name": "string",
- "run_attempt": 0,
- "run_id": 0,
- "run_url": "string",
- "runner_id": 0,
- "runner_name": "string",
- "started_at": "2019-08-24T14:15:22Z",
- "status": "string",
- "steps": [
- {
- "completed_at": "2019-08-24T14:15:22Z",
- "conclusion": "string",
- "name": "string",
- "number": 0,
- "started_at": "2019-08-24T14:15:22Z",
- "status": "string"
}
], - "url": "string"
}
], - "total_count": 0
}| org required | string name of the organization |
| event | string workflow event name |
| branch | string workflow branch |
| status | string workflow status (pending, queued, in_progress, failure, success, skipped) |
| actor | string triggered by user |
| head_sha | string triggering sha of the workflow run |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
{- "total_count": 0,
- "workflow_runs": [
- {
- "actor": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "completed_at": "2019-08-24T14:15:22Z",
- "conclusion": "string",
- "display_title": "string",
- "event": "string",
- "head_branch": "string",
- "head_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,
- "archived_at": "2019-08-24T14:15:22Z",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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"
}, - "head_sha": "string",
- "html_url": "string",
- "id": 0,
- "path": "string",
- "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,
- "archived_at": "2019-08-24T14:15:22Z",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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"
}, - "repository_id": 0,
- "run_attempt": 0,
- "run_number": 0,
- "started_at": "2019-08-24T14:15:22Z",
- "status": "string",
- "trigger_actor": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "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 |
[- {
- "created_at": "2019-08-24T14:15:22Z",
- "description": "string",
- "name": "string"
}
]| org required | string name of organization |
| secretname required | string name of the secret |
| data required | string Data of the secret to update |
| description | string Description of the secret to update |
{- "data": "string",
- "description": "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",
- "description": "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",
- "description": "string",
- "name": "string",
- "owner_id": 0,
- "repo_id": 0
}| org required | string name of the organization |
| variablename required | string name of the variable |
| description | string Description of the variable to update |
| 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 |
{- "description": "string",
- "name": "string",
- "value": "string"
}| org required | string name of the organization |
| variablename required | string name of the variable |
| description | string Description of the variable to create |
| value required | string Value of the variable to create |
{- "description": "string",
- "value": "string"
}| org required | string name of the organization |
| variablename required | string name of the variable |
{- "data": "string",
- "description": "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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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_manual_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",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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 Authorization header to include in webhook requests |
| branch_filter | string Branch filter pattern to determine which branches trigger the webhook |
required | object (CreateHookOptionConfig) CreateHookOptionConfig has all config options in it required are "content_type" and "url" Required |
| events | Array of strings List of events that will trigger this webhook |
| 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 Whether the webhook is active and will be triggered |
| authorization_header | string Authorization header to include in webhook requests |
| branch_filter | string Branch filter pattern to determine which branches trigger the webhook |
object Configuration settings for the webhook | |
| events | Array of strings List of events that trigger this webhook |
{- "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 Description provides additional context about the label's purpose |
| 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 Description provides additional context about the label's purpose |
| exclusive | boolean |
| is_archived | boolean |
| name | string Name is the new display name for the label |
{- "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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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 |
| username required | string username of the user to check for a public organization membership |
| org required | string existing org name |
| new_name required | string unique New username for this org. This name cannot be in use yet by any other user. |
{- "new_name": "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_manual_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",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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_manual_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",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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 Whether the team can create repositories in the organization |
| description | string The description of the team |
| includes_all_repositories | boolean Whether the team has access to all repositories in the organization |
| 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 Whether the team can create repositories in the organization |
| description | string The description of the team |
| includes_all_repositories | boolean Whether the team has access to all repositories in the organization |
| 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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_manual_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",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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 user whose data is to be listed |
{- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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_manual_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",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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_manual_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",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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 the user whose organizations are to be listed |
| 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 the user whose permissions are to be obtained |
| 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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_manual_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",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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 |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "created_at": "2019-08-24T14:15:22Z",
- "creator": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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_manual_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",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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 |
{- "created_at": "2019-08-24T14:15:22Z",
- "creator": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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_manual_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",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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 |
| repo_name required | string name of the repository to link. |
| 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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_manual_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",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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 |
[- {
- "id": 0,
- "md5": "string",
- "name": "string",
- "sha1": "string",
- "sha256": "string",
- "sha512": "string",
- "size": 0
}
]| 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "time_estimate": 0,
- "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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "time_estimate": 0,
- "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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "time_estimate": 0,
- "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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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 is the new filename for the attachment |
{- "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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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 The reaction content (e.g., emoji or reaction type) |
{- "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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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 The reaction content (e.g., emoji or reaction type) |
{- "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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "time_estimate": 0,
- "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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "time_estimate": 0,
- "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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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 is the new filename for the attachment |
{- "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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "time_estimate": 0,
- "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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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 owner of the issue's repo |
| 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "time_estimate": 0,
- "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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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 owner of the issue's repo |
| 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "time_estimate": 0,
- "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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "time_estimate": 0,
- "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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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 owner of the issue's repo |
| 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "time_estimate": 0,
- "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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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 owner of the issue's repo |
| 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "time_estimate": 0,
- "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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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 the issue |
| lock_reason | string |
{- "lock_reason": "string"
}| 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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 The reaction content (e.g., emoji or reaction type) |
{- "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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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 The reaction content (e.g., emoji or reaction type) |
{- "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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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 username of the user to subscribe the issue to |
| 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 username of the user to unsubscribe from an issue |
| 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "time_estimate": 0,
- "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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "time_estimate": 0,
- "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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "time_estimate": 0,
- "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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "time_estimate": 0,
- "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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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 username of the user who spent the time working on the issue (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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "time_estimate": 0,
- "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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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 Description provides additional context about the label's purpose |
| 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 Description provides additional context about the label's purpose |
| exclusive | boolean |
| is_archived | boolean |
| name | string Name is the new display name for the label |
{- "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 Description provides details about the milestone |
| due_on | string <date-time> |
| state | string Enum: "open" "closed" |
| title | string Title is the title of the new milestone |
{- "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 Description provides updated details about the milestone |
| due_on | string <date-time> Deadline is the updated due date for the milestone |
| state | string State indicates the updated state of the milestone |
| title | string Title is the updated title of the milestone |
{- "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 the organization's name or individual user's name who will own the migrated repository |
| service | string Enum: "git" "github" "gitea" "gitlab" "gogs" "onedev" "gitbucket" "codebase" "codecommit" |
| uid | integer <int64> deprecated (only for backwards compatibility, use repo_owner instead) |
| 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_manual_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",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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_manual_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",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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_manual_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",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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_code | 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_code": 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_manual_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",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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 repository |
| name | string name of the artifact |
{- "artifacts": [
- {
- "archive_download_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "expired": true,
- "expires_at": "2019-08-24T14:15:22Z",
- "id": 0,
- "name": "string",
- "size_in_bytes": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "workflow_run": {
- "actor": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "completed_at": "2019-08-24T14:15:22Z",
- "conclusion": "string",
- "display_title": "string",
- "event": "string",
- "head_branch": "string",
- "head_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,
- "archived_at": "2019-08-24T14:15:22Z",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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"
}, - "head_sha": "string",
- "html_url": "string",
- "id": 0,
- "path": "string",
- "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,
- "archived_at": "2019-08-24T14:15:22Z",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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"
}, - "repository_id": 0,
- "run_attempt": 0,
- "run_number": 0,
- "started_at": "2019-08-24T14:15:22Z",
- "status": "string",
- "trigger_actor": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "url": "string"
}
}
], - "total_count": 0
}| owner required | string owner of the repo |
| repo required | string name of the repository |
| artifact_id required | string id of the artifact |
{- "archive_download_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "expired": true,
- "expires_at": "2019-08-24T14:15:22Z",
- "id": 0,
- "name": "string",
- "size_in_bytes": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "workflow_run": {
- "actor": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "completed_at": "2019-08-24T14:15:22Z",
- "conclusion": "string",
- "display_title": "string",
- "event": "string",
- "head_branch": "string",
- "head_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,
- "archived_at": "2019-08-24T14:15:22Z",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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"
}, - "head_sha": "string",
- "html_url": "string",
- "id": 0,
- "path": "string",
- "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,
- "archived_at": "2019-08-24T14:15:22Z",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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"
}, - "repository_id": 0,
- "run_attempt": 0,
- "run_number": 0,
- "started_at": "2019-08-24T14:15:22Z",
- "status": "string",
- "trigger_actor": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "url": "string"
}
}| owner required | string owner of the repo |
| repo required | string name of the repository |
| artifact_id required | string id of the artifact |
| owner required | string owner of the repo |
| repo required | string name of the repository |
| status | string workflow status (pending, queued, in_progress, failure, success, skipped) |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
{- "jobs": [
- {
- "completed_at": "2019-08-24T14:15:22Z",
- "conclusion": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "head_branch": "string",
- "head_sha": "string",
- "html_url": "string",
- "id": 0,
- "labels": [
- "string"
], - "name": "string",
- "run_attempt": 0,
- "run_id": 0,
- "run_url": "string",
- "runner_id": 0,
- "runner_name": "string",
- "started_at": "2019-08-24T14:15:22Z",
- "status": "string",
- "steps": [
- {
- "completed_at": "2019-08-24T14:15:22Z",
- "conclusion": "string",
- "name": "string",
- "number": 0,
- "started_at": "2019-08-24T14:15:22Z",
- "status": "string"
}
], - "url": "string"
}
], - "total_count": 0
}| owner required | string owner of the repo |
| repo required | string name of the repository |
| job_id required | string id of the job |
{- "completed_at": "2019-08-24T14:15:22Z",
- "conclusion": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "head_branch": "string",
- "head_sha": "string",
- "html_url": "string",
- "id": 0,
- "labels": [
- "string"
], - "name": "string",
- "run_attempt": 0,
- "run_id": 0,
- "run_url": "string",
- "runner_id": 0,
- "runner_name": "string",
- "started_at": "2019-08-24T14:15:22Z",
- "status": "string",
- "steps": [
- {
- "completed_at": "2019-08-24T14:15:22Z",
- "conclusion": "string",
- "name": "string",
- "number": 0,
- "started_at": "2019-08-24T14:15:22Z",
- "status": "string"
}
], - "url": "string"
}| owner required | string owner of the repo |
| repo required | string name of the repository |
| event | string workflow event name |
| branch | string workflow branch |
| status | string workflow status (pending, queued, in_progress, failure, success, skipped) |
| actor | string triggered by user |
| head_sha | string triggering sha of the workflow run |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
{- "total_count": 0,
- "workflow_runs": [
- {
- "actor": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "completed_at": "2019-08-24T14:15:22Z",
- "conclusion": "string",
- "display_title": "string",
- "event": "string",
- "head_branch": "string",
- "head_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,
- "archived_at": "2019-08-24T14:15:22Z",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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"
}, - "head_sha": "string",
- "html_url": "string",
- "id": 0,
- "path": "string",
- "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,
- "archived_at": "2019-08-24T14:15:22Z",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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"
}, - "repository_id": 0,
- "run_attempt": 0,
- "run_number": 0,
- "started_at": "2019-08-24T14:15:22Z",
- "status": "string",
- "trigger_actor": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "url": "string"
}
]
}| owner required | string owner of the repo |
| repo required | string name of the repository |
| run required | string id of the run |
{- "actor": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "completed_at": "2019-08-24T14:15:22Z",
- "conclusion": "string",
- "display_title": "string",
- "event": "string",
- "head_branch": "string",
- "head_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,
- "archived_at": "2019-08-24T14:15:22Z",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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"
}, - "head_sha": "string",
- "html_url": "string",
- "id": 0,
- "path": "string",
- "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,
- "archived_at": "2019-08-24T14:15:22Z",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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"
}, - "repository_id": 0,
- "run_attempt": 0,
- "run_number": 0,
- "started_at": "2019-08-24T14:15:22Z",
- "status": "string",
- "trigger_actor": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "url": "string"
}| owner required | string owner of the repo |
| repo required | string name of the repository |
| run required | integer runid of the workflow run |
| name | string name of the artifact |
{- "artifacts": [
- {
- "archive_download_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "expired": true,
- "expires_at": "2019-08-24T14:15:22Z",
- "id": 0,
- "name": "string",
- "size_in_bytes": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string",
- "workflow_run": {
- "actor": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "completed_at": "2019-08-24T14:15:22Z",
- "conclusion": "string",
- "display_title": "string",
- "event": "string",
- "head_branch": "string",
- "head_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,
- "archived_at": "2019-08-24T14:15:22Z",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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"
}, - "head_sha": "string",
- "html_url": "string",
- "id": 0,
- "path": "string",
- "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,
- "archived_at": "2019-08-24T14:15:22Z",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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"
}, - "repository_id": 0,
- "run_attempt": 0,
- "run_number": 0,
- "started_at": "2019-08-24T14:15:22Z",
- "status": "string",
- "trigger_actor": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "url": "string"
}
}
], - "total_count": 0
}| owner required | string owner of the repo |
| repo required | string name of the repository |
| run required | integer runid of the workflow run |
| status | string workflow status (pending, queued, in_progress, failure, success, skipped) |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
{- "jobs": [
- {
- "completed_at": "2019-08-24T14:15:22Z",
- "conclusion": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "head_branch": "string",
- "head_sha": "string",
- "html_url": "string",
- "id": 0,
- "labels": [
- "string"
], - "name": "string",
- "run_attempt": 0,
- "run_id": 0,
- "run_url": "string",
- "runner_id": 0,
- "runner_name": "string",
- "started_at": "2019-08-24T14:15:22Z",
- "status": "string",
- "steps": [
- {
- "completed_at": "2019-08-24T14:15:22Z",
- "conclusion": "string",
- "name": "string",
- "number": 0,
- "started_at": "2019-08-24T14:15:22Z",
- "status": "string"
}
], - "url": "string"
}
], - "total_count": 0
}| owner required | string owner of the repo |
| 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",
- "description": "string",
- "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 |
| description | string Description of the secret to update |
{- "data": "string",
- "description": "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 owner of the repo |
| 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",
- "description": "string",
- "name": "string",
- "owner_id": 0,
- "repo_id": 0
}
]| owner required | string owner of the repo |
| repo required | string name of the repository |
| variablename required | string name of the variable |
{- "data": "string",
- "description": "string",
- "name": "string",
- "owner_id": 0,
- "repo_id": 0
}| owner required | string owner of the repo |
| repo required | string name of the repository |
| variablename required | string name of the variable |
| description | string Description of the variable to update |
| 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 |
{- "description": "string",
- "name": "string",
- "value": "string"
}| owner required | string owner of the repo |
| repo required | string name of the repository |
| variablename required | string name of the variable |
| description | string Description of the variable to create |
| value required | string Value of the variable to create |
{- "description": "string",
- "value": "string"
}| owner required | string owner of the repo |
| repo required | string name of the repository |
| variablename required | string name of the variable |
{- "data": "string",
- "description": "string",
- "name": "string",
- "owner_id": 0,
- "repo_id": 0
}| owner required | string owner of the repo |
| repo required | string name of the repo |
{- "total_count": 0,
- "workflows": [
- {
- "badge_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "html_url": "string",
- "id": "string",
- "name": "string",
- "path": "string",
- "state": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string"
}
]
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| workflow_id required | string id of the workflow |
{- "badge_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "html_url": "string",
- "id": "string",
- "name": "string",
- "path": "string",
- "state": "string",
- "updated_at": "2019-08-24T14:15:22Z",
- "url": "string"
}| owner required | string owner of the repo |
| repo required | string name of the repo |
| workflow_id required | string id of the workflow |
object | |
| ref required | string |
{- "inputs": {
- "property1": "string",
- "property2": "string"
}, - "ref": "refs/heads/main"
}| 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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_manual_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",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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"
], - "id": "string",
- "message": "string",
- "modified": [
- "string"
], - "removed": [
- "string"
], - "timestamp": "2019-08-24T14:15:22Z",
- "url": "string",
- "verification": {
- "payload": "string",
- "reason": "string",
- "signature": "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"
], - "id": "string",
- "message": "string",
- "modified": [
- "string"
], - "removed": [
- "string"
], - "timestamp": "2019-08-24T14:15:22Z",
- "url": "string",
- "verification": {
- "payload": "string",
- "reason": "string",
- "signature": "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"
], - "id": "string",
- "message": "string",
- "modified": [
- "string"
], - "removed": [
- "string"
], - "timestamp": "2019-08-24T14:15:22Z",
- "url": "string",
- "verification": {
- "payload": "string",
- "reason": "string",
- "signature": "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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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 user to check for being a collaborator |
| owner required | string owner of the repo |
| repo required | string name of the repo |
| collaborator required | string username of the user to add or update as a collaborator |
| 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 whose permissions are to be obtained |
{- "permission": "string",
- "role_name": "string",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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 |
| since | string <date-time> Only commits after this date will be returned (ISO 8601 format) |
| until | string <date-time> Only commits before this date will be returned (ISO 8601 format) |
| 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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": {
- "message": "string",
- "tree": {
- "created": "2019-08-24T14:15:22Z",
- "sha": "string",
- "url": "string"
}, - "url": "string",
- "verification": {
- "payload": "string",
- "reason": "string",
- "signature": "string",
- "verified": true
}
}, - "committer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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_manual_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",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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": "pending",
- "statuses": [
- {
- "context": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "creator": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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": "pending",
- "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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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": "pending",
- "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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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_manual_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",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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_manual_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",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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": {
- "message": "string",
- "tree": {
- "created": "2019-08-24T14:15:22Z",
- "sha": "string",
- "url": "string"
}, - "url": "string",
- "verification": {
- "payload": "string",
- "reason": "string",
- "signature": "string",
- "verified": true
}
}, - "committer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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
}This API follows GitHub's design, and it is not easy to use. Recommend users to use our "contents-ext" API instead.
| owner required | string owner of the repo |
| repo required | string name of the repo |
| ref | string The name of the commit/branch/tag. Default to the repository’s default branch. |
[- {
- "_links": {
- "git": "string",
- "html": "string",
- "self": "string"
}, - "content": "string",
- "download_url": "string",
- "encoding": "string",
- "git_url": "string",
- "html_url": "string",
- "last_author_date": "2019-08-24T14:15:22Z",
- "last_commit_message": "string",
- "last_commit_sha": "string",
- "last_committer_date": "2019-08-24T14:15:22Z",
- "lfs_oid": "string",
- "lfs_size": 0,
- "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. |
{- "branch": "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": {
- "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_author_date": "2019-08-24T14:15:22Z",
- "last_commit_message": "string",
- "last_commit_sha": "string",
- "last_committer_date": "2019-08-24T14:15:22Z",
- "lfs_oid": "string",
- "lfs_size": 0,
- "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",
- "verified": true
}
}It guarantees that only one of the response fields is set if the request succeeds. Users can pass "includes=file_content" or "includes=lfs_metadata" to retrieve more fields. "includes=file_content" only works for single file, if you need to retrieve file contents in batch, use "file-contents" API after listing the directory.
| 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. Swagger requires path parameter to be "required", you can leave it empty or pass a single dot (".") to get the root directory. |
| ref | string the name of the commit/branch/tag, default to the repository’s default branch. |
| includes | string By default this API's response only contains file's metadata. Use comma-separated "includes" options to retrieve more fields. Option "file_content" will try to retrieve the file content, "lfs_metadata" will try to retrieve LFS metadata, "commit_metadata" will try to retrieve commit metadata, and "commit_message" will try to retrieve commit message. |
{- "dir_contents": [
- {
- "_links": {
- "git": "string",
- "html": "string",
- "self": "string"
}, - "content": "string",
- "download_url": "string",
- "encoding": "string",
- "git_url": "string",
- "html_url": "string",
- "last_author_date": "2019-08-24T14:15:22Z",
- "last_commit_message": "string",
- "last_commit_sha": "string",
- "last_committer_date": "2019-08-24T14:15:22Z",
- "lfs_oid": "string",
- "lfs_size": 0,
- "name": "string",
- "path": "string",
- "sha": "string",
- "size": 0,
- "submodule_git_url": "string",
- "target": "string",
- "type": "string",
- "url": "string"
}
], - "file_contents": {
- "_links": {
- "git": "string",
- "html": "string",
- "self": "string"
}, - "content": "string",
- "download_url": "string",
- "encoding": "string",
- "git_url": "string",
- "html_url": "string",
- "last_author_date": "2019-08-24T14:15:22Z",
- "last_commit_message": "string",
- "last_commit_sha": "string",
- "last_committer_date": "2019-08-24T14:15:22Z",
- "lfs_oid": "string",
- "lfs_size": 0,
- "name": "string",
- "path": "string",
- "sha": "string",
- "size": 0,
- "submodule_git_url": "string",
- "target": "string",
- "type": "string",
- "url": "string"
}
}This API follows GitHub's design, and it is not easy to use. Recommend users to use the "contents-ext" API instead.
| 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 to the repository’s default branch. |
{- "_links": {
- "git": "string",
- "html": "string",
- "self": "string"
}, - "content": "string",
- "download_url": "string",
- "encoding": "string",
- "git_url": "string",
- "html_url": "string",
- "last_author_date": "2019-08-24T14:15:22Z",
- "last_commit_message": "string",
- "last_commit_sha": "string",
- "last_committer_date": "2019-08-24T14:15:22Z",
- "lfs_oid": "string",
- "lfs_size": 0,
- "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 the blob ID (SHA) for the file that already exists, it is required for changing existing files |
| signoff | boolean Add a Signed-off-by trailer by the committer at the end of the commit log message. |
{- "branch": "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": {
- "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_author_date": "2019-08-24T14:15:22Z",
- "last_commit_message": "string",
- "last_commit_sha": "string",
- "last_committer_date": "2019-08-24T14:15:22Z",
- "lfs_oid": "string",
- "lfs_size": 0,
- "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",
- "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. |
{- "branch": "string",
- "content": "string",
- "dates": {
- "author": "2019-08-24T14:15:22Z",
- "committer": "2019-08-24T14:15:22Z"
}, - "message": "string",
- "new_branch": "string",
- "signoff": true
}{- "commit": {
- "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_author_date": "2019-08-24T14:15:22Z",
- "last_commit_message": "string",
- "last_commit_sha": "string",
- "last_committer_date": "2019-08-24T14:15:22Z",
- "lfs_oid": "string",
- "lfs_size": 0,
- "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",
- "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 the blob ID (SHA) for the file that already exists, it is required for changing existing files |
| signoff | boolean Add a Signed-off-by trailer by the committer at the end of the commit log message. |
{- "branch": "string",
- "dates": {
- "author": "2019-08-24T14:15:22Z",
- "committer": "2019-08-24T14:15:22Z"
}, - "message": "string",
- "new_branch": "string",
- "sha": "string",
- "signoff": true
}{- "commit": {
- "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",
- "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 |
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. |
{- "branch": "string",
- "content": "string",
- "dates": {
- "author": "2019-08-24T14:15:22Z",
- "committer": "2019-08-24T14:15:22Z"
}, - "message": "string",
- "new_branch": "string",
- "signoff": true
}{- "commit": {
- "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_author_date": "2019-08-24T14:15:22Z",
- "last_commit_message": "string",
- "last_commit_sha": "string",
- "last_committer_date": "2019-08-24T14:15:22Z",
- "lfs_oid": "string",
- "lfs_size": 0,
- "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",
- "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 to the repository’s default branch. |
See the POST method. This GET method supports using JSON encoded request body in query parameter.
| owner required | string owner of the repo |
| repo required | string name of the repo |
| ref | string The name of the commit/branch/tag. Default to the repository’s default branch. |
| body required | string The JSON encoded body (see the POST request): {"files": ["filename1", "filename2"]} |
[- {
- "_links": {
- "git": "string",
- "html": "string",
- "self": "string"
}, - "content": "string",
- "download_url": "string",
- "encoding": "string",
- "git_url": "string",
- "html_url": "string",
- "last_author_date": "2019-08-24T14:15:22Z",
- "last_commit_message": "string",
- "last_commit_sha": "string",
- "last_committer_date": "2019-08-24T14:15:22Z",
- "lfs_oid": "string",
- "lfs_size": 0,
- "name": "string",
- "path": "string",
- "sha": "string",
- "size": 0,
- "submodule_git_url": "string",
- "target": "string",
- "type": "string",
- "url": "string"
}
]Uses automatic pagination based on default page size and max response size and returns the maximum allowed number of files. Files which could not be retrieved are null. Files which are too large are being returned with encoding == null, content == null and size > 0, they can be requested separately by using the download_url.
| owner required | string owner of the repo |
| repo required | string name of the repo |
| ref | string The name of the commit/branch/tag. Default to the repository’s default branch. |
| files | Array of strings Files is the list of file paths to retrieve |
{- "files": [
- "string"
]
}[- {
- "_links": {
- "git": "string",
- "html": "string",
- "self": "string"
}, - "content": "string",
- "download_url": "string",
- "encoding": "string",
- "git_url": "string",
- "html_url": "string",
- "last_author_date": "2019-08-24T14:15:22Z",
- "last_commit_message": "string",
- "last_commit_sha": "string",
- "last_committer_date": "2019-08-24T14:15:22Z",
- "lfs_oid": "string",
- "lfs_size": 0,
- "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 |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "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,
- "archived_at": "2019-08-24T14:15:22Z",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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_manual_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",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "lfs_oid": "string",
- "lfs_size": 0,
- "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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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": {
- "message": "string",
- "tree": {
- "created": "2019-08-24T14:15:22Z",
- "sha": "string",
- "url": "string"
}, - "url": "string",
- "verification": {
- "payload": "string",
- "reason": "string",
- "signature": "string",
- "verified": true
}
}, - "committer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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": {
- "message": "string",
- "tree": {
- "created": "2019-08-24T14:15:22Z",
- "sha": "string",
- "url": "string"
}, - "url": "string",
- "verification": {
- "payload": "string",
- "reason": "string",
- "signature": "string",
- "verified": true
}
}, - "committer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "url": "string",
- "verification": {
- "payload": "string",
- "reason": "string",
- "signature": "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 Authorization header to include in webhook requests |
| branch_filter | string Branch filter pattern to determine which branches trigger the webhook |
required | object (CreateHookOptionConfig) CreateHookOptionConfig has all config options in it required are "content_type" and "url" Required |
| events | Array of strings List of events that will trigger this webhook |
| 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 is the new script content for the hook |
{- "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 Whether the webhook is active and will be triggered |
| authorization_header | string Authorization header to include in webhook requests |
| branch_filter | string Branch filter pattern to determine which branches trigger the webhook |
object Configuration settings for the webhook | |
| events | Array of strings List of events that trigger this webhook |
{- "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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "time_estimate": 0,
- "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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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_manual_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",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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_manual_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",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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_manual_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",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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 to the repository’s default branch |
| owner required | string owner of the repo |
| repo required | string name of the repo |
| branch | string |
| ff_only | boolean |
{- "branch": "string",
- "ff_only": true
}{- "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 |
| base_branch | string Filter by target base branch of the pull request |
| state | string Default: "open" Enum: "open" "closed" "all" State of pull request |
| sort | string Enum: "oldest" "recentupdate" "recentclose" "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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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_manual_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",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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_manual_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",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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 The primary assignee username |
| assignees | Array of strings The list of assignee usernames |
| base | string The base branch for the pull request |
| body | string The description body of the pull request |
| due_date | string <date-time> |
| head | string The head branch for the pull request, it could be a branch name on the base repository or
a form like |
| labels | Array of integers <int64> [ items <int64 > ] The list of label IDs to assign to the pull request |
| milestone | integer <int64> The milestone ID to assign to the pull request |
| reviewers | Array of strings The list of reviewer usernames |
| team_reviewers | Array of strings The list of team reviewer names |
| title | string The title of the pull request |
{- "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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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_manual_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",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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_manual_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",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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_manual_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",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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_manual_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",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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_manual_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",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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_manual_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",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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_manual_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",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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_manual_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",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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 Whether to allow maintainer edits |
| assignee | string The new primary assignee username |
| assignees | Array of strings The new list of assignee usernames |
| base | string The new base branch for the pull request |
| body | string The new description body for the pull request |
| due_date | string <date-time> |
| labels | Array of integers <int64> [ items <int64 > ] The new list of label IDs for the pull request |
| milestone | integer <int64> The new milestone ID for the pull request |
| state | string The new state for the pull request |
| title | string The new title for the pull request |
| unset_due_date | boolean Whether to remove the current deadline |
{- "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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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_manual_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",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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_manual_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",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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": {
- "message": "string",
- "tree": {
- "created": "2019-08-24T14:15:22Z",
- "sha": "string",
- "url": "string"
}, - "url": "string",
- "verification": {
- "payload": "string",
- "reason": "string",
- "signature": "string",
- "verified": true
}
}, - "committer": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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 The sync interval for automatic updates |
| remote_address | string The remote repository URL to push to |
| remote_password | string The password for authentication with the remote repository |
| remote_username | string The username for authentication with the remote repository |
| sync_on_commit | boolean Whether to sync on every commit |
{- "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 to 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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 The release notes or description |
| draft | boolean Whether to create the release as a draft |
| name | string The display title of the release |
| prerelease | boolean Whether to mark the release as a prerelease |
| tag_message | string The message for the git tag |
| tag_name required | string |
| target_commitish | string The target commitish for the release |
{- "body": "string",
- "draft": true,
- "name": "string",
- "prerelease": true,
- "tag_message": "string",
- "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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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 The new release notes or description |
| draft | boolean Whether to change the draft status |
| name | string The new display title of the release |
| prerelease | boolean Whether to change the prerelease status |
| tag_name | string The new name of the git tag |
| target_commitish | string The new target commitish for the release |
{- "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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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 is the new filename for the attachment |
{- "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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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": "pending",
- "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 Context is the unique context identifier for the status |
| description | string Description provides a brief description of the status |
| state | string Enum: "pending" "success" "error" "failure" "warning" "skipped" State represents the status state to set (pending, success, error, failure) pending CommitStatusPending CommitStatusPending is for when the CommitStatus is Pending success CommitStatusSuccess CommitStatusSuccess is for when the CommitStatus is Success error CommitStatusError CommitStatusError is for when the CommitStatus is Error failure CommitStatusFailure CommitStatusFailure is for when the CommitStatus is Failure warning CommitStatusWarning CommitStatusWarning is for when the CommitStatus is Warning skipped CommitStatusSkipped CommitStatusSkipped is for when CommitStatus is Skipped |
| target_url | string TargetURL is the URL to link to for more details |
{- "context": "string",
- "description": "string",
- "state": "pending",
- "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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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": "pending",
- "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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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 The pattern to match tag names for protection |
| whitelist_teams | Array of strings List of team names allowed to create/delete protected tags |
| whitelist_usernames | Array of strings List of usernames allowed to create/delete protected tags |
{- "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 The pattern to match tag names for protection |
| whitelist_teams | Array of strings List of team names allowed to create/delete protected tags |
| whitelist_usernames | Array of strings List of usernames allowed to create/delete protected tags |
{- "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 The message to associate with the tag |
| tag_name required | string |
| target | string The target commit SHA or branch name for the tag |
{- "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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "time_estimate": 0,
- "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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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 the user whose tracked times are to be listed |
[- {
- "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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "time_estimate": 0,
- "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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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_manual_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",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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_manual_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",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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_manual_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",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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": {
- "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": {
- "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": {
- "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": {
- "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": [
- {
- "message": "string",
- "sha": "string"
}
], - "count": 0
}| template_owner required | string owner of the template repository |
| 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 |
| owner required | string the organization's name or individual user's name 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_manual_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",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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_manual_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",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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_manual_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",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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"
}{- "default_git_trees_per_page": 0,
- "default_max_blob_size": 0,
- "default_max_response_size": 0,
- "default_paging_num": 0,
- "max_response_items": 0
}{- "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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}| status | string workflow status (pending, queued, in_progress, failure, success, skipped) |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
{- "jobs": [
- {
- "completed_at": "2019-08-24T14:15:22Z",
- "conclusion": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "head_branch": "string",
- "head_sha": "string",
- "html_url": "string",
- "id": 0,
- "labels": [
- "string"
], - "name": "string",
- "run_attempt": 0,
- "run_id": 0,
- "run_url": "string",
- "runner_id": 0,
- "runner_name": "string",
- "started_at": "2019-08-24T14:15:22Z",
- "status": "string",
- "steps": [
- {
- "completed_at": "2019-08-24T14:15:22Z",
- "conclusion": "string",
- "name": "string",
- "number": 0,
- "started_at": "2019-08-24T14:15:22Z",
- "status": "string"
}
], - "url": "string"
}
], - "total_count": 0
}| event | string workflow event name |
| branch | string workflow branch |
| status | string workflow status (pending, queued, in_progress, failure, success, skipped) |
| actor | string triggered by user |
| head_sha | string triggering sha of the workflow run |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
{- "total_count": 0,
- "workflow_runs": [
- {
- "actor": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "completed_at": "2019-08-24T14:15:22Z",
- "conclusion": "string",
- "display_title": "string",
- "event": "string",
- "head_branch": "string",
- "head_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,
- "archived_at": "2019-08-24T14:15:22Z",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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"
}, - "head_sha": "string",
- "html_url": "string",
- "id": 0,
- "path": "string",
- "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,
- "archived_at": "2019-08-24T14:15:22Z",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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"
}, - "repository_id": 0,
- "run_attempt": 0,
- "run_number": 0,
- "started_at": "2019-08-24T14:15:22Z",
- "status": "string",
- "trigger_actor": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "location": "string",
- "login": "string",
- "login_name": "empty",
- "prohibit_login": true,
- "restricted": true,
- "source_id": 0,
- "starred_repos_count": 0,
- "visibility": "string",
- "website": "string"
}, - "url": "string"
}
]
}| secretname required | string name of the secret |
| data required | string Data of the secret to update |
| description | string Description of the secret to update |
{- "data": "string",
- "description": "string"
}| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "data": "string",
- "description": "string",
- "name": "string",
- "owner_id": 0,
- "repo_id": 0
}
]| variablename required | string name of the variable |
{- "data": "string",
- "description": "string",
- "name": "string",
- "owner_id": 0,
- "repo_id": 0
}| variablename required | string name of the variable |
| description | string Description of the variable to update |
| 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 |
{- "description": "string",
- "name": "string",
- "value": "string"
}| variablename required | string name of the variable |
| description | string Description of the variable to create |
| value required | string Value of the variable to create |
{- "description": "string",
- "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 Whether the client is confidential |
| name | string The name of the OAuth2 application |
| redirect_uris | Array of strings The list of allowed redirect URIs |
| skip_secondary_authorization | boolean Whether to skip secondary authorization |
{- "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 Whether the client is confidential |
| name | string The name of the OAuth2 application |
| redirect_uris | Array of strings The list of allowed redirect URIs |
| skip_secondary_authorization | boolean Whether to skip secondary authorization |
{- "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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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 An optional armored signature for the GPG key |
{- "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 Authorization header to include in webhook requests |
| branch_filter | string Branch filter pattern to determine which branches trigger the webhook |
required | object (CreateHookOptionConfig) CreateHookOptionConfig has all config options in it required are "content_type" and "url" Required |
| events | Array of strings List of events that will trigger this webhook |
| 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 Whether the webhook is active and will be triggered |
| authorization_header | string Authorization header to include in webhook requests |
| branch_filter | string Branch filter pattern to determine which branches trigger the webhook |
object Configuration settings for the webhook | |
| events | Array of strings List of events that trigger this webhook |
{- "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",
- "last_used_at": "2019-08-24T14:15:22Z",
- "read_only": true,
- "title": "string",
- "url": "string",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "last_used_at": "2019-08-24T14:15:22Z",
- "read_only": true,
- "title": "string",
- "url": "string",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "last_used_at": "2019-08-24T14:15:22Z",
- "read_only": true,
- "title": "string",
- "url": "string",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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_manual_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",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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_manual_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",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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_manual_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",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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_manual_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",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "time_estimate": 0,
- "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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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 the user whose data is to be listed |
{- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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 whose activity feeds are to be listed |
| 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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_manual_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",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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 the user whose followers are to be listed |
| 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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 whose followed users are to be listed |
| 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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 whose GPG key list is to be obtained |
| 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 the user whose public keys are to be listed |
| 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",
- "last_used_at": "2019-08-24T14:15:22Z",
- "read_only": true,
- "title": "string",
- "url": "string",
- "user": {
- "active": true,
- "avatar_url": "string",
- "created": "2019-08-24T14:15:22Z",
- "description": "string",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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 whose owned repos are to be listed |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "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,
- "archived_at": "2019-08-24T14:15:22Z",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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 whose starred repos are to be listed |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "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,
- "archived_at": "2019-08-24T14:15:22Z",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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 whose watched repos are to be listed |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "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,
- "archived_at": "2019-08-24T14:15:22Z",
- "autodetect_manual_merge": true,
- "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_code": 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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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",
- "followers_count": 0,
- "following_count": 0,
- "full_name": "string",
- "html_url": "string",
- "id": 0,
- "is_admin": true,
- "language": "string",
- "last_login": "2019-08-24T14:15: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 to user whose access tokens are to be listed |
| page | integer page number of results to return (1-based) |
| limit | integer page size of results |
[- {
- "created_at": "2019-08-24T14:15:22Z",
- "id": 0,
- "last_used_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "scopes": [
- "string"
], - "sha1": "string",
- "token_last_eight": "string"
}
]| username required | string username of the user whose token is to be created |
| name required | string |
| scopes | Array of strings |
{- "name": "string",
- "scopes": [
- "all",
- "read:activitypub",
- "read:issue",
- "write:misc",
- "read:notification",
- "read:organization",
- "read:package",
- "read:repository",
- "read:user"
]
}{- "created_at": "2019-08-24T14:15:22Z",
- "id": 0,
- "last_used_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "scopes": [
- "string"
], - "sha1": "string",
- "token_last_eight": "string"
}| username required | string username of the user whose token is to be deleted |
| token required | string token to be deleted, identified by ID and if not available by name |
Gitea is open source. Star our GitHub repo, and join our community on Discord!
Stay up to date with all things Gitea