Initial commit

This commit is contained in:
Befator
2025-10-21 21:45:29 +02:00
commit ac9707603a
651 changed files with 150299 additions and 0 deletions

11
docs/APIError.md Normal file
View 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)

14
docs/AccessToken.md Normal file
View File

@@ -0,0 +1,14 @@
# AccessToken
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **int** | | [optional]
**name** | **str** | | [optional]
**scopes** | **list[str]** | | [optional]
**sha1** | **str** | | [optional]
**token_last_eight** | **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)

22
docs/ActionTask.md Normal file
View File

@@ -0,0 +1,22 @@
# ActionTask
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**created_at** | **datetime** | | [optional]
**display_title** | **str** | | [optional]
**event** | **str** | | [optional]
**head_branch** | **str** | | [optional]
**head_sha** | **str** | | [optional]
**id** | **int** | | [optional]
**name** | **str** | | [optional]
**run_number** | **int** | | [optional]
**run_started_at** | **datetime** | | [optional]
**status** | **str** | | [optional]
**updated_at** | **datetime** | | [optional]
**url** | **str** | | [optional]
**workflow_id** | **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)

View File

@@ -0,0 +1,11 @@
# ActionTaskResponse
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**total_count** | **int** | | [optional]
**workflow_runs** | [**list[ActionTask]**](ActionTask.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)

13
docs/ActionVariable.md Normal file
View File

@@ -0,0 +1,13 @@
# ActionVariable
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | **str** | the value of the variable | [optional]
**name** | **str** | the name of the variable | [optional]
**owner_id** | **int** | the owner to which the variable belongs | [optional]
**repo_id** | **int** | the repository to which the variable belongs | [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)

22
docs/Activity.md Normal file
View File

@@ -0,0 +1,22 @@
# Activity
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**act_user** | [**User**](User.md) | | [optional]
**act_user_id** | **int** | | [optional]
**comment** | [**Comment**](Comment.md) | | [optional]
**comment_id** | **int** | | [optional]
**content** | **str** | | [optional]
**created** | **datetime** | | [optional]
**id** | **int** | | [optional]
**is_private** | **bool** | | [optional]
**op_type** | **str** | the type of action | [optional]
**ref_name** | **str** | | [optional]
**repo** | [**Repository**](Repository.md) | | [optional]
**repo_id** | **int** | | [optional]
**user_id** | **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)

10
docs/ActivityPub.md Normal file
View File

@@ -0,0 +1,10 @@
# ActivityPub
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**context** | **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)

171
docs/ActivitypubApi.md Normal file
View File

@@ -0,0 +1,171 @@
# gitea.ActivitypubApi
All URIs are relative to *https://localhost/api/v1*
Method | HTTP request | Description
------------- | ------------- | -------------
[**activitypub_person**](ActivitypubApi.md#activitypub_person) | **GET** /activitypub/user-id/{user-id} | Returns the Person actor for a user
[**activitypub_person_inbox**](ActivitypubApi.md#activitypub_person_inbox) | **POST** /activitypub/user-id/{user-id}/inbox | Send to the inbox
# **activitypub_person**
> ActivityPub activitypub_person(user_id)
Returns the Person actor for a user
### Example
```python
from __future__ import print_function
import time
import gitea
from gitea.rest import ApiException
from pprint import pprint
# Configure API key authorization: AccessToken
configuration = gitea.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 = gitea.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 = gitea.Configuration()
configuration.username = 'YOUR_USERNAME'
configuration.password = 'YOUR_PASSWORD'
# Configure API key authorization: SudoHeader
configuration = gitea.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 = gitea.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: TOTPHeader
configuration = gitea.Configuration()
configuration.api_key['X-GITEA-OTP'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['X-GITEA-OTP'] = 'Bearer'
# Configure API key authorization: Token
configuration = gitea.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 = gitea.ActivitypubApi(gitea.ApiClient(configuration))
user_id = 56 # int | user ID of the user
try:
# Returns the Person actor for a user
api_response = api_instance.activitypub_person(user_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling ActivitypubApi->activitypub_person: %s\n" % e)
```
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**user_id** | **int**| user ID of the user |
### Return type
[**ActivityPub**](ActivityPub.md)
### Authorization
[AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [TOTPHeader](../README.md#TOTPHeader), [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)
# **activitypub_person_inbox**
> activitypub_person_inbox(user_id)
Send to the inbox
### Example
```python
from __future__ import print_function
import time
import gitea
from gitea.rest import ApiException
from pprint import pprint
# Configure API key authorization: AccessToken
configuration = gitea.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 = gitea.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 = gitea.Configuration()
configuration.username = 'YOUR_USERNAME'
configuration.password = 'YOUR_PASSWORD'
# Configure API key authorization: SudoHeader
configuration = gitea.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 = gitea.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: TOTPHeader
configuration = gitea.Configuration()
configuration.api_key['X-GITEA-OTP'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['X-GITEA-OTP'] = 'Bearer'
# Configure API key authorization: Token
configuration = gitea.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 = gitea.ActivitypubApi(gitea.ApiClient(configuration))
user_id = 56 # int | user ID of the user
try:
# Send to the inbox
api_instance.activitypub_person_inbox(user_id)
except ApiException as e:
print("Exception when calling ActivitypubApi->activitypub_person_inbox: %s\n" % e)
```
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**user_id** | **int**| user ID of the user |
### 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), [TOTPHeader](../README.md#TOTPHeader), [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)

View 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
View 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)

2172
docs/AdminApi.md Normal file

File diff suppressed because it is too large Load Diff

16
docs/AnnotatedTag.md Normal file
View 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)

View 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
View 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)

13
docs/Badge.md Normal file
View File

@@ -0,0 +1,13 @@
# Badge
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**description** | **str** | | [optional]
**id** | **int** | | [optional]
**image_url** | **str** | | [optional]
**slug** | **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
View 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)

42
docs/BranchProtection.md Normal file
View File

@@ -0,0 +1,42 @@
# BranchProtection
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**approvals_whitelist_teams** | **list[str]** | | [optional]
**approvals_whitelist_username** | **list[str]** | | [optional]
**block_admin_merge_override** | **bool** | | [optional]
**block_on_official_review_requests** | **bool** | | [optional]
**block_on_outdated_branch** | **bool** | | [optional]
**block_on_rejected_reviews** | **bool** | | [optional]
**branch_name** | **str** | Deprecated: true | [optional]
**created_at** | **datetime** | | [optional]
**dismiss_stale_approvals** | **bool** | | [optional]
**enable_approvals_whitelist** | **bool** | | [optional]
**enable_force_push** | **bool** | | [optional]
**enable_force_push_allowlist** | **bool** | | [optional]
**enable_merge_whitelist** | **bool** | | [optional]
**enable_push** | **bool** | | [optional]
**enable_push_whitelist** | **bool** | | [optional]
**enable_status_check** | **bool** | | [optional]
**force_push_allowlist_deploy_keys** | **bool** | | [optional]
**force_push_allowlist_teams** | **list[str]** | | [optional]
**force_push_allowlist_usernames** | **list[str]** | | [optional]
**ignore_stale_approvals** | **bool** | | [optional]
**merge_whitelist_teams** | **list[str]** | | [optional]
**merge_whitelist_usernames** | **list[str]** | | [optional]
**priority** | **int** | | [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]
**rule_name** | **str** | | [optional]
**status_check_contexts** | **list[str]** | | [optional]
**unprotected_file_patterns** | **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)

View File

@@ -0,0 +1,14 @@
# ChangeFileOperation
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**content** | **str** | new or updated file content, must be base64 encoded | [optional]
**from_path** | **str** | old path of the file to move | [optional]
**operation** | **str** | indicates what to do with the file |
**path** | **str** | path to the existing or new file |
**sha** | **str** | sha is the SHA for the file that already exists, required for update or 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)

View File

@@ -0,0 +1,17 @@
# ChangeFilesOptions
## 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]
**files** | [**list[ChangeFileOperation]**](ChangeFileOperation.md) | list of file operations |
**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]
**signoff** | **bool** | Add a Signed-off-by trailer by the committer at the end of the commit log message. | [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/ChangedFile.md Normal file
View File

@@ -0,0 +1,18 @@
# ChangedFile
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**additions** | **int** | | [optional]
**changes** | **int** | | [optional]
**contents_url** | **str** | | [optional]
**deletions** | **int** | | [optional]
**filename** | **str** | | [optional]
**html_url** | **str** | | [optional]
**previous_filename** | **str** | | [optional]
**raw_url** | **str** | | [optional]
**status** | **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/CombinedStatus.md Normal file
View File

@@ -0,0 +1,16 @@
# CombinedStatus
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**commit_url** | **str** | | [optional]
**repository** | [**Repository**](Repository.md) | | [optional]
**sha** | **str** | | [optional]
**state** | [**CommitStatusState**](CommitStatusState.md) | | [optional]
**statuses** | [**list[CommitStatus]**](CommitStatus.md) | | [optional]
**total_count** | **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)

20
docs/Comment.md Normal file
View File

@@ -0,0 +1,20 @@
# Comment
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**assets** | [**list[Attachment]**](Attachment.md) | | [optional]
**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)

19
docs/Commit.md Normal file
View File

@@ -0,0 +1,19 @@
# Commit
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**author** | [**User**](User.md) | | [optional]
**commit** | [**RepoCommit**](RepoCommit.md) | | [optional]
**committer** | [**User**](User.md) | | [optional]
**created** | **datetime** | | [optional]
**files** | [**list[CommitAffectedFiles]**](CommitAffectedFiles.md) | | [optional]
**html_url** | **str** | | [optional]
**parents** | [**list[CommitMeta]**](CommitMeta.md) | | [optional]
**sha** | **str** | | [optional]
**stats** | [**CommitStats**](CommitStats.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)

View File

@@ -0,0 +1,11 @@
# CommitAffectedFiles
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**filename** | **str** | | [optional]
**status** | **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
View 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)

12
docs/CommitMeta.md Normal file
View File

@@ -0,0 +1,12 @@
# CommitMeta
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**created** | **datetime** | | [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)

12
docs/CommitStats.md Normal file
View File

@@ -0,0 +1,12 @@
# CommitStats
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**additions** | **int** | | [optional]
**deletions** | **int** | | [optional]
**total** | **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)

18
docs/CommitStatus.md Normal file
View File

@@ -0,0 +1,18 @@
# CommitStatus
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**context** | **str** | | [optional]
**created_at** | **datetime** | | [optional]
**creator** | [**User**](User.md) | | [optional]
**description** | **str** | | [optional]
**id** | **int** | | [optional]
**status** | [**CommitStatusState**](CommitStatusState.md) | | [optional]
**target_url** | **str** | | [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)

View File

@@ -0,0 +1,9 @@
# CommitStatusState
## 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)

12
docs/CommitUser.md Normal file
View 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)

11
docs/Compare.md Normal file
View File

@@ -0,0 +1,11 @@
# Compare
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**commits** | [**list[Commit]**](Commit.md) | | [optional]
**total_commits** | **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)

24
docs/ContentsResponse.md Normal file
View File

@@ -0,0 +1,24 @@
# 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]
**last_commit_sha** | **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)

View File

@@ -0,0 +1,11 @@
# CreateAccessTokenOption
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **str** | |
**scopes** | **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)

View File

@@ -0,0 +1,40 @@
# CreateBranchProtectionOption
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**approvals_whitelist_teams** | **list[str]** | | [optional]
**approvals_whitelist_username** | **list[str]** | | [optional]
**block_admin_merge_override** | **bool** | | [optional]
**block_on_official_review_requests** | **bool** | | [optional]
**block_on_outdated_branch** | **bool** | | [optional]
**block_on_rejected_reviews** | **bool** | | [optional]
**branch_name** | **str** | Deprecated: true | [optional]
**dismiss_stale_approvals** | **bool** | | [optional]
**enable_approvals_whitelist** | **bool** | | [optional]
**enable_force_push** | **bool** | | [optional]
**enable_force_push_allowlist** | **bool** | | [optional]
**enable_merge_whitelist** | **bool** | | [optional]
**enable_push** | **bool** | | [optional]
**enable_push_whitelist** | **bool** | | [optional]
**enable_status_check** | **bool** | | [optional]
**force_push_allowlist_deploy_keys** | **bool** | | [optional]
**force_push_allowlist_teams** | **list[str]** | | [optional]
**force_push_allowlist_usernames** | **list[str]** | | [optional]
**ignore_stale_approvals** | **bool** | | [optional]
**merge_whitelist_teams** | **list[str]** | | [optional]
**merge_whitelist_usernames** | **list[str]** | | [optional]
**priority** | **int** | | [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]
**rule_name** | **str** | | [optional]
**status_check_contexts** | **list[str]** | | [optional]
**unprotected_file_patterns** | **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)

View File

@@ -0,0 +1,12 @@
# CreateBranchRepoOption
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**new_branch_name** | **str** | Name of the branch to create |
**old_branch_name** | **str** | Deprecated: true Name of the old branch to create from | [optional]
**old_ref_name** | **str** | Name of the old branch/tag/commit to create from | [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
View 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)

17
docs/CreateFileOptions.md Normal file
View File

@@ -0,0 +1,17 @@
# 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]
**signoff** | **bool** | Add a Signed-off-by trailer by the committer at the end of the commit log message. | [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/CreateForkOption.md Normal file
View File

@@ -0,0 +1,11 @@
# CreateForkOption
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **str** | name of the forked repository | [optional]
**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)

View File

@@ -0,0 +1,11 @@
# CreateGPGKeyOption
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**armored_public_key** | **str** | An armored GPG key to add |
**armored_signature** | **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/CreateHookOption.md Normal file
View File

@@ -0,0 +1,15 @@
# CreateHookOption
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**active** | **bool** | | [optional] [default to False]
**authorization_header** | **str** | | [optional]
**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)

View 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)

View 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)

18
docs/CreateIssueOption.md Normal file
View File

@@ -0,0 +1,18 @@
# CreateIssueOption
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**assignee** | **str** | deprecated | [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]
**ref** | **str** | | [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
View 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)

14
docs/CreateLabelOption.md Normal file
View File

@@ -0,0 +1,14 @@
# CreateLabelOption
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**color** | **str** | |
**description** | **str** | | [optional]
**exclusive** | **bool** | | [optional]
**is_archived** | **bool** | | [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)

View File

@@ -0,0 +1,13 @@
# CreateMilestoneOption
## 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)

View File

@@ -0,0 +1,13 @@
# CreateOAuth2ApplicationOptions
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**confidential_client** | **bool** | | [optional]
**name** | **str** | | [optional]
**redirect_uris** | **list[str]** | | [optional]
**skip_secondary_authorization** | **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)

View File

@@ -0,0 +1,10 @@
# CreateOrUpdateSecretOption
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | **str** | Data of the secret to update |
[[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/CreateOrgOption.md Normal file
View File

@@ -0,0 +1,17 @@
# CreateOrgOption
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**description** | **str** | | [optional]
**email** | **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)

View File

@@ -0,0 +1,20 @@
# 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]
**reviewers** | **list[str]** | | [optional]
**team_reviewers** | **list[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)

View 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)

View 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)

View File

@@ -0,0 +1,14 @@
# CreatePushMirrorOption
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**interval** | **str** | | [optional]
**remote_address** | **str** | | [optional]
**remote_password** | **str** | | [optional]
**remote_username** | **str** | | [optional]
**sync_on_commit** | **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)

View 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)

21
docs/CreateRepoOption.md Normal file
View File

@@ -0,0 +1,21 @@
# CreateRepoOption
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**auto_init** | **bool** | Whether the repository should be auto-initialized? | [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** | Label-Set to use | [optional]
**license** | **str** | License to use | [optional]
**name** | **str** | Name of the repository to create |
**object_format_name** | **str** | ObjectFormatName of the underlying git repository | [optional]
**private** | **bool** | Whether the repository is private | [optional]
**readme** | **str** | Readme of the repository to create | [optional]
**template** | **bool** | Whether the repository is template | [optional]
**trust_model** | **str** | TrustModel of 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)

