@@ -0,0 +1,3 @@ | |||
/target/ | |||
**/*.rs.bk | |||
Cargo.lock |
@@ -0,0 +1,23 @@ | |||
# Swagger Codegen Ignore | |||
# Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen | |||
# Use this file to prevent files from being overwritten by the generator. | |||
# The patterns follow closely to .gitignore or .dockerignore. | |||
# As an example, the C# client generator defines ApiClient.cs. | |||
# You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line: | |||
#ApiClient.cs | |||
# You can match any string of characters against a directory, file or extension with a single asterisk (*): | |||
#foo/*/qux | |||
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux | |||
# You can recursively match patterns against a directory, file or extension with a double asterisk (**): | |||
#foo/**/qux | |||
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux | |||
# You can also negate patterns with an exclamation (!). | |||
# For example, you can ignore all files in a docs folder with the file extension .md: | |||
#docs/*.md | |||
# Then explicitly reverse the ignore rule for a single file: | |||
#!docs/README.md |
@@ -0,0 +1 @@ | |||
2.4.13 |
@@ -0,0 +1 @@ | |||
language: rust |
@@ -0,0 +1,17 @@ | |||
[package] | |||
name = "swagger" | |||
version = "1.0.0" | |||
authors = ["Swagger Codegen team and contributors"] | |||
[dependencies] | |||
serde = "1.0" | |||
serde_derive = "1.0" | |||
serde_yaml = "0.7" | |||
serde_json = "1.0" | |||
base64 = "~0.7.0" | |||
futures = "0.1.16" | |||
hyper = "0.11.6" | |||
url = "1.5" | |||
[dev-dependencies] | |||
tokio-core = "*" |
@@ -0,0 +1,420 @@ | |||
# Rust API client for swagger | |||
This documentation describes the Gitea API. | |||
## Overview | |||
This API client was generated by the [swagger-codegen](https://github.com/swagger-api/swagger-codegen) project. By using the [swagger-spec](https://github.com/swagger-api/swagger-spec) from a remote server, you can easily generate an API client. | |||
- API version: 1.1.1 | |||
- Package version: 1.0.0 | |||
- Build package: io.swagger.codegen.languages.RustClientCodegen | |||
## Installation | |||
Put the package under your project folder and add the following in import: | |||
``` | |||
"./swagger" | |||
``` | |||
## Documentation for API Endpoints | |||
All URIs are relative to *http://localhost/api/v1* | |||
Class | Method | HTTP request | Description | |||
------------ | ------------- | ------------- | ------------- | |||
*AdminApi* | [**admin_create_org**](docs/AdminApi.md#admin_create_org) | **Post** /admin/users/{username}/orgs | Create an organization | |||
*AdminApi* | [**admin_create_public_key**](docs/AdminApi.md#admin_create_public_key) | **Post** /admin/users/{username}/keys | Add a public key on behalf of a user | |||
*AdminApi* | [**admin_create_repo**](docs/AdminApi.md#admin_create_repo) | **Post** /admin/users/{username}/repos | Create a repository on behalf a user | |||
*AdminApi* | [**admin_create_user**](docs/AdminApi.md#admin_create_user) | **Post** /admin/users | Create a user | |||
*AdminApi* | [**admin_delete_user**](docs/AdminApi.md#admin_delete_user) | **Delete** /admin/users/{username} | Delete a user | |||
*AdminApi* | [**admin_delete_user_public_key**](docs/AdminApi.md#admin_delete_user_public_key) | **Delete** /admin/users/{username}/keys/{id} | Delete a user's public key | |||
*AdminApi* | [**admin_edit_user**](docs/AdminApi.md#admin_edit_user) | **Patch** /admin/users/{username} | Edit an existing user | |||
*AdminApi* | [**admin_get_all_orgs**](docs/AdminApi.md#admin_get_all_orgs) | **Get** /admin/orgs | List all organizations | |||
*AdminApi* | [**admin_get_all_users**](docs/AdminApi.md#admin_get_all_users) | **Get** /admin/users | List all users | |||
*IssueApi* | [**issue_add_label**](docs/IssueApi.md#issue_add_label) | **Post** /repos/{owner}/{repo}/issues/{index}/labels | Add a label to an issue | |||
*IssueApi* | [**issue_add_subscription**](docs/IssueApi.md#issue_add_subscription) | **Put** /repos/{owner}/{repo}/issues/{index}/subscriptions/{user} | Subscribe user to issue | |||
*IssueApi* | [**issue_add_time**](docs/IssueApi.md#issue_add_time) | **Post** /repos/{owner}/{repo}/issues/{index}/times | Add tracked time to a issue | |||
*IssueApi* | [**issue_clear_labels**](docs/IssueApi.md#issue_clear_labels) | **Delete** /repos/{owner}/{repo}/issues/{index}/labels | Remove all labels from an issue | |||
*IssueApi* | [**issue_create_comment**](docs/IssueApi.md#issue_create_comment) | **Post** /repos/{owner}/{repo}/issues/{index}/comments | Add a comment to an issue | |||
*IssueApi* | [**issue_create_issue**](docs/IssueApi.md#issue_create_issue) | **Post** /repos/{owner}/{repo}/issues | Create an issue. If using deadline only the date will be taken into account, and time of day ignored. | |||
*IssueApi* | [**issue_create_label**](docs/IssueApi.md#issue_create_label) | **Post** /repos/{owner}/{repo}/labels | Create a label | |||
*IssueApi* | [**issue_create_milestone**](docs/IssueApi.md#issue_create_milestone) | **Post** /repos/{owner}/{repo}/milestones | Create a milestone | |||
*IssueApi* | [**issue_delete_comment**](docs/IssueApi.md#issue_delete_comment) | **Delete** /repos/{owner}/{repo}/issues/comments/{id} | Delete a comment | |||
*IssueApi* | [**issue_delete_comment_deprecated**](docs/IssueApi.md#issue_delete_comment_deprecated) | **Delete** /repos/{owner}/{repo}/issues/{index}/comments/{id} | Delete a comment | |||
*IssueApi* | [**issue_delete_comment_reaction**](docs/IssueApi.md#issue_delete_comment_reaction) | **Delete** /repos/{owner}/{repo}/issues/comments/{id}/reactions | Remove a reaction from a comment of an issue | |||
*IssueApi* | [**issue_delete_issue_reaction**](docs/IssueApi.md#issue_delete_issue_reaction) | **Delete** /repos/{owner}/{repo}/issues/{index}/reactions | Remove a reaction from an issue | |||
*IssueApi* | [**issue_delete_label**](docs/IssueApi.md#issue_delete_label) | **Delete** /repos/{owner}/{repo}/labels/{id} | Delete a label | |||
*IssueApi* | [**issue_delete_milestone**](docs/IssueApi.md#issue_delete_milestone) | **Delete** /repos/{owner}/{repo}/milestones/{id} | Delete a milestone | |||
*IssueApi* | [**issue_delete_stop_watch**](docs/IssueApi.md#issue_delete_stop_watch) | **Delete** /repos/{owner}/{repo}/issues/{index}/stopwatch/delete | Delete an issue's existing stopwatch. | |||
*IssueApi* | [**issue_delete_subscription**](docs/IssueApi.md#issue_delete_subscription) | **Delete** /repos/{owner}/{repo}/issues/{index}/subscriptions/{user} | Unsubscribe user from issue | |||
*IssueApi* | [**issue_delete_time**](docs/IssueApi.md#issue_delete_time) | **Delete** /repos/{owner}/{repo}/issues/{index}/times/{id} | Delete specific tracked time | |||
*IssueApi* | [**issue_edit_comment**](docs/IssueApi.md#issue_edit_comment) | **Patch** /repos/{owner}/{repo}/issues/comments/{id} | Edit a comment | |||
*IssueApi* | [**issue_edit_comment_deprecated**](docs/IssueApi.md#issue_edit_comment_deprecated) | **Patch** /repos/{owner}/{repo}/issues/{index}/comments/{id} | Edit a comment | |||
*IssueApi* | [**issue_edit_issue**](docs/IssueApi.md#issue_edit_issue) | **Patch** /repos/{owner}/{repo}/issues/{index} | Edit an issue. If using deadline only the date will be taken into account, and time of day ignored. | |||
*IssueApi* | [**issue_edit_issue_deadline**](docs/IssueApi.md#issue_edit_issue_deadline) | **Post** /repos/{owner}/{repo}/issues/{index}/deadline | Set an issue deadline. If set to null, the deadline is deleted. If using deadline only the date will be taken into account, and time of day ignored. | |||
*IssueApi* | [**issue_edit_label**](docs/IssueApi.md#issue_edit_label) | **Patch** /repos/{owner}/{repo}/labels/{id} | Update a label | |||
*IssueApi* | [**issue_edit_milestone**](docs/IssueApi.md#issue_edit_milestone) | **Patch** /repos/{owner}/{repo}/milestones/{id} | Update a milestone | |||
*IssueApi* | [**issue_get_comment_reactions**](docs/IssueApi.md#issue_get_comment_reactions) | **Get** /repos/{owner}/{repo}/issues/comments/{id}/reactions | Get a list of reactions from a comment of an issue | |||
*IssueApi* | [**issue_get_comments**](docs/IssueApi.md#issue_get_comments) | **Get** /repos/{owner}/{repo}/issues/{index}/comments | List all comments on an issue | |||
*IssueApi* | [**issue_get_issue**](docs/IssueApi.md#issue_get_issue) | **Get** /repos/{owner}/{repo}/issues/{index} | Get an issue | |||
*IssueApi* | [**issue_get_issue_reactions**](docs/IssueApi.md#issue_get_issue_reactions) | **Get** /repos/{owner}/{repo}/issues/{index}/reactions | Get a list reactions of an issue | |||
*IssueApi* | [**issue_get_label**](docs/IssueApi.md#issue_get_label) | **Get** /repos/{owner}/{repo}/labels/{id} | Get a single label | |||
*IssueApi* | [**issue_get_labels**](docs/IssueApi.md#issue_get_labels) | **Get** /repos/{owner}/{repo}/issues/{index}/labels | Get an issue's labels | |||
*IssueApi* | [**issue_get_milestone**](docs/IssueApi.md#issue_get_milestone) | **Get** /repos/{owner}/{repo}/milestones/{id} | Get a milestone | |||
*IssueApi* | [**issue_get_milestones_list**](docs/IssueApi.md#issue_get_milestones_list) | **Get** /repos/{owner}/{repo}/milestones | Get all of a repository's opened milestones | |||
*IssueApi* | [**issue_get_repo_comments**](docs/IssueApi.md#issue_get_repo_comments) | **Get** /repos/{owner}/{repo}/issues/comments | List all comments in a repository | |||
*IssueApi* | [**issue_list_issues**](docs/IssueApi.md#issue_list_issues) | **Get** /repos/{owner}/{repo}/issues | List a repository's issues | |||
*IssueApi* | [**issue_list_labels**](docs/IssueApi.md#issue_list_labels) | **Get** /repos/{owner}/{repo}/labels | Get all of a repository's labels | |||
*IssueApi* | [**issue_post_comment_reaction**](docs/IssueApi.md#issue_post_comment_reaction) | **Post** /repos/{owner}/{repo}/issues/comments/{id}/reactions | Add a reaction to a comment of an issue | |||
*IssueApi* | [**issue_post_issue_reaction**](docs/IssueApi.md#issue_post_issue_reaction) | **Post** /repos/{owner}/{repo}/issues/{index}/reactions | Add a reaction to an issue | |||
*IssueApi* | [**issue_remove_label**](docs/IssueApi.md#issue_remove_label) | **Delete** /repos/{owner}/{repo}/issues/{index}/labels/{id} | Remove a label from an issue | |||
*IssueApi* | [**issue_replace_labels**](docs/IssueApi.md#issue_replace_labels) | **Put** /repos/{owner}/{repo}/issues/{index}/labels | Replace an issue's labels | |||
*IssueApi* | [**issue_reset_time**](docs/IssueApi.md#issue_reset_time) | **Delete** /repos/{owner}/{repo}/issues/{index}/times | Reset a tracked time of an issue | |||
*IssueApi* | [**issue_search_issues**](docs/IssueApi.md#issue_search_issues) | **Get** /repos/issues/search | Search for issues across the repositories that the user has access to | |||
*IssueApi* | [**issue_start_stop_watch**](docs/IssueApi.md#issue_start_stop_watch) | **Post** /repos/{owner}/{repo}/issues/{index}/stopwatch/start | Start stopwatch on an issue. | |||
*IssueApi* | [**issue_stop_stop_watch**](docs/IssueApi.md#issue_stop_stop_watch) | **Post** /repos/{owner}/{repo}/issues/{index}/stopwatch/stop | Stop an issue's existing stopwatch. | |||
*IssueApi* | [**issue_subscriptions**](docs/IssueApi.md#issue_subscriptions) | **Get** /repos/{owner}/{repo}/issues/{index}/subscriptions | Get users who subscribed on an issue. | |||
*IssueApi* | [**issue_tracked_times**](docs/IssueApi.md#issue_tracked_times) | **Get** /repos/{owner}/{repo}/issues/{index}/times | List an issue's tracked times | |||
*MiscellaneousApi* | [**get_signing_key**](docs/MiscellaneousApi.md#get_signing_key) | **Get** /signing-key.gpg | Get default signing-key.gpg | |||
*MiscellaneousApi* | [**get_version**](docs/MiscellaneousApi.md#get_version) | **Get** /version | Returns the version of the Gitea application | |||
*MiscellaneousApi* | [**render_markdown**](docs/MiscellaneousApi.md#render_markdown) | **Post** /markdown | Render a markdown document as HTML | |||
*MiscellaneousApi* | [**render_markdown_raw**](docs/MiscellaneousApi.md#render_markdown_raw) | **Post** /markdown/raw | Render raw markdown as HTML | |||
*OrganizationApi* | [**create_org_repo**](docs/OrganizationApi.md#create_org_repo) | **Post** /org/{org}/repos | Create a repository in an organization | |||
*OrganizationApi* | [**org_add_team_member**](docs/OrganizationApi.md#org_add_team_member) | **Put** /teams/{id}/members/{username} | Add a team member | |||
*OrganizationApi* | [**org_add_team_repository**](docs/OrganizationApi.md#org_add_team_repository) | **Put** /teams/{id}/repos/{org}/{repo} | Add a repository to a team | |||
*OrganizationApi* | [**org_conceal_member**](docs/OrganizationApi.md#org_conceal_member) | **Delete** /orgs/{org}/public_members/{username} | Conceal a user's membership | |||
*OrganizationApi* | [**org_create**](docs/OrganizationApi.md#org_create) | **Post** /orgs | Create an organization | |||
*OrganizationApi* | [**org_create_hook**](docs/OrganizationApi.md#org_create_hook) | **Post** /orgs/{org}/hooks/ | Create a hook | |||
*OrganizationApi* | [**org_create_team**](docs/OrganizationApi.md#org_create_team) | **Post** /orgs/{org}/teams | Create a team | |||
*OrganizationApi* | [**org_delete**](docs/OrganizationApi.md#org_delete) | **Delete** /orgs/{org} | Delete an organization | |||
*OrganizationApi* | [**org_delete_hook**](docs/OrganizationApi.md#org_delete_hook) | **Delete** /orgs/{org}/hooks/{id} | Delete a hook | |||
*OrganizationApi* | [**org_delete_member**](docs/OrganizationApi.md#org_delete_member) | **Delete** /orgs/{org}/members/{username} | Remove a member from an organization | |||
*OrganizationApi* | [**org_delete_team**](docs/OrganizationApi.md#org_delete_team) | **Delete** /teams/{id} | Delete a team | |||
*OrganizationApi* | [**org_edit**](docs/OrganizationApi.md#org_edit) | **Patch** /orgs/{org} | Edit an organization | |||
*OrganizationApi* | [**org_edit_hook**](docs/OrganizationApi.md#org_edit_hook) | **Patch** /orgs/{org}/hooks/{id} | Update a hook | |||
*OrganizationApi* | [**org_edit_team**](docs/OrganizationApi.md#org_edit_team) | **Patch** /teams/{id} | Edit a team | |||
*OrganizationApi* | [**org_get**](docs/OrganizationApi.md#org_get) | **Get** /orgs/{org} | Get an organization | |||
*OrganizationApi* | [**org_get_hook**](docs/OrganizationApi.md#org_get_hook) | **Get** /orgs/{org}/hooks/{id} | Get a hook | |||
*OrganizationApi* | [**org_get_team**](docs/OrganizationApi.md#org_get_team) | **Get** /teams/{id} | Get a team | |||
*OrganizationApi* | [**org_is_member**](docs/OrganizationApi.md#org_is_member) | **Get** /orgs/{org}/members/{username} | Check if a user is a member of an organization | |||
*OrganizationApi* | [**org_is_public_member**](docs/OrganizationApi.md#org_is_public_member) | **Get** /orgs/{org}/public_members/{username} | Check if a user is a public member of an organization | |||
*OrganizationApi* | [**org_list_current_user_orgs**](docs/OrganizationApi.md#org_list_current_user_orgs) | **Get** /user/orgs | List the current user's organizations | |||
*OrganizationApi* | [**org_list_hooks**](docs/OrganizationApi.md#org_list_hooks) | **Get** /orgs/{org}/hooks | List an organization's webhooks | |||
*OrganizationApi* | [**org_list_members**](docs/OrganizationApi.md#org_list_members) | **Get** /orgs/{org}/members | List an organization's members | |||
*OrganizationApi* | [**org_list_public_members**](docs/OrganizationApi.md#org_list_public_members) | **Get** /orgs/{org}/public_members | List an organization's public members | |||
*OrganizationApi* | [**org_list_repos**](docs/OrganizationApi.md#org_list_repos) | **Get** /orgs/{org}/repos | List an organization's repos | |||
*OrganizationApi* | [**org_list_team_member**](docs/OrganizationApi.md#org_list_team_member) | **Get** /teams/{id}/members/{username} | List a particular member of team | |||
*OrganizationApi* | [**org_list_team_members**](docs/OrganizationApi.md#org_list_team_members) | **Get** /teams/{id}/members | List a team's members | |||
*OrganizationApi* | [**org_list_team_repos**](docs/OrganizationApi.md#org_list_team_repos) | **Get** /teams/{id}/repos | List a team's repos | |||
*OrganizationApi* | [**org_list_teams**](docs/OrganizationApi.md#org_list_teams) | **Get** /orgs/{org}/teams | List an organization's teams | |||
*OrganizationApi* | [**org_list_user_orgs**](docs/OrganizationApi.md#org_list_user_orgs) | **Get** /users/{username}/orgs | List a user's organizations | |||
*OrganizationApi* | [**org_publicize_member**](docs/OrganizationApi.md#org_publicize_member) | **Put** /orgs/{org}/public_members/{username} | Publicize a user's membership | |||
*OrganizationApi* | [**org_remove_team_member**](docs/OrganizationApi.md#org_remove_team_member) | **Delete** /teams/{id}/members/{username} | Remove a team member | |||
*OrganizationApi* | [**org_remove_team_repository**](docs/OrganizationApi.md#org_remove_team_repository) | **Delete** /teams/{id}/repos/{org}/{repo} | Remove a repository from a team | |||
*OrganizationApi* | [**team_search**](docs/OrganizationApi.md#team_search) | **Get** /orgs/{org}/teams/search | Search for teams within an organization | |||
*RepositoryApi* | [**create_current_user_repo**](docs/RepositoryApi.md#create_current_user_repo) | **Post** /user/repos | Create a repository | |||
*RepositoryApi* | [**create_fork**](docs/RepositoryApi.md#create_fork) | **Post** /repos/{owner}/{repo}/forks | Fork a repository | |||
*RepositoryApi* | [**get_blob**](docs/RepositoryApi.md#get_blob) | **Get** /repos/{owner}/{repo}/git/blobs/{sha} | Gets the blob of a repository. | |||
*RepositoryApi* | [**get_tag**](docs/RepositoryApi.md#get_tag) | **Get** /repos/{owner}/{repo}/git/tags/{sha} | Gets the tag object of an annotated tag (not lightweight tags) | |||
*RepositoryApi* | [**get_tree**](docs/RepositoryApi.md#get_tree) | **Get** /repos/{owner}/{repo}/git/trees/{sha} | Gets the tree of a repository. | |||
*RepositoryApi* | [**list_forks**](docs/RepositoryApi.md#list_forks) | **Get** /repos/{owner}/{repo}/forks | List a repository's forks | |||
*RepositoryApi* | [**repo_add_collaborator**](docs/RepositoryApi.md#repo_add_collaborator) | **Put** /repos/{owner}/{repo}/collaborators/{collaborator} | Add a collaborator to a repository | |||
*RepositoryApi* | [**repo_add_topc**](docs/RepositoryApi.md#repo_add_topc) | **Put** /repos/{owner}/{repo}/topics/{topic} | Add a topic to a repository | |||
*RepositoryApi* | [**repo_check_collaborator**](docs/RepositoryApi.md#repo_check_collaborator) | **Get** /repos/{owner}/{repo}/collaborators/{collaborator} | Check if a user is a collaborator of a repository | |||
*RepositoryApi* | [**repo_create_file**](docs/RepositoryApi.md#repo_create_file) | **Post** /repos/{owner}/{repo}/contents/{filepath} | Create a file in a repository | |||
*RepositoryApi* | [**repo_create_hook**](docs/RepositoryApi.md#repo_create_hook) | **Post** /repos/{owner}/{repo}/hooks | Create a hook | |||
*RepositoryApi* | [**repo_create_key**](docs/RepositoryApi.md#repo_create_key) | **Post** /repos/{owner}/{repo}/keys | Add a key to a repository | |||
*RepositoryApi* | [**repo_create_pull_request**](docs/RepositoryApi.md#repo_create_pull_request) | **Post** /repos/{owner}/{repo}/pulls | Create a pull request | |||
*RepositoryApi* | [**repo_create_release**](docs/RepositoryApi.md#repo_create_release) | **Post** /repos/{owner}/{repo}/releases | Create a release | |||
*RepositoryApi* | [**repo_create_release_attachment**](docs/RepositoryApi.md#repo_create_release_attachment) | **Post** /repos/{owner}/{repo}/releases/{id}/assets | Create a release attachment | |||
*RepositoryApi* | [**repo_create_status**](docs/RepositoryApi.md#repo_create_status) | **Post** /repos/{owner}/{repo}/statuses/{sha} | Create a commit status | |||
*RepositoryApi* | [**repo_delete**](docs/RepositoryApi.md#repo_delete) | **Delete** /repos/{owner}/{repo} | Delete a repository | |||
*RepositoryApi* | [**repo_delete_collaborator**](docs/RepositoryApi.md#repo_delete_collaborator) | **Delete** /repos/{owner}/{repo}/collaborators/{collaborator} | Delete a collaborator from a repository | |||
*RepositoryApi* | [**repo_delete_file**](docs/RepositoryApi.md#repo_delete_file) | **Delete** /repos/{owner}/{repo}/contents/{filepath} | Delete a file in a repository | |||
*RepositoryApi* | [**repo_delete_git_hook**](docs/RepositoryApi.md#repo_delete_git_hook) | **Delete** /repos/{owner}/{repo}/hooks/git/{id} | Delete a Git hook in a repository | |||
*RepositoryApi* | [**repo_delete_hook**](docs/RepositoryApi.md#repo_delete_hook) | **Delete** /repos/{owner}/{repo}/hooks/{id} | Delete a hook in a repository | |||
*RepositoryApi* | [**repo_delete_key**](docs/RepositoryApi.md#repo_delete_key) | **Delete** /repos/{owner}/{repo}/keys/{id} | Delete a key from a repository | |||
*RepositoryApi* | [**repo_delete_release**](docs/RepositoryApi.md#repo_delete_release) | **Delete** /repos/{owner}/{repo}/releases/{id} | Delete a release | |||
*RepositoryApi* | [**repo_delete_release_attachment**](docs/RepositoryApi.md#repo_delete_release_attachment) | **Delete** /repos/{owner}/{repo}/releases/{id}/assets/{attachment_id} | Delete a release attachment | |||
*RepositoryApi* | [**repo_delete_topic**](docs/RepositoryApi.md#repo_delete_topic) | **Delete** /repos/{owner}/{repo}/topics/{topic} | Delete a topic from a repository | |||
*RepositoryApi* | [**repo_edit**](docs/RepositoryApi.md#repo_edit) | **Patch** /repos/{owner}/{repo} | Edit a repository's properties. Only fields that are set will be changed. | |||
*RepositoryApi* | [**repo_edit_git_hook**](docs/RepositoryApi.md#repo_edit_git_hook) | **Patch** /repos/{owner}/{repo}/hooks/git/{id} | Edit a Git hook in a repository | |||
*RepositoryApi* | [**repo_edit_hook**](docs/RepositoryApi.md#repo_edit_hook) | **Patch** /repos/{owner}/{repo}/hooks/{id} | Edit a hook in a repository | |||
*RepositoryApi* | [**repo_edit_pull_request**](docs/RepositoryApi.md#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. | |||
*RepositoryApi* | [**repo_edit_release**](docs/RepositoryApi.md#repo_edit_release) | **Patch** /repos/{owner}/{repo}/releases/{id} | Update a release | |||
*RepositoryApi* | [**repo_edit_release_attachment**](docs/RepositoryApi.md#repo_edit_release_attachment) | **Patch** /repos/{owner}/{repo}/releases/{id}/assets/{attachment_id} | Edit a release attachment | |||
*RepositoryApi* | [**repo_get**](docs/RepositoryApi.md#repo_get) | **Get** /repos/{owner}/{repo} | Get a repository | |||
*RepositoryApi* | [**repo_get_all_commits**](docs/RepositoryApi.md#repo_get_all_commits) | **Get** /repos/{owner}/{repo}/commits | Get a list of all commits from a repository | |||
*RepositoryApi* | [**repo_get_archive**](docs/RepositoryApi.md#repo_get_archive) | **Get** /repos/{owner}/{repo}/archive/{archive} | Get an archive of a repository | |||
*RepositoryApi* | [**repo_get_branch**](docs/RepositoryApi.md#repo_get_branch) | **Get** /repos/{owner}/{repo}/branches/{branch} | Retrieve a specific branch from a repository, including its effective branch protection | |||
*RepositoryApi* | [**repo_get_by_id**](docs/RepositoryApi.md#repo_get_by_id) | **Get** /repositories/{id} | Get a repository by id | |||
*RepositoryApi* | [**repo_get_combined_status_by_ref**](docs/RepositoryApi.md#repo_get_combined_status_by_ref) | **Get** /repos/{owner}/{repo}/commits/{ref}/statuses | Get a commit's combined status, by branch/tag/commit reference | |||
*RepositoryApi* | [**repo_get_contents**](docs/RepositoryApi.md#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 | |||
*RepositoryApi* | [**repo_get_contents_list**](docs/RepositoryApi.md#repo_get_contents_list) | **Get** /repos/{owner}/{repo}/contents | Gets the metadata of all the entries of the root dir | |||
*RepositoryApi* | [**repo_get_editor_config**](docs/RepositoryApi.md#repo_get_editor_config) | **Get** /repos/{owner}/{repo}/editorconfig/{filepath} | Get the EditorConfig definitions of a file in a repository | |||
*RepositoryApi* | [**repo_get_git_hook**](docs/RepositoryApi.md#repo_get_git_hook) | **Get** /repos/{owner}/{repo}/hooks/git/{id} | Get a Git hook | |||
*RepositoryApi* | [**repo_get_hook**](docs/RepositoryApi.md#repo_get_hook) | **Get** /repos/{owner}/{repo}/hooks/{id} | Get a hook | |||
*RepositoryApi* | [**repo_get_key**](docs/RepositoryApi.md#repo_get_key) | **Get** /repos/{owner}/{repo}/keys/{id} | Get a repository's key by id | |||
*RepositoryApi* | [**repo_get_pull_request**](docs/RepositoryApi.md#repo_get_pull_request) | **Get** /repos/{owner}/{repo}/pulls/{index} | Get a pull request | |||
*RepositoryApi* | [**repo_get_raw_file**](docs/RepositoryApi.md#repo_get_raw_file) | **Get** /repos/{owner}/{repo}/raw/{filepath} | Get a file from a repository | |||
*RepositoryApi* | [**repo_get_release**](docs/RepositoryApi.md#repo_get_release) | **Get** /repos/{owner}/{repo}/releases/{id} | Get a release | |||
*RepositoryApi* | [**repo_get_release_attachment**](docs/RepositoryApi.md#repo_get_release_attachment) | **Get** /repos/{owner}/{repo}/releases/{id}/assets/{attachment_id} | Get a release attachment | |||
*RepositoryApi* | [**repo_get_single_commit**](docs/RepositoryApi.md#repo_get_single_commit) | **Get** /repos/{owner}/{repo}/git/commits/{sha} | Get a single commit from a repository | |||
*RepositoryApi* | [**repo_list_all_git_refs**](docs/RepositoryApi.md#repo_list_all_git_refs) | **Get** /repos/{owner}/{repo}/git/refs | Get specified ref or filtered repository's refs | |||
*RepositoryApi* | [**repo_list_branches**](docs/RepositoryApi.md#repo_list_branches) | **Get** /repos/{owner}/{repo}/branches | List a repository's branches | |||
*RepositoryApi* | [**repo_list_collaborators**](docs/RepositoryApi.md#repo_list_collaborators) | **Get** /repos/{owner}/{repo}/collaborators | List a repository's collaborators | |||
*RepositoryApi* | [**repo_list_git_hooks**](docs/RepositoryApi.md#repo_list_git_hooks) | **Get** /repos/{owner}/{repo}/hooks/git | List the Git hooks in a repository | |||
*RepositoryApi* | [**repo_list_git_refs**](docs/RepositoryApi.md#repo_list_git_refs) | **Get** /repos/{owner}/{repo}/git/refs/{ref} | Get specified ref or filtered repository's refs | |||
*RepositoryApi* | [**repo_list_hooks**](docs/RepositoryApi.md#repo_list_hooks) | **Get** /repos/{owner}/{repo}/hooks | List the hooks in a repository | |||
*RepositoryApi* | [**repo_list_keys**](docs/RepositoryApi.md#repo_list_keys) | **Get** /repos/{owner}/{repo}/keys | List a repository's keys | |||
*RepositoryApi* | [**repo_list_pull_requests**](docs/RepositoryApi.md#repo_list_pull_requests) | **Get** /repos/{owner}/{repo}/pulls | List a repo's pull requests | |||
*RepositoryApi* | [**repo_list_release_attachments**](docs/RepositoryApi.md#repo_list_release_attachments) | **Get** /repos/{owner}/{repo}/releases/{id}/assets | List release's attachments | |||
*RepositoryApi* | [**repo_list_releases**](docs/RepositoryApi.md#repo_list_releases) | **Get** /repos/{owner}/{repo}/releases | List a repo's releases | |||
*RepositoryApi* | [**repo_list_stargazers**](docs/RepositoryApi.md#repo_list_stargazers) | **Get** /repos/{owner}/{repo}/stargazers | List a repo's stargazers | |||
*RepositoryApi* | [**repo_list_statuses**](docs/RepositoryApi.md#repo_list_statuses) | **Get** /repos/{owner}/{repo}/statuses/{sha} | Get a commit's statuses | |||
*RepositoryApi* | [**repo_list_subscribers**](docs/RepositoryApi.md#repo_list_subscribers) | **Get** /repos/{owner}/{repo}/subscribers | List a repo's watchers | |||
*RepositoryApi* | [**repo_list_tags**](docs/RepositoryApi.md#repo_list_tags) | **Get** /repos/{owner}/{repo}/tags | List a repository's tags | |||
*RepositoryApi* | [**repo_list_topics**](docs/RepositoryApi.md#repo_list_topics) | **Get** /repos/{owner}/{repo}/topics | Get list of topics that a repository has | |||
*RepositoryApi* | [**repo_merge_pull_request**](docs/RepositoryApi.md#repo_merge_pull_request) | **Post** /repos/{owner}/{repo}/pulls/{index}/merge | Merge a pull request | |||
*RepositoryApi* | [**repo_migrate**](docs/RepositoryApi.md#repo_migrate) | **Post** /repos/migrate | Migrate a remote git repository | |||
*RepositoryApi* | [**repo_mirror_sync**](docs/RepositoryApi.md#repo_mirror_sync) | **Post** /repos/{owner}/{repo}/mirror-sync | Sync a mirrored repository | |||
*RepositoryApi* | [**repo_pull_request_is_merged**](docs/RepositoryApi.md#repo_pull_request_is_merged) | **Get** /repos/{owner}/{repo}/pulls/{index}/merge | Check if a pull request has been merged | |||
*RepositoryApi* | [**repo_search**](docs/RepositoryApi.md#repo_search) | **Get** /repos/search | Search for repositories | |||
*RepositoryApi* | [**repo_signing_key**](docs/RepositoryApi.md#repo_signing_key) | **Get** /repos/{owner}/{repo}/signing-key.gpg | Get signing-key.gpg for given repository | |||
*RepositoryApi* | [**repo_test_hook**](docs/RepositoryApi.md#repo_test_hook) | **Post** /repos/{owner}/{repo}/hooks/{id}/tests | Test a push webhook | |||
*RepositoryApi* | [**repo_tracked_times**](docs/RepositoryApi.md#repo_tracked_times) | **Get** /repos/{owner}/{repo}/times | List a repo's tracked times | |||
*RepositoryApi* | [**repo_update_file**](docs/RepositoryApi.md#repo_update_file) | **Put** /repos/{owner}/{repo}/contents/{filepath} | Update a file in a repository | |||
*RepositoryApi* | [**repo_update_topics**](docs/RepositoryApi.md#repo_update_topics) | **Put** /repos/{owner}/{repo}/topics | Replace list of topics for a repository | |||
*RepositoryApi* | [**topic_search**](docs/RepositoryApi.md#topic_search) | **Get** /topics/search | search topics via keyword | |||
*RepositoryApi* | [**user_current_check_subscription**](docs/RepositoryApi.md#user_current_check_subscription) | **Get** /repos/{owner}/{repo}/subscription | Check if the current user is watching a repo | |||
*RepositoryApi* | [**user_current_delete_subscription**](docs/RepositoryApi.md#user_current_delete_subscription) | **Delete** /repos/{owner}/{repo}/subscription | Unwatch a repo | |||
*RepositoryApi* | [**user_current_put_subscription**](docs/RepositoryApi.md#user_current_put_subscription) | **Put** /repos/{owner}/{repo}/subscription | Watch a repo | |||
*UserApi* | [**create_current_user_repo**](docs/UserApi.md#create_current_user_repo) | **Post** /user/repos | Create a repository | |||
*UserApi* | [**user_add_email**](docs/UserApi.md#user_add_email) | **Post** /user/emails | Add email addresses | |||
*UserApi* | [**user_check_following**](docs/UserApi.md#user_check_following) | **Get** /users/{follower}/following/{followee} | Check if one user is following another user | |||
*UserApi* | [**user_create_token**](docs/UserApi.md#user_create_token) | **Post** /users/{username}/tokens | Create an access token | |||
*UserApi* | [**user_current_check_following**](docs/UserApi.md#user_current_check_following) | **Get** /user/following/{username} | Check whether a user is followed by the authenticated user | |||
*UserApi* | [**user_current_check_starring**](docs/UserApi.md#user_current_check_starring) | **Get** /user/starred/{owner}/{repo} | Whether the authenticated is starring the repo | |||
*UserApi* | [**user_current_delete_follow**](docs/UserApi.md#user_current_delete_follow) | **Delete** /user/following/{username} | Unfollow a user | |||
*UserApi* | [**user_current_delete_gpg_key**](docs/UserApi.md#user_current_delete_gpg_key) | **Delete** /user/gpg_keys/{id} | Remove a GPG key | |||
*UserApi* | [**user_current_delete_key**](docs/UserApi.md#user_current_delete_key) | **Delete** /user/keys/{id} | Delete a public key | |||
*UserApi* | [**user_current_delete_star**](docs/UserApi.md#user_current_delete_star) | **Delete** /user/starred/{owner}/{repo} | Unstar the given repo | |||
*UserApi* | [**user_current_get_gpg_key**](docs/UserApi.md#user_current_get_gpg_key) | **Get** /user/gpg_keys/{id} | Get a GPG key | |||
*UserApi* | [**user_current_get_key**](docs/UserApi.md#user_current_get_key) | **Get** /user/keys/{id} | Get a public key | |||
*UserApi* | [**user_current_list_followers**](docs/UserApi.md#user_current_list_followers) | **Get** /user/followers | List the authenticated user's followers | |||
*UserApi* | [**user_current_list_following**](docs/UserApi.md#user_current_list_following) | **Get** /user/following | List the users that the authenticated user is following | |||
*UserApi* | [**user_current_list_gpg_keys**](docs/UserApi.md#user_current_list_gpg_keys) | **Get** /user/gpg_keys | List the authenticated user's GPG keys | |||
*UserApi* | [**user_current_list_keys**](docs/UserApi.md#user_current_list_keys) | **Get** /user/keys | List the authenticated user's public keys | |||
*UserApi* | [**user_current_list_repos**](docs/UserApi.md#user_current_list_repos) | **Get** /user/repos | List the repos that the authenticated user owns or has access to | |||
*UserApi* | [**user_current_list_starred**](docs/UserApi.md#user_current_list_starred) | **Get** /user/starred | The repos that the authenticated user has starred | |||
*UserApi* | [**user_current_list_subscriptions**](docs/UserApi.md#user_current_list_subscriptions) | **Get** /user/subscriptions | List repositories watched by the authenticated user | |||
*UserApi* | [**user_current_post_gpg_key**](docs/UserApi.md#user_current_post_gpg_key) | **Post** /user/gpg_keys | Create a GPG key | |||
*UserApi* | [**user_current_post_key**](docs/UserApi.md#user_current_post_key) | **Post** /user/keys | Create a public key | |||
*UserApi* | [**user_current_put_follow**](docs/UserApi.md#user_current_put_follow) | **Put** /user/following/{username} | Follow a user | |||
*UserApi* | [**user_current_put_star**](docs/UserApi.md#user_current_put_star) | **Put** /user/starred/{owner}/{repo} | Star the given repo | |||
*UserApi* | [**user_current_tracked_times**](docs/UserApi.md#user_current_tracked_times) | **Get** /user/times | List the current user's tracked times | |||
*UserApi* | [**user_delete_access_token**](docs/UserApi.md#user_delete_access_token) | **Delete** /users/{username}/tokens/{token} | delete an access token | |||
*UserApi* | [**user_delete_email**](docs/UserApi.md#user_delete_email) | **Delete** /user/emails | Delete email addresses | |||
*UserApi* | [**user_get**](docs/UserApi.md#user_get) | **Get** /users/{username} | Get a user | |||
*UserApi* | [**user_get_current**](docs/UserApi.md#user_get_current) | **Get** /user | Get the authenticated user | |||
*UserApi* | [**user_get_heatmap_data**](docs/UserApi.md#user_get_heatmap_data) | **Get** /users/{username}/heatmap | Get a user's heatmap | |||
*UserApi* | [**user_get_stop_watches**](docs/UserApi.md#user_get_stop_watches) | **Get** /user/stopwatches | Get list of all existing stopwatches | |||
*UserApi* | [**user_get_tokens**](docs/UserApi.md#user_get_tokens) | **Get** /users/{username}/tokens | List the authenticated user's access tokens | |||
*UserApi* | [**user_list_emails**](docs/UserApi.md#user_list_emails) | **Get** /user/emails | List the authenticated user's email addresses | |||
*UserApi* | [**user_list_followers**](docs/UserApi.md#user_list_followers) | **Get** /users/{username}/followers | List the given user's followers | |||
*UserApi* | [**user_list_following**](docs/UserApi.md#user_list_following) | **Get** /users/{username}/following | List the users that the given user is following | |||
*UserApi* | [**user_list_gpg_keys**](docs/UserApi.md#user_list_gpg_keys) | **Get** /users/{username}/gpg_keys | List the given user's GPG keys | |||
*UserApi* | [**user_list_keys**](docs/UserApi.md#user_list_keys) | **Get** /users/{username}/keys | List the given user's public keys | |||
*UserApi* | [**user_list_repos**](docs/UserApi.md#user_list_repos) | **Get** /users/{username}/repos | List the repos owned by the given user | |||
*UserApi* | [**user_list_starred**](docs/UserApi.md#user_list_starred) | **Get** /users/{username}/starred | The repos that the given user has starred | |||
*UserApi* | [**user_list_subscriptions**](docs/UserApi.md#user_list_subscriptions) | **Get** /users/{username}/subscriptions | List the repositories watched by a user | |||
*UserApi* | [**user_list_teams**](docs/UserApi.md#user_list_teams) | **Get** /user/teams | List all the teams a user belongs to | |||
*UserApi* | [**user_search**](docs/UserApi.md#user_search) | **Get** /users/search | Search for users | |||
*UserApi* | [**user_tracked_times**](docs/UserApi.md#user_tracked_times) | **Get** /repos/{owner}/{repo}/times/{user} | List a user's tracked times in a repo | |||
## Documentation For Models | |||
- [AccessToken](docs/AccessToken.md) | |||
- [AddCollaboratorOption](docs/AddCollaboratorOption.md) | |||
- [AddTimeOption](docs/AddTimeOption.md) | |||
- [AnnotatedTag](docs/AnnotatedTag.md) | |||
- [AnnotatedTagObject](docs/AnnotatedTagObject.md) | |||
- [ApiError](docs/ApiError.md) | |||
- [Attachment](docs/Attachment.md) | |||
- [Branch](docs/Branch.md) | |||
- [Comment](docs/Comment.md) | |||
- [Commit](docs/Commit.md) | |||
- [CommitDateOptions](docs/CommitDateOptions.md) | |||
- [CommitMeta](docs/CommitMeta.md) | |||
- [CommitUser](docs/CommitUser.md) | |||
- [ContentsResponse](docs/ContentsResponse.md) | |||
- [CreateEmailOption](docs/CreateEmailOption.md) | |||
- [CreateFileOptions](docs/CreateFileOptions.md) | |||
- [CreateForkOption](docs/CreateForkOption.md) | |||
- [CreateGpgKeyOption](docs/CreateGpgKeyOption.md) | |||
- [CreateHookOption](docs/CreateHookOption.md) | |||
- [CreateHookOptionConfig](docs/CreateHookOptionConfig.md) | |||
- [CreateIssueCommentOption](docs/CreateIssueCommentOption.md) | |||
- [CreateIssueOption](docs/CreateIssueOption.md) | |||
- [CreateKeyOption](docs/CreateKeyOption.md) | |||
- [CreateLabelOption](docs/CreateLabelOption.md) | |||
- [CreateMilestoneOption](docs/CreateMilestoneOption.md) | |||
- [CreateOrgOption](docs/CreateOrgOption.md) | |||
- [CreatePullRequestOption](docs/CreatePullRequestOption.md) | |||
- [CreateReleaseOption](docs/CreateReleaseOption.md) | |||
- [CreateRepoOption](docs/CreateRepoOption.md) | |||
- [CreateStatusOption](docs/CreateStatusOption.md) | |||
- [CreateTeamOption](docs/CreateTeamOption.md) | |||
- [CreateUserOption](docs/CreateUserOption.md) | |||
- [DeleteEmailOption](docs/DeleteEmailOption.md) | |||
- [DeleteFileOptions](docs/DeleteFileOptions.md) | |||
- [DeployKey](docs/DeployKey.md) | |||
- [EditAttachmentOptions](docs/EditAttachmentOptions.md) | |||
- [EditDeadlineOption](docs/EditDeadlineOption.md) | |||
- [EditGitHookOption](docs/EditGitHookOption.md) | |||
- [EditHookOption](docs/EditHookOption.md) | |||
- [EditIssueCommentOption](docs/EditIssueCommentOption.md) | |||
- [EditIssueOption](docs/EditIssueOption.md) | |||
- [EditLabelOption](docs/EditLabelOption.md) | |||
- [EditMilestoneOption](docs/EditMilestoneOption.md) | |||
- [EditOrgOption](docs/EditOrgOption.md) | |||
- [EditPullRequestOption](docs/EditPullRequestOption.md) | |||
- [EditReactionOption](docs/EditReactionOption.md) | |||
- [EditReleaseOption](docs/EditReleaseOption.md) | |||
- [EditRepoOption](docs/EditRepoOption.md) | |||
- [EditTeamOption](docs/EditTeamOption.md) | |||
- [EditUserOption](docs/EditUserOption.md) | |||
- [Email](docs/Email.md) | |||
- [ExternalTracker](docs/ExternalTracker.md) | |||
- [ExternalWiki](docs/ExternalWiki.md) | |||
- [FileCommitResponse](docs/FileCommitResponse.md) | |||
- [FileDeleteResponse](docs/FileDeleteResponse.md) | |||
- [FileLinksResponse](docs/FileLinksResponse.md) | |||
- [FileResponse](docs/FileResponse.md) | |||
- [GitBlobResponse](docs/GitBlobResponse.md) | |||
- [GitEntry](docs/GitEntry.md) | |||
- [GitHook](docs/GitHook.md) | |||
- [GitObject](docs/GitObject.md) | |||
- [GitTreeResponse](docs/GitTreeResponse.md) | |||
- [GpgKey](docs/GpgKey.md) | |||
- [GpgKeyEmail](docs/GpgKeyEmail.md) | |||
- [Hook](docs/Hook.md) | |||
- [Identity](docs/Identity.md) | |||
- [InlineResponse200](docs/InlineResponse200.md) | |||
- [InlineResponse2001](docs/InlineResponse2001.md) | |||
- [InternalTracker](docs/InternalTracker.md) | |||
- [Issue](docs/Issue.md) | |||
- [IssueDeadline](docs/IssueDeadline.md) | |||
- [IssueLabelsOption](docs/IssueLabelsOption.md) | |||
- [Label](docs/Label.md) | |||
- [MarkdownOption](docs/MarkdownOption.md) | |||
- [MergePullRequestOption](docs/MergePullRequestOption.md) | |||
- [MigrateRepoForm](docs/MigrateRepoForm.md) | |||
- [Milestone](docs/Milestone.md) | |||
- [Organization](docs/Organization.md) | |||
- [PayloadCommit](docs/PayloadCommit.md) | |||
- [PayloadCommitVerification](docs/PayloadCommitVerification.md) | |||
- [PayloadUser](docs/PayloadUser.md) | |||
- [Permission](docs/Permission.md) | |||
- [PrBranchInfo](docs/PrBranchInfo.md) | |||
- [PublicKey](docs/PublicKey.md) | |||
- [PullRequest](docs/PullRequest.md) | |||
- [PullRequestMeta](docs/PullRequestMeta.md) | |||
- [Reaction](docs/Reaction.md) | |||
- [Reference](docs/Reference.md) | |||
- [Release](docs/Release.md) | |||
- [RepoCommit](docs/RepoCommit.md) | |||
- [RepoTopicOptions](docs/RepoTopicOptions.md) | |||
- [Repository](docs/Repository.md) | |||
- [RepositoryMeta](docs/RepositoryMeta.md) | |||
- [SearchResults](docs/SearchResults.md) | |||
- [ServerVersion](docs/ServerVersion.md) | |||
- [StateType](docs/StateType.md) | |||
- [Status](docs/Status.md) | |||
- [StatusState](docs/StatusState.md) | |||
- [StopWatch](docs/StopWatch.md) | |||
- [Tag](docs/Tag.md) | |||
- [Team](docs/Team.md) | |||
- [TimeStamp](docs/TimeStamp.md) | |||
- [TopicName](docs/TopicName.md) | |||
- [TopicResponse](docs/TopicResponse.md) | |||
- [TrackedTime](docs/TrackedTime.md) | |||
- [UpdateFileOptions](docs/UpdateFileOptions.md) | |||
- [User](docs/User.md) | |||
- [UserHeatmapData](docs/UserHeatmapData.md) | |||
- [WatchInfo](docs/WatchInfo.md) | |||
## Documentation For Authorization | |||
## AccessToken | |||
- **Type**: API key | |||
Example | |||
``` | |||
auth := context.WithValue(context.TODO(), sw.ContextAPIKey, sw.APIKey{ | |||
Key: "APIKEY", | |||
Prefix: "Bearer", // Omit if not necessary. | |||
}) | |||
r, err := client.Service.Operation(auth, args) | |||
``` | |||
## AuthorizationHeaderToken | |||
- **Type**: API key | |||
Example | |||
``` | |||
auth := context.WithValue(context.TODO(), sw.ContextAPIKey, sw.APIKey{ | |||
Key: "APIKEY", | |||
Prefix: "Bearer", // Omit if not necessary. | |||
}) | |||
r, err := client.Service.Operation(auth, args) | |||
``` | |||
## BasicAuth | |||
- **Type**: HTTP basic authentication | |||
Example | |||
``` | |||
auth := context.WithValue(context.TODO(), sw.ContextBasicAuth, sw.BasicAuth{ | |||
UserName: "username", | |||
Password: "password", | |||
}) | |||
r, err := client.Service.Operation(auth, args) | |||
``` | |||
## SudoHeader | |||
- **Type**: API key | |||
Example | |||
``` | |||
auth := context.WithValue(context.TODO(), sw.ContextAPIKey, sw.APIKey{ | |||
Key: "APIKEY", | |||
Prefix: "Bearer", // Omit if not necessary. | |||
}) | |||
r, err := client.Service.Operation(auth, args) | |||
``` | |||
## SudoParam | |||
- **Type**: API key | |||
Example | |||
``` | |||
auth := context.WithValue(context.TODO(), sw.ContextAPIKey, sw.APIKey{ | |||
Key: "APIKEY", | |||
Prefix: "Bearer", // Omit if not necessary. | |||
}) | |||
r, err := client.Service.Operation(auth, args) | |||
``` | |||
## Token | |||
- **Type**: API key | |||
Example | |||
``` | |||
auth := context.WithValue(context.TODO(), sw.ContextAPIKey, sw.APIKey{ | |||
Key: "APIKEY", | |||
Prefix: "Bearer", // Omit if not necessary. | |||
}) | |||
r, err := client.Service.Operation(auth, args) | |||
``` | |||
## Author | |||
@@ -0,0 +1,10 @@ | |||
# AccessToken | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**name** | **String** | | [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,10 @@ | |||
# AddCollaboratorOption | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**permission** | **String** | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,12 @@ | |||
# AddTimeOption | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**created** | **String** | | [optional] [default to null] | |||
**time** | **i64** | time in seconds | [default to null] | |||
**user_name** | **String** | User who spent the time (optional) | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,323 @@ | |||
# \AdminApi | |||
All URIs are relative to *http://localhost/api/v1* | |||
Method | HTTP request | Description | |||
------------- | ------------- | ------------- | |||
[**admin_create_org**](AdminApi.md#admin_create_org) | **Post** /admin/users/{username}/orgs | Create an organization | |||
[**admin_create_public_key**](AdminApi.md#admin_create_public_key) | **Post** /admin/users/{username}/keys | Add a public key on behalf of a user | |||
[**admin_create_repo**](AdminApi.md#admin_create_repo) | **Post** /admin/users/{username}/repos | Create a repository on behalf a user | |||
[**admin_create_user**](AdminApi.md#admin_create_user) | **Post** /admin/users | Create a user | |||
[**admin_delete_user**](AdminApi.md#admin_delete_user) | **Delete** /admin/users/{username} | Delete a user | |||
[**admin_delete_user_public_key**](AdminApi.md#admin_delete_user_public_key) | **Delete** /admin/users/{username}/keys/{id} | Delete a user's public key | |||
[**admin_edit_user**](AdminApi.md#admin_edit_user) | **Patch** /admin/users/{username} | Edit an existing user | |||
[**admin_get_all_orgs**](AdminApi.md#admin_get_all_orgs) | **Get** /admin/orgs | List all organizations | |||
[**admin_get_all_users**](AdminApi.md#admin_get_all_users) | **Get** /admin/users | List all users | |||
# **admin_create_org** | |||
> ::models::Organization admin_create_org(ctx, ctx, ctx, ctx, ctx, ctx, username, organization) | |||
Create an organization | |||
### Required Parameters | |||
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 | |||
**username** | **String**| username of the user that will own the created organization | | |||
**organization** | [**CreateOrgOption**](CreateOrgOption.md)| | | |||
### Return type | |||
[**::models::Organization**](Organization.md) | |||
### Authorization | |||
[AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) | |||
### HTTP request headers | |||
- **Content-Type**: application/json | |||
- **Accept**: application/json | |||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) | |||
# **admin_create_public_key** | |||
> ::models::PublicKey admin_create_public_key(ctx, ctx, ctx, ctx, ctx, ctx, username, optional) | |||
Add a public key on behalf of a user | |||
### Required Parameters | |||
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 | |||
**username** | **String**| username of the user | | |||
**optional** | **map[string]interface{}** | optional parameters | nil if no parameters | |||
### Optional Parameters | |||
Optional parameters are passed through a map[string]interface{}. | |||
Name | Type | Description | Notes | |||
------------- | ------------- | ------------- | ------------- | |||
**username** | **String**| username of the user | | |||
**key** | [**CreateKeyOption**](CreateKeyOption.md)| | | |||
### Return type | |||
[**::models::PublicKey**](PublicKey.md) | |||
### Authorization | |||
[AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) | |||
### HTTP request headers | |||
- **Content-Type**: application/json | |||
- **Accept**: application/json | |||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) | |||
# **admin_create_repo** | |||
> ::models::Repository admin_create_repo(ctx, ctx, ctx, ctx, ctx, ctx, username, repository) | |||
Create a repository on behalf a user | |||
### Required Parameters | |||
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 | |||
**username** | **String**| username of the user. This user will own the created repository | | |||
**repository** | [**CreateRepoOption**](CreateRepoOption.md)| | | |||
### Return type | |||
[**::models::Repository**](Repository.md) | |||
### Authorization | |||
[AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) | |||
### HTTP request headers | |||
- **Content-Type**: application/json | |||
- **Accept**: application/json | |||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) | |||
# **admin_create_user** | |||
> ::models::User admin_create_user(ctx, ctx, ctx, ctx, ctx, ctx, optional) | |||
Create a user | |||
### Required Parameters | |||
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 | |||
Optional parameters are passed through a map[string]interface{}. | |||
Name | Type | Description | Notes | |||
------------- | ------------- | ------------- | ------------- | |||
**body** | [**CreateUserOption**](CreateUserOption.md)| | | |||
### Return type | |||
[**::models::User**](User.md) | |||
### Authorization | |||
[AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) | |||
### HTTP request headers | |||
- **Content-Type**: application/json | |||
- **Accept**: application/json | |||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) | |||
# **admin_delete_user** | |||
> admin_delete_user(ctx, ctx, ctx, ctx, ctx, ctx, username) | |||
Delete a user | |||
### Required Parameters | |||
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 | |||
**username** | **String**| username of user to delete | | |||
### Return type | |||
(empty response body) | |||
### Authorization | |||
[AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) | |||
### HTTP request headers | |||
- **Content-Type**: application/json, text/plain | |||
- **Accept**: application/json | |||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) | |||
# **admin_delete_user_public_key** | |||
> admin_delete_user_public_key(ctx, ctx, ctx, ctx, ctx, ctx, username, id) | |||
Delete a user's public key | |||
### Required Parameters | |||
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 | |||
**username** | **String**| username of user | | |||
**id** | **i64**| id of the key to delete | | |||
### Return type | |||
(empty response body) | |||
### Authorization | |||
[AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) | |||
### HTTP request headers | |||
- **Content-Type**: application/json, text/plain | |||
- **Accept**: application/json | |||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) | |||
# **admin_edit_user** | |||
> ::models::User admin_edit_user(ctx, ctx, ctx, ctx, ctx, ctx, username, optional) | |||
Edit an existing user | |||
### Required Parameters | |||
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 | |||
**username** | **String**| username of user to edit | | |||
**optional** | **map[string]interface{}** | optional parameters | nil if no parameters | |||
### Optional Parameters | |||
Optional parameters are passed through a map[string]interface{}. | |||
Name | Type | Description | Notes | |||
------------- | ------------- | ------------- | ------------- | |||
**username** | **String**| username of user to edit | | |||
**body** | [**EditUserOption**](EditUserOption.md)| | | |||
### Return type | |||
[**::models::User**](User.md) | |||
### Authorization | |||
[AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) | |||
### HTTP request headers | |||
- **Content-Type**: application/json | |||
- **Accept**: application/json | |||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) | |||
# **admin_get_all_orgs** | |||
> Vec<::models::Organization> admin_get_all_orgs(ctx, ctx, ctx, ctx, ctx, ctx, optional) | |||
List all organizations | |||
### Required Parameters | |||
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 | |||
Optional parameters are passed through a map[string]interface{}. | |||
Name | Type | Description | Notes | |||
------------- | ------------- | ------------- | ------------- | |||
**page** | **i32**| page number of results to return (1-based) | | |||
**limit** | **i32**| page size of results, maximum page size is 50 | | |||
### Return type | |||
[**Vec<::models::Organization>**](Organization.md) | |||
### Authorization | |||
[AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) | |||
### HTTP request headers | |||
- **Content-Type**: application/json, text/plain | |||
- **Accept**: application/json | |||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) | |||
# **admin_get_all_users** | |||
> Vec<::models::User> admin_get_all_users(ctx, ctx, ctx, ctx, ctx, ctx, ) | |||
List all users | |||
### Required Parameters | |||
This endpoint does not need any parameter. | |||
### Return type | |||
[**Vec<::models::User>**](User.md) | |||
### Authorization | |||
[AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) | |||
### HTTP request headers | |||
- **Content-Type**: application/json, text/plain | |||
- **Accept**: application/json | |||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) | |||
@@ -0,0 +1,16 @@ | |||
# AnnotatedTag | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**message** | **String** | | [optional] [default to null] | |||
**object** | [***::models::AnnotatedTagObject**](AnnotatedTagObject.md) | | [optional] [default to null] | |||
**sha** | **String** | | [optional] [default to null] | |||
**tag** | **String** | | [optional] [default to null] | |||
**tagger** | [***::models::CommitUser**](CommitUser.md) | | [optional] [default to null] | |||
**url** | **String** | | [optional] [default to null] | |||
**verification** | [***::models::PayloadCommitVerification**](PayloadCommitVerification.md) | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,12 @@ | |||
# AnnotatedTagObject | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**sha** | **String** | | [optional] [default to null] | |||
**_type** | **String** | | [optional] [default to null] | |||
**url** | **String** | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,11 @@ | |||
# ApiError | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**message** | **String** | | [optional] [default to null] | |||
**url** | **String** | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,16 @@ | |||
# Attachment | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**browser_download_url** | **String** | | [optional] [default to null] | |||
**created_at** | **String** | | [optional] [default to null] | |||
**download_count** | **i64** | | [optional] [default to null] | |||
**id** | **i64** | | [optional] [default to null] | |||
**name** | **String** | | [optional] [default to null] | |||
**size** | **i64** | | [optional] [default to null] | |||
**uuid** | **String** | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,17 @@ | |||
# Branch | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**commit** | [***::models::PayloadCommit**](PayloadCommit.md) | | [optional] [default to null] | |||
**enable_status_check** | **bool** | | [optional] [default to null] | |||
**name** | **String** | | [optional] [default to null] | |||
**protected** | **bool** | | [optional] [default to null] | |||
**required_approvals** | **i64** | | [optional] [default to null] | |||
**status_check_contexts** | **Vec<String>** | | [optional] [default to null] | |||
**user_can_merge** | **bool** | | [optional] [default to null] | |||
**user_can_push** | **bool** | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,19 @@ | |||
# Comment | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**body** | **String** | | [optional] [default to null] | |||
**created_at** | **String** | | [optional] [default to null] | |||
**html_url** | **String** | | [optional] [default to null] | |||
**id** | **i64** | | [optional] [default to null] | |||
**issue_url** | **String** | | [optional] [default to null] | |||
**original_author** | **String** | | [optional] [default to null] | |||
**original_author_id** | **i64** | | [optional] [default to null] | |||
**pull_request_url** | **String** | | [optional] [default to null] | |||
**updated_at** | **String** | | [optional] [default to null] | |||
**user** | [***::models::User**](User.md) | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,16 @@ | |||
# Commit | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**author** | [***::models::User**](User.md) | | [optional] [default to null] | |||
**commit** | [***::models::RepoCommit**](RepoCommit.md) | | [optional] [default to null] | |||
**committer** | [***::models::User**](User.md) | | [optional] [default to null] | |||
**html_url** | **String** | | [optional] [default to null] | |||
**parents** | [**Vec<::models::CommitMeta>**](CommitMeta.md) | | [optional] [default to null] | |||
**sha** | **String** | | [optional] [default to null] | |||
**url** | **String** | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,11 @@ | |||
# CommitDateOptions | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**author** | **String** | | [optional] [default to null] | |||
**committer** | **String** | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,11 @@ | |||
# CommitMeta | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**sha** | **String** | | [optional] [default to null] | |||
**url** | **String** | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,12 @@ | |||
# CommitUser | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**date** | **String** | | [optional] [default to null] | |||
**email** | **String** | | [optional] [default to null] | |||
**name** | **String** | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,23 @@ | |||
# ContentsResponse | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**_links** | [***::models::FileLinksResponse**](FileLinksResponse.md) | | [optional] [default to null] | |||
**content** | **String** | `content` is populated when `type` is `file`, otherwise null | [optional] [default to null] | |||
**download_url** | **String** | | [optional] [default to null] | |||
**encoding** | **String** | `encoding` is populated when `type` is `file`, otherwise null | [optional] [default to null] | |||
**git_url** | **String** | | [optional] [default to null] | |||
**html_url** | **String** | | [optional] [default to null] | |||
**name** | **String** | | [optional] [default to null] | |||
**path** | **String** | | [optional] [default to null] | |||
**sha** | **String** | | [optional] [default to null] | |||
**size** | **i64** | | [optional] [default to null] | |||
**submodule_git_url** | **String** | `submodule_git_url` is populated when `type` is `submodule`, otherwise null | [optional] [default to null] | |||
**target** | **String** | `target` is populated when `type` is `symlink`, otherwise null | [optional] [default to null] | |||
**_type** | **String** | `type` will be `file`, `dir`, `symlink`, or `submodule` | [optional] [default to null] | |||
**url** | **String** | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,10 @@ | |||
# CreateEmailOption | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**emails** | **Vec<String>** | email addresses to add | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,16 @@ | |||
# CreateFileOptions | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**author** | [***::models::Identity**](Identity.md) | | [optional] [default to null] | |||
**branch** | **String** | branch (optional) to base this file from. if not given, the default branch is used | [optional] [default to null] | |||
**committer** | [***::models::Identity**](Identity.md) | | [optional] [default to null] | |||
**content** | **String** | content must be base64 encoded | [default to null] | |||
**dates** | [***::models::CommitDateOptions**](CommitDateOptions.md) | | [optional] [default to null] | |||
**message** | **String** | message (optional) for the commit of this file. if not supplied, a default message will be used | [optional] [default to null] | |||
**new_branch** | **String** | new_branch (optional) will make a new branch from `branch` before creating the file | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,10 @@ | |||
# CreateForkOption | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**organization** | **String** | organization name, if forking into an organization | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,10 @@ | |||
# CreateGpgKeyOption | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**armored_public_key** | **String** | An armored GPG key to add | [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,14 @@ | |||
# CreateHookOption | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**active** | **bool** | | [optional] [default to null] | |||
**branch_filter** | **String** | | [optional] [default to null] | |||
**config** | [***::models::CreateHookOptionConfig**](CreateHookOptionConfig.md) | | [default to null] | |||
**events** | **Vec<String>** | | [optional] [default to null] | |||
**_type** | **String** | | [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,9 @@ | |||
# CreateHookOptionConfig | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,10 @@ | |||
# CreateIssueCommentOption | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**body** | **String** | | [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,17 @@ | |||
# CreateIssueOption | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**assignee** | **String** | username of assignee | [optional] [default to null] | |||
**assignees** | **Vec<String>** | | [optional] [default to null] | |||
**body** | **String** | | [optional] [default to null] | |||
**closed** | **bool** | | [optional] [default to null] | |||
**due_date** | **String** | | [optional] [default to null] | |||
**labels** | **Vec<i64>** | list of label ids | [optional] [default to null] | |||
**milestone** | **i64** | milestone id | [optional] [default to null] | |||
**title** | **String** | | [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,12 @@ | |||
# CreateKeyOption | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**key** | **String** | An armored SSH key to add | [default to null] | |||
**read_only** | **bool** | Describe if the key has only read access or read/write | [optional] [default to null] | |||
**title** | **String** | Title of the key to add | [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,12 @@ | |||
# CreateLabelOption | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**color** | **String** | | [default to null] | |||
**description** | **String** | | [optional] [default to null] | |||
**name** | **String** | | [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,12 @@ | |||
# CreateMilestoneOption | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**description** | **String** | | [optional] [default to null] | |||
**due_on** | **String** | | [optional] [default to null] | |||
**title** | **String** | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,16 @@ | |||
# CreateOrgOption | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**description** | **String** | | [optional] [default to null] | |||
**full_name** | **String** | | [optional] [default to null] | |||
**location** | **String** | | [optional] [default to null] | |||
**repo_admin_change_team_access** | **bool** | | [optional] [default to null] | |||
**username** | **String** | | [default to null] | |||
**visibility** | **String** | possible values are `public` (default), `limited` or `private` | [optional] [default to null] | |||
**website** | **String** | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,18 @@ | |||
# CreatePullRequestOption | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**assignee** | **String** | | [optional] [default to null] | |||
**assignees** | **Vec<String>** | | [optional] [default to null] | |||
**base** | **String** | | [optional] [default to null] | |||
**body** | **String** | | [optional] [default to null] | |||
**due_date** | **String** | | [optional] [default to null] | |||
**head** | **String** | | [optional] [default to null] | |||
**labels** | **Vec<i64>** | | [optional] [default to null] | |||
**milestone** | **i64** | | [optional] [default to null] | |||
**title** | **String** | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,15 @@ | |||
# CreateReleaseOption | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**body** | **String** | | [optional] [default to null] | |||
**draft** | **bool** | | [optional] [default to null] | |||
**name** | **String** | | [optional] [default to null] | |||
**prerelease** | **bool** | | [optional] [default to null] | |||
**tag_name** | **String** | | [default to null] | |||
**target_commitish** | **String** | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,17 @@ | |||
# CreateRepoOption | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**auto_init** | **bool** | Whether the repository should be auto-intialized? | [optional] [default to null] | |||
**description** | **String** | Description of the repository to create | [optional] [default to null] | |||
**gitignores** | **String** | Gitignores to use | [optional] [default to null] | |||
**issue_labels** | **String** | Issue Label set to use | [optional] [default to null] | |||
**license** | **String** | License to use | [optional] [default to null] | |||
**name** | **String** | Name of the repository to create | [default to null] | |||
**private** | **bool** | Whether the repository is private | [optional] [default to null] | |||
**readme** | **String** | Readme of the repository to create | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,13 @@ | |||
# CreateStatusOption | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**context** | **String** | | [optional] [default to null] | |||
**description** | **String** | | [optional] [default to null] | |||
**state** | [***::models::StatusState**](StatusState.md) | | [optional] [default to null] | |||
**target_url** | **String** | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,15 @@ | |||
# CreateTeamOption | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**can_create_org_repo** | **bool** | | [optional] [default to null] | |||
**description** | **String** | | [optional] [default to null] | |||
**includes_all_repositories** | **bool** | | [optional] [default to null] | |||
**name** | **String** | | [default to null] | |||
**permission** | **String** | | [optional] [default to null] | |||
**units** | **Vec<String>** | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,17 @@ | |||
# CreateUserOption | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**email** | **String** | | [default to null] | |||
**full_name** | **String** | | [optional] [default to null] | |||
**login_name** | **String** | | [optional] [default to null] | |||
**must_change_password** | **bool** | | [optional] [default to null] | |||
**password** | **String** | | [default to null] | |||
**send_notify** | **bool** | | [optional] [default to null] | |||
**source_id** | **i64** | | [optional] [default to null] | |||
**username** | **String** | | [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,10 @@ | |||
# DeleteEmailOption | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**emails** | **Vec<String>** | email addresses to delete | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,16 @@ | |||
# DeleteFileOptions | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**author** | [***::models::Identity**](Identity.md) | | [optional] [default to null] | |||
**branch** | **String** | branch (optional) to base this file from. if not given, the default branch is used | [optional] [default to null] | |||
**committer** | [***::models::Identity**](Identity.md) | | [optional] [default to null] | |||
**dates** | [***::models::CommitDateOptions**](CommitDateOptions.md) | | [optional] [default to null] | |||
**message** | **String** | message (optional) for the commit of this file. if not supplied, a default message will be used | [optional] [default to null] | |||
**new_branch** | **String** | new_branch (optional) will make a new branch from `branch` before creating the file | [optional] [default to null] | |||
**sha** | **String** | sha is the SHA for the file that already exists | [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,18 @@ | |||
# DeployKey | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**created_at** | **String** | | [optional] [default to null] | |||
**fingerprint** | **String** | | [optional] [default to null] | |||
**id** | **i64** | | [optional] [default to null] | |||
**key** | **String** | | [optional] [default to null] | |||
**key_id** | **i64** | | [optional] [default to null] | |||
**read_only** | **bool** | | [optional] [default to null] | |||
**repository** | [***::models::Repository**](Repository.md) | | [optional] [default to null] | |||
**title** | **String** | | [optional] [default to null] | |||
**url** | **String** | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,10 @@ | |||
# EditAttachmentOptions | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**name** | **String** | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,10 @@ | |||
# EditDeadlineOption | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**due_date** | **String** | | [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,10 @@ | |||
# EditGitHookOption | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**content** | **String** | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,13 @@ | |||
# EditHookOption | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**active** | **bool** | | [optional] [default to null] | |||
**branch_filter** | **String** | | [optional] [default to null] | |||
**config** | **::std::collections::HashMap<String, String>** | | [optional] [default to null] | |||
**events** | **Vec<String>** | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,10 @@ | |||
# EditIssueCommentOption | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**body** | **String** | | [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,17 @@ | |||
# EditIssueOption | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**assignee** | **String** | | [optional] [default to null] | |||
**assignees** | **Vec<String>** | | [optional] [default to null] | |||
**body** | **String** | | [optional] [default to null] | |||
**due_date** | **String** | | [optional] [default to null] | |||
**milestone** | **i64** | | [optional] [default to null] | |||
**state** | **String** | | [optional] [default to null] | |||
**title** | **String** | | [optional] [default to null] | |||
**unset_due_date** | **bool** | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,12 @@ | |||
# EditLabelOption | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**color** | **String** | | [optional] [default to null] | |||
**description** | **String** | | [optional] [default to null] | |||
**name** | **String** | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,13 @@ | |||
# EditMilestoneOption | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**description** | **String** | | [optional] [default to null] | |||
**due_on** | **String** | | [optional] [default to null] | |||
**state** | **String** | | [optional] [default to null] | |||
**title** | **String** | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,15 @@ | |||
# EditOrgOption | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**description** | **String** | | [optional] [default to null] | |||
**full_name** | **String** | | [optional] [default to null] | |||
**location** | **String** | | [optional] [default to null] | |||
**repo_admin_change_team_access** | **bool** | | [optional] [default to null] | |||
**visibility** | **String** | possible values are `public`, `limited` or `private` | [optional] [default to null] | |||
**website** | **String** | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,18 @@ | |||
# EditPullRequestOption | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**assignee** | **String** | | [optional] [default to null] | |||
**assignees** | **Vec<String>** | | [optional] [default to null] | |||
**body** | **String** | | [optional] [default to null] | |||
**due_date** | **String** | | [optional] [default to null] | |||
**labels** | **Vec<i64>** | | [optional] [default to null] | |||
**milestone** | **i64** | | [optional] [default to null] | |||
**state** | **String** | | [optional] [default to null] | |||
**title** | **String** | | [optional] [default to null] | |||
**unset_due_date** | **bool** | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,10 @@ | |||
# EditReactionOption | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**content** | **String** | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,15 @@ | |||
# EditReleaseOption | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**body** | **String** | | [optional] [default to null] | |||
**draft** | **bool** | | [optional] [default to null] | |||
**name** | **String** | | [optional] [default to null] | |||
**prerelease** | **bool** | | [optional] [default to null] | |||
**tag_name** | **String** | | [optional] [default to null] | |||
**target_commitish** | **String** | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,27 @@ | |||
# EditRepoOption | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**allow_merge_commits** | **bool** | either `true` to allow merging pull requests with a merge commit, or `false` to prevent merging pull requests with merge commits. `has_pull_requests` must be `true`. | [optional] [default to null] | |||
**allow_rebase** | **bool** | either `true` to allow rebase-merging pull requests, or `false` to prevent rebase-merging. `has_pull_requests` must be `true`. | [optional] [default to null] | |||
**allow_rebase_explicit** | **bool** | either `true` to allow rebase with explicit merge commits (--no-ff), or `false` to prevent rebase with explicit merge commits. `has_pull_requests` must be `true`. | [optional] [default to null] | |||
**allow_squash_merge** | **bool** | either `true` to allow squash-merging pull requests, or `false` to prevent squash-merging. `has_pull_requests` must be `true`. | [optional] [default to null] | |||
**archived** | **bool** | set to `true` to archive this repository. | [optional] [default to null] | |||
**default_branch** | **String** | sets the default branch for this repository. | [optional] [default to null] | |||
**description** | **String** | a short description of the repository. | [optional] [default to null] | |||
**external_tracker** | [***::models::ExternalTracker**](ExternalTracker.md) | | [optional] [default to null] | |||
**external_wiki** | [***::models::ExternalWiki**](ExternalWiki.md) | | [optional] [default to null] | |||
**has_issues** | **bool** | either `true` to enable issues for this repository or `false` to disable them. | [optional] [default to null] | |||
**has_pull_requests** | **bool** | either `true` to allow pull requests, or `false` to prevent pull request. | [optional] [default to null] | |||
**has_wiki** | **bool** | either `true` to enable the wiki for this repository or `false` to disable it. | [optional] [default to null] | |||
**ignore_whitespace_conflicts** | **bool** | either `true` to ignore whitespace for conflicts, or `false` to not ignore whitespace. `has_pull_requests` must be `true`. | [optional] [default to null] | |||
**internal_tracker** | [***::models::InternalTracker**](InternalTracker.md) | | [optional] [default to null] | |||
**name** | **String** | name of the repository | [optional] [default to null] | |||
**private** | **bool** | either `true` to make the repository private or `false` to make it public. Note: you will get a 422 error if the organization restricts changing repository visibility to organization owners and a non-owner tries to change the value of private. | [optional] [default to null] | |||
**template** | **bool** | either `true` to make this repository a template or `false` to make it a normal repository | [optional] [default to null] | |||
**website** | **String** | a URL with more information about the repository. | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,15 @@ | |||
# EditTeamOption | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**can_create_org_repo** | **bool** | | [optional] [default to null] | |||
**description** | **String** | | [optional] [default to null] | |||
**includes_all_repositories** | **bool** | | [optional] [default to null] | |||
**name** | **String** | | [default to null] | |||
**permission** | **String** | | [optional] [default to null] | |||
**units** | **Vec<String>** | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,24 @@ | |||
# EditUserOption | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**active** | **bool** | | [optional] [default to null] | |||
**admin** | **bool** | | [optional] [default to null] | |||
**allow_create_organization** | **bool** | | [optional] [default to null] | |||
**allow_git_hook** | **bool** | | [optional] [default to null] | |||
**allow_import_local** | **bool** | | [optional] [default to null] | |||
**email** | **String** | | [default to null] | |||
**full_name** | **String** | | [optional] [default to null] | |||
**location** | **String** | | [optional] [default to null] | |||
**login_name** | **String** | | [optional] [default to null] | |||
**max_repo_creation** | **i64** | | [optional] [default to null] | |||
**must_change_password** | **bool** | | [optional] [default to null] | |||
**password** | **String** | | [optional] [default to null] | |||
**prohibit_login** | **bool** | | [optional] [default to null] | |||
**source_id** | **i64** | | [optional] [default to null] | |||
**website** | **String** | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,12 @@ | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**email** | **String** | | [optional] [default to null] | |||
**primary** | **bool** | | [optional] [default to null] | |||
**verified** | **bool** | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,12 @@ | |||
# ExternalTracker | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**external_tracker_format** | **String** | External Issue Tracker URL Format. Use the placeholders {user}, {repo} and {index} for the username, repository name and issue index. | [optional] [default to null] | |||
**external_tracker_style** | **String** | External Issue Tracker Number Format, either `numeric` or `alphanumeric` | [optional] [default to null] | |||
**external_tracker_url** | **String** | URL of external issue tracker. | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,10 @@ | |||
# ExternalWiki | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**external_wiki_url** | **String** | URL of external wiki. | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,17 @@ | |||
# FileCommitResponse | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**author** | [***::models::CommitUser**](CommitUser.md) | | [optional] [default to null] | |||
**committer** | [***::models::CommitUser**](CommitUser.md) | | [optional] [default to null] | |||
**html_url** | **String** | | [optional] [default to null] | |||
**message** | **String** | | [optional] [default to null] | |||
**parents** | [**Vec<::models::CommitMeta>**](CommitMeta.md) | | [optional] [default to null] | |||
**sha** | **String** | | [optional] [default to null] | |||
**tree** | [***::models::CommitMeta**](CommitMeta.md) | | [optional] [default to null] | |||
**url** | **String** | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,12 @@ | |||
# FileDeleteResponse | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**commit** | [***::models::FileCommitResponse**](FileCommitResponse.md) | | [optional] [default to null] | |||
**content** | [***Value**](Value.md) | | [optional] [default to null] | |||
**verification** | [***::models::PayloadCommitVerification**](PayloadCommitVerification.md) | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,12 @@ | |||
# FileLinksResponse | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**git** | **String** | | [optional] [default to null] | |||
**html** | **String** | | [optional] [default to null] | |||
**_self** | **String** | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,12 @@ | |||
# FileResponse | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**commit** | [***::models::FileCommitResponse**](FileCommitResponse.md) | | [optional] [default to null] | |||
**content** | [***::models::ContentsResponse**](ContentsResponse.md) | | [optional] [default to null] | |||
**verification** | [***::models::PayloadCommitVerification**](PayloadCommitVerification.md) | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,14 @@ | |||
# GitBlobResponse | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**content** | **String** | | [optional] [default to null] | |||
**encoding** | **String** | | [optional] [default to null] | |||
**sha** | **String** | | [optional] [default to null] | |||
**size** | **i64** | | [optional] [default to null] | |||
**url** | **String** | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,15 @@ | |||
# GitEntry | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**mode** | **String** | | [optional] [default to null] | |||
**path** | **String** | | [optional] [default to null] | |||
**sha** | **String** | | [optional] [default to null] | |||
**size** | **i64** | | [optional] [default to null] | |||
**_type** | **String** | | [optional] [default to null] | |||
**url** | **String** | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,12 @@ | |||
# GitHook | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**content** | **String** | | [optional] [default to null] | |||
**is_active** | **bool** | | [optional] [default to null] | |||
**name** | **String** | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,12 @@ | |||
# GitObject | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**sha** | **String** | | [optional] [default to null] | |||
**_type** | **String** | | [optional] [default to null] | |||
**url** | **String** | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,15 @@ | |||
# GitTreeResponse | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**page** | **i64** | | [optional] [default to null] | |||
**sha** | **String** | | [optional] [default to null] | |||
**total_count** | **i64** | | [optional] [default to null] | |||
**tree** | [**Vec<::models::GitEntry>**](GitEntry.md) | | [optional] [default to null] | |||
**truncated** | **bool** | | [optional] [default to null] | |||
**url** | **String** | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,21 @@ | |||
# GpgKey | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**can_certify** | **bool** | | [optional] [default to null] | |||
**can_encrypt_comms** | **bool** | | [optional] [default to null] | |||
**can_encrypt_storage** | **bool** | | [optional] [default to null] | |||
**can_sign** | **bool** | | [optional] [default to null] | |||
**created_at** | **String** | | [optional] [default to null] | |||
**emails** | [**Vec<::models::GpgKeyEmail>**](GPGKeyEmail.md) | | [optional] [default to null] | |||
**expires_at** | **String** | | [optional] [default to null] | |||
**id** | **i64** | | [optional] [default to null] | |||
**key_id** | **String** | | [optional] [default to null] | |||
**primary_key_id** | **String** | | [optional] [default to null] | |||
**public_key** | **String** | | [optional] [default to null] | |||
**subkeys** | [**Vec<::models::GpgKey>**](GPGKey.md) | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,11 @@ | |||
# GpgKeyEmail | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**email** | **String** | | [optional] [default to null] | |||
**verified** | **bool** | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,16 @@ | |||
# Hook | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**active** | **bool** | | [optional] [default to null] | |||
**config** | **::std::collections::HashMap<String, String>** | | [optional] [default to null] | |||
**created_at** | **String** | | [optional] [default to null] | |||
**events** | **Vec<String>** | | [optional] [default to null] | |||
**id** | **i64** | | [optional] [default to null] | |||
**_type** | **String** | | [optional] [default to null] | |||
**updated_at** | **String** | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,11 @@ | |||
# Identity | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**email** | **String** | | [optional] [default to null] | |||
**name** | **String** | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,11 @@ | |||
# InlineResponse200 | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**data** | [**Vec<::models::Team>**](Team.md) | | [optional] [default to null] | |||
**ok** | **bool** | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,11 @@ | |||
# InlineResponse2001 | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**data** | [**Vec<::models::User>**](User.md) | | [optional] [default to null] | |||
**ok** | **bool** | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,12 @@ | |||
# InternalTracker | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**allow_only_contributors_to_track_time** | **bool** | Let only contributors track time (Built-in issue tracker) | [optional] [default to null] | |||
**enable_issue_dependencies** | **bool** | Enable dependencies for issues and pull requests (Built-in issue tracker) | [optional] [default to null] | |||
**enable_time_tracker** | **bool** | Enable time tracking (Built-in issue tracker) | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,30 @@ | |||
# Issue | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**assignee** | [***::models::User**](User.md) | | [optional] [default to null] | |||
**assignees** | [**Vec<::models::User>**](User.md) | | [optional] [default to null] | |||
**body** | **String** | | [optional] [default to null] | |||
**closed_at** | **String** | | [optional] [default to null] | |||
**comments** | **i64** | | [optional] [default to null] | |||
**created_at** | **String** | | [optional] [default to null] | |||
**due_date** | **String** | | [optional] [default to null] | |||
**html_url** | **String** | | [optional] [default to null] | |||
**id** | **i64** | | [optional] [default to null] | |||
**labels** | [**Vec<::models::Label>**](Label.md) | | [optional] [default to null] | |||
**milestone** | [***::models::Milestone**](Milestone.md) | | [optional] [default to null] | |||
**number** | **i64** | | [optional] [default to null] | |||
**original_author** | **String** | | [optional] [default to null] | |||
**original_author_id** | **i64** | | [optional] [default to null] | |||
**pull_request** | [***::models::PullRequestMeta**](PullRequestMeta.md) | | [optional] [default to null] | |||
**repository** | [***::models::RepositoryMeta**](RepositoryMeta.md) | | [optional] [default to null] | |||
**state** | [***::models::StateType**](StateType.md) | | [optional] [default to null] | |||
**title** | **String** | | [optional] [default to null] | |||
**updated_at** | **String** | | [optional] [default to null] | |||
**url** | **String** | | [optional] [default to null] | |||
**user** | [***::models::User**](User.md) | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,10 @@ | |||
# IssueDeadline | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**due_date** | **String** | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,10 @@ | |||
# IssueLabelsOption | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**labels** | **Vec<i64>** | list of label IDs | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,14 @@ | |||
# Label | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**color** | **String** | | [optional] [default to null] | |||
**description** | **String** | | [optional] [default to null] | |||
**id** | **i64** | | [optional] [default to null] | |||
**name** | **String** | | [optional] [default to null] | |||
**url** | **String** | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,13 @@ | |||
# MarkdownOption | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**context** | **String** | Context to render in: body | [optional] [default to null] | |||
**mode** | **String** | Mode to render in: body | [optional] [default to null] | |||
**text** | **String** | Text markdown to render in: body | [optional] [default to null] | |||
**wiki** | **bool** | Is it a wiki page ? in: body | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,12 @@ | |||
# MergePullRequestOption | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**_do** | **String** | | [default to null] | |||
**merge_message_field** | **String** | | [optional] [default to null] | |||
**merge_title_field** | **String** | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,23 @@ | |||
# MigrateRepoForm | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**auth_password** | **String** | | [optional] [default to null] | |||
**auth_username** | **String** | | [optional] [default to null] | |||
**clone_addr** | **String** | | [default to null] | |||
**description** | **String** | | [optional] [default to null] | |||
**issues** | **bool** | | [optional] [default to null] | |||
**labels** | **bool** | | [optional] [default to null] | |||
**milestones** | **bool** | | [optional] [default to null] | |||
**mirror** | **bool** | | [optional] [default to null] | |||
**private** | **bool** | | [optional] [default to null] | |||
**pull_requests** | **bool** | | [optional] [default to null] | |||
**releases** | **bool** | | [optional] [default to null] | |||
**repo_name** | **String** | | [default to null] | |||
**uid** | **i64** | | [default to null] | |||
**wiki** | **bool** | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,17 @@ | |||
# Milestone | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**closed_at** | **String** | | [optional] [default to null] | |||
**closed_issues** | **i64** | | [optional] [default to null] | |||
**description** | **String** | | [optional] [default to null] | |||
**due_on** | **String** | | [optional] [default to null] | |||
**id** | **i64** | | [optional] [default to null] | |||
**open_issues** | **i64** | | [optional] [default to null] | |||
**state** | [***::models::StateType**](StateType.md) | | [optional] [default to null] | |||
**title** | **String** | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,125 @@ | |||
# \MiscellaneousApi | |||
All URIs are relative to *http://localhost/api/v1* | |||
Method | HTTP request | Description | |||
------------- | ------------- | ------------- | |||
[**get_signing_key**](MiscellaneousApi.md#get_signing_key) | **Get** /signing-key.gpg | Get default signing-key.gpg | |||
[**get_version**](MiscellaneousApi.md#get_version) | **Get** /version | Returns the version of the Gitea application | |||
[**render_markdown**](MiscellaneousApi.md#render_markdown) | **Post** /markdown | Render a markdown document as HTML | |||
[**render_markdown_raw**](MiscellaneousApi.md#render_markdown_raw) | **Post** /markdown/raw | Render raw markdown as HTML | |||
# **get_signing_key** | |||
> String get_signing_key(ctx, ctx, ctx, ctx, ctx, ctx, ) | |||
Get default signing-key.gpg | |||
### Required Parameters | |||
This endpoint does not need any parameter. | |||
### Return type | |||
**String** | |||
### Authorization | |||
[AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) | |||
### HTTP request headers | |||
- **Content-Type**: application/json, text/plain | |||
- **Accept**: text/plain | |||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) | |||
# **get_version** | |||
> ::models::ServerVersion get_version(ctx, ctx, ctx, ctx, ctx, ctx, ) | |||
Returns the version of the Gitea application | |||
### Required Parameters | |||
This endpoint does not need any parameter. | |||
### Return type | |||
[**::models::ServerVersion**](ServerVersion.md) | |||
### Authorization | |||
[AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) | |||
### HTTP request headers | |||
- **Content-Type**: application/json, text/plain | |||
- **Accept**: application/json | |||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) | |||
# **render_markdown** | |||
> String render_markdown(ctx, ctx, ctx, ctx, ctx, ctx, optional) | |||
Render a markdown document as HTML | |||
### Required Parameters | |||
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 | |||
Optional parameters are passed through a map[string]interface{}. | |||
Name | Type | Description | Notes | |||
------------- | ------------- | ------------- | ------------- | |||
**body** | [**MarkdownOption**](MarkdownOption.md)| | | |||
### Return type | |||
**String** | |||
### Authorization | |||
[AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) | |||
### HTTP request headers | |||
- **Content-Type**: application/json | |||
- **Accept**: text/html | |||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) | |||
# **render_markdown_raw** | |||
> String render_markdown_raw(ctx, ctx, ctx, ctx, ctx, ctx, body) | |||
Render raw markdown as HTML | |||
### Required Parameters | |||
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 | |||
**body** | **String**| Request body to render | | |||
### Return type | |||
**String** | |||
### Authorization | |||
[AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token) | |||
### HTTP request headers | |||
- **Content-Type**: text/plain | |||
- **Accept**: text/html | |||
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) | |||
@@ -0,0 +1,18 @@ | |||
# Organization | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**avatar_url** | **String** | | [optional] [default to null] | |||
**description** | **String** | | [optional] [default to null] | |||
**full_name** | **String** | | [optional] [default to null] | |||
**id** | **i64** | | [optional] [default to null] | |||
**location** | **String** | | [optional] [default to null] | |||
**repo_admin_change_team_access** | **bool** | | [optional] [default to null] | |||
**username** | **String** | | [optional] [default to null] | |||
**visibility** | **String** | | [optional] [default to null] | |||
**website** | **String** | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,19 @@ | |||
# PayloadCommit | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**added** | **Vec<String>** | | [optional] [default to null] | |||
**author** | [***::models::PayloadUser**](PayloadUser.md) | | [optional] [default to null] | |||
**committer** | [***::models::PayloadUser**](PayloadUser.md) | | [optional] [default to null] | |||
**id** | **String** | sha1 hash of the commit | [optional] [default to null] | |||
**message** | **String** | | [optional] [default to null] | |||
**modified** | **Vec<String>** | | [optional] [default to null] | |||
**removed** | **Vec<String>** | | [optional] [default to null] | |||
**timestamp** | **String** | | [optional] [default to null] | |||
**url** | **String** | | [optional] [default to null] | |||
**verification** | [***::models::PayloadCommitVerification**](PayloadCommitVerification.md) | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,14 @@ | |||
# PayloadCommitVerification | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**payload** | **String** | | [optional] [default to null] | |||
**reason** | **String** | | [optional] [default to null] | |||
**signature** | **String** | | [optional] [default to null] | |||
**signer** | [***::models::PayloadUser**](PayloadUser.md) | | [optional] [default to null] | |||
**verified** | **bool** | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,12 @@ | |||
# PayloadUser | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**email** | **String** | | [optional] [default to null] | |||
**name** | **String** | Full name of the commit author | [optional] [default to null] | |||
**username** | **String** | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,12 @@ | |||
# Permission | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**admin** | **bool** | | [optional] [default to null] | |||
**pull** | **bool** | | [optional] [default to null] | |||
**push** | **bool** | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,14 @@ | |||
# PrBranchInfo | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**label** | **String** | | [optional] [default to null] | |||
**_ref** | **String** | | [optional] [default to null] | |||
**repo** | [***::models::Repository**](Repository.md) | | [optional] [default to null] | |||
**repo_id** | **i64** | | [optional] [default to null] | |||
**sha** | **String** | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,18 @@ | |||
# PublicKey | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**created_at** | **String** | | [optional] [default to null] | |||
**fingerprint** | **String** | | [optional] [default to null] | |||
**id** | **i64** | | [optional] [default to null] | |||
**key** | **String** | | [optional] [default to null] | |||
**key_type** | **String** | | [optional] [default to null] | |||
**read_only** | **bool** | | [optional] [default to null] | |||
**title** | **String** | | [optional] [default to null] | |||
**url** | **String** | | [optional] [default to null] | |||
**user** | [***::models::User**](User.md) | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,36 @@ | |||
# PullRequest | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**assignee** | [***::models::User**](User.md) | | [optional] [default to null] | |||
**assignees** | [**Vec<::models::User>**](User.md) | | [optional] [default to null] | |||
**base** | [***::models::PrBranchInfo**](PRBranchInfo.md) | | [optional] [default to null] | |||
**body** | **String** | | [optional] [default to null] | |||
**closed_at** | **String** | | [optional] [default to null] | |||
**comments** | **i64** | | [optional] [default to null] | |||
**created_at** | **String** | | [optional] [default to null] | |||
**diff_url** | **String** | | [optional] [default to null] | |||
**due_date** | **String** | | [optional] [default to null] | |||
**head** | [***::models::PrBranchInfo**](PRBranchInfo.md) | | [optional] [default to null] | |||
**html_url** | **String** | | [optional] [default to null] | |||
**id** | **i64** | | [optional] [default to null] | |||
**labels** | [**Vec<::models::Label>**](Label.md) | | [optional] [default to null] | |||
**merge_base** | **String** | | [optional] [default to null] | |||
**merge_commit_sha** | **String** | | [optional] [default to null] | |||
**mergeable** | **bool** | | [optional] [default to null] | |||
**merged** | **bool** | | [optional] [default to null] | |||
**merged_at** | **String** | | [optional] [default to null] | |||
**merged_by** | [***::models::User**](User.md) | | [optional] [default to null] | |||
**milestone** | [***::models::Milestone**](Milestone.md) | | [optional] [default to null] | |||
**number** | **i64** | | [optional] [default to null] | |||
**patch_url** | **String** | | [optional] [default to null] | |||
**state** | [***::models::StateType**](StateType.md) | | [optional] [default to null] | |||
**title** | **String** | | [optional] [default to null] | |||
**updated_at** | **String** | | [optional] [default to null] | |||
**url** | **String** | | [optional] [default to null] | |||
**user** | [***::models::User**](User.md) | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,11 @@ | |||
# PullRequestMeta | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**merged** | **bool** | | [optional] [default to null] | |||
**merged_at** | **String** | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,12 @@ | |||
# Reaction | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**content** | **String** | | [optional] [default to null] | |||
**created_at** | **String** | | [optional] [default to null] | |||
**user** | [***::models::User**](User.md) | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,12 @@ | |||
# Reference | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**object** | [***::models::GitObject**](GitObject.md) | | [optional] [default to null] | |||
**_ref** | **String** | | [optional] [default to null] | |||
**url** | **String** | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,23 @@ | |||
# Release | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**assets** | [**Vec<::models::Attachment>**](Attachment.md) | | [optional] [default to null] | |||
**author** | [***::models::User**](User.md) | | [optional] [default to null] | |||
**body** | **String** | | [optional] [default to null] | |||
**created_at** | **String** | | [optional] [default to null] | |||
**draft** | **bool** | | [optional] [default to null] | |||
**id** | **i64** | | [optional] [default to null] | |||
**name** | **String** | | [optional] [default to null] | |||
**prerelease** | **bool** | | [optional] [default to null] | |||
**published_at** | **String** | | [optional] [default to null] | |||
**tag_name** | **String** | | [optional] [default to null] | |||
**tarball_url** | **String** | | [optional] [default to null] | |||
**target_commitish** | **String** | | [optional] [default to null] | |||
**url** | **String** | | [optional] [default to null] | |||
**zipball_url** | **String** | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||
@@ -0,0 +1,14 @@ | |||
# RepoCommit | |||
## Properties | |||
Name | Type | Description | Notes | |||
------------ | ------------- | ------------- | ------------- | |||
**author** | [***::models::CommitUser**](CommitUser.md) | | [optional] [default to null] | |||
**committer** | [***::models::CommitUser**](CommitUser.md) | | [optional] [default to null] | |||
**message** | **String** | | [optional] [default to null] | |||
**tree** | [***::models::CommitMeta**](CommitMeta.md) | | [optional] [default to null] | |||
**url** | **String** | | [optional] [default to null] | |||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | |||