All URIs are relative to http://localhost/api/v1
Method | HTTP request | Description |
---|---|---|
create_current_user_repo | Post /user/repos | Create a repository |
create_fork | Post /repos/{owner}/{repo}/forks | Fork a repository |
get_blob | Get /repos/{owner}/{repo}/git/blobs/{sha} | Gets the blob of a repository. |
get_tag | Get /repos/{owner}/{repo}/git/tags/{sha} | Gets the tag object of an annotated tag (not lightweight tags) |
get_tree | Get /repos/{owner}/{repo}/git/trees/{sha} | Gets the tree of a repository. |
list_forks | Get /repos/{owner}/{repo}/forks | List a repository's forks |
repo_add_collaborator | Put /repos/{owner}/{repo}/collaborators/{collaborator} | Add a collaborator to a repository |
repo_add_topc | Put /repos/{owner}/{repo}/topics/{topic} | Add a topic to a repository |
repo_check_collaborator | Get /repos/{owner}/{repo}/collaborators/{collaborator} | Check if a user is a collaborator of a repository |
repo_create_file | Post /repos/{owner}/{repo}/contents/{filepath} | Create a file in a repository |
repo_create_hook | Post /repos/{owner}/{repo}/hooks | Create a hook |
repo_create_key | Post /repos/{owner}/{repo}/keys | Add a key to a repository |
repo_create_pull_request | Post /repos/{owner}/{repo}/pulls | Create a pull request |
repo_create_release | Post /repos/{owner}/{repo}/releases | Create a release |
repo_create_release_attachment | Post /repos/{owner}/{repo}/releases/{id}/assets | Create a release attachment |
repo_create_status | Post /repos/{owner}/{repo}/statuses/{sha} | Create a commit status |
repo_delete | Delete /repos/{owner}/{repo} | Delete a repository |
repo_delete_collaborator | Delete /repos/{owner}/{repo}/collaborators/{collaborator} | Delete a collaborator from a repository |
repo_delete_file | Delete /repos/{owner}/{repo}/contents/{filepath} | Delete a file in a repository |
repo_delete_git_hook | Delete /repos/{owner}/{repo}/hooks/git/{id} | Delete a Git hook in a repository |
repo_delete_hook | Delete /repos/{owner}/{repo}/hooks/{id} | Delete a hook in a repository |
repo_delete_key | Delete /repos/{owner}/{repo}/keys/{id} | Delete a key from a repository |
repo_delete_release | Delete /repos/{owner}/{repo}/releases/{id} | Delete a release |
repo_delete_release_attachment | Delete /repos/{owner}/{repo}/releases/{id}/assets/{attachment_id} | Delete a release attachment |
repo_delete_topic | Delete /repos/{owner}/{repo}/topics/{topic} | Delete a topic from a repository |
repo_edit | Patch /repos/{owner}/{repo} | Edit a repository's properties. Only fields that are set will be changed. |
repo_edit_git_hook | Patch /repos/{owner}/{repo}/hooks/git/{id} | Edit a Git hook in a repository |
repo_edit_hook | Patch /repos/{owner}/{repo}/hooks/{id} | Edit a hook in a repository |
repo_edit_pull_request | Patch /repos/{owner}/{repo}/pulls/{index} | Update a pull request. If using deadline only the date will be taken into account, and time of day ignored. |
repo_edit_release | Patch /repos/{owner}/{repo}/releases/{id} | Update a release |
repo_edit_release_attachment | Patch /repos/{owner}/{repo}/releases/{id}/assets/{attachment_id} | Edit a release attachment |
repo_get | Get /repos/{owner}/{repo} | Get a repository |
repo_get_all_commits | Get /repos/{owner}/{repo}/commits | Get a list of all commits from a repository |
repo_get_archive | Get /repos/{owner}/{repo}/archive/{archive} | Get an archive of a repository |
repo_get_branch | Get /repos/{owner}/{repo}/branches/{branch} | Retrieve a specific branch from a repository, including its effective branch protection |
repo_get_by_id | Get /repositories/{id} | Get a repository by id |
repo_get_combined_status_by_ref | Get /repos/{owner}/{repo}/commits/{ref}/statuses | Get a commit's combined status, by branch/tag/commit reference |
repo_get_contents | Get /repos/{owner}/{repo}/contents/{filepath} | Gets the metadata and contents (if a file) of an entry in a repository, or a list of entries if a dir |
repo_get_contents_list | Get /repos/{owner}/{repo}/contents | Gets the metadata of all the entries of the root dir |
repo_get_editor_config | Get /repos/{owner}/{repo}/editorconfig/{filepath} | Get the EditorConfig definitions of a file in a repository |
repo_get_git_hook | Get /repos/{owner}/{repo}/hooks/git/{id} | Get a Git hook |
repo_get_hook | Get /repos/{owner}/{repo}/hooks/{id} | Get a hook |
repo_get_key | Get /repos/{owner}/{repo}/keys/{id} | Get a repository's key by id |
repo_get_pull_request | Get /repos/{owner}/{repo}/pulls/{index} | Get a pull request |
repo_get_raw_file | Get /repos/{owner}/{repo}/raw/{filepath} | Get a file from a repository |
repo_get_release | Get /repos/{owner}/{repo}/releases/{id} | Get a release |
repo_get_release_attachment | Get /repos/{owner}/{repo}/releases/{id}/assets/{attachment_id} | Get a release attachment |
repo_get_single_commit | Get /repos/{owner}/{repo}/git/commits/{sha} | Get a single commit from a repository |
repo_list_all_git_refs | Get /repos/{owner}/{repo}/git/refs | Get specified ref or filtered repository's refs |
repo_list_branches | Get /repos/{owner}/{repo}/branches | List a repository's branches |
repo_list_collaborators | Get /repos/{owner}/{repo}/collaborators | List a repository's collaborators |
repo_list_git_hooks | Get /repos/{owner}/{repo}/hooks/git | List the Git hooks in a repository |
repo_list_git_refs | Get /repos/{owner}/{repo}/git/refs/{ref} | Get specified ref or filtered repository's refs |
repo_list_hooks | Get /repos/{owner}/{repo}/hooks | List the hooks in a repository |
repo_list_keys | Get /repos/{owner}/{repo}/keys | List a repository's keys |
repo_list_pull_requests | Get /repos/{owner}/{repo}/pulls | List a repo's pull requests |
repo_list_release_attachments | Get /repos/{owner}/{repo}/releases/{id}/assets | List release's attachments |
repo_list_releases | Get /repos/{owner}/{repo}/releases | List a repo's releases |
repo_list_stargazers | Get /repos/{owner}/{repo}/stargazers | List a repo's stargazers |
repo_list_statuses | Get /repos/{owner}/{repo}/statuses/{sha} | Get a commit's statuses |
repo_list_subscribers | Get /repos/{owner}/{repo}/subscribers | List a repo's watchers |
repo_list_tags | Get /repos/{owner}/{repo}/tags | List a repository's tags |
repo_list_topics | Get /repos/{owner}/{repo}/topics | Get list of topics that a repository has |
repo_merge_pull_request | Post /repos/{owner}/{repo}/pulls/{index}/merge | Merge a pull request |
repo_migrate | Post /repos/migrate | Migrate a remote git repository |
repo_mirror_sync | Post /repos/{owner}/{repo}/mirror-sync | Sync a mirrored repository |
repo_pull_request_is_merged | Get /repos/{owner}/{repo}/pulls/{index}/merge | Check if a pull request has been merged |
repo_search | Get /repos/search | Search for repositories |
repo_signing_key | Get /repos/{owner}/{repo}/signing-key.gpg | Get signing-key.gpg for given repository |
repo_test_hook | Post /repos/{owner}/{repo}/hooks/{id}/tests | Test a push webhook |
repo_tracked_times | Get /repos/{owner}/{repo}/times | List a repo's tracked times |
repo_update_file | Put /repos/{owner}/{repo}/contents/{filepath} | Update a file in a repository |
repo_update_topics | Put /repos/{owner}/{repo}/topics | Replace list of topics for a repository |
topic_search | Get /topics/search | search topics via keyword |
user_current_check_subscription | Get /repos/{owner}/{repo}/subscription | Check if the current user is watching a repo |
user_current_delete_subscription | Delete /repos/{owner}/{repo}/subscription | Unwatch a repo |
user_current_put_subscription | Put /repos/{owner}/{repo}/subscription | Watch a repo |
::models::Repository create_current_user_repo(ctx, ctx, ctx, ctx, ctx, ctx, optional) Create a repository
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
optional | map[string]interface{} | optional parameters | nil if no parameters |
Optional parameters are passed through a map[string]interface{}.
Name | Type | Description | Notes |
---|---|---|---|
body | CreateRepoOption |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
::models::Repository create_fork(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, optional) Fork a repository
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo to fork | |
repo | String | name of the repo to fork | |
optional | map[string]interface{} | optional parameters | nil if no parameters |
Optional parameters are passed through a map[string]interface{}.
Name | Type | Description | Notes |
---|---|---|---|
owner | String | owner of the repo to fork | |
repo | String | name of the repo to fork | |
body | CreateForkOption |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
::models::GitBlobResponse get_blob(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, sha) Gets the blob of a repository.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo | |
sha | String | sha of the commit |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
::models::AnnotatedTag get_tag(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, sha) Gets the tag object of an annotated tag (not lightweight tags)
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo | |
sha | String | sha of the tag. The Git tags API only supports annotated tag objects, not lightweight tags. |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
::models::GitTreeResponse get_tree(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, sha, optional) Gets the tree of a repository.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo | |
sha | String | sha of the commit | |
optional | map[string]interface{} | optional parameters | nil if no parameters |
Optional parameters are passed through a map[string]interface{}.
Name | Type | Description | Notes |
---|---|---|---|
owner | String | owner of the repo | |
repo | String | name of the repo | |
sha | String | sha of the commit | |
recursive | bool | show all directories and files | |
page | i32 | 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 | i32 | number of items per page; default is 1000 or what is set in app.ini as DEFAULT_GIT_TREES_PER_PAGE |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Vec<::models::Repository> list_forks(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo) List a repository's forks
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
repo_add_collaborator(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, collaborator, optional) Add a collaborator to a repository
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo | |
collaborator | String | username of the collaborator to add | |
optional | map[string]interface{} | optional parameters | nil if no parameters |
Optional parameters are passed through a map[string]interface{}.
Name | Type | Description | Notes |
---|---|---|---|
owner | String | owner of the repo | |
repo | String | name of the repo | |
collaborator | String | username of the collaborator to add | |
body | AddCollaboratorOption |
(empty response body)
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
repo_add_topc(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, topic) Add a topic to a repository
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo | |
topic | String | name of the topic to add |
(empty response body)
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
repo_check_collaborator(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, collaborator) Check if a user is a collaborator of a repository
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo | |
collaborator | String | username of the collaborator |
(empty response body)
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
::models::FileResponse repo_create_file(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, filepath, body) Create a file in a repository
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo | |
filepath | String | path of the file to create | |
body | CreateFileOptions |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
::models::Hook repo_create_hook(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, optional) Create a hook
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo | |
optional | map[string]interface{} | optional parameters | nil if no parameters |
Optional parameters are passed through a map[string]interface{}.
Name | Type | Description | Notes |
---|---|---|---|
owner | String | owner of the repo | |
repo | String | name of the repo | |
body | CreateHookOption |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
::models::DeployKey repo_create_key(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, optional) Add a key to a repository
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo | |
optional | map[string]interface{} | optional parameters | nil if no parameters |
Optional parameters are passed through a map[string]interface{}.
Name | Type | Description | Notes |
---|---|---|---|
owner | String | owner of the repo | |
repo | String | name of the repo | |
body | CreateKeyOption |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
::models::PullRequest repo_create_pull_request(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, optional) Create a pull request
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo | |
optional | map[string]interface{} | optional parameters | nil if no parameters |
Optional parameters are passed through a map[string]interface{}.
Name | Type | Description | Notes |
---|---|---|---|
owner | String | owner of the repo | |
repo | String | name of the repo | |
body | CreatePullRequestOption |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
::models::Release repo_create_release(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, optional) Create a release
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo | |
optional | map[string]interface{} | optional parameters | nil if no parameters |
Optional parameters are passed through a map[string]interface{}.
Name | Type | Description | Notes |
---|---|---|---|
owner | String | owner of the repo | |
repo | String | name of the repo | |
body | CreateReleaseOption |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
::models::Attachment repo_create_release_attachment(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, id, attachment, optional) Create a release attachment
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo | |
id | i64 | id of the release | |
attachment | File | attachment to upload | |
optional | map[string]interface{} | optional parameters | nil if no parameters |
Optional parameters are passed through a map[string]interface{}.
Name | Type | Description | Notes |
---|---|---|---|
owner | String | owner of the repo | |
repo | String | name of the repo | |
id | i64 | id of the release | |
attachment | File | attachment to upload | |
name | String | name of the attachment |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
::models::Status repo_create_status(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, sha, optional) Create a commit status
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo | |
sha | String | sha of the commit | |
optional | map[string]interface{} | optional parameters | nil if no parameters |
Optional parameters are passed through a map[string]interface{}.
Name | Type | Description | Notes |
---|---|---|---|
owner | String | owner of the repo | |
repo | String | name of the repo | |
sha | String | sha of the commit | |
body | CreateStatusOption |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
repo_delete(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo) Delete a repository
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo to delete | |
repo | String | name of the repo to delete |
(empty response body)
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
repo_delete_collaborator(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, collaborator) Delete a collaborator from a repository
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo | |
collaborator | String | username of the collaborator to delete |
(empty response body)
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
::models::FileDeleteResponse repo_delete_file(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, filepath, body) Delete a file in a repository
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo | |
filepath | String | path of the file to delete | |
body | DeleteFileOptions |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
repo_delete_git_hook(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, id) Delete a Git hook in a repository
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo | |
id | String | id of the hook to get |
(empty response body)
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
repo_delete_hook(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, id) Delete a hook in a repository
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo | |
id | i64 | id of the hook to delete |
(empty response body)
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
repo_delete_key(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, id) Delete a key from a repository
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo | |
id | i64 | id of the key to delete |
(empty response body)
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
repo_delete_release(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, id) Delete a release
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo | |
id | i64 | id of the release to delete |
(empty response body)
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
repo_delete_release_attachment(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, id, attachment_id) Delete a release attachment
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo | |
id | i64 | id of the release | |
attachment_id | i64 | id of the attachment to delete |
(empty response body)
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
repo_delete_topic(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, topic) Delete a topic from a repository
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo | |
topic | String | name of the topic to delete |
(empty response body)
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
::models::Repository repo_edit(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, optional) Edit a repository's properties. Only fields that are set will be changed.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo to edit | |
repo | String | name of the repo to edit | |
optional | map[string]interface{} | optional parameters | nil if no parameters |
Optional parameters are passed through a map[string]interface{}.
Name | Type | Description | Notes |
---|---|---|---|
owner | String | owner of the repo to edit | |
repo | String | name of the repo to edit | |
body | EditRepoOption | Properties of a repo that you can edit |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
::models::GitHook repo_edit_git_hook(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, id, optional) Edit a Git hook in a repository
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo | |
id | String | id of the hook to get | |
optional | map[string]interface{} | optional parameters | nil if no parameters |
Optional parameters are passed through a map[string]interface{}.
Name | Type | Description | Notes |
---|---|---|---|
owner | String | owner of the repo | |
repo | String | name of the repo | |
id | String | id of the hook to get | |
body | EditGitHookOption |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
::models::Hook repo_edit_hook(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, id, optional) Edit a hook in a repository
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo | |
id | i64 | index of the hook | |
optional | map[string]interface{} | optional parameters | nil if no parameters |
Optional parameters are passed through a map[string]interface{}.
Name | Type | Description | Notes |
---|---|---|---|
owner | String | owner of the repo | |
repo | String | name of the repo | |
id | i64 | index of the hook | |
body | EditHookOption |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
::models::PullRequest repo_edit_pull_request(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, index, optional) Update a pull request. If using deadline only the date will be taken into account, and time of day ignored.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo | |
index | i64 | index of the pull request to edit | |
optional | map[string]interface{} | optional parameters | nil if no parameters |
Optional parameters are passed through a map[string]interface{}.
Name | Type | Description | Notes |
---|---|---|---|
owner | String | owner of the repo | |
repo | String | name of the repo | |
index | i64 | index of the pull request to edit | |
body | EditPullRequestOption |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
::models::Release repo_edit_release(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, id, optional) Update a release
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo | |
id | i64 | id of the release to edit | |
optional | map[string]interface{} | optional parameters | nil if no parameters |
Optional parameters are passed through a map[string]interface{}.
Name | Type | Description | Notes |
---|---|---|---|
owner | String | owner of the repo | |
repo | String | name of the repo | |
id | i64 | id of the release to edit | |
body | EditReleaseOption |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
::models::Attachment repo_edit_release_attachment(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, id, attachment_id, optional) Edit a release attachment
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo | |
id | i64 | id of the release | |
attachment_id | i64 | id of the attachment to edit | |
optional | map[string]interface{} | optional parameters | nil if no parameters |
Optional parameters are passed through a map[string]interface{}.
Name | Type | Description | Notes |
---|---|---|---|
owner | String | owner of the repo | |
repo | String | name of the repo | |
id | i64 | id of the release | |
attachment_id | i64 | id of the attachment to edit | |
body | EditAttachmentOptions |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
::models::Repository repo_get(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo) Get a repository
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Vec<::models::Commit> repo_get_all_commits(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, optional) Get a list of all commits from a repository
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo | |
optional | map[string]interface{} | optional parameters | nil if no parameters |
Optional parameters are passed through a map[string]interface{}.
Name | Type | Description | Notes |
---|---|---|---|
owner | String | owner of the repo | |
repo | String | name of the repo | |
sha | String | SHA or branch to start listing commits from (usually 'master') | |
page | i32 | page number of requested commits |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
repo_get_archive(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, archive) Get an archive of a repository
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo | |
archive | String | archive to download, consisting of a git reference and archive |
(empty response body)
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
::models::Branch repo_get_branch(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, branch) Retrieve a specific branch from a repository, including its effective branch protection
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo | |
branch | String | branch to get |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
::models::Repository repo_get_by_id(ctx, ctx, ctx, ctx, ctx, ctx, id) Get a repository by id
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
id | i64 | id of the repo to get |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
::models::Status repo_get_combined_status_by_ref(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, _ref, optional) Get a commit's combined status, by branch/tag/commit reference
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo | |
_ref | String | name of branch/tag/commit | |
optional | map[string]interface{} | optional parameters | nil if no parameters |
Optional parameters are passed through a map[string]interface{}.
Name | Type | Description | Notes |
---|---|---|---|
owner | String | owner of the repo | |
repo | String | name of the repo | |
_ref | String | name of branch/tag/commit | |
page | i32 | page number of results |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
::models::ContentsResponse repo_get_contents(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, filepath, optional) Gets the metadata and contents (if a file) of an entry in a repository, or a list of entries if a dir
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo | |
filepath | String | path of the dir, file, symlink or submodule in the repo | |
optional | map[string]interface{} | optional parameters | nil if no parameters |
Optional parameters are passed through a map[string]interface{}.
Name | Type | Description | Notes |
---|---|---|---|
owner | String | owner of the repo | |
repo | String | name of the repo | |
filepath | String | path of the dir, file, symlink or submodule in the repo | |
_ref | String | The name of the commit/branch/tag. Default the repository’s default branch (usually master) |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Vec<::models::ContentsResponse> repo_get_contents_list(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, optional) Gets the metadata of all the entries of the root dir
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo | |
optional | map[string]interface{} | optional parameters | nil if no parameters |
Optional parameters are passed through a map[string]interface{}.
Name | Type | Description | Notes |
---|---|---|---|
owner | String | owner of the repo | |
repo | String | name of the repo | |
_ref | String | The name of the commit/branch/tag. Default the repository’s default branch (usually master) |
Vec<::models::ContentsResponse>
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
repo_get_editor_config(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, filepath) Get the EditorConfig definitions of a file in a repository
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo | |
filepath | String | filepath of file to get |
(empty response body)
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
::models::GitHook repo_get_git_hook(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, id) Get a Git hook
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo | |
id | String | id of the hook to get |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
::models::Hook repo_get_hook(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, id) Get a hook
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo | |
id | i64 | id of the hook to get |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
::models::DeployKey repo_get_key(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, id) Get a repository's key by id
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo | |
id | i64 | id of the key to get |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
::models::PullRequest repo_get_pull_request(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, index) Get a pull request
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo | |
index | i64 | index of the pull request to get |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
repo_get_raw_file(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, filepath) Get a file from a repository
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo | |
filepath | String | filepath of the file to get |
(empty response body)
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
::models::Release repo_get_release(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, id) Get a release
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo | |
id | i64 | id of the release to get |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
::models::Attachment repo_get_release_attachment(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, id, attachment_id) Get a release attachment
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo | |
id | i64 | id of the release | |
attachment_id | i64 | id of the attachment to get |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
::models::Commit repo_get_single_commit(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, sha) Get a single commit from a repository
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo | |
sha | String | the commit hash |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Vec<::models::Reference> repo_list_all_git_refs(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo) Get specified ref or filtered repository's refs
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Vec<::models::Branch> repo_list_branches(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo) List a repository's branches
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Vec<::models::User> repo_list_collaborators(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo) List a repository's collaborators
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Vec<::models::GitHook> repo_list_git_hooks(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo) List the Git hooks in a repository
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Vec<::models::Reference> repo_list_git_refs(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, _ref) Get specified ref or filtered repository's refs
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo | |
_ref | String | part or full name of the ref |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Vec<::models::Hook> repo_list_hooks(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo) List the hooks in a repository
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Vec<::models::DeployKey> repo_list_keys(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, optional) List a repository's keys
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo | |
optional | map[string]interface{} | optional parameters | nil if no parameters |
Optional parameters are passed through a map[string]interface{}.
Name | Type | Description | Notes |
---|---|---|---|
owner | String | owner of the repo | |
repo | String | name of the repo | |
key_id | i32 | the key_id to search for | |
fingerprint | String | fingerprint of the key |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Vec<::models::PullRequest> repo_list_pull_requests(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, optional) List a repo's pull requests
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo | |
optional | map[string]interface{} | optional parameters | nil if no parameters |
Optional parameters are passed through a map[string]interface{}.
Name | Type | Description | Notes |
---|---|---|---|
owner | String | owner of the repo | |
repo | String | name of the repo | |
page | i32 | Page number | |
state | String | State of pull request: open or closed (optional) | |
sort | String | Type of sort | |
milestone | i64 | ID of the milestone | |
labels | Vec<i64> | Label IDs |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Vec<::models::Attachment> repo_list_release_attachments(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, id) List release's attachments
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo | |
id | i64 | id of the release |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Vec<::models::Release> repo_list_releases(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, optional) List a repo's releases
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo | |
optional | map[string]interface{} | optional parameters | nil if no parameters |
Optional parameters are passed through a map[string]interface{}.
Name | Type | Description | Notes |
---|---|---|---|
owner | String | owner of the repo | |
repo | String | name of the repo | |
page | i32 | page wants to load | |
per_page | i32 | items count every page wants to load |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Vec<::models::User> repo_list_stargazers(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo) List a repo's stargazers
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Vec<::models::Status> repo_list_statuses(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, sha, optional) Get a commit's statuses
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo | |
sha | String | sha of the commit | |
optional | map[string]interface{} | optional parameters | nil if no parameters |
Optional parameters are passed through a map[string]interface{}.
Name | Type | Description | Notes |
---|---|---|---|
owner | String | owner of the repo | |
repo | String | name of the repo | |
sha | String | sha of the commit | |
page | i32 | page number of results | |
sort | String | type of sort | |
state | String | type of state |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Vec<::models::User> repo_list_subscribers(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo) List a repo's watchers
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Vec<::models::Tag> repo_list_tags(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo) List a repository's tags
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
::models::TopicName repo_list_topics(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo) Get list of topics that a repository has
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
repo_merge_pull_request(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, index, optional) Merge a pull request
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo | |
index | i64 | index of the pull request to merge | |
optional | map[string]interface{} | optional parameters | nil if no parameters |
Optional parameters are passed through a map[string]interface{}.
Name | Type | Description | Notes |
---|---|---|---|
owner | String | owner of the repo | |
repo | String | name of the repo | |
index | i64 | index of the pull request to merge | |
body | MergePullRequestOption |
(empty response body)
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
::models::Repository repo_migrate(ctx, ctx, ctx, ctx, ctx, ctx, optional) Migrate a remote git repository
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
optional | map[string]interface{} | optional parameters | nil if no parameters |
Optional parameters are passed through a map[string]interface{}.
Name | Type | Description | Notes |
---|---|---|---|
body | MigrateRepoForm |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
repo_mirror_sync(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo) Sync a mirrored repository
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo to sync | |
repo | String | name of the repo to sync |
(empty response body)
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
repo_pull_request_is_merged(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, index) Check if a pull request has been merged
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo | |
index | i64 | index of the pull request |
(empty response body)
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
::models::SearchResults repo_search(ctx, ctx, ctx, ctx, ctx, ctx, optional) Search for repositories
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
optional | map[string]interface{} | optional parameters | nil if no parameters |
Optional parameters are passed through a map[string]interface{}.
Name | Type | Description | Notes |
---|---|---|---|
q | String | keyword | |
topic | bool | Limit search to repositories with keyword as topic | |
include_desc | bool | include search of keyword within repository description | |
uid | i64 | search only for repos that the user with the given id owns or contributes to | |
priority_owner_id | i64 | repo owner to prioritize in the results | |
starred_by | i64 | search only for repos that the user with the given id has starred | |
private | bool | include private repositories this user has access to (defaults to true) | |
template | bool | include template repositories this user has access to (defaults to true) | |
page | i32 | page number of results to return (1-based) | |
limit | i32 | page size of results, maximum page size is 50 | |
mode | String | type of repository to search for. Supported values are "fork", "source", "mirror" and "collaborative" | |
exclusive | bool | if `uid` is given, search only for repos that the user owns | |
sort | String | sort repos by attribute. Supported values are "alpha", "created", "updated", "size", and "id". Default is "alpha" | |
order | String | sort order, either "asc" (ascending) or "desc" (descending). Default is "asc", ignored if "sort" is not specified. |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
String repo_signing_key(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo) Get signing-key.gpg for given repository
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo |
String
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
repo_test_hook(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, id) Test a push webhook
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo | |
id | i64 | id of the hook to test |
(empty response body)
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Vec<::models::TrackedTime> repo_tracked_times(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo) List a repo's tracked times
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
::models::FileResponse repo_update_file(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, filepath, body) Update a file in a repository
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo | |
filepath | String | path of the file to update | |
body | UpdateFileOptions |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
repo_update_topics(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, optional) Replace list of topics for a repository
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo | |
optional | map[string]interface{} | optional parameters | nil if no parameters |
Optional parameters are passed through a map[string]interface{}.
Name | Type | Description | Notes |
---|---|---|---|
owner | String | owner of the repo | |
repo | String | name of the repo | |
body | RepoTopicOptions |
(empty response body)
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Vec<::models::TopicResponse> topic_search(ctx, ctx, ctx, ctx, ctx, ctx, q) search topics via keyword
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
q | String | keywords to search |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
::models::WatchInfo user_current_check_subscription(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo) Check if the current user is watching a repo
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
user_current_delete_subscription(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo) Unwatch a repo
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo |
(empty response body)
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
::models::WatchInfo user_current_put_subscription(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo) Watch a repo
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
ctx | context.Context | context containing the authentication | nil if no authentication |
owner | String | owner of the repo | |
repo | String | name of the repo |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]