View File

@@ -0,0 +1,13 @@
# CreateStatusOption
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**context** | **str** | | [optional]
**description** | **str** | | [optional]
**state** | [**CommitStatusState**](CommitStatusState.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)

12
docs/CreateTagOption.md Normal file
View File

@@ -0,0 +1,12 @@
# CreateTagOption
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**message** | **str** | | [optional]
**tag_name** | **str** | |
**target** | **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)

View File

@@ -0,0 +1,12 @@
# CreateTagProtectionOption
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name_pattern** | **str** | | [optional]
**whitelist_teams** | **list[str]** | | [optional]
**whitelist_usernames** | **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/CreateTeamOption.md Normal file
View File

@@ -0,0 +1,16 @@
# 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]
**units_map** | **dict(str, 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)

20
docs/CreateUserOption.md Normal file
View File

@@ -0,0 +1,20 @@
# CreateUserOption
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**created_at** | **datetime** | For explicitly setting the user creation timestamp. Useful when users are migrated from other systems. When omitted, the user's creation timestamp will be set to \"now\". | [optional]
**email** | **str** | |
**full_name** | **str** | | [optional]
**login_name** | **str** | | [optional]
**must_change_password** | **bool** | | [optional]
**password** | **str** | | [optional]
**restricted** | **bool** | | [optional]
**send_notify** | **bool** | | [optional]
**source_id** | **int** | | [optional]
**username** | **str** | |
**visibility** | **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)

View File

@@ -0,0 +1,10 @@
# CreateVariableOption
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**value** | **str** | Value of the variable to create |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,12 @@
# CreateWikiPageOptions
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**content_base64** | **str** | content must be base64 encoded | [optional]
**message** | **str** | optional commit message summarizing the change | [optional]
**title** | **str** | page title. leave empty to keep unchanged | [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/Cron.md Normal file
View File

@@ -0,0 +1,14 @@
# Cron
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**exec_times** | **int** | | [optional]
**name** | **str** | | [optional]
**next** | **datetime** | | [optional]
**prev** | **datetime** | | [optional]
**schedule** | **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/DeleteEmailOption.md Normal file
View 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)

17
docs/DeleteFileOptions.md Normal file
View File

@@ -0,0 +1,17 @@
# 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 |
**signoff** | **bool** | Add a Signed-off-by trailer by the committer at the end of the commit log message. | [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/DeployKey.md Normal file
View 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)

View File

@@ -0,0 +1,11 @@
# DismissPullReviewOptions
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**message** | **str** | | [optional]
**priors** | **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)

View 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)

View File

@@ -0,0 +1,38 @@
# EditBranchProtectionOption
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**approvals_whitelist_teams** | **list[str]** | | [optional]
**approvals_whitelist_username** | **list[str]** | | [optional]
**block_admin_merge_override** | **bool** | | [optional]
**block_on_official_review_requests** | **bool** | | [optional]
**block_on_outdated_branch** | **bool** | | [optional]
**block_on_rejected_reviews** | **bool** | | [optional]
**dismiss_stale_approvals** | **bool** | | [optional]
**enable_approvals_whitelist** | **bool** | | [optional]
**enable_force_push** | **bool** | | [optional]
**enable_force_push_allowlist** | **bool** | | [optional]
**enable_merge_whitelist** | **bool** | | [optional]
**enable_push** | **bool** | | [optional]
**enable_push_whitelist** | **bool** | | [optional]
**enable_status_check** | **bool** | | [optional]
**force_push_allowlist_deploy_keys** | **bool** | | [optional]
**force_push_allowlist_teams** | **list[str]** | | [optional]
**force_push_allowlist_usernames** | **list[str]** | | [optional]
**ignore_stale_approvals** | **bool** | | [optional]
**merge_whitelist_teams** | **list[str]** | | [optional]
**merge_whitelist_usernames** | **list[str]** | | [optional]
**priority** | **int** | | [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]
**unprotected_file_patterns** | **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)

View 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
View 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)

14
docs/EditHookOption.md Normal file
View File

@@ -0,0 +1,14 @@
# EditHookOption
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**active** | **bool** | | [optional]
**authorization_header** | **str** | | [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)

View 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)

18
docs/EditIssueOption.md Normal file
View File

@@ -0,0 +1,18 @@
# EditIssueOption
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**assignee** | **str** | deprecated | [optional]
**assignees** | **list[str]** | | [optional]
**body** | **str** | | [optional]
**due_date** | **datetime** | | [optional]
**milestone** | **int** | | [optional]
**ref** | **str** | | [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)

14
docs/EditLabelOption.md Normal file
View File

@@ -0,0 +1,14 @@
# EditLabelOption
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**color** | **str** | | [optional]
**description** | **str** | | [optional]
**exclusive** | **bool** | | [optional]
**is_archived** | **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)

View 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)

16
docs/EditOrgOption.md Normal file
View File

@@ -0,0 +1,16 @@
# EditOrgOption
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**description** | **str** | | [optional]
**email** | **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)

View File

@@ -0,0 +1,20 @@
# EditPullRequestOption
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**allow_maintainer_edit** | **bool** | | [optional]
**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)

View 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
View 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)

41
docs/EditRepoOption.md Normal file
View File

@@ -0,0 +1,41 @@
# EditRepoOption
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**allow_fast_forward_only_merge** | **bool** | either `true` to allow fast-forward-only merging pull requests, or `false` to prevent fast-forward-only merging. | [optional]
**allow_manual_merge** | **bool** | either `true` to allow mark pr as merged manually, or `false` to prevent it. | [optional]
**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. | [optional]
**allow_rebase** | **bool** | either `true` to allow rebase-merging pull requests, or `false` to prevent rebase-merging. | [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. | [optional]
**allow_rebase_update** | **bool** | either `true` to allow updating pull request branch by rebase, or `false` to prevent it. | [optional]
**allow_squash_merge** | **bool** | either `true` to allow squash-merging pull requests, or `false` to prevent squash-merging. | [optional]
**archived** | **bool** | set to `true` to archive this repository. | [optional]
**autodetect_manual_merge** | **bool** | either `true` to enable AutodetectManualMerge, or `false` to prevent it. Note: In some special cases, misjudgments can occur. | [optional]
**default_allow_maintainer_edit** | **bool** | set to `true` to allow edits from maintainers by default | [optional]
**default_branch** | **str** | sets the default branch for this repository. | [optional]
**default_delete_branch_after_merge** | **bool** | set to `true` to delete pr branch after merge by default | [optional]
**default_merge_style** | **str** | set to a merge style to be used by this repository: \"merge\", \"rebase\", \"rebase-merge\", \"squash\", or \"fast-forward-only\". | [optional]
**description** | **str** | a short description of the repository. | [optional]
**enable_prune** | **bool** | enable prune - remove obsolete remote-tracking references when mirroring | [optional]
**external_tracker** | [**ExternalTracker**](ExternalTracker.md) | | [optional]
**external_wiki** | [**ExternalWiki**](ExternalWiki.md) | | [optional]
**has_actions** | **bool** | either `true` to enable actions unit, or `false` to disable them. | [optional]
**has_issues** | **bool** | either `true` to enable issues for this repository or `false` to disable them. | [optional]
**has_packages** | **bool** | either `true` to enable packages unit, or `false` to disable them. | [optional]
**has_projects** | **bool** | either `true` to enable project unit, or `false` to disable them. | [optional]
**has_pull_requests** | **bool** | either `true` to allow pull requests, or `false` to prevent pull request. | [optional]
**has_releases** | **bool** | either `true` to enable releases unit, or `false` to disable them. | [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. | [optional]
**internal_tracker** | [**InternalTracker**](InternalTracker.md) | | [optional]
**mirror_interval** | **str** | set to a string like `8h30m0s` to set the mirror interval time | [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]
**projects_mode** | **str** | `repo` to only allow repo-level projects, `owner` to only allow owner projects, `all` to allow both. | [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)

View File

@@ -0,0 +1,12 @@
# EditTagProtectionOption
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name_pattern** | **str** | | [optional]
**whitelist_teams** | **list[str]** | | [optional]
**whitelist_usernames** | **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/EditTeamOption.md Normal file
View File

@@ -0,0 +1,16 @@
# 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]
**units_map** | **dict(str, 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/EditUserOption.md Normal file
View File

@@ -0,0 +1,27 @@
# 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]
**description** | **str** | | [optional]
**email** | **str** | | [optional]
**full_name** | **str** | | [optional]
**location** | **str** | | [optional]
**login_name** | **str** | |
**max_repo_creation** | **int** | | [optional]
**must_change_password** | **bool** | | [optional]
**password** | **str** | | [optional]
**prohibit_login** | **bool** | | [optional]
**restricted** | **bool** | | [optional]
**source_id** | **int** | |
**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)

14
docs/Email.md Normal file
View File

@@ -0,0 +1,14 @@
# Email
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**email** | **str** | | [optional]
**primary** | **bool** | | [optional]
**user_id** | **int** | | [optional]
**username** | **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)

13
docs/ExternalTracker.md Normal file
View File

@@ -0,0 +1,13 @@
# 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_regexp_pattern** | **str** | External Issue Tracker issue regular expression | [optional]
**external_tracker_style** | **str** | External Issue Tracker Number Format, either `numeric`, `alphanumeric`, or `regexp` | [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
View 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)

View File

@@ -0,0 +1,18 @@
# FileCommitResponse
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**author** | [**CommitUser**](CommitUser.md) | | [optional]
**committer** | [**CommitUser**](CommitUser.md) | | [optional]
**created** | **datetime** | | [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)

View 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
View 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
View 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)

12
docs/FilesResponse.md Normal file
View File

@@ -0,0 +1,12 @@
# FilesResponse
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**commit** | [**FileCommitResponse**](FileCommitResponse.md) | | [optional]
**files** | [**list[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)

22
docs/GPGKey.md Normal file
View File

@@ -0,0 +1,22 @@
# 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]
**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)

11
docs/GPGKeyEmail.md Normal file
View 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)

View File

@@ -0,0 +1,13 @@
# GeneralAPISettings
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**default_git_trees_per_page** | **int** | | [optional]
**default_max_blob_size** | **int** | | [optional]
**default_paging_num** | **int** | | [optional]
**max_response_items** | **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)

View File

@@ -0,0 +1,13 @@
# GeneralAttachmentSettings
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**allowed_types** | **str** | | [optional]
**enabled** | **bool** | | [optional]
**max_files** | **int** | | [optional]
**max_size** | **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)

View File

@@ -0,0 +1,15 @@
# GeneralRepoSettings
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**http_git_disabled** | **bool** | | [optional]
**lfs_disabled** | **bool** | | [optional]
**migrations_disabled** | **bool** | | [optional]
**mirrors_disabled** | **bool** | | [optional]
**stars_disabled** | **bool** | | [optional]
**time_tracking_disabled** | **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/GeneralUISettings.md Normal file
View File

@@ -0,0 +1,12 @@
# GeneralUISettings
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**allowed_reactions** | **list[str]** | | [optional]
**custom_emojis** | **list[str]** | | [optional]
**default_theme** | **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)

View File

@@ -0,0 +1,21 @@
# GenerateRepoOption
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**avatar** | **bool** | include avatar of the template repo | [optional]
**default_branch** | **str** | Default branch of the new repository | [optional]
**description** | **str** | Description of the repository to create | [optional]
**git_content** | **bool** | include git content of default branch in template repo | [optional]
**git_hooks** | **bool** | include git hooks in template repo | [optional]
**labels** | **bool** | include labels in template repo | [optional]
**name** | **str** | Name of the repository to create |
**owner** | **str** | The organization or person who will own the new repository |
**private** | **bool** | Whether the repository is private | [optional]
**protected_branch** | **bool** | include protected branches in template repo | [optional]
**topics** | **bool** | include topics in template repo | [optional]
**webhooks** | **bool** | include webhooks in template repo | [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
View 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)

Some files were not shown because too many files have changed in this diff Show More