Initial commit.
This commit is contained in:
commit
a60c631551
64
.gitignore
vendored
Normal file
64
.gitignore
vendored
Normal file
@ -0,0 +1,64 @@
|
|||||||
|
# Byte-compiled / optimized / DLL files
|
||||||
|
__pycache__/
|
||||||
|
*.py[cod]
|
||||||
|
*$py.class
|
||||||
|
|
||||||
|
# C extensions
|
||||||
|
*.so
|
||||||
|
|
||||||
|
# Distribution / packaging
|
||||||
|
.Python
|
||||||
|
env/
|
||||||
|
build/
|
||||||
|
develop-eggs/
|
||||||
|
dist/
|
||||||
|
downloads/
|
||||||
|
eggs/
|
||||||
|
.eggs/
|
||||||
|
lib/
|
||||||
|
lib64/
|
||||||
|
parts/
|
||||||
|
sdist/
|
||||||
|
var/
|
||||||
|
*.egg-info/
|
||||||
|
.installed.cfg
|
||||||
|
*.egg
|
||||||
|
|
||||||
|
# PyInstaller
|
||||||
|
# Usually these files are written by a python script from a template
|
||||||
|
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
||||||
|
*.manifest
|
||||||
|
*.spec
|
||||||
|
|
||||||
|
# Installer logs
|
||||||
|
pip-log.txt
|
||||||
|
pip-delete-this-directory.txt
|
||||||
|
|
||||||
|
# Unit test / coverage reports
|
||||||
|
htmlcov/
|
||||||
|
.tox/
|
||||||
|
.coverage
|
||||||
|
.coverage.*
|
||||||
|
.cache
|
||||||
|
nosetests.xml
|
||||||
|
coverage.xml
|
||||||
|
*,cover
|
||||||
|
.hypothesis/
|
||||||
|
venv/
|
||||||
|
.python-version
|
||||||
|
|
||||||
|
# Translations
|
||||||
|
*.mo
|
||||||
|
*.pot
|
||||||
|
|
||||||
|
# Django stuff:
|
||||||
|
*.log
|
||||||
|
|
||||||
|
# Sphinx documentation
|
||||||
|
docs/_build/
|
||||||
|
|
||||||
|
# PyBuilder
|
||||||
|
target/
|
||||||
|
|
||||||
|
#Ipython Notebook
|
||||||
|
.ipynb_checkpoints
|
23
.swagger-codegen-ignore
Normal file
23
.swagger-codegen-ignore
Normal file
@ -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
|
1
.swagger-codegen/VERSION
Normal file
1
.swagger-codegen/VERSION
Normal file
@ -0,0 +1 @@
|
|||||||
|
2.4.17
|
14
.travis.yml
Normal file
14
.travis.yml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
# ref: https://docs.travis-ci.com/user/languages/python
|
||||||
|
language: python
|
||||||
|
python:
|
||||||
|
- "2.7"
|
||||||
|
- "3.2"
|
||||||
|
- "3.3"
|
||||||
|
- "3.4"
|
||||||
|
- "3.5"
|
||||||
|
#- "3.5-dev" # 3.5 development branch
|
||||||
|
#- "nightly" # points to the latest development branch e.g. 3.6-dev
|
||||||
|
# command to install dependencies
|
||||||
|
install: "pip install -r requirements.txt"
|
||||||
|
# command to run tests
|
||||||
|
script: nosetests
|
518
README.md
Normal file
518
README.md
Normal file
@ -0,0 +1,518 @@
|
|||||||
|
# giteapython
|
||||||
|
This documentation describes the Gitea API.
|
||||||
|
|
||||||
|
This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
||||||
|
|
||||||
|
- API version: 1.1.1
|
||||||
|
- Package version: 1.0.0
|
||||||
|
- Build package: io.swagger.codegen.languages.PythonClientCodegen
|
||||||
|
|
||||||
|
## Requirements.
|
||||||
|
|
||||||
|
Python 2.7 and 3.4+
|
||||||
|
|
||||||
|
## Installation & Usage
|
||||||
|
### pip install
|
||||||
|
|
||||||
|
If the python package is hosted on Github, you can install directly from Github
|
||||||
|
|
||||||
|
```sh
|
||||||
|
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
|
||||||
|
```
|
||||||
|
(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`)
|
||||||
|
|
||||||
|
Then import the package:
|
||||||
|
```python
|
||||||
|
import giteapython
|
||||||
|
```
|
||||||
|
|
||||||
|
### Setuptools
|
||||||
|
|
||||||
|
Install via [Setuptools](http://pypi.python.org/pypi/setuptools).
|
||||||
|
|
||||||
|
```sh
|
||||||
|
python setup.py install --user
|
||||||
|
```
|
||||||
|
(or `sudo python setup.py install` to install the package for all users)
|
||||||
|
|
||||||
|
Then import the package:
|
||||||
|
```python
|
||||||
|
import giteapython
|
||||||
|
```
|
||||||
|
|
||||||
|
## Getting Started
|
||||||
|
|
||||||
|
Please follow the [installation procedure](#installation--usage) and then run the following:
|
||||||
|
|
||||||
|
```python
|
||||||
|
from __future__ import print_function
|
||||||
|
import time
|
||||||
|
import giteapython
|
||||||
|
from giteapython.rest import ApiException
|
||||||
|
from pprint import pprint
|
||||||
|
|
||||||
|
# Configure API key authorization: AccessToken
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['access_token'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['access_token'] = 'Bearer'
|
||||||
|
# Configure API key authorization: AuthorizationHeaderToken
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['Authorization'] = 'Bearer'
|
||||||
|
# Configure HTTP basic authorization: BasicAuth
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.username = 'YOUR_USERNAME'
|
||||||
|
configuration.password = 'YOUR_PASSWORD'
|
||||||
|
# Configure API key authorization: SudoHeader
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['Sudo'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['Sudo'] = 'Bearer'
|
||||||
|
# Configure API key authorization: SudoParam
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['sudo'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['sudo'] = 'Bearer'
|
||||||
|
# Configure API key authorization: Token
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['token'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['token'] = 'Bearer'
|
||||||
|
|
||||||
|
# create an instance of the API class
|
||||||
|
api_instance = giteapython.AdminApi(giteapython.ApiClient(configuration))
|
||||||
|
username = 'username_example' # str | username of the user that will own the created organization
|
||||||
|
organization = giteapython.CreateOrgOption() # CreateOrgOption |
|
||||||
|
|
||||||
|
try:
|
||||||
|
# Create an organization
|
||||||
|
api_response = api_instance.admin_create_org(username, organization)
|
||||||
|
pprint(api_response)
|
||||||
|
except ApiException as e:
|
||||||
|
print("Exception when calling AdminApi->admin_create_org: %s\n" % e)
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
## 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 of 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_check_subscription**](docs/IssueApi.md#issue_check_subscription) | **GET** /repos/{owner}/{repo}/issues/{index}/subscriptions/check | Check if user is subscribed to an 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**](docs/IssueApi.md#issue_get_comment) | **GET** /repos/{owner}/{repo}/issues/comments/{id} | Get a comment
|
||||||
|
*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
|
||||||
|
*NotificationApi* | [**notify_get_list**](docs/NotificationApi.md#notify_get_list) | **GET** /notifications | List users's notification threads
|
||||||
|
*NotificationApi* | [**notify_get_repo_list**](docs/NotificationApi.md#notify_get_repo_list) | **GET** /repos/{owner}/{repo}/notifications | List users's notification threads on a specific repo
|
||||||
|
*NotificationApi* | [**notify_get_thread**](docs/NotificationApi.md#notify_get_thread) | **GET** /notifications/threads/{id} | Get notification thread by ID
|
||||||
|
*NotificationApi* | [**notify_new_available**](docs/NotificationApi.md#notify_new_available) | **GET** /notifications/new | Check if unread notifications exist
|
||||||
|
*NotificationApi* | [**notify_read_list**](docs/NotificationApi.md#notify_read_list) | **PUT** /notifications | Mark notification threads as read, pinned or unread
|
||||||
|
*NotificationApi* | [**notify_read_repo_list**](docs/NotificationApi.md#notify_read_repo_list) | **PUT** /repos/{owner}/{repo}/notifications | Mark notification threads as read, pinned or unread on a specific repo
|
||||||
|
*NotificationApi* | [**notify_read_thread**](docs/NotificationApi.md#notify_read_thread) | **PATCH** /notifications/threads/{id} | Mark notification thread as read by ID
|
||||||
|
*OrganizationApi* | [**create_org_repo**](docs/OrganizationApi.md#create_org_repo) | **POST** /orgs/{org}/repos | Create a repository in an organization
|
||||||
|
*OrganizationApi* | [**create_org_repo_deprecated**](docs/OrganizationApi.md#create_org_repo_deprecated) | **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_label**](docs/OrganizationApi.md#org_create_label) | **POST** /orgs/{org}/labels | Create a label for an organization
|
||||||
|
*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_label**](docs/OrganizationApi.md#org_delete_label) | **DELETE** /orgs/{org}/labels/{id} | Delete a label
|
||||||
|
*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_label**](docs/OrganizationApi.md#org_edit_label) | **PATCH** /orgs/{org}/labels/{id} | Update a label
|
||||||
|
*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_all**](docs/OrganizationApi.md#org_get_all) | **GET** /orgs | Get list of organizations
|
||||||
|
*OrganizationApi* | [**org_get_hook**](docs/OrganizationApi.md#org_get_hook) | **GET** /orgs/{org}/hooks/{id} | Get a hook
|
||||||
|
*OrganizationApi* | [**org_get_label**](docs/OrganizationApi.md#org_get_label) | **GET** /orgs/{org}/labels/{id} | Get a single label
|
||||||
|
*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_labels**](docs/OrganizationApi.md#org_list_labels) | **GET** /orgs/{org}/labels | List an organization's labels
|
||||||
|
*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_branch_protection**](docs/RepositoryApi.md#repo_create_branch_protection) | **POST** /repos/{owner}/{repo}/branch_protections | Create a branch protections for 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_pull_review**](docs/RepositoryApi.md#repo_create_pull_review) | **POST** /repos/{owner}/{repo}/pulls/{index}/reviews | Create a review to an 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_branch**](docs/RepositoryApi.md#repo_delete_branch) | **DELETE** /repos/{owner}/{repo}/branches/{branch} | Delete a specific branch from a repository
|
||||||
|
*RepositoryApi* | [**repo_delete_branch_protection**](docs/RepositoryApi.md#repo_delete_branch_protection) | **DELETE** /repos/{owner}/{repo}/branch_protections/{name} | Delete a specific branch protection for the 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_pull_review**](docs/RepositoryApi.md#repo_delete_pull_review) | **DELETE** /repos/{owner}/{repo}/pulls/{index}/reviews/{id} | Delete a specific review from a pull request
|
||||||
|
*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_branch_protection**](docs/RepositoryApi.md#repo_edit_branch_protection) | **PATCH** /repos/{owner}/{repo}/branch_protections/{name} | Edit a branch protections for a repository. 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_branch_protection**](docs/RepositoryApi.md#repo_get_branch_protection) | **GET** /repos/{owner}/{repo}/branch_protections/{name} | Get a specific branch protection for the repository
|
||||||
|
*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_pull_review**](docs/RepositoryApi.md#repo_get_pull_review) | **GET** /repos/{owner}/{repo}/pulls/{index}/reviews/{id} | Get a specific review for a pull request
|
||||||
|
*RepositoryApi* | [**repo_get_pull_review_comments**](docs/RepositoryApi.md#repo_get_pull_review_comments) | **GET** /repos/{owner}/{repo}/pulls/{index}/reviews/{id}/comments | Get a specific review for 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_branch_protection**](docs/RepositoryApi.md#repo_list_branch_protection) | **GET** /repos/{owner}/{repo}/branch_protections | List branch protections for a repository
|
||||||
|
*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_pull_reviews**](docs/RepositoryApi.md#repo_list_pull_reviews) | **GET** /repos/{owner}/{repo}/pulls/{index}/reviews | List all reviews for a pull request
|
||||||
|
*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_submit_pull_review**](docs/RepositoryApi.md#repo_submit_pull_review) | **POST** /repos/{owner}/{repo}/pulls/{index}/reviews/{id} | Submit a pending review to an pull request
|
||||||
|
*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_transfer**](docs/RepositoryApi.md#repo_transfer) | **POST** /repos/{owner}/{repo}/transfer | Transfer a repo ownership
|
||||||
|
*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
|
||||||
|
*RepositoryApi* | [**user_tracked_times**](docs/RepositoryApi.md#user_tracked_times) | **GET** /repos/{owner}/{repo}/times/{user} | List a user's tracked times in 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_o_auth2_application**](docs/UserApi.md#user_create_o_auth2_application) | **POST** /user/applications/oauth2 | creates a new OAuth2 application
|
||||||
|
*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_delete_o_auth2_application**](docs/UserApi.md#user_delete_o_auth2_application) | **DELETE** /user/applications/oauth2/{id} | delete an OAuth2 Application
|
||||||
|
*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_o_auth2_application**](docs/UserApi.md#user_get_o_auth2_application) | **GET** /user/applications/oauth2/{id} | get an OAuth2 Application
|
||||||
|
*UserApi* | [**user_get_oauth2_application**](docs/UserApi.md#user_get_oauth2_application) | **GET** /user/applications/oauth2 | List the authenticated user's oauth2 applications
|
||||||
|
*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_update_o_auth2_application**](docs/UserApi.md#user_update_o_auth2_application) | **PATCH** /user/applications/oauth2/{id} | update an OAuth2 Application, this includes regenerating the client secret
|
||||||
|
|
||||||
|
|
||||||
|
## Documentation For Models
|
||||||
|
|
||||||
|
- [APIError](docs/APIError.md)
|
||||||
|
- [AccessToken](docs/AccessToken.md)
|
||||||
|
- [AddCollaboratorOption](docs/AddCollaboratorOption.md)
|
||||||
|
- [AddTimeOption](docs/AddTimeOption.md)
|
||||||
|
- [AnnotatedTag](docs/AnnotatedTag.md)
|
||||||
|
- [AnnotatedTagObject](docs/AnnotatedTagObject.md)
|
||||||
|
- [Attachment](docs/Attachment.md)
|
||||||
|
- [Branch](docs/Branch.md)
|
||||||
|
- [BranchProtection](docs/BranchProtection.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)
|
||||||
|
- [CreateBranchProtectionOption](docs/CreateBranchProtectionOption.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)
|
||||||
|
- [CreateOAuth2ApplicationOptions](docs/CreateOAuth2ApplicationOptions.md)
|
||||||
|
- [CreateOrgOption](docs/CreateOrgOption.md)
|
||||||
|
- [CreatePullRequestOption](docs/CreatePullRequestOption.md)
|
||||||
|
- [CreatePullReviewComment](docs/CreatePullReviewComment.md)
|
||||||
|
- [CreatePullReviewOptions](docs/CreatePullReviewOptions.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)
|
||||||
|
- [EditBranchProtectionOption](docs/EditBranchProtectionOption.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)
|
||||||
|
- [GPGKey](docs/GPGKey.md)
|
||||||
|
- [GPGKeyEmail](docs/GPGKeyEmail.md)
|
||||||
|
- [GitBlobResponse](docs/GitBlobResponse.md)
|
||||||
|
- [GitEntry](docs/GitEntry.md)
|
||||||
|
- [GitHook](docs/GitHook.md)
|
||||||
|
- [GitObject](docs/GitObject.md)
|
||||||
|
- [GitTreeResponse](docs/GitTreeResponse.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)
|
||||||
|
- [NotificationCount](docs/NotificationCount.md)
|
||||||
|
- [NotificationSubject](docs/NotificationSubject.md)
|
||||||
|
- [NotificationThread](docs/NotificationThread.md)
|
||||||
|
- [OAuth2Application](docs/OAuth2Application.md)
|
||||||
|
- [Organization](docs/Organization.md)
|
||||||
|
- [PRBranchInfo](docs/PRBranchInfo.md)
|
||||||
|
- [PayloadCommit](docs/PayloadCommit.md)
|
||||||
|
- [PayloadCommitVerification](docs/PayloadCommitVerification.md)
|
||||||
|
- [PayloadUser](docs/PayloadUser.md)
|
||||||
|
- [Permission](docs/Permission.md)
|
||||||
|
- [PublicKey](docs/PublicKey.md)
|
||||||
|
- [PullRequest](docs/PullRequest.md)
|
||||||
|
- [PullRequestMeta](docs/PullRequestMeta.md)
|
||||||
|
- [PullReview](docs/PullReview.md)
|
||||||
|
- [PullReviewComment](docs/PullReviewComment.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)
|
||||||
|
- [ReviewStateType](docs/ReviewStateType.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)
|
||||||
|
- [SubmitPullReviewOptions](docs/SubmitPullReviewOptions.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)
|
||||||
|
- [TransferRepoOption](docs/TransferRepoOption.md)
|
||||||
|
- [UpdateFileOptions](docs/UpdateFileOptions.md)
|
||||||
|
- [User](docs/User.md)
|
||||||
|
- [UserHeatmapData](docs/UserHeatmapData.md)
|
||||||
|
- [WatchInfo](docs/WatchInfo.md)
|
||||||
|
|
||||||
|
|
||||||
|
## Documentation For Authorization
|
||||||
|
|
||||||
|
|
||||||
|
## AccessToken
|
||||||
|
|
||||||
|
- **Type**: API key
|
||||||
|
- **API key parameter name**: access_token
|
||||||
|
- **Location**: URL query string
|
||||||
|
|
||||||
|
## AuthorizationHeaderToken
|
||||||
|
|
||||||
|
- **Type**: API key
|
||||||
|
- **API key parameter name**: Authorization
|
||||||
|
- **Location**: HTTP header
|
||||||
|
|
||||||
|
## BasicAuth
|
||||||
|
|
||||||
|
- **Type**: HTTP basic authentication
|
||||||
|
|
||||||
|
## SudoHeader
|
||||||
|
|
||||||
|
- **Type**: API key
|
||||||
|
- **API key parameter name**: Sudo
|
||||||
|
- **Location**: HTTP header
|
||||||
|
|
||||||
|
## SudoParam
|
||||||
|
|
||||||
|
- **Type**: API key
|
||||||
|
- **API key parameter name**: sudo
|
||||||
|
- **Location**: URL query string
|
||||||
|
|
||||||
|
## Token
|
||||||
|
|
||||||
|
- **Type**: API key
|
||||||
|
- **API key parameter name**: token
|
||||||
|
- **Location**: URL query string
|
||||||
|
|
||||||
|
|
||||||
|
## Author
|
||||||
|
|
||||||
|
|
||||||
|
|
11
docs/APIError.md
Normal file
11
docs/APIError.md
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# APIError
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**message** | **str** | | [optional]
|
||||||
|
**url** | **str** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
10
docs/AccessToken.md
Normal file
10
docs/AccessToken.md
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# AccessToken
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**name** | **str** | |
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
10
docs/AddCollaboratorOption.md
Normal file
10
docs/AddCollaboratorOption.md
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# AddCollaboratorOption
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**permission** | **str** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
12
docs/AddTimeOption.md
Normal file
12
docs/AddTimeOption.md
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# AddTimeOption
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**created** | **datetime** | | [optional]
|
||||||
|
**time** | **int** | time in seconds |
|
||||||
|
**user_name** | **str** | User who spent the time (optional) | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
713
docs/AdminApi.md
Normal file
713
docs/AdminApi.md
Normal file
@ -0,0 +1,713 @@
|
|||||||
|
# giteapython.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 of 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**
|
||||||
|
> Organization admin_create_org(username, organization)
|
||||||
|
|
||||||
|
Create an organization
|
||||||
|
|
||||||
|
### Example
|
||||||
|
```python
|
||||||
|
from __future__ import print_function
|
||||||
|
import time
|
||||||
|
import giteapython
|
||||||
|
from giteapython.rest import ApiException
|
||||||
|
from pprint import pprint
|
||||||
|
|
||||||
|
# Configure API key authorization: AccessToken
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['access_token'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['access_token'] = 'Bearer'
|
||||||
|
# Configure API key authorization: AuthorizationHeaderToken
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['Authorization'] = 'Bearer'
|
||||||
|
# Configure HTTP basic authorization: BasicAuth
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.username = 'YOUR_USERNAME'
|
||||||
|
configuration.password = 'YOUR_PASSWORD'
|
||||||
|
# Configure API key authorization: SudoHeader
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['Sudo'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['Sudo'] = 'Bearer'
|
||||||
|
# Configure API key authorization: SudoParam
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['sudo'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['sudo'] = 'Bearer'
|
||||||
|
# Configure API key authorization: Token
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['token'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['token'] = 'Bearer'
|
||||||
|
|
||||||
|
# create an instance of the API class
|
||||||
|
api_instance = giteapython.AdminApi(giteapython.ApiClient(configuration))
|
||||||
|
username = 'username_example' # str | username of the user that will own the created organization
|
||||||
|
organization = giteapython.CreateOrgOption() # CreateOrgOption |
|
||||||
|
|
||||||
|
try:
|
||||||
|
# Create an organization
|
||||||
|
api_response = api_instance.admin_create_org(username, organization)
|
||||||
|
pprint(api_response)
|
||||||
|
except ApiException as e:
|
||||||
|
print("Exception when calling AdminApi->admin_create_org: %s\n" % e)
|
||||||
|
```
|
||||||
|
|
||||||
|
### Parameters
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------- | ------------- | ------------- | -------------
|
||||||
|
**username** | **str**| username of the user that will own the created organization |
|
||||||
|
**organization** | [**CreateOrgOption**](CreateOrgOption.md)| |
|
||||||
|
|
||||||
|
### Return type
|
||||||
|
|
||||||
|
[**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**
|
||||||
|
> PublicKey admin_create_public_key(username, key=key)
|
||||||
|
|
||||||
|
Add a public key on behalf of a user
|
||||||
|
|
||||||
|
### Example
|
||||||
|
```python
|
||||||
|
from __future__ import print_function
|
||||||
|
import time
|
||||||
|
import giteapython
|
||||||
|
from giteapython.rest import ApiException
|
||||||
|
from pprint import pprint
|
||||||
|
|
||||||
|
# Configure API key authorization: AccessToken
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['access_token'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['access_token'] = 'Bearer'
|
||||||
|
# Configure API key authorization: AuthorizationHeaderToken
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['Authorization'] = 'Bearer'
|
||||||
|
# Configure HTTP basic authorization: BasicAuth
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.username = 'YOUR_USERNAME'
|
||||||
|
configuration.password = 'YOUR_PASSWORD'
|
||||||
|
# Configure API key authorization: SudoHeader
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['Sudo'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['Sudo'] = 'Bearer'
|
||||||
|
# Configure API key authorization: SudoParam
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['sudo'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['sudo'] = 'Bearer'
|
||||||
|
# Configure API key authorization: Token
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['token'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['token'] = 'Bearer'
|
||||||
|
|
||||||
|
# create an instance of the API class
|
||||||
|
api_instance = giteapython.AdminApi(giteapython.ApiClient(configuration))
|
||||||
|
username = 'username_example' # str | username of the user
|
||||||
|
key = giteapython.CreateKeyOption() # CreateKeyOption | (optional)
|
||||||
|
|
||||||
|
try:
|
||||||
|
# Add a public key on behalf of a user
|
||||||
|
api_response = api_instance.admin_create_public_key(username, key=key)
|
||||||
|
pprint(api_response)
|
||||||
|
except ApiException as e:
|
||||||
|
print("Exception when calling AdminApi->admin_create_public_key: %s\n" % e)
|
||||||
|
```
|
||||||
|
|
||||||
|
### Parameters
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------- | ------------- | ------------- | -------------
|
||||||
|
**username** | **str**| username of the user |
|
||||||
|
**key** | [**CreateKeyOption**](CreateKeyOption.md)| | [optional]
|
||||||
|
|
||||||
|
### Return type
|
||||||
|
|
||||||
|
[**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**
|
||||||
|
> Repository admin_create_repo(username, repository)
|
||||||
|
|
||||||
|
Create a repository on behalf of a user
|
||||||
|
|
||||||
|
### Example
|
||||||
|
```python
|
||||||
|
from __future__ import print_function
|
||||||
|
import time
|
||||||
|
import giteapython
|
||||||
|
from giteapython.rest import ApiException
|
||||||
|
from pprint import pprint
|
||||||
|
|
||||||
|
# Configure API key authorization: AccessToken
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['access_token'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['access_token'] = 'Bearer'
|
||||||
|
# Configure API key authorization: AuthorizationHeaderToken
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['Authorization'] = 'Bearer'
|
||||||
|
# Configure HTTP basic authorization: BasicAuth
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.username = 'YOUR_USERNAME'
|
||||||
|
configuration.password = 'YOUR_PASSWORD'
|
||||||
|
# Configure API key authorization: SudoHeader
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['Sudo'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['Sudo'] = 'Bearer'
|
||||||
|
# Configure API key authorization: SudoParam
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['sudo'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['sudo'] = 'Bearer'
|
||||||
|
# Configure API key authorization: Token
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['token'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['token'] = 'Bearer'
|
||||||
|
|
||||||
|
# create an instance of the API class
|
||||||
|
api_instance = giteapython.AdminApi(giteapython.ApiClient(configuration))
|
||||||
|
username = 'username_example' # str | username of the user. This user will own the created repository
|
||||||
|
repository = giteapython.CreateRepoOption() # CreateRepoOption |
|
||||||
|
|
||||||
|
try:
|
||||||
|
# Create a repository on behalf of a user
|
||||||
|
api_response = api_instance.admin_create_repo(username, repository)
|
||||||
|
pprint(api_response)
|
||||||
|
except ApiException as e:
|
||||||
|
print("Exception when calling AdminApi->admin_create_repo: %s\n" % e)
|
||||||
|
```
|
||||||
|
|
||||||
|
### Parameters
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------- | ------------- | ------------- | -------------
|
||||||
|
**username** | **str**| username of the user. This user will own the created repository |
|
||||||
|
**repository** | [**CreateRepoOption**](CreateRepoOption.md)| |
|
||||||
|
|
||||||
|
### Return type
|
||||||
|
|
||||||
|
[**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**
|
||||||
|
> User admin_create_user(body=body)
|
||||||
|
|
||||||
|
Create a user
|
||||||
|
|
||||||
|
### Example
|
||||||
|
```python
|
||||||
|
from __future__ import print_function
|
||||||
|
import time
|
||||||
|
import giteapython
|
||||||
|
from giteapython.rest import ApiException
|
||||||
|
from pprint import pprint
|
||||||
|
|
||||||
|
# Configure API key authorization: AccessToken
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['access_token'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['access_token'] = 'Bearer'
|
||||||
|
# Configure API key authorization: AuthorizationHeaderToken
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['Authorization'] = 'Bearer'
|
||||||
|
# Configure HTTP basic authorization: BasicAuth
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.username = 'YOUR_USERNAME'
|
||||||
|
configuration.password = 'YOUR_PASSWORD'
|
||||||
|
# Configure API key authorization: SudoHeader
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['Sudo'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['Sudo'] = 'Bearer'
|
||||||
|
# Configure API key authorization: SudoParam
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['sudo'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['sudo'] = 'Bearer'
|
||||||
|
# Configure API key authorization: Token
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['token'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['token'] = 'Bearer'
|
||||||
|
|
||||||
|
# create an instance of the API class
|
||||||
|
api_instance = giteapython.AdminApi(giteapython.ApiClient(configuration))
|
||||||
|
body = giteapython.CreateUserOption() # CreateUserOption | (optional)
|
||||||
|
|
||||||
|
try:
|
||||||
|
# Create a user
|
||||||
|
api_response = api_instance.admin_create_user(body=body)
|
||||||
|
pprint(api_response)
|
||||||
|
except ApiException as e:
|
||||||
|
print("Exception when calling AdminApi->admin_create_user: %s\n" % e)
|
||||||
|
```
|
||||||
|
|
||||||
|
### Parameters
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------- | ------------- | ------------- | -------------
|
||||||
|
**body** | [**CreateUserOption**](CreateUserOption.md)| | [optional]
|
||||||
|
|
||||||
|
### Return type
|
||||||
|
|
||||||
|
[**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(username)
|
||||||
|
|
||||||
|
Delete a user
|
||||||
|
|
||||||
|
### Example
|
||||||
|
```python
|
||||||
|
from __future__ import print_function
|
||||||
|
import time
|
||||||
|
import giteapython
|
||||||
|
from giteapython.rest import ApiException
|
||||||
|
from pprint import pprint
|
||||||
|
|
||||||
|
# Configure API key authorization: AccessToken
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['access_token'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['access_token'] = 'Bearer'
|
||||||
|
# Configure API key authorization: AuthorizationHeaderToken
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['Authorization'] = 'Bearer'
|
||||||
|
# Configure HTTP basic authorization: BasicAuth
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.username = 'YOUR_USERNAME'
|
||||||
|
configuration.password = 'YOUR_PASSWORD'
|
||||||
|
# Configure API key authorization: SudoHeader
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['Sudo'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['Sudo'] = 'Bearer'
|
||||||
|
# Configure API key authorization: SudoParam
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['sudo'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['sudo'] = 'Bearer'
|
||||||
|
# Configure API key authorization: Token
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['token'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['token'] = 'Bearer'
|
||||||
|
|
||||||
|
# create an instance of the API class
|
||||||
|
api_instance = giteapython.AdminApi(giteapython.ApiClient(configuration))
|
||||||
|
username = 'username_example' # str | username of user to delete
|
||||||
|
|
||||||
|
try:
|
||||||
|
# Delete a user
|
||||||
|
api_instance.admin_delete_user(username)
|
||||||
|
except ApiException as e:
|
||||||
|
print("Exception when calling AdminApi->admin_delete_user: %s\n" % e)
|
||||||
|
```
|
||||||
|
|
||||||
|
### Parameters
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------- | ------------- | ------------- | -------------
|
||||||
|
**username** | **str**| username of user to delete |
|
||||||
|
|
||||||
|
### Return type
|
||||||
|
|
||||||
|
void (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(username, id)
|
||||||
|
|
||||||
|
Delete a user's public key
|
||||||
|
|
||||||
|
### Example
|
||||||
|
```python
|
||||||
|
from __future__ import print_function
|
||||||
|
import time
|
||||||
|
import giteapython
|
||||||
|
from giteapython.rest import ApiException
|
||||||
|
from pprint import pprint
|
||||||
|
|
||||||
|
# Configure API key authorization: AccessToken
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['access_token'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['access_token'] = 'Bearer'
|
||||||
|
# Configure API key authorization: AuthorizationHeaderToken
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['Authorization'] = 'Bearer'
|
||||||
|
# Configure HTTP basic authorization: BasicAuth
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.username = 'YOUR_USERNAME'
|
||||||
|
configuration.password = 'YOUR_PASSWORD'
|
||||||
|
# Configure API key authorization: SudoHeader
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['Sudo'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['Sudo'] = 'Bearer'
|
||||||
|
# Configure API key authorization: SudoParam
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['sudo'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['sudo'] = 'Bearer'
|
||||||
|
# Configure API key authorization: Token
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['token'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['token'] = 'Bearer'
|
||||||
|
|
||||||
|
# create an instance of the API class
|
||||||
|
api_instance = giteapython.AdminApi(giteapython.ApiClient(configuration))
|
||||||
|
username = 'username_example' # str | username of user
|
||||||
|
id = 789 # int | id of the key to delete
|
||||||
|
|
||||||
|
try:
|
||||||
|
# Delete a user's public key
|
||||||
|
api_instance.admin_delete_user_public_key(username, id)
|
||||||
|
except ApiException as e:
|
||||||
|
print("Exception when calling AdminApi->admin_delete_user_public_key: %s\n" % e)
|
||||||
|
```
|
||||||
|
|
||||||
|
### Parameters
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------- | ------------- | ------------- | -------------
|
||||||
|
**username** | **str**| username of user |
|
||||||
|
**id** | **int**| id of the key to delete |
|
||||||
|
|
||||||
|
### Return type
|
||||||
|
|
||||||
|
void (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**
|
||||||
|
> User admin_edit_user(username, body=body)
|
||||||
|
|
||||||
|
Edit an existing user
|
||||||
|
|
||||||
|
### Example
|
||||||
|
```python
|
||||||
|
from __future__ import print_function
|
||||||
|
import time
|
||||||
|
import giteapython
|
||||||
|
from giteapython.rest import ApiException
|
||||||
|
from pprint import pprint
|
||||||
|
|
||||||
|
# Configure API key authorization: AccessToken
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['access_token'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['access_token'] = 'Bearer'
|
||||||
|
# Configure API key authorization: AuthorizationHeaderToken
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['Authorization'] = 'Bearer'
|
||||||
|
# Configure HTTP basic authorization: BasicAuth
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.username = 'YOUR_USERNAME'
|
||||||
|
configuration.password = 'YOUR_PASSWORD'
|
||||||
|
# Configure API key authorization: SudoHeader
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['Sudo'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['Sudo'] = 'Bearer'
|
||||||
|
# Configure API key authorization: SudoParam
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['sudo'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['sudo'] = 'Bearer'
|
||||||
|
# Configure API key authorization: Token
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['token'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['token'] = 'Bearer'
|
||||||
|
|
||||||
|
# create an instance of the API class
|
||||||
|
api_instance = giteapython.AdminApi(giteapython.ApiClient(configuration))
|
||||||
|
username = 'username_example' # str | username of user to edit
|
||||||
|
body = giteapython.EditUserOption() # EditUserOption | (optional)
|
||||||
|
|
||||||
|
try:
|
||||||
|
# Edit an existing user
|
||||||
|
api_response = api_instance.admin_edit_user(username, body=body)
|
||||||
|
pprint(api_response)
|
||||||
|
except ApiException as e:
|
||||||
|
print("Exception when calling AdminApi->admin_edit_user: %s\n" % e)
|
||||||
|
```
|
||||||
|
|
||||||
|
### Parameters
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------- | ------------- | ------------- | -------------
|
||||||
|
**username** | **str**| username of user to edit |
|
||||||
|
**body** | [**EditUserOption**](EditUserOption.md)| | [optional]
|
||||||
|
|
||||||
|
### Return type
|
||||||
|
|
||||||
|
[**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**
|
||||||
|
> list[Organization] admin_get_all_orgs(page=page, limit=limit)
|
||||||
|
|
||||||
|
List all organizations
|
||||||
|
|
||||||
|
### Example
|
||||||
|
```python
|
||||||
|
from __future__ import print_function
|
||||||
|
import time
|
||||||
|
import giteapython
|
||||||
|
from giteapython.rest import ApiException
|
||||||
|
from pprint import pprint
|
||||||
|
|
||||||
|
# Configure API key authorization: AccessToken
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['access_token'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['access_token'] = 'Bearer'
|
||||||
|
# Configure API key authorization: AuthorizationHeaderToken
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['Authorization'] = 'Bearer'
|
||||||
|
# Configure HTTP basic authorization: BasicAuth
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.username = 'YOUR_USERNAME'
|
||||||
|
configuration.password = 'YOUR_PASSWORD'
|
||||||
|
# Configure API key authorization: SudoHeader
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['Sudo'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['Sudo'] = 'Bearer'
|
||||||
|
# Configure API key authorization: SudoParam
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['sudo'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['sudo'] = 'Bearer'
|
||||||
|
# Configure API key authorization: Token
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['token'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['token'] = 'Bearer'
|
||||||
|
|
||||||
|
# create an instance of the API class
|
||||||
|
api_instance = giteapython.AdminApi(giteapython.ApiClient(configuration))
|
||||||
|
page = 56 # int | page number of results to return (1-based) (optional)
|
||||||
|
limit = 56 # int | page size of results, maximum page size is 50 (optional)
|
||||||
|
|
||||||
|
try:
|
||||||
|
# List all organizations
|
||||||
|
api_response = api_instance.admin_get_all_orgs(page=page, limit=limit)
|
||||||
|
pprint(api_response)
|
||||||
|
except ApiException as e:
|
||||||
|
print("Exception when calling AdminApi->admin_get_all_orgs: %s\n" % e)
|
||||||
|
```
|
||||||
|
|
||||||
|
### Parameters
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------- | ------------- | ------------- | -------------
|
||||||
|
**page** | **int**| page number of results to return (1-based) | [optional]
|
||||||
|
**limit** | **int**| page size of results, maximum page size is 50 | [optional]
|
||||||
|
|
||||||
|
### Return type
|
||||||
|
|
||||||
|
[**list[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**
|
||||||
|
> list[User] admin_get_all_users(page=page, limit=limit)
|
||||||
|
|
||||||
|
List all users
|
||||||
|
|
||||||
|
### Example
|
||||||
|
```python
|
||||||
|
from __future__ import print_function
|
||||||
|
import time
|
||||||
|
import giteapython
|
||||||
|
from giteapython.rest import ApiException
|
||||||
|
from pprint import pprint
|
||||||
|
|
||||||
|
# Configure API key authorization: AccessToken
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['access_token'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['access_token'] = 'Bearer'
|
||||||
|
# Configure API key authorization: AuthorizationHeaderToken
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['Authorization'] = 'Bearer'
|
||||||
|
# Configure HTTP basic authorization: BasicAuth
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.username = 'YOUR_USERNAME'
|
||||||
|
configuration.password = 'YOUR_PASSWORD'
|
||||||
|
# Configure API key authorization: SudoHeader
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['Sudo'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['Sudo'] = 'Bearer'
|
||||||
|
# Configure API key authorization: SudoParam
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['sudo'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['sudo'] = 'Bearer'
|
||||||
|
# Configure API key authorization: Token
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['token'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['token'] = 'Bearer'
|
||||||
|
|
||||||
|
# create an instance of the API class
|
||||||
|
api_instance = giteapython.AdminApi(giteapython.ApiClient(configuration))
|
||||||
|
page = 56 # int | page number of results to return (1-based) (optional)
|
||||||
|
limit = 56 # int | page size of results, maximum page size is 50 (optional)
|
||||||
|
|
||||||
|
try:
|
||||||
|
# List all users
|
||||||
|
api_response = api_instance.admin_get_all_users(page=page, limit=limit)
|
||||||
|
pprint(api_response)
|
||||||
|
except ApiException as e:
|
||||||
|
print("Exception when calling AdminApi->admin_get_all_users: %s\n" % e)
|
||||||
|
```
|
||||||
|
|
||||||
|
### Parameters
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------- | ------------- | ------------- | -------------
|
||||||
|
**page** | **int**| page number of results to return (1-based) | [optional]
|
||||||
|
**limit** | **int**| page size of results, maximum page size is 50 | [optional]
|
||||||
|
|
||||||
|
### Return type
|
||||||
|
|
||||||
|
[**list[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)
|
||||||
|
|
16
docs/AnnotatedTag.md
Normal file
16
docs/AnnotatedTag.md
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
# AnnotatedTag
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**message** | **str** | | [optional]
|
||||||
|
**object** | [**AnnotatedTagObject**](AnnotatedTagObject.md) | | [optional]
|
||||||
|
**sha** | **str** | | [optional]
|
||||||
|
**tag** | **str** | | [optional]
|
||||||
|
**tagger** | [**CommitUser**](CommitUser.md) | | [optional]
|
||||||
|
**url** | **str** | | [optional]
|
||||||
|
**verification** | [**PayloadCommitVerification**](PayloadCommitVerification.md) | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
12
docs/AnnotatedTagObject.md
Normal file
12
docs/AnnotatedTagObject.md
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# AnnotatedTagObject
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**sha** | **str** | | [optional]
|
||||||
|
**type** | **str** | | [optional]
|
||||||
|
**url** | **str** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
16
docs/Attachment.md
Normal file
16
docs/Attachment.md
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
# Attachment
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**browser_download_url** | **str** | | [optional]
|
||||||
|
**created_at** | **datetime** | | [optional]
|
||||||
|
**download_count** | **int** | | [optional]
|
||||||
|
**id** | **int** | | [optional]
|
||||||
|
**name** | **str** | | [optional]
|
||||||
|
**size** | **int** | | [optional]
|
||||||
|
**uuid** | **str** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
18
docs/Branch.md
Normal file
18
docs/Branch.md
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# Branch
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**commit** | [**PayloadCommit**](PayloadCommit.md) | | [optional]
|
||||||
|
**effective_branch_protection_name** | **str** | | [optional]
|
||||||
|
**enable_status_check** | **bool** | | [optional]
|
||||||
|
**name** | **str** | | [optional]
|
||||||
|
**protected** | **bool** | | [optional]
|
||||||
|
**required_approvals** | **int** | | [optional]
|
||||||
|
**status_check_contexts** | **list[str]** | | [optional]
|
||||||
|
**user_can_merge** | **bool** | | [optional]
|
||||||
|
**user_can_push** | **bool** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
31
docs/BranchProtection.md
Normal file
31
docs/BranchProtection.md
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
# BranchProtection
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**approvals_whitelist_teams** | **list[str]** | | [optional]
|
||||||
|
**approvals_whitelist_username** | **list[str]** | | [optional]
|
||||||
|
**block_on_outdated_branch** | **bool** | | [optional]
|
||||||
|
**block_on_rejected_reviews** | **bool** | | [optional]
|
||||||
|
**branch_name** | **str** | | [optional]
|
||||||
|
**created_at** | **datetime** | | [optional]
|
||||||
|
**dismiss_stale_approvals** | **bool** | | [optional]
|
||||||
|
**enable_approvals_whitelist** | **bool** | | [optional]
|
||||||
|
**enable_merge_whitelist** | **bool** | | [optional]
|
||||||
|
**enable_push** | **bool** | | [optional]
|
||||||
|
**enable_push_whitelist** | **bool** | | [optional]
|
||||||
|
**enable_status_check** | **bool** | | [optional]
|
||||||
|
**merge_whitelist_teams** | **list[str]** | | [optional]
|
||||||
|
**merge_whitelist_usernames** | **list[str]** | | [optional]
|
||||||
|
**protected_file_patterns** | **str** | | [optional]
|
||||||
|
**push_whitelist_deploy_keys** | **bool** | | [optional]
|
||||||
|
**push_whitelist_teams** | **list[str]** | | [optional]
|
||||||
|
**push_whitelist_usernames** | **list[str]** | | [optional]
|
||||||
|
**require_signed_commits** | **bool** | | [optional]
|
||||||
|
**required_approvals** | **int** | | [optional]
|
||||||
|
**status_check_contexts** | **list[str]** | | [optional]
|
||||||
|
**updated_at** | **datetime** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
19
docs/Comment.md
Normal file
19
docs/Comment.md
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
# Comment
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**body** | **str** | | [optional]
|
||||||
|
**created_at** | **datetime** | | [optional]
|
||||||
|
**html_url** | **str** | | [optional]
|
||||||
|
**id** | **int** | | [optional]
|
||||||
|
**issue_url** | **str** | | [optional]
|
||||||
|
**original_author** | **str** | | [optional]
|
||||||
|
**original_author_id** | **int** | | [optional]
|
||||||
|
**pull_request_url** | **str** | | [optional]
|
||||||
|
**updated_at** | **datetime** | | [optional]
|
||||||
|
**user** | [**User**](User.md) | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
16
docs/Commit.md
Normal file
16
docs/Commit.md
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
# Commit
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**author** | [**User**](User.md) | | [optional]
|
||||||
|
**commit** | [**RepoCommit**](RepoCommit.md) | | [optional]
|
||||||
|
**committer** | [**User**](User.md) | | [optional]
|
||||||
|
**html_url** | **str** | | [optional]
|
||||||
|
**parents** | [**list[CommitMeta]**](CommitMeta.md) | | [optional]
|
||||||
|
**sha** | **str** | | [optional]
|
||||||
|
**url** | **str** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
11
docs/CommitDateOptions.md
Normal file
11
docs/CommitDateOptions.md
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# CommitDateOptions
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**author** | **datetime** | | [optional]
|
||||||
|
**committer** | **datetime** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
11
docs/CommitMeta.md
Normal file
11
docs/CommitMeta.md
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# CommitMeta
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**sha** | **str** | | [optional]
|
||||||
|
**url** | **str** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
12
docs/CommitUser.md
Normal file
12
docs/CommitUser.md
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# CommitUser
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**_date** | **str** | | [optional]
|
||||||
|
**email** | **str** | | [optional]
|
||||||
|
**name** | **str** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
23
docs/ContentsResponse.md
Normal file
23
docs/ContentsResponse.md
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
# ContentsResponse
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**links** | [**FileLinksResponse**](FileLinksResponse.md) | | [optional]
|
||||||
|
**content** | **str** | `content` is populated when `type` is `file`, otherwise null | [optional]
|
||||||
|
**download_url** | **str** | | [optional]
|
||||||
|
**encoding** | **str** | `encoding` is populated when `type` is `file`, otherwise null | [optional]
|
||||||
|
**git_url** | **str** | | [optional]
|
||||||
|
**html_url** | **str** | | [optional]
|
||||||
|
**name** | **str** | | [optional]
|
||||||
|
**path** | **str** | | [optional]
|
||||||
|
**sha** | **str** | | [optional]
|
||||||
|
**size** | **int** | | [optional]
|
||||||
|
**submodule_git_url** | **str** | `submodule_git_url` is populated when `type` is `submodule`, otherwise null | [optional]
|
||||||
|
**target** | **str** | `target` is populated when `type` is `symlink`, otherwise null | [optional]
|
||||||
|
**type** | **str** | `type` will be `file`, `dir`, `symlink`, or `submodule` | [optional]
|
||||||
|
**url** | **str** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
29
docs/CreateBranchProtectionOption.md
Normal file
29
docs/CreateBranchProtectionOption.md
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
# CreateBranchProtectionOption
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**approvals_whitelist_teams** | **list[str]** | | [optional]
|
||||||
|
**approvals_whitelist_username** | **list[str]** | | [optional]
|
||||||
|
**block_on_outdated_branch** | **bool** | | [optional]
|
||||||
|
**block_on_rejected_reviews** | **bool** | | [optional]
|
||||||
|
**branch_name** | **str** | | [optional]
|
||||||
|
**dismiss_stale_approvals** | **bool** | | [optional]
|
||||||
|
**enable_approvals_whitelist** | **bool** | | [optional]
|
||||||
|
**enable_merge_whitelist** | **bool** | | [optional]
|
||||||
|
**enable_push** | **bool** | | [optional]
|
||||||
|
**enable_push_whitelist** | **bool** | | [optional]
|
||||||
|
**enable_status_check** | **bool** | | [optional]
|
||||||
|
**merge_whitelist_teams** | **list[str]** | | [optional]
|
||||||
|
**merge_whitelist_usernames** | **list[str]** | | [optional]
|
||||||
|
**protected_file_patterns** | **str** | | [optional]
|
||||||
|
**push_whitelist_deploy_keys** | **bool** | | [optional]
|
||||||
|
**push_whitelist_teams** | **list[str]** | | [optional]
|
||||||
|
**push_whitelist_usernames** | **list[str]** | | [optional]
|
||||||
|
**require_signed_commits** | **bool** | | [optional]
|
||||||
|
**required_approvals** | **int** | | [optional]
|
||||||
|
**status_check_contexts** | **list[str]** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
10
docs/CreateEmailOption.md
Normal file
10
docs/CreateEmailOption.md
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# CreateEmailOption
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**emails** | **list[str]** | email addresses to add | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
16
docs/CreateFileOptions.md
Normal file
16
docs/CreateFileOptions.md
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
# CreateFileOptions
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**author** | [**Identity**](Identity.md) | | [optional]
|
||||||
|
**branch** | **str** | branch (optional) to base this file from. if not given, the default branch is used | [optional]
|
||||||
|
**committer** | [**Identity**](Identity.md) | | [optional]
|
||||||
|
**content** | **str** | content must be base64 encoded |
|
||||||
|
**dates** | [**CommitDateOptions**](CommitDateOptions.md) | | [optional]
|
||||||
|
**message** | **str** | message (optional) for the commit of this file. if not supplied, a default message will be used | [optional]
|
||||||
|
**new_branch** | **str** | new_branch (optional) will make a new branch from `branch` before creating the file | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
10
docs/CreateForkOption.md
Normal file
10
docs/CreateForkOption.md
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# CreateForkOption
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**organization** | **str** | organization name, if forking into an organization | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
10
docs/CreateGPGKeyOption.md
Normal file
10
docs/CreateGPGKeyOption.md
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# CreateGPGKeyOption
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**armored_public_key** | **str** | An armored GPG key to add |
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
14
docs/CreateHookOption.md
Normal file
14
docs/CreateHookOption.md
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
# CreateHookOption
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**active** | **bool** | | [optional] [default to False]
|
||||||
|
**branch_filter** | **str** | | [optional]
|
||||||
|
**config** | [**CreateHookOptionConfig**](CreateHookOptionConfig.md) | |
|
||||||
|
**events** | **list[str]** | | [optional]
|
||||||
|
**type** | **str** | |
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
9
docs/CreateHookOptionConfig.md
Normal file
9
docs/CreateHookOptionConfig.md
Normal file
@ -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)
|
||||||
|
|
||||||
|
|
10
docs/CreateIssueCommentOption.md
Normal file
10
docs/CreateIssueCommentOption.md
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# CreateIssueCommentOption
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**body** | **str** | |
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
17
docs/CreateIssueOption.md
Normal file
17
docs/CreateIssueOption.md
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
# CreateIssueOption
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**assignee** | **str** | username of assignee | [optional]
|
||||||
|
**assignees** | **list[str]** | | [optional]
|
||||||
|
**body** | **str** | | [optional]
|
||||||
|
**closed** | **bool** | | [optional]
|
||||||
|
**due_date** | **datetime** | | [optional]
|
||||||
|
**labels** | **list[int]** | list of label ids | [optional]
|
||||||
|
**milestone** | **int** | milestone id | [optional]
|
||||||
|
**title** | **str** | |
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
12
docs/CreateKeyOption.md
Normal file
12
docs/CreateKeyOption.md
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# CreateKeyOption
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**key** | **str** | An armored SSH key to add |
|
||||||
|
**read_only** | **bool** | Describe if the key has only read access or read/write | [optional]
|
||||||
|
**title** | **str** | Title of the key to add |
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
12
docs/CreateLabelOption.md
Normal file
12
docs/CreateLabelOption.md
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# CreateLabelOption
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**color** | **str** | |
|
||||||
|
**description** | **str** | | [optional]
|
||||||
|
**name** | **str** | |
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
12
docs/CreateMilestoneOption.md
Normal file
12
docs/CreateMilestoneOption.md
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# CreateMilestoneOption
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**description** | **str** | | [optional]
|
||||||
|
**due_on** | **datetime** | | [optional]
|
||||||
|
**title** | **str** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
11
docs/CreateOAuth2ApplicationOptions.md
Normal file
11
docs/CreateOAuth2ApplicationOptions.md
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# CreateOAuth2ApplicationOptions
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**name** | **str** | | [optional]
|
||||||
|
**redirect_uris** | **list[str]** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
16
docs/CreateOrgOption.md
Normal file
16
docs/CreateOrgOption.md
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
# CreateOrgOption
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**description** | **str** | | [optional]
|
||||||
|
**full_name** | **str** | | [optional]
|
||||||
|
**location** | **str** | | [optional]
|
||||||
|
**repo_admin_change_team_access** | **bool** | | [optional]
|
||||||
|
**username** | **str** | |
|
||||||
|
**visibility** | **str** | possible values are `public` (default), `limited` or `private` | [optional]
|
||||||
|
**website** | **str** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
18
docs/CreatePullRequestOption.md
Normal file
18
docs/CreatePullRequestOption.md
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# CreatePullRequestOption
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**assignee** | **str** | | [optional]
|
||||||
|
**assignees** | **list[str]** | | [optional]
|
||||||
|
**base** | **str** | | [optional]
|
||||||
|
**body** | **str** | | [optional]
|
||||||
|
**due_date** | **datetime** | | [optional]
|
||||||
|
**head** | **str** | | [optional]
|
||||||
|
**labels** | **list[int]** | | [optional]
|
||||||
|
**milestone** | **int** | | [optional]
|
||||||
|
**title** | **str** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
13
docs/CreatePullReviewComment.md
Normal file
13
docs/CreatePullReviewComment.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# CreatePullReviewComment
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**body** | **str** | | [optional]
|
||||||
|
**new_position** | **int** | if comment to new file line or 0 | [optional]
|
||||||
|
**old_position** | **int** | if comment to old file line or 0 | [optional]
|
||||||
|
**path** | **str** | the tree path | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
13
docs/CreatePullReviewOptions.md
Normal file
13
docs/CreatePullReviewOptions.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# CreatePullReviewOptions
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**body** | **str** | | [optional]
|
||||||
|
**comments** | [**list[CreatePullReviewComment]**](CreatePullReviewComment.md) | | [optional]
|
||||||
|
**commit_id** | **str** | | [optional]
|
||||||
|
**event** | [**ReviewStateType**](ReviewStateType.md) | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
15
docs/CreateReleaseOption.md
Normal file
15
docs/CreateReleaseOption.md
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
# CreateReleaseOption
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**body** | **str** | | [optional]
|
||||||
|
**draft** | **bool** | | [optional]
|
||||||
|
**name** | **str** | | [optional]
|
||||||
|
**prerelease** | **bool** | | [optional]
|
||||||
|
**tag_name** | **str** | |
|
||||||
|
**target_commitish** | **str** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
18
docs/CreateRepoOption.md
Normal file
18
docs/CreateRepoOption.md
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# CreateRepoOption
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**auto_init** | **bool** | Whether the repository should be auto-intialized? | [optional]
|
||||||
|
**default_branch** | **str** | DefaultBranch of the repository (used when initializes and in template) | [optional]
|
||||||
|
**description** | **str** | Description of the repository to create | [optional]
|
||||||
|
**gitignores** | **str** | Gitignores to use | [optional]
|
||||||
|
**issue_labels** | **str** | Issue Label set to use | [optional]
|
||||||
|
**license** | **str** | License to use | [optional]
|
||||||
|
**name** | **str** | Name of the repository to create |
|
||||||
|
**private** | **bool** | Whether the repository is private | [optional]
|
||||||
|
**readme** | **str** | Readme of the repository to create | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
13
docs/CreateStatusOption.md
Normal file
13
docs/CreateStatusOption.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# CreateStatusOption
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**context** | **str** | | [optional]
|
||||||
|
**description** | **str** | | [optional]
|
||||||
|
**state** | [**StatusState**](StatusState.md) | | [optional]
|
||||||
|
**target_url** | **str** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
15
docs/CreateTeamOption.md
Normal file
15
docs/CreateTeamOption.md
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
# CreateTeamOption
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**can_create_org_repo** | **bool** | | [optional]
|
||||||
|
**description** | **str** | | [optional]
|
||||||
|
**includes_all_repositories** | **bool** | | [optional]
|
||||||
|
**name** | **str** | |
|
||||||
|
**permission** | **str** | | [optional]
|
||||||
|
**units** | **list[str]** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
17
docs/CreateUserOption.md
Normal file
17
docs/CreateUserOption.md
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
# CreateUserOption
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**email** | **str** | |
|
||||||
|
**full_name** | **str** | | [optional]
|
||||||
|
**login_name** | **str** | | [optional]
|
||||||
|
**must_change_password** | **bool** | | [optional]
|
||||||
|
**password** | **str** | |
|
||||||
|
**send_notify** | **bool** | | [optional]
|
||||||
|
**source_id** | **int** | | [optional]
|
||||||
|
**username** | **str** | |
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
10
docs/DeleteEmailOption.md
Normal file
10
docs/DeleteEmailOption.md
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# DeleteEmailOption
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**emails** | **list[str]** | email addresses to delete | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
16
docs/DeleteFileOptions.md
Normal file
16
docs/DeleteFileOptions.md
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
# DeleteFileOptions
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**author** | [**Identity**](Identity.md) | | [optional]
|
||||||
|
**branch** | **str** | branch (optional) to base this file from. if not given, the default branch is used | [optional]
|
||||||
|
**committer** | [**Identity**](Identity.md) | | [optional]
|
||||||
|
**dates** | [**CommitDateOptions**](CommitDateOptions.md) | | [optional]
|
||||||
|
**message** | **str** | message (optional) for the commit of this file. if not supplied, a default message will be used | [optional]
|
||||||
|
**new_branch** | **str** | new_branch (optional) will make a new branch from `branch` before creating the file | [optional]
|
||||||
|
**sha** | **str** | sha is the SHA for the file that already exists |
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
18
docs/DeployKey.md
Normal file
18
docs/DeployKey.md
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# DeployKey
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**created_at** | **datetime** | | [optional]
|
||||||
|
**fingerprint** | **str** | | [optional]
|
||||||
|
**id** | **int** | | [optional]
|
||||||
|
**key** | **str** | | [optional]
|
||||||
|
**key_id** | **int** | | [optional]
|
||||||
|
**read_only** | **bool** | | [optional]
|
||||||
|
**repository** | [**Repository**](Repository.md) | | [optional]
|
||||||
|
**title** | **str** | | [optional]
|
||||||
|
**url** | **str** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
10
docs/EditAttachmentOptions.md
Normal file
10
docs/EditAttachmentOptions.md
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# EditAttachmentOptions
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**name** | **str** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
28
docs/EditBranchProtectionOption.md
Normal file
28
docs/EditBranchProtectionOption.md
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
# EditBranchProtectionOption
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**approvals_whitelist_teams** | **list[str]** | | [optional]
|
||||||
|
**approvals_whitelist_username** | **list[str]** | | [optional]
|
||||||
|
**block_on_outdated_branch** | **bool** | | [optional]
|
||||||
|
**block_on_rejected_reviews** | **bool** | | [optional]
|
||||||
|
**dismiss_stale_approvals** | **bool** | | [optional]
|
||||||
|
**enable_approvals_whitelist** | **bool** | | [optional]
|
||||||
|
**enable_merge_whitelist** | **bool** | | [optional]
|
||||||
|
**enable_push** | **bool** | | [optional]
|
||||||
|
**enable_push_whitelist** | **bool** | | [optional]
|
||||||
|
**enable_status_check** | **bool** | | [optional]
|
||||||
|
**merge_whitelist_teams** | **list[str]** | | [optional]
|
||||||
|
**merge_whitelist_usernames** | **list[str]** | | [optional]
|
||||||
|
**protected_file_patterns** | **str** | | [optional]
|
||||||
|
**push_whitelist_deploy_keys** | **bool** | | [optional]
|
||||||
|
**push_whitelist_teams** | **list[str]** | | [optional]
|
||||||
|
**push_whitelist_usernames** | **list[str]** | | [optional]
|
||||||
|
**require_signed_commits** | **bool** | | [optional]
|
||||||
|
**required_approvals** | **int** | | [optional]
|
||||||
|
**status_check_contexts** | **list[str]** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
10
docs/EditDeadlineOption.md
Normal file
10
docs/EditDeadlineOption.md
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# EditDeadlineOption
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**due_date** | **datetime** | |
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
10
docs/EditGitHookOption.md
Normal file
10
docs/EditGitHookOption.md
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# EditGitHookOption
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**content** | **str** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
13
docs/EditHookOption.md
Normal file
13
docs/EditHookOption.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# EditHookOption
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**active** | **bool** | | [optional]
|
||||||
|
**branch_filter** | **str** | | [optional]
|
||||||
|
**config** | **dict(str, str)** | | [optional]
|
||||||
|
**events** | **list[str]** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
10
docs/EditIssueCommentOption.md
Normal file
10
docs/EditIssueCommentOption.md
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# EditIssueCommentOption
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**body** | **str** | |
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
17
docs/EditIssueOption.md
Normal file
17
docs/EditIssueOption.md
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
# EditIssueOption
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**assignee** | **str** | | [optional]
|
||||||
|
**assignees** | **list[str]** | | [optional]
|
||||||
|
**body** | **str** | | [optional]
|
||||||
|
**due_date** | **datetime** | | [optional]
|
||||||
|
**milestone** | **int** | | [optional]
|
||||||
|
**state** | **str** | | [optional]
|
||||||
|
**title** | **str** | | [optional]
|
||||||
|
**unset_due_date** | **bool** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
12
docs/EditLabelOption.md
Normal file
12
docs/EditLabelOption.md
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# EditLabelOption
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**color** | **str** | | [optional]
|
||||||
|
**description** | **str** | | [optional]
|
||||||
|
**name** | **str** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
13
docs/EditMilestoneOption.md
Normal file
13
docs/EditMilestoneOption.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# EditMilestoneOption
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**description** | **str** | | [optional]
|
||||||
|
**due_on** | **datetime** | | [optional]
|
||||||
|
**state** | **str** | | [optional]
|
||||||
|
**title** | **str** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
15
docs/EditOrgOption.md
Normal file
15
docs/EditOrgOption.md
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
# EditOrgOption
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**description** | **str** | | [optional]
|
||||||
|
**full_name** | **str** | | [optional]
|
||||||
|
**location** | **str** | | [optional]
|
||||||
|
**repo_admin_change_team_access** | **bool** | | [optional]
|
||||||
|
**visibility** | **str** | possible values are `public`, `limited` or `private` | [optional]
|
||||||
|
**website** | **str** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
19
docs/EditPullRequestOption.md
Normal file
19
docs/EditPullRequestOption.md
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
# EditPullRequestOption
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**assignee** | **str** | | [optional]
|
||||||
|
**assignees** | **list[str]** | | [optional]
|
||||||
|
**base** | **str** | | [optional]
|
||||||
|
**body** | **str** | | [optional]
|
||||||
|
**due_date** | **datetime** | | [optional]
|
||||||
|
**labels** | **list[int]** | | [optional]
|
||||||
|
**milestone** | **int** | | [optional]
|
||||||
|
**state** | **str** | | [optional]
|
||||||
|
**title** | **str** | | [optional]
|
||||||
|
**unset_due_date** | **bool** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
10
docs/EditReactionOption.md
Normal file
10
docs/EditReactionOption.md
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# EditReactionOption
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**content** | **str** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
15
docs/EditReleaseOption.md
Normal file
15
docs/EditReleaseOption.md
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
# EditReleaseOption
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**body** | **str** | | [optional]
|
||||||
|
**draft** | **bool** | | [optional]
|
||||||
|
**name** | **str** | | [optional]
|
||||||
|
**prerelease** | **bool** | | [optional]
|
||||||
|
**tag_name** | **str** | | [optional]
|
||||||
|
**target_commitish** | **str** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
27
docs/EditRepoOption.md
Normal file
27
docs/EditRepoOption.md
Normal file
@ -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]
|
||||||
|
**allow_rebase** | **bool** | either `true` to allow rebase-merging pull requests, or `false` to prevent rebase-merging. `has_pull_requests` must be `true`. | [optional]
|
||||||
|
**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]
|
||||||
|
**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]
|
||||||
|
**archived** | **bool** | set to `true` to archive this repository. | [optional]
|
||||||
|
**default_branch** | **str** | sets the default branch for this repository. | [optional]
|
||||||
|
**description** | **str** | a short description of the repository. | [optional]
|
||||||
|
**external_tracker** | [**ExternalTracker**](ExternalTracker.md) | | [optional]
|
||||||
|
**external_wiki** | [**ExternalWiki**](ExternalWiki.md) | | [optional]
|
||||||
|
**has_issues** | **bool** | either `true` to enable issues for this repository or `false` to disable them. | [optional]
|
||||||
|
**has_pull_requests** | **bool** | either `true` to allow pull requests, or `false` to prevent pull request. | [optional]
|
||||||
|
**has_wiki** | **bool** | either `true` to enable the wiki for this repository or `false` to disable it. | [optional]
|
||||||
|
**ignore_whitespace_conflicts** | **bool** | either `true` to ignore whitespace for conflicts, or `false` to not ignore whitespace. `has_pull_requests` must be `true`. | [optional]
|
||||||
|
**internal_tracker** | [**InternalTracker**](InternalTracker.md) | | [optional]
|
||||||
|
**name** | **str** | name of the repository | [optional]
|
||||||
|
**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]
|
||||||
|
**template** | **bool** | either `true` to make this repository a template or `false` to make it a normal repository | [optional]
|
||||||
|
**website** | **str** | a URL with more information about the repository. | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
15
docs/EditTeamOption.md
Normal file
15
docs/EditTeamOption.md
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
# EditTeamOption
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**can_create_org_repo** | **bool** | | [optional]
|
||||||
|
**description** | **str** | | [optional]
|
||||||
|
**includes_all_repositories** | **bool** | | [optional]
|
||||||
|
**name** | **str** | |
|
||||||
|
**permission** | **str** | | [optional]
|
||||||
|
**units** | **list[str]** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
24
docs/EditUserOption.md
Normal file
24
docs/EditUserOption.md
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
# EditUserOption
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**active** | **bool** | | [optional]
|
||||||
|
**admin** | **bool** | | [optional]
|
||||||
|
**allow_create_organization** | **bool** | | [optional]
|
||||||
|
**allow_git_hook** | **bool** | | [optional]
|
||||||
|
**allow_import_local** | **bool** | | [optional]
|
||||||
|
**email** | **str** | |
|
||||||
|
**full_name** | **str** | | [optional]
|
||||||
|
**location** | **str** | | [optional]
|
||||||
|
**login_name** | **str** | | [optional]
|
||||||
|
**max_repo_creation** | **int** | | [optional]
|
||||||
|
**must_change_password** | **bool** | | [optional]
|
||||||
|
**password** | **str** | | [optional]
|
||||||
|
**prohibit_login** | **bool** | | [optional]
|
||||||
|
**source_id** | **int** | | [optional]
|
||||||
|
**website** | **str** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
12
docs/Email.md
Normal file
12
docs/Email.md
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# Email
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**email** | **str** | | [optional]
|
||||||
|
**primary** | **bool** | | [optional]
|
||||||
|
**verified** | **bool** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
12
docs/ExternalTracker.md
Normal file
12
docs/ExternalTracker.md
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# ExternalTracker
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**external_tracker_format** | **str** | External Issue Tracker URL Format. Use the placeholders {user}, {repo} and {index} for the username, repository name and issue index. | [optional]
|
||||||
|
**external_tracker_style** | **str** | External Issue Tracker Number Format, either `numeric` or `alphanumeric` | [optional]
|
||||||
|
**external_tracker_url** | **str** | URL of external issue tracker. | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
10
docs/ExternalWiki.md
Normal file
10
docs/ExternalWiki.md
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# ExternalWiki
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**external_wiki_url** | **str** | URL of external wiki. | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
17
docs/FileCommitResponse.md
Normal file
17
docs/FileCommitResponse.md
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
# FileCommitResponse
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**author** | [**CommitUser**](CommitUser.md) | | [optional]
|
||||||
|
**committer** | [**CommitUser**](CommitUser.md) | | [optional]
|
||||||
|
**html_url** | **str** | | [optional]
|
||||||
|
**message** | **str** | | [optional]
|
||||||
|
**parents** | [**list[CommitMeta]**](CommitMeta.md) | | [optional]
|
||||||
|
**sha** | **str** | | [optional]
|
||||||
|
**tree** | [**CommitMeta**](CommitMeta.md) | | [optional]
|
||||||
|
**url** | **str** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
12
docs/FileDeleteResponse.md
Normal file
12
docs/FileDeleteResponse.md
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# FileDeleteResponse
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**commit** | [**FileCommitResponse**](FileCommitResponse.md) | | [optional]
|
||||||
|
**content** | **object** | | [optional]
|
||||||
|
**verification** | [**PayloadCommitVerification**](PayloadCommitVerification.md) | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
12
docs/FileLinksResponse.md
Normal file
12
docs/FileLinksResponse.md
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# FileLinksResponse
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**git** | **str** | | [optional]
|
||||||
|
**html** | **str** | | [optional]
|
||||||
|
**_self** | **str** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
12
docs/FileResponse.md
Normal file
12
docs/FileResponse.md
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# FileResponse
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**commit** | [**FileCommitResponse**](FileCommitResponse.md) | | [optional]
|
||||||
|
**content** | [**ContentsResponse**](ContentsResponse.md) | | [optional]
|
||||||
|
**verification** | [**PayloadCommitVerification**](PayloadCommitVerification.md) | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
21
docs/GPGKey.md
Normal file
21
docs/GPGKey.md
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
# GPGKey
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**can_certify** | **bool** | | [optional]
|
||||||
|
**can_encrypt_comms** | **bool** | | [optional]
|
||||||
|
**can_encrypt_storage** | **bool** | | [optional]
|
||||||
|
**can_sign** | **bool** | | [optional]
|
||||||
|
**created_at** | **datetime** | | [optional]
|
||||||
|
**emails** | [**list[GPGKeyEmail]**](GPGKeyEmail.md) | | [optional]
|
||||||
|
**expires_at** | **datetime** | | [optional]
|
||||||
|
**id** | **int** | | [optional]
|
||||||
|
**key_id** | **str** | | [optional]
|
||||||
|
**primary_key_id** | **str** | | [optional]
|
||||||
|
**public_key** | **str** | | [optional]
|
||||||
|
**subkeys** | [**list[GPGKey]**](GPGKey.md) | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
11
docs/GPGKeyEmail.md
Normal file
11
docs/GPGKeyEmail.md
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# GPGKeyEmail
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**email** | **str** | | [optional]
|
||||||
|
**verified** | **bool** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
14
docs/GitBlobResponse.md
Normal file
14
docs/GitBlobResponse.md
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
# GitBlobResponse
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**content** | **str** | | [optional]
|
||||||
|
**encoding** | **str** | | [optional]
|
||||||
|
**sha** | **str** | | [optional]
|
||||||
|
**size** | **int** | | [optional]
|
||||||
|
**url** | **str** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
15
docs/GitEntry.md
Normal file
15
docs/GitEntry.md
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
# GitEntry
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**mode** | **str** | | [optional]
|
||||||
|
**path** | **str** | | [optional]
|
||||||
|
**sha** | **str** | | [optional]
|
||||||
|
**size** | **int** | | [optional]
|
||||||
|
**type** | **str** | | [optional]
|
||||||
|
**url** | **str** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
12
docs/GitHook.md
Normal file
12
docs/GitHook.md
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# GitHook
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**content** | **str** | | [optional]
|
||||||
|
**is_active** | **bool** | | [optional]
|
||||||
|
**name** | **str** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
12
docs/GitObject.md
Normal file
12
docs/GitObject.md
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# GitObject
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**sha** | **str** | | [optional]
|
||||||
|
**type** | **str** | | [optional]
|
||||||
|
**url** | **str** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
15
docs/GitTreeResponse.md
Normal file
15
docs/GitTreeResponse.md
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
# GitTreeResponse
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**page** | **int** | | [optional]
|
||||||
|
**sha** | **str** | | [optional]
|
||||||
|
**total_count** | **int** | | [optional]
|
||||||
|
**tree** | [**list[GitEntry]**](GitEntry.md) | | [optional]
|
||||||
|
**truncated** | **bool** | | [optional]
|
||||||
|
**url** | **str** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
16
docs/Hook.md
Normal file
16
docs/Hook.md
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
# Hook
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**active** | **bool** | | [optional]
|
||||||
|
**config** | **dict(str, str)** | | [optional]
|
||||||
|
**created_at** | **datetime** | | [optional]
|
||||||
|
**events** | **list[str]** | | [optional]
|
||||||
|
**id** | **int** | | [optional]
|
||||||
|
**type** | **str** | | [optional]
|
||||||
|
**updated_at** | **datetime** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
11
docs/Identity.md
Normal file
11
docs/Identity.md
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# Identity
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**email** | **str** | | [optional]
|
||||||
|
**name** | **str** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
11
docs/InlineResponse200.md
Normal file
11
docs/InlineResponse200.md
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# InlineResponse200
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**data** | [**list[Team]**](Team.md) | | [optional]
|
||||||
|
**ok** | **bool** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
11
docs/InlineResponse2001.md
Normal file
11
docs/InlineResponse2001.md
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# InlineResponse2001
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**data** | [**list[User]**](User.md) | | [optional]
|
||||||
|
**ok** | **bool** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
12
docs/InternalTracker.md
Normal file
12
docs/InternalTracker.md
Normal file
@ -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]
|
||||||
|
**enable_issue_dependencies** | **bool** | Enable dependencies for issues and pull requests (Built-in issue tracker) | [optional]
|
||||||
|
**enable_time_tracker** | **bool** | Enable time tracking (Built-in issue tracker) | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
30
docs/Issue.md
Normal file
30
docs/Issue.md
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
# Issue
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**assignee** | [**User**](User.md) | | [optional]
|
||||||
|
**assignees** | [**list[User]**](User.md) | | [optional]
|
||||||
|
**body** | **str** | | [optional]
|
||||||
|
**closed_at** | **datetime** | | [optional]
|
||||||
|
**comments** | **int** | | [optional]
|
||||||
|
**created_at** | **datetime** | | [optional]
|
||||||
|
**due_date** | **datetime** | | [optional]
|
||||||
|
**html_url** | **str** | | [optional]
|
||||||
|
**id** | **int** | | [optional]
|
||||||
|
**labels** | [**list[Label]**](Label.md) | | [optional]
|
||||||
|
**milestone** | [**Milestone**](Milestone.md) | | [optional]
|
||||||
|
**number** | **int** | | [optional]
|
||||||
|
**original_author** | **str** | | [optional]
|
||||||
|
**original_author_id** | **int** | | [optional]
|
||||||
|
**pull_request** | [**PullRequestMeta**](PullRequestMeta.md) | | [optional]
|
||||||
|
**repository** | [**RepositoryMeta**](RepositoryMeta.md) | | [optional]
|
||||||
|
**state** | [**StateType**](StateType.md) | | [optional]
|
||||||
|
**title** | **str** | | [optional]
|
||||||
|
**updated_at** | **datetime** | | [optional]
|
||||||
|
**url** | **str** | | [optional]
|
||||||
|
**user** | [**User**](User.md) | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
3809
docs/IssueApi.md
Normal file
3809
docs/IssueApi.md
Normal file
File diff suppressed because it is too large
Load Diff
10
docs/IssueDeadline.md
Normal file
10
docs/IssueDeadline.md
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# IssueDeadline
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**due_date** | **datetime** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
10
docs/IssueLabelsOption.md
Normal file
10
docs/IssueLabelsOption.md
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# IssueLabelsOption
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**labels** | **list[int]** | list of label IDs | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
14
docs/Label.md
Normal file
14
docs/Label.md
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
# Label
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**color** | **str** | | [optional]
|
||||||
|
**description** | **str** | | [optional]
|
||||||
|
**id** | **int** | | [optional]
|
||||||
|
**name** | **str** | | [optional]
|
||||||
|
**url** | **str** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
13
docs/MarkdownOption.md
Normal file
13
docs/MarkdownOption.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# MarkdownOption
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**context** | **str** | Context to render in: body | [optional]
|
||||||
|
**mode** | **str** | Mode to render in: body | [optional]
|
||||||
|
**text** | **str** | Text markdown to render in: body | [optional]
|
||||||
|
**wiki** | **bool** | Is it a wiki page ? in: body | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
13
docs/MergePullRequestOption.md
Normal file
13
docs/MergePullRequestOption.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# MergePullRequestOption
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**do** | **str** | |
|
||||||
|
**merge_message_field** | **str** | | [optional]
|
||||||
|
**merge_title_field** | **str** | | [optional]
|
||||||
|
**force_merge** | **bool** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
23
docs/MigrateRepoForm.md
Normal file
23
docs/MigrateRepoForm.md
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
# MigrateRepoForm
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**auth_password** | **str** | | [optional]
|
||||||
|
**auth_username** | **str** | | [optional]
|
||||||
|
**clone_addr** | **str** | |
|
||||||
|
**description** | **str** | | [optional]
|
||||||
|
**issues** | **bool** | | [optional]
|
||||||
|
**labels** | **bool** | | [optional]
|
||||||
|
**milestones** | **bool** | | [optional]
|
||||||
|
**mirror** | **bool** | | [optional]
|
||||||
|
**private** | **bool** | | [optional]
|
||||||
|
**pull_requests** | **bool** | | [optional]
|
||||||
|
**releases** | **bool** | | [optional]
|
||||||
|
**repo_name** | **str** | |
|
||||||
|
**uid** | **int** | |
|
||||||
|
**wiki** | **bool** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
17
docs/Milestone.md
Normal file
17
docs/Milestone.md
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
# Milestone
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**closed_at** | **datetime** | | [optional]
|
||||||
|
**closed_issues** | **int** | | [optional]
|
||||||
|
**description** | **str** | | [optional]
|
||||||
|
**due_on** | **datetime** | | [optional]
|
||||||
|
**id** | **int** | | [optional]
|
||||||
|
**open_issues** | **int** | | [optional]
|
||||||
|
**state** | [**StateType**](StateType.md) | | [optional]
|
||||||
|
**title** | **str** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
308
docs/MiscellaneousApi.md
Normal file
308
docs/MiscellaneousApi.md
Normal file
@ -0,0 +1,308 @@
|
|||||||
|
# giteapython.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**
|
||||||
|
> str get_signing_key()
|
||||||
|
|
||||||
|
Get default signing-key.gpg
|
||||||
|
|
||||||
|
### Example
|
||||||
|
```python
|
||||||
|
from __future__ import print_function
|
||||||
|
import time
|
||||||
|
import giteapython
|
||||||
|
from giteapython.rest import ApiException
|
||||||
|
from pprint import pprint
|
||||||
|
|
||||||
|
# Configure API key authorization: AccessToken
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['access_token'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['access_token'] = 'Bearer'
|
||||||
|
# Configure API key authorization: AuthorizationHeaderToken
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['Authorization'] = 'Bearer'
|
||||||
|
# Configure HTTP basic authorization: BasicAuth
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.username = 'YOUR_USERNAME'
|
||||||
|
configuration.password = 'YOUR_PASSWORD'
|
||||||
|
# Configure API key authorization: SudoHeader
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['Sudo'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['Sudo'] = 'Bearer'
|
||||||
|
# Configure API key authorization: SudoParam
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['sudo'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['sudo'] = 'Bearer'
|
||||||
|
# Configure API key authorization: Token
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['token'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['token'] = 'Bearer'
|
||||||
|
|
||||||
|
# create an instance of the API class
|
||||||
|
api_instance = giteapython.MiscellaneousApi(giteapython.ApiClient(configuration))
|
||||||
|
|
||||||
|
try:
|
||||||
|
# Get default signing-key.gpg
|
||||||
|
api_response = api_instance.get_signing_key()
|
||||||
|
pprint(api_response)
|
||||||
|
except ApiException as e:
|
||||||
|
print("Exception when calling MiscellaneousApi->get_signing_key: %s\n" % e)
|
||||||
|
```
|
||||||
|
|
||||||
|
### Parameters
|
||||||
|
This endpoint does not need any parameter.
|
||||||
|
|
||||||
|
### Return type
|
||||||
|
|
||||||
|
**str**
|
||||||
|
|
||||||
|
### 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**
|
||||||
|
> ServerVersion get_version()
|
||||||
|
|
||||||
|
Returns the version of the Gitea application
|
||||||
|
|
||||||
|
### Example
|
||||||
|
```python
|
||||||
|
from __future__ import print_function
|
||||||
|
import time
|
||||||
|
import giteapython
|
||||||
|
from giteapython.rest import ApiException
|
||||||
|
from pprint import pprint
|
||||||
|
|
||||||
|
# Configure API key authorization: AccessToken
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['access_token'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['access_token'] = 'Bearer'
|
||||||
|
# Configure API key authorization: AuthorizationHeaderToken
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['Authorization'] = 'Bearer'
|
||||||
|
# Configure HTTP basic authorization: BasicAuth
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.username = 'YOUR_USERNAME'
|
||||||
|
configuration.password = 'YOUR_PASSWORD'
|
||||||
|
# Configure API key authorization: SudoHeader
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['Sudo'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['Sudo'] = 'Bearer'
|
||||||
|
# Configure API key authorization: SudoParam
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['sudo'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['sudo'] = 'Bearer'
|
||||||
|
# Configure API key authorization: Token
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['token'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['token'] = 'Bearer'
|
||||||
|
|
||||||
|
# create an instance of the API class
|
||||||
|
api_instance = giteapython.MiscellaneousApi(giteapython.ApiClient(configuration))
|
||||||
|
|
||||||
|
try:
|
||||||
|
# Returns the version of the Gitea application
|
||||||
|
api_response = api_instance.get_version()
|
||||||
|
pprint(api_response)
|
||||||
|
except ApiException as e:
|
||||||
|
print("Exception when calling MiscellaneousApi->get_version: %s\n" % e)
|
||||||
|
```
|
||||||
|
|
||||||
|
### Parameters
|
||||||
|
This endpoint does not need any parameter.
|
||||||
|
|
||||||
|
### Return type
|
||||||
|
|
||||||
|
[**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**
|
||||||
|
> str render_markdown(body=body)
|
||||||
|
|
||||||
|
Render a markdown document as HTML
|
||||||
|
|
||||||
|
### Example
|
||||||
|
```python
|
||||||
|
from __future__ import print_function
|
||||||
|
import time
|
||||||
|
import giteapython
|
||||||
|
from giteapython.rest import ApiException
|
||||||
|
from pprint import pprint
|
||||||
|
|
||||||
|
# Configure API key authorization: AccessToken
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['access_token'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['access_token'] = 'Bearer'
|
||||||
|
# Configure API key authorization: AuthorizationHeaderToken
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['Authorization'] = 'Bearer'
|
||||||
|
# Configure HTTP basic authorization: BasicAuth
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.username = 'YOUR_USERNAME'
|
||||||
|
configuration.password = 'YOUR_PASSWORD'
|
||||||
|
# Configure API key authorization: SudoHeader
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['Sudo'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['Sudo'] = 'Bearer'
|
||||||
|
# Configure API key authorization: SudoParam
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['sudo'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['sudo'] = 'Bearer'
|
||||||
|
# Configure API key authorization: Token
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['token'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['token'] = 'Bearer'
|
||||||
|
|
||||||
|
# create an instance of the API class
|
||||||
|
api_instance = giteapython.MiscellaneousApi(giteapython.ApiClient(configuration))
|
||||||
|
body = giteapython.MarkdownOption() # MarkdownOption | (optional)
|
||||||
|
|
||||||
|
try:
|
||||||
|
# Render a markdown document as HTML
|
||||||
|
api_response = api_instance.render_markdown(body=body)
|
||||||
|
pprint(api_response)
|
||||||
|
except ApiException as e:
|
||||||
|
print("Exception when calling MiscellaneousApi->render_markdown: %s\n" % e)
|
||||||
|
```
|
||||||
|
|
||||||
|
### Parameters
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------- | ------------- | ------------- | -------------
|
||||||
|
**body** | [**MarkdownOption**](MarkdownOption.md)| | [optional]
|
||||||
|
|
||||||
|
### Return type
|
||||||
|
|
||||||
|
**str**
|
||||||
|
|
||||||
|
### 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**
|
||||||
|
> str render_markdown_raw(body)
|
||||||
|
|
||||||
|
Render raw markdown as HTML
|
||||||
|
|
||||||
|
### Example
|
||||||
|
```python
|
||||||
|
from __future__ import print_function
|
||||||
|
import time
|
||||||
|
import giteapython
|
||||||
|
from giteapython.rest import ApiException
|
||||||
|
from pprint import pprint
|
||||||
|
|
||||||
|
# Configure API key authorization: AccessToken
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['access_token'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['access_token'] = 'Bearer'
|
||||||
|
# Configure API key authorization: AuthorizationHeaderToken
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['Authorization'] = 'Bearer'
|
||||||
|
# Configure HTTP basic authorization: BasicAuth
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.username = 'YOUR_USERNAME'
|
||||||
|
configuration.password = 'YOUR_PASSWORD'
|
||||||
|
# Configure API key authorization: SudoHeader
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['Sudo'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['Sudo'] = 'Bearer'
|
||||||
|
# Configure API key authorization: SudoParam
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['sudo'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['sudo'] = 'Bearer'
|
||||||
|
# Configure API key authorization: Token
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['token'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['token'] = 'Bearer'
|
||||||
|
|
||||||
|
# create an instance of the API class
|
||||||
|
api_instance = giteapython.MiscellaneousApi(giteapython.ApiClient(configuration))
|
||||||
|
body = 'body_example' # str | Request body to render
|
||||||
|
|
||||||
|
try:
|
||||||
|
# Render raw markdown as HTML
|
||||||
|
api_response = api_instance.render_markdown_raw(body)
|
||||||
|
pprint(api_response)
|
||||||
|
except ApiException as e:
|
||||||
|
print("Exception when calling MiscellaneousApi->render_markdown_raw: %s\n" % e)
|
||||||
|
```
|
||||||
|
|
||||||
|
### Parameters
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------- | ------------- | ------------- | -------------
|
||||||
|
**body** | **str**| Request body to render |
|
||||||
|
|
||||||
|
### Return type
|
||||||
|
|
||||||
|
**str**
|
||||||
|
|
||||||
|
### 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)
|
||||||
|
|
582
docs/NotificationApi.md
Normal file
582
docs/NotificationApi.md
Normal file
@ -0,0 +1,582 @@
|
|||||||
|
# giteapython.NotificationApi
|
||||||
|
|
||||||
|
All URIs are relative to *http://localhost/api/v1*
|
||||||
|
|
||||||
|
Method | HTTP request | Description
|
||||||
|
------------- | ------------- | -------------
|
||||||
|
[**notify_get_list**](NotificationApi.md#notify_get_list) | **GET** /notifications | List users's notification threads
|
||||||
|
[**notify_get_repo_list**](NotificationApi.md#notify_get_repo_list) | **GET** /repos/{owner}/{repo}/notifications | List users's notification threads on a specific repo
|
||||||
|
[**notify_get_thread**](NotificationApi.md#notify_get_thread) | **GET** /notifications/threads/{id} | Get notification thread by ID
|
||||||
|
[**notify_new_available**](NotificationApi.md#notify_new_available) | **GET** /notifications/new | Check if unread notifications exist
|
||||||
|
[**notify_read_list**](NotificationApi.md#notify_read_list) | **PUT** /notifications | Mark notification threads as read, pinned or unread
|
||||||
|
[**notify_read_repo_list**](NotificationApi.md#notify_read_repo_list) | **PUT** /repos/{owner}/{repo}/notifications | Mark notification threads as read, pinned or unread on a specific repo
|
||||||
|
[**notify_read_thread**](NotificationApi.md#notify_read_thread) | **PATCH** /notifications/threads/{id} | Mark notification thread as read by ID
|
||||||
|
|
||||||
|
|
||||||
|
# **notify_get_list**
|
||||||
|
> list[NotificationThread] notify_get_list(all=all, status_types=status_types, since=since, before=before, page=page, limit=limit)
|
||||||
|
|
||||||
|
List users's notification threads
|
||||||
|
|
||||||
|
### Example
|
||||||
|
```python
|
||||||
|
from __future__ import print_function
|
||||||
|
import time
|
||||||
|
import giteapython
|
||||||
|
from giteapython.rest import ApiException
|
||||||
|
from pprint import pprint
|
||||||
|
|
||||||
|
# Configure API key authorization: AccessToken
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['access_token'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['access_token'] = 'Bearer'
|
||||||
|
# Configure API key authorization: AuthorizationHeaderToken
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['Authorization'] = 'Bearer'
|
||||||
|
# Configure HTTP basic authorization: BasicAuth
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.username = 'YOUR_USERNAME'
|
||||||
|
configuration.password = 'YOUR_PASSWORD'
|
||||||
|
# Configure API key authorization: SudoHeader
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['Sudo'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['Sudo'] = 'Bearer'
|
||||||
|
# Configure API key authorization: SudoParam
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['sudo'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['sudo'] = 'Bearer'
|
||||||
|
# Configure API key authorization: Token
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['token'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['token'] = 'Bearer'
|
||||||
|
|
||||||
|
# create an instance of the API class
|
||||||
|
api_instance = giteapython.NotificationApi(giteapython.ApiClient(configuration))
|
||||||
|
all = 'all_example' # str | If true, show notifications marked as read. Default value is false (optional)
|
||||||
|
status_types = ['status_types_example'] # list[str] | Show notifications with the provided status types. Options are: unread, read and/or pinned. Defaults to unread & pinned. (optional)
|
||||||
|
since = '2013-10-20T19:20:30+01:00' # datetime | Only show notifications updated after the given time. This is a timestamp in RFC 3339 format (optional)
|
||||||
|
before = '2013-10-20T19:20:30+01:00' # datetime | Only show notifications updated before the given time. This is a timestamp in RFC 3339 format (optional)
|
||||||
|
page = 56 # int | page number of results to return (1-based) (optional)
|
||||||
|
limit = 56 # int | page size of results, maximum page size is 50 (optional)
|
||||||
|
|
||||||
|
try:
|
||||||
|
# List users's notification threads
|
||||||
|
api_response = api_instance.notify_get_list(all=all, status_types=status_types, since=since, before=before, page=page, limit=limit)
|
||||||
|
pprint(api_response)
|
||||||
|
except ApiException as e:
|
||||||
|
print("Exception when calling NotificationApi->notify_get_list: %s\n" % e)
|
||||||
|
```
|
||||||
|
|
||||||
|
### Parameters
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------- | ------------- | ------------- | -------------
|
||||||
|
**all** | **str**| If true, show notifications marked as read. Default value is false | [optional]
|
||||||
|
**status_types** | [**list[str]**](str.md)| Show notifications with the provided status types. Options are: unread, read and/or pinned. Defaults to unread & pinned. | [optional]
|
||||||
|
**since** | **datetime**| Only show notifications updated after the given time. This is a timestamp in RFC 3339 format | [optional]
|
||||||
|
**before** | **datetime**| Only show notifications updated before the given time. This is a timestamp in RFC 3339 format | [optional]
|
||||||
|
**page** | **int**| page number of results to return (1-based) | [optional]
|
||||||
|
**limit** | **int**| page size of results, maximum page size is 50 | [optional]
|
||||||
|
|
||||||
|
### Return type
|
||||||
|
|
||||||
|
[**list[NotificationThread]**](NotificationThread.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)
|
||||||
|
|
||||||
|
# **notify_get_repo_list**
|
||||||
|
> list[NotificationThread] notify_get_repo_list(owner, repo, all=all, status_types=status_types, since=since, before=before, page=page, limit=limit)
|
||||||
|
|
||||||
|
List users's notification threads on a specific repo
|
||||||
|
|
||||||
|
### Example
|
||||||
|
```python
|
||||||
|
from __future__ import print_function
|
||||||
|
import time
|
||||||
|
import giteapython
|
||||||
|
from giteapython.rest import ApiException
|
||||||
|
from pprint import pprint
|
||||||
|
|
||||||
|
# Configure API key authorization: AccessToken
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['access_token'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['access_token'] = 'Bearer'
|
||||||
|
# Configure API key authorization: AuthorizationHeaderToken
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['Authorization'] = 'Bearer'
|
||||||
|
# Configure HTTP basic authorization: BasicAuth
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.username = 'YOUR_USERNAME'
|
||||||
|
configuration.password = 'YOUR_PASSWORD'
|
||||||
|
# Configure API key authorization: SudoHeader
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['Sudo'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['Sudo'] = 'Bearer'
|
||||||
|
# Configure API key authorization: SudoParam
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['sudo'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['sudo'] = 'Bearer'
|
||||||
|
# Configure API key authorization: Token
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['token'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['token'] = 'Bearer'
|
||||||
|
|
||||||
|
# create an instance of the API class
|
||||||
|
api_instance = giteapython.NotificationApi(giteapython.ApiClient(configuration))
|
||||||
|
owner = 'owner_example' # str | owner of the repo
|
||||||
|
repo = 'repo_example' # str | name of the repo
|
||||||
|
all = 'all_example' # str | If true, show notifications marked as read. Default value is false (optional)
|
||||||
|
status_types = ['status_types_example'] # list[str] | Show notifications with the provided status types. Options are: unread, read and/or pinned. Defaults to unread & pinned (optional)
|
||||||
|
since = '2013-10-20T19:20:30+01:00' # datetime | Only show notifications updated after the given time. This is a timestamp in RFC 3339 format (optional)
|
||||||
|
before = '2013-10-20T19:20:30+01:00' # datetime | Only show notifications updated before the given time. This is a timestamp in RFC 3339 format (optional)
|
||||||
|
page = 56 # int | page number of results to return (1-based) (optional)
|
||||||
|
limit = 56 # int | page size of results, maximum page size is 50 (optional)
|
||||||
|
|
||||||
|
try:
|
||||||
|
# List users's notification threads on a specific repo
|
||||||
|
api_response = api_instance.notify_get_repo_list(owner, repo, all=all, status_types=status_types, since=since, before=before, page=page, limit=limit)
|
||||||
|
pprint(api_response)
|
||||||
|
except ApiException as e:
|
||||||
|
print("Exception when calling NotificationApi->notify_get_repo_list: %s\n" % e)
|
||||||
|
```
|
||||||
|
|
||||||
|
### Parameters
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------- | ------------- | ------------- | -------------
|
||||||
|
**owner** | **str**| owner of the repo |
|
||||||
|
**repo** | **str**| name of the repo |
|
||||||
|
**all** | **str**| If true, show notifications marked as read. Default value is false | [optional]
|
||||||
|
**status_types** | [**list[str]**](str.md)| Show notifications with the provided status types. Options are: unread, read and/or pinned. Defaults to unread & pinned | [optional]
|
||||||
|
**since** | **datetime**| Only show notifications updated after the given time. This is a timestamp in RFC 3339 format | [optional]
|
||||||
|
**before** | **datetime**| Only show notifications updated before the given time. This is a timestamp in RFC 3339 format | [optional]
|
||||||
|
**page** | **int**| page number of results to return (1-based) | [optional]
|
||||||
|
**limit** | **int**| page size of results, maximum page size is 50 | [optional]
|
||||||
|
|
||||||
|
### Return type
|
||||||
|
|
||||||
|
[**list[NotificationThread]**](NotificationThread.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)
|
||||||
|
|
||||||
|
# **notify_get_thread**
|
||||||
|
> NotificationThread notify_get_thread(id)
|
||||||
|
|
||||||
|
Get notification thread by ID
|
||||||
|
|
||||||
|
### Example
|
||||||
|
```python
|
||||||
|
from __future__ import print_function
|
||||||
|
import time
|
||||||
|
import giteapython
|
||||||
|
from giteapython.rest import ApiException
|
||||||
|
from pprint import pprint
|
||||||
|
|
||||||
|
# Configure API key authorization: AccessToken
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['access_token'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['access_token'] = 'Bearer'
|
||||||
|
# Configure API key authorization: AuthorizationHeaderToken
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['Authorization'] = 'Bearer'
|
||||||
|
# Configure HTTP basic authorization: BasicAuth
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.username = 'YOUR_USERNAME'
|
||||||
|
configuration.password = 'YOUR_PASSWORD'
|
||||||
|
# Configure API key authorization: SudoHeader
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['Sudo'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['Sudo'] = 'Bearer'
|
||||||
|
# Configure API key authorization: SudoParam
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['sudo'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['sudo'] = 'Bearer'
|
||||||
|
# Configure API key authorization: Token
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['token'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['token'] = 'Bearer'
|
||||||
|
|
||||||
|
# create an instance of the API class
|
||||||
|
api_instance = giteapython.NotificationApi(giteapython.ApiClient(configuration))
|
||||||
|
id = 'id_example' # str | id of notification thread
|
||||||
|
|
||||||
|
try:
|
||||||
|
# Get notification thread by ID
|
||||||
|
api_response = api_instance.notify_get_thread(id)
|
||||||
|
pprint(api_response)
|
||||||
|
except ApiException as e:
|
||||||
|
print("Exception when calling NotificationApi->notify_get_thread: %s\n" % e)
|
||||||
|
```
|
||||||
|
|
||||||
|
### Parameters
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------- | ------------- | ------------- | -------------
|
||||||
|
**id** | **str**| id of notification thread |
|
||||||
|
|
||||||
|
### Return type
|
||||||
|
|
||||||
|
[**NotificationThread**](NotificationThread.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)
|
||||||
|
|
||||||
|
# **notify_new_available**
|
||||||
|
> NotificationCount notify_new_available()
|
||||||
|
|
||||||
|
Check if unread notifications exist
|
||||||
|
|
||||||
|
### Example
|
||||||
|
```python
|
||||||
|
from __future__ import print_function
|
||||||
|
import time
|
||||||
|
import giteapython
|
||||||
|
from giteapython.rest import ApiException
|
||||||
|
from pprint import pprint
|
||||||
|
|
||||||
|
# Configure API key authorization: AccessToken
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['access_token'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['access_token'] = 'Bearer'
|
||||||
|
# Configure API key authorization: AuthorizationHeaderToken
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['Authorization'] = 'Bearer'
|
||||||
|
# Configure HTTP basic authorization: BasicAuth
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.username = 'YOUR_USERNAME'
|
||||||
|
configuration.password = 'YOUR_PASSWORD'
|
||||||
|
# Configure API key authorization: SudoHeader
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['Sudo'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['Sudo'] = 'Bearer'
|
||||||
|
# Configure API key authorization: SudoParam
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['sudo'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['sudo'] = 'Bearer'
|
||||||
|
# Configure API key authorization: Token
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['token'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['token'] = 'Bearer'
|
||||||
|
|
||||||
|
# create an instance of the API class
|
||||||
|
api_instance = giteapython.NotificationApi(giteapython.ApiClient(configuration))
|
||||||
|
|
||||||
|
try:
|
||||||
|
# Check if unread notifications exist
|
||||||
|
api_response = api_instance.notify_new_available()
|
||||||
|
pprint(api_response)
|
||||||
|
except ApiException as e:
|
||||||
|
print("Exception when calling NotificationApi->notify_new_available: %s\n" % e)
|
||||||
|
```
|
||||||
|
|
||||||
|
### Parameters
|
||||||
|
This endpoint does not need any parameter.
|
||||||
|
|
||||||
|
### Return type
|
||||||
|
|
||||||
|
[**NotificationCount**](NotificationCount.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, 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)
|
||||||
|
|
||||||
|
# **notify_read_list**
|
||||||
|
> notify_read_list(last_read_at=last_read_at, all=all, status_types=status_types, to_status=to_status)
|
||||||
|
|
||||||
|
Mark notification threads as read, pinned or unread
|
||||||
|
|
||||||
|
### Example
|
||||||
|
```python
|
||||||
|
from __future__ import print_function
|
||||||
|
import time
|
||||||
|
import giteapython
|
||||||
|
from giteapython.rest import ApiException
|
||||||
|
from pprint import pprint
|
||||||
|
|
||||||
|
# Configure API key authorization: AccessToken
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['access_token'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['access_token'] = 'Bearer'
|
||||||
|
# Configure API key authorization: AuthorizationHeaderToken
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['Authorization'] = 'Bearer'
|
||||||
|
# Configure HTTP basic authorization: BasicAuth
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.username = 'YOUR_USERNAME'
|
||||||
|
configuration.password = 'YOUR_PASSWORD'
|
||||||
|
# Configure API key authorization: SudoHeader
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['Sudo'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['Sudo'] = 'Bearer'
|
||||||
|
# Configure API key authorization: SudoParam
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['sudo'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['sudo'] = 'Bearer'
|
||||||
|
# Configure API key authorization: Token
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['token'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['token'] = 'Bearer'
|
||||||
|
|
||||||
|
# create an instance of the API class
|
||||||
|
api_instance = giteapython.NotificationApi(giteapython.ApiClient(configuration))
|
||||||
|
last_read_at = '2013-10-20T19:20:30+01:00' # datetime | Describes the last point that notifications were checked. Anything updated since this time will not be updated. (optional)
|
||||||
|
all = 'all_example' # str | If true, mark all notifications on this repo. Default value is false (optional)
|
||||||
|
status_types = ['status_types_example'] # list[str] | Mark notifications with the provided status types. Options are: unread, read and/or pinned. Defaults to unread. (optional)
|
||||||
|
to_status = 'to_status_example' # str | Status to mark notifications as, Defaults to read. (optional)
|
||||||
|
|
||||||
|
try:
|
||||||
|
# Mark notification threads as read, pinned or unread
|
||||||
|
api_instance.notify_read_list(last_read_at=last_read_at, all=all, status_types=status_types, to_status=to_status)
|
||||||
|
except ApiException as e:
|
||||||
|
print("Exception when calling NotificationApi->notify_read_list: %s\n" % e)
|
||||||
|
```
|
||||||
|
|
||||||
|
### Parameters
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------- | ------------- | ------------- | -------------
|
||||||
|
**last_read_at** | **datetime**| Describes the last point that notifications were checked. Anything updated since this time will not be updated. | [optional]
|
||||||
|
**all** | **str**| If true, mark all notifications on this repo. Default value is false | [optional]
|
||||||
|
**status_types** | [**list[str]**](str.md)| Mark notifications with the provided status types. Options are: unread, read and/or pinned. Defaults to unread. | [optional]
|
||||||
|
**to_status** | **str**| Status to mark notifications as, Defaults to read. | [optional]
|
||||||
|
|
||||||
|
### Return type
|
||||||
|
|
||||||
|
void (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
|
||||||
|
- **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)
|
||||||
|
|
||||||
|
# **notify_read_repo_list**
|
||||||
|
> notify_read_repo_list(owner, repo, all=all, status_types=status_types, to_status=to_status, last_read_at=last_read_at)
|
||||||
|
|
||||||
|
Mark notification threads as read, pinned or unread on a specific repo
|
||||||
|
|
||||||
|
### Example
|
||||||
|
```python
|
||||||
|
from __future__ import print_function
|
||||||
|
import time
|
||||||
|
import giteapython
|
||||||
|
from giteapython.rest import ApiException
|
||||||
|
from pprint import pprint
|
||||||
|
|
||||||
|
# Configure API key authorization: AccessToken
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['access_token'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['access_token'] = 'Bearer'
|
||||||
|
# Configure API key authorization: AuthorizationHeaderToken
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['Authorization'] = 'Bearer'
|
||||||
|
# Configure HTTP basic authorization: BasicAuth
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.username = 'YOUR_USERNAME'
|
||||||
|
configuration.password = 'YOUR_PASSWORD'
|
||||||
|
# Configure API key authorization: SudoHeader
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['Sudo'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['Sudo'] = 'Bearer'
|
||||||
|
# Configure API key authorization: SudoParam
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['sudo'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['sudo'] = 'Bearer'
|
||||||
|
# Configure API key authorization: Token
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['token'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['token'] = 'Bearer'
|
||||||
|
|
||||||
|
# create an instance of the API class
|
||||||
|
api_instance = giteapython.NotificationApi(giteapython.ApiClient(configuration))
|
||||||
|
owner = 'owner_example' # str | owner of the repo
|
||||||
|
repo = 'repo_example' # str | name of the repo
|
||||||
|
all = 'all_example' # str | If true, mark all notifications on this repo. Default value is false (optional)
|
||||||
|
status_types = ['status_types_example'] # list[str] | Mark notifications with the provided status types. Options are: unread, read and/or pinned. Defaults to unread. (optional)
|
||||||
|
to_status = 'to_status_example' # str | Status to mark notifications as. Defaults to read. (optional)
|
||||||
|
last_read_at = '2013-10-20T19:20:30+01:00' # datetime | Describes the last point that notifications were checked. Anything updated since this time will not be updated. (optional)
|
||||||
|
|
||||||
|
try:
|
||||||
|
# Mark notification threads as read, pinned or unread on a specific repo
|
||||||
|
api_instance.notify_read_repo_list(owner, repo, all=all, status_types=status_types, to_status=to_status, last_read_at=last_read_at)
|
||||||
|
except ApiException as e:
|
||||||
|
print("Exception when calling NotificationApi->notify_read_repo_list: %s\n" % e)
|
||||||
|
```
|
||||||
|
|
||||||
|
### Parameters
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------- | ------------- | ------------- | -------------
|
||||||
|
**owner** | **str**| owner of the repo |
|
||||||
|
**repo** | **str**| name of the repo |
|
||||||
|
**all** | **str**| If true, mark all notifications on this repo. Default value is false | [optional]
|
||||||
|
**status_types** | [**list[str]**](str.md)| Mark notifications with the provided status types. Options are: unread, read and/or pinned. Defaults to unread. | [optional]
|
||||||
|
**to_status** | **str**| Status to mark notifications as. Defaults to read. | [optional]
|
||||||
|
**last_read_at** | **datetime**| Describes the last point that notifications were checked. Anything updated since this time will not be updated. | [optional]
|
||||||
|
|
||||||
|
### Return type
|
||||||
|
|
||||||
|
void (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
|
||||||
|
- **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)
|
||||||
|
|
||||||
|
# **notify_read_thread**
|
||||||
|
> notify_read_thread(id, to_status=to_status)
|
||||||
|
|
||||||
|
Mark notification thread as read by ID
|
||||||
|
|
||||||
|
### Example
|
||||||
|
```python
|
||||||
|
from __future__ import print_function
|
||||||
|
import time
|
||||||
|
import giteapython
|
||||||
|
from giteapython.rest import ApiException
|
||||||
|
from pprint import pprint
|
||||||
|
|
||||||
|
# Configure API key authorization: AccessToken
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['access_token'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['access_token'] = 'Bearer'
|
||||||
|
# Configure API key authorization: AuthorizationHeaderToken
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['Authorization'] = 'Bearer'
|
||||||
|
# Configure HTTP basic authorization: BasicAuth
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.username = 'YOUR_USERNAME'
|
||||||
|
configuration.password = 'YOUR_PASSWORD'
|
||||||
|
# Configure API key authorization: SudoHeader
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['Sudo'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['Sudo'] = 'Bearer'
|
||||||
|
# Configure API key authorization: SudoParam
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['sudo'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['sudo'] = 'Bearer'
|
||||||
|
# Configure API key authorization: Token
|
||||||
|
configuration = giteapython.Configuration()
|
||||||
|
configuration.api_key['token'] = 'YOUR_API_KEY'
|
||||||
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||||
|
# configuration.api_key_prefix['token'] = 'Bearer'
|
||||||
|
|
||||||
|
# create an instance of the API class
|
||||||
|
api_instance = giteapython.NotificationApi(giteapython.ApiClient(configuration))
|
||||||
|
id = 'id_example' # str | id of notification thread
|
||||||
|
to_status = 'read' # str | Status to mark notifications as (optional) (default to read)
|
||||||
|
|
||||||
|
try:
|
||||||
|
# Mark notification thread as read by ID
|
||||||
|
api_instance.notify_read_thread(id, to_status=to_status)
|
||||||
|
except ApiException as e:
|
||||||
|
print("Exception when calling NotificationApi->notify_read_thread: %s\n" % e)
|
||||||
|
```
|
||||||
|
|
||||||
|
### Parameters
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------- | ------------- | ------------- | -------------
|
||||||
|
**id** | **str**| id of notification thread |
|
||||||
|
**to_status** | **str**| Status to mark notifications as | [optional] [default to read]
|
||||||
|
|
||||||
|
### Return type
|
||||||
|
|
||||||
|
void (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
|
||||||
|
- **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)
|
||||||
|
|
10
docs/NotificationCount.md
Normal file
10
docs/NotificationCount.md
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# NotificationCount
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**new** | **int** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
13
docs/NotificationSubject.md
Normal file
13
docs/NotificationSubject.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# NotificationSubject
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**latest_comment_url** | **str** | | [optional]
|
||||||
|
**title** | **str** | | [optional]
|
||||||
|
**type** | **str** | | [optional]
|
||||||
|
**url** | **str** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
16
docs/NotificationThread.md
Normal file
16
docs/NotificationThread.md
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
# NotificationThread
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**id** | **int** | | [optional]
|
||||||
|
**pinned** | **bool** | | [optional]
|
||||||
|
**repository** | [**Repository**](Repository.md) | | [optional]
|
||||||
|
**subject** | [**NotificationSubject**](NotificationSubject.md) | | [optional]
|
||||||
|
**unread** | **bool** | | [optional]
|
||||||
|
**updated_at** | **datetime** | | [optional]
|
||||||
|
**url** | **str** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
15
docs/OAuth2Application.md
Normal file
15
docs/OAuth2Application.md
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
# OAuth2Application
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**client_id** | **str** | | [optional]
|
||||||
|
**client_secret** | **str** | | [optional]
|
||||||
|
**created** | **datetime** | | [optional]
|
||||||
|
**id** | **int** | | [optional]
|
||||||
|
**name** | **str** | | [optional]
|
||||||
|
**redirect_uris** | **list[str]** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
18
docs/Organization.md
Normal file
18
docs/Organization.md
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# Organization
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**avatar_url** | **str** | | [optional]
|
||||||
|
**description** | **str** | | [optional]
|
||||||
|
**full_name** | **str** | | [optional]
|
||||||
|
**id** | **int** | | [optional]
|
||||||
|
**location** | **str** | | [optional]
|
||||||
|
**repo_admin_change_team_access** | **bool** | | [optional]
|
||||||
|
**username** | **str** | | [optional]
|
||||||
|
**visibility** | **str** | | [optional]
|
||||||
|
**website** | **str** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
3179
docs/OrganizationApi.md
Normal file
3179
docs/OrganizationApi.md
Normal file
File diff suppressed because it is too large
Load Diff
14
docs/PRBranchInfo.md
Normal file
14
docs/PRBranchInfo.md
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
# PRBranchInfo
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**label** | **str** | | [optional]
|
||||||
|
**ref** | **str** | | [optional]
|
||||||
|
**repo** | [**Repository**](Repository.md) | | [optional]
|
||||||
|
**repo_id** | **int** | | [optional]
|
||||||
|
**sha** | **str** | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
19
docs/PayloadCommit.md
Normal file
19
docs/PayloadCommit.md
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
# PayloadCommit
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**added** | **list[str]** | | [optional]
|
||||||
|
**author** | [**PayloadUser**](PayloadUser.md) | | [optional]
|
||||||
|
**committer** | [**PayloadUser**](PayloadUser.md) | | [optional]
|
||||||
|
**id** | **str** | sha1 hash of the commit | [optional]
|
||||||
|
**message** | **str** | | [optional]
|
||||||
|
**modified** | **list[str]** | | [optional]
|
||||||
|
**removed** | **list[str]** | | [optional]
|
||||||
|
**timestamp** | **datetime** | | [optional]
|
||||||
|
**url** | **str** | | [optional]
|
||||||
|
**verification** | [**PayloadCommitVerification**](PayloadCommitVerification.md) | | [optional]
|
||||||
|
|
||||||
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user