Compare commits
2 Commits
master
...
release/1.
| Author | SHA1 | Date |
|---|---|---|
|
|
d0ade9dffc | |
|
|
37f3a4e21b |
|
|
@ -1,7 +1,7 @@
|
|||
# java-gitea-api
|
||||
|
||||
Gitea API.
|
||||
- API version: 1.26.0
|
||||
- API version: 1.26.3
|
||||
|
||||
This documentation describes the Gitea API.
|
||||
|
||||
|
|
@ -39,7 +39,7 @@ Add this dependency to your project's POM:
|
|||
<dependency>
|
||||
<groupId>io.github.le-shi</groupId>
|
||||
<artifactId>java-gitea-api</artifactId>
|
||||
<version>1.26.0</version>
|
||||
<version>1.26.3</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
```
|
||||
|
|
@ -49,7 +49,7 @@ Add this dependency to your project's POM:
|
|||
Add this dependency to your project's build file:
|
||||
|
||||
```groovy
|
||||
implementation "io.github.le-shi:java-gitea-api:1.26.0"
|
||||
implementation "io.github.le-shi:java-gitea-api:1.26.3"
|
||||
```
|
||||
|
||||
### Others
|
||||
|
|
@ -62,5 +62,5 @@ mvn clean package
|
|||
|
||||
Then manually install the following JARs:
|
||||
|
||||
* `target/java-gitea-api-1.26.0.jar`
|
||||
* `target/java-gitea-api-1.26.3.jar`
|
||||
* `target/lib/*.jar`
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@
|
|||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**message** | **String** | | [optional]
|
||||
**url** | **String** | | [optional]
|
||||
**message** | **String** | Message contains the error description | [optional]
|
||||
**url** | **String** | URL contains the documentation URL for this error | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -4,11 +4,13 @@
|
|||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**id** | **Long** | | [optional]
|
||||
**name** | **String** | | [optional]
|
||||
**scopes** | **List<String>** | | [optional]
|
||||
**sha1** | **String** | | [optional]
|
||||
**tokenLastEight** | **String** | | [optional]
|
||||
**createdAt** | [**OffsetDateTime**](OffsetDateTime.md) | The timestamp when the token was created | [optional]
|
||||
**id** | **Long** | The unique identifier of the access token | [optional]
|
||||
**lastUsedAt** | [**OffsetDateTime**](OffsetDateTime.md) | The timestamp when the token was last used | [optional]
|
||||
**name** | **String** | The name of the access token | [optional]
|
||||
**scopes** | **List<String>** | The scopes granted to this access token | [optional]
|
||||
**sha1** | **String** | The SHA1 hash of the access token | [optional]
|
||||
**tokenLastEight** | **String** | The last eight characters of the token | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,19 @@
|
|||
|
||||
# ActionArtifact
|
||||
|
||||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**archiveDownloadUrl** | **String** | | [optional]
|
||||
**createdAt** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
||||
**expired** | **Boolean** | | [optional]
|
||||
**expiresAt** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
||||
**id** | **Long** | | [optional]
|
||||
**name** | **String** | | [optional]
|
||||
**sizeInBytes** | **Long** | | [optional]
|
||||
**updatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
||||
**url** | **String** | | [optional]
|
||||
**workflowRun** | [**ActionWorkflowRun**](ActionWorkflowRun.md) | | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
|
||||
# ActionArtifactsResponse
|
||||
|
||||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**artifacts** | [**List<ActionArtifact>**](ActionArtifact.md) | | [optional]
|
||||
**totalCount** | **Long** | | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
|
||||
# ActionRunner
|
||||
|
||||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**busy** | **Boolean** | | [optional]
|
||||
**disabled** | **Boolean** | | [optional]
|
||||
**ephemeral** | **Boolean** | | [optional]
|
||||
**id** | **Long** | | [optional]
|
||||
**labels** | [**List<ActionRunnerLabel>**](ActionRunnerLabel.md) | | [optional]
|
||||
**name** | **String** | | [optional]
|
||||
**status** | **String** | | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
|
||||
# ActionRunnerLabel
|
||||
|
||||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**id** | **Long** | | [optional]
|
||||
**name** | **String** | | [optional]
|
||||
**type** | **String** | | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
|
||||
# ActionRunnersResponse
|
||||
|
||||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**runners** | [**List<ActionRunner>**](ActionRunner.md) | | [optional]
|
||||
**totalCount** | **Long** | | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
|
||||
# ActionTask
|
||||
|
||||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**createdAt** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
||||
**displayTitle** | **String** | DisplayTitle is the display title for the workflow run | [optional]
|
||||
**event** | **String** | Event is the type of event that triggered the workflow | [optional]
|
||||
**headBranch** | **String** | HeadBranch is the branch that triggered the workflow | [optional]
|
||||
**headSha** | **String** | HeadSHA is the commit SHA that triggered the workflow | [optional]
|
||||
**id** | **Long** | ID is the unique identifier for the action task | [optional]
|
||||
**name** | **String** | Name is the name of the workflow | [optional]
|
||||
**runNumber** | **Long** | RunNumber is the sequential number of the workflow run | [optional]
|
||||
**runStartedAt** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
||||
**status** | **String** | Status indicates the current status of the workflow run | [optional]
|
||||
**updatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
||||
**url** | **String** | URL is the API URL for this workflow run | [optional]
|
||||
**workflowId** | **String** | WorkflowID is the identifier of the workflow | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
|
||||
# ActionTaskResponse
|
||||
|
||||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**totalCount** | **Long** | TotalCount is the total number of workflow runs | [optional]
|
||||
**workflowRuns** | [**List<ActionTask>**](ActionTask.md) | Entries contains the list of workflow runs | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
|
||||
# ActionVariable
|
||||
|
||||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**data** | **String** | the value of the variable | [optional]
|
||||
**description** | **String** | the description of the variable | [optional]
|
||||
**name** | **String** | the name of the variable | [optional]
|
||||
**ownerId** | **Long** | the owner to which the variable belongs | [optional]
|
||||
**repoId** | **Long** | the repository to which the variable belongs | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
|
||||
# ActionWorkflow
|
||||
|
||||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**badgeUrl** | **String** | BadgeURL is the URL for the workflow badge | [optional]
|
||||
**createdAt** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
||||
**deletedAt** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
||||
**htmlUrl** | **String** | HTMLURL is the web URL for viewing the workflow | [optional]
|
||||
**id** | **String** | ID is the unique identifier for the workflow | [optional]
|
||||
**name** | **String** | Name is the name of the workflow | [optional]
|
||||
**path** | **String** | Path is the file path of the workflow | [optional]
|
||||
**state** | **String** | State indicates if the workflow is active or disabled | [optional]
|
||||
**updatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
||||
**url** | **String** | URL is the API URL for this workflow | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,27 @@
|
|||
|
||||
# ActionWorkflowJob
|
||||
|
||||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**completedAt** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
||||
**conclusion** | **String** | | [optional]
|
||||
**createdAt** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
||||
**headBranch** | **String** | | [optional]
|
||||
**headSha** | **String** | | [optional]
|
||||
**htmlUrl** | **String** | | [optional]
|
||||
**id** | **Long** | | [optional]
|
||||
**labels** | **List<String>** | | [optional]
|
||||
**name** | **String** | | [optional]
|
||||
**runAttempt** | **Long** | | [optional]
|
||||
**runId** | **Long** | | [optional]
|
||||
**runUrl** | **String** | | [optional]
|
||||
**runnerId** | **Long** | | [optional]
|
||||
**runnerName** | **String** | | [optional]
|
||||
**startedAt** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
||||
**status** | **String** | | [optional]
|
||||
**steps** | [**List<ActionWorkflowStep>**](ActionWorkflowStep.md) | | [optional]
|
||||
**url** | **String** | | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
|
||||
# ActionWorkflowJobsResponse
|
||||
|
||||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**jobs** | [**List<ActionWorkflowJob>**](ActionWorkflowJob.md) | | [optional]
|
||||
**totalCount** | **Long** | | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
|
||||
# ActionWorkflowResponse
|
||||
|
||||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**totalCount** | **Long** | | [optional]
|
||||
**workflows** | [**List<ActionWorkflow>**](ActionWorkflow.md) | | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,28 @@
|
|||
|
||||
# ActionWorkflowRun
|
||||
|
||||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**actor** | [**User**](User.md) | | [optional]
|
||||
**completedAt** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
||||
**conclusion** | **String** | | [optional]
|
||||
**displayTitle** | **String** | | [optional]
|
||||
**event** | **String** | | [optional]
|
||||
**headBranch** | **String** | | [optional]
|
||||
**headRepository** | [**Repository**](Repository.md) | | [optional]
|
||||
**headSha** | **String** | | [optional]
|
||||
**htmlUrl** | **String** | | [optional]
|
||||
**id** | **Long** | | [optional]
|
||||
**path** | **String** | | [optional]
|
||||
**repository** | [**Repository**](Repository.md) | | [optional]
|
||||
**repositoryId** | **Long** | | [optional]
|
||||
**runAttempt** | **Long** | | [optional]
|
||||
**runNumber** | **Long** | | [optional]
|
||||
**startedAt** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
||||
**status** | **String** | | [optional]
|
||||
**triggerActor** | [**User**](User.md) | | [optional]
|
||||
**url** | **String** | | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
|
||||
# ActionWorkflowRunsResponse
|
||||
|
||||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**totalCount** | **Long** | | [optional]
|
||||
**workflowRuns** | [**List<ActionWorkflowRun>**](ActionWorkflowRun.md) | | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
|
||||
# ActionWorkflowStep
|
||||
|
||||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**completedAt** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
||||
**conclusion** | **String** | | [optional]
|
||||
**name** | **String** | | [optional]
|
||||
**number** | **Long** | | [optional]
|
||||
**startedAt** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
||||
**status** | **String** | | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
@ -5,18 +5,51 @@
|
|||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**actUser** | [**User**](User.md) | | [optional]
|
||||
**actUserId** | **Long** | | [optional]
|
||||
**actUserId** | **Long** | The ID of the user who performed the action | [optional]
|
||||
**comment** | [**Comment**](Comment.md) | | [optional]
|
||||
**commentId** | **Long** | | [optional]
|
||||
**content** | **String** | | [optional]
|
||||
**created** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
||||
**id** | **Long** | | [optional]
|
||||
**isPrivate** | **Boolean** | | [optional]
|
||||
**opType** | **String** | | [optional]
|
||||
**refName** | **String** | | [optional]
|
||||
**commentId** | **Long** | The ID of the comment associated with the activity (if applicable) | [optional]
|
||||
**content** | **String** | Additional content or details about the activity | [optional]
|
||||
**created** | [**OffsetDateTime**](OffsetDateTime.md) | The date and time when the activity occurred | [optional]
|
||||
**id** | **Long** | The unique identifier of the activity | [optional]
|
||||
**isPrivate** | **Boolean** | Whether this activity is from a private repository | [optional]
|
||||
**opType** | [**OpTypeEnum**](#OpTypeEnum) | the type of action | [optional]
|
||||
**refName** | **String** | The name of the git reference (branch/tag) associated with the activity | [optional]
|
||||
**repo** | [**Repository**](Repository.md) | | [optional]
|
||||
**repoId** | **Long** | | [optional]
|
||||
**userId** | **Long** | | [optional]
|
||||
**repoId** | **Long** | The ID of the repository associated with the activity | [optional]
|
||||
**userId** | **Long** | The ID of the user who receives/sees this activity | [optional]
|
||||
|
||||
|
||||
<a name="OpTypeEnum"></a>
|
||||
## Enum: OpTypeEnum
|
||||
Name | Value
|
||||
---- | -----
|
||||
CREATE_REPO | "create_repo"
|
||||
RENAME_REPO | "rename_repo"
|
||||
STAR_REPO | "star_repo"
|
||||
WATCH_REPO | "watch_repo"
|
||||
COMMIT_REPO | "commit_repo"
|
||||
CREATE_ISSUE | "create_issue"
|
||||
CREATE_PULL_REQUEST | "create_pull_request"
|
||||
TRANSFER_REPO | "transfer_repo"
|
||||
PUSH_TAG | "push_tag"
|
||||
COMMENT_ISSUE | "comment_issue"
|
||||
MERGE_PULL_REQUEST | "merge_pull_request"
|
||||
CLOSE_ISSUE | "close_issue"
|
||||
REOPEN_ISSUE | "reopen_issue"
|
||||
CLOSE_PULL_REQUEST | "close_pull_request"
|
||||
REOPEN_PULL_REQUEST | "reopen_pull_request"
|
||||
DELETE_TAG | "delete_tag"
|
||||
DELETE_BRANCH | "delete_branch"
|
||||
MIRROR_SYNC_PUSH | "mirror_sync_push"
|
||||
MIRROR_SYNC_CREATE | "mirror_sync_create"
|
||||
MIRROR_SYNC_DELETE | "mirror_sync_delete"
|
||||
APPROVE_PULL_REQUEST | "approve_pull_request"
|
||||
REJECT_PULL_REQUEST | "reject_pull_request"
|
||||
COMMENT_PULL | "comment_pull"
|
||||
PUBLISH_RELEASE | "publish_release"
|
||||
PULL_REVIEW_DISMISSED | "pull_review_dismissed"
|
||||
PULL_REQUEST_READY_FOR_REVIEW | "pull_request_ready_for_review"
|
||||
AUTO_MERGE_PULL_REQUEST | "auto_merge_pull_request"
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,185 +0,0 @@
|
|||
# ActivitypubApi
|
||||
|
||||
All URIs are relative to *http://localhost/api/v1*
|
||||
|
||||
Method | HTTP request | Description
|
||||
------------- | ------------- | -------------
|
||||
[**activitypubPerson**](ActivitypubApi.md#activitypubPerson) | **GET** /activitypub/user-id/{user-id} | Returns the Person actor for a user
|
||||
[**activitypubPersonInbox**](ActivitypubApi.md#activitypubPersonInbox) | **POST** /activitypub/user-id/{user-id}/inbox | Send to the inbox
|
||||
|
||||
|
||||
<a name="activitypubPerson"></a>
|
||||
# **activitypubPerson**
|
||||
> ActivityPub activitypubPerson(userId)
|
||||
|
||||
Returns the Person actor for a user
|
||||
|
||||
### Example
|
||||
```java
|
||||
// Import classes:
|
||||
//import io.gitea.ApiClient;
|
||||
//import io.gitea.ApiException;
|
||||
//import io.gitea.Configuration;
|
||||
//import io.gitea.auth.*;
|
||||
//import io.gitea.api.ActivitypubApi;
|
||||
|
||||
ApiClient defaultClient = Configuration.getDefaultApiClient();
|
||||
|
||||
// Configure API key authorization: AccessToken
|
||||
ApiKeyAuth AccessToken = (ApiKeyAuth) defaultClient.getAuthentication("AccessToken");
|
||||
AccessToken.setApiKey("YOUR API KEY");
|
||||
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
||||
//AccessToken.setApiKeyPrefix("Token");
|
||||
|
||||
// Configure API key authorization: AuthorizationHeaderToken
|
||||
ApiKeyAuth AuthorizationHeaderToken = (ApiKeyAuth) defaultClient.getAuthentication("AuthorizationHeaderToken");
|
||||
AuthorizationHeaderToken.setApiKey("YOUR API KEY");
|
||||
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
||||
//AuthorizationHeaderToken.setApiKeyPrefix("Token");
|
||||
|
||||
// Configure HTTP basic authorization: BasicAuth
|
||||
HttpBasicAuth BasicAuth = (HttpBasicAuth) defaultClient.getAuthentication("BasicAuth");
|
||||
BasicAuth.setUsername("YOUR USERNAME");
|
||||
BasicAuth.setPassword("YOUR PASSWORD");
|
||||
|
||||
// Configure API key authorization: SudoHeader
|
||||
ApiKeyAuth SudoHeader = (ApiKeyAuth) defaultClient.getAuthentication("SudoHeader");
|
||||
SudoHeader.setApiKey("YOUR API KEY");
|
||||
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
||||
//SudoHeader.setApiKeyPrefix("Token");
|
||||
|
||||
// Configure API key authorization: SudoParam
|
||||
ApiKeyAuth SudoParam = (ApiKeyAuth) defaultClient.getAuthentication("SudoParam");
|
||||
SudoParam.setApiKey("YOUR API KEY");
|
||||
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
||||
//SudoParam.setApiKeyPrefix("Token");
|
||||
|
||||
// Configure API key authorization: TOTPHeader
|
||||
ApiKeyAuth TOTPHeader = (ApiKeyAuth) defaultClient.getAuthentication("TOTPHeader");
|
||||
TOTPHeader.setApiKey("YOUR API KEY");
|
||||
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
||||
//TOTPHeader.setApiKeyPrefix("Token");
|
||||
|
||||
// Configure API key authorization: Token
|
||||
ApiKeyAuth Token = (ApiKeyAuth) defaultClient.getAuthentication("Token");
|
||||
Token.setApiKey("YOUR API KEY");
|
||||
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
||||
//Token.setApiKeyPrefix("Token");
|
||||
|
||||
ActivitypubApi apiInstance = new ActivitypubApi();
|
||||
Integer userId = 56; // Integer | user ID of the user
|
||||
try {
|
||||
ActivityPub result = apiInstance.activitypubPerson(userId);
|
||||
System.out.println(result);
|
||||
} catch (ApiException e) {
|
||||
System.err.println("Exception when calling ActivitypubApi#activitypubPerson");
|
||||
e.printStackTrace();
|
||||
}
|
||||
```
|
||||
|
||||
### Parameters
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**userId** | **Integer**| 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
|
||||
|
||||
<a name="activitypubPersonInbox"></a>
|
||||
# **activitypubPersonInbox**
|
||||
> activitypubPersonInbox(userId)
|
||||
|
||||
Send to the inbox
|
||||
|
||||
### Example
|
||||
```java
|
||||
// Import classes:
|
||||
//import io.gitea.ApiClient;
|
||||
//import io.gitea.ApiException;
|
||||
//import io.gitea.Configuration;
|
||||
//import io.gitea.auth.*;
|
||||
//import io.gitea.api.ActivitypubApi;
|
||||
|
||||
ApiClient defaultClient = Configuration.getDefaultApiClient();
|
||||
|
||||
// Configure API key authorization: AccessToken
|
||||
ApiKeyAuth AccessToken = (ApiKeyAuth) defaultClient.getAuthentication("AccessToken");
|
||||
AccessToken.setApiKey("YOUR API KEY");
|
||||
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
||||
//AccessToken.setApiKeyPrefix("Token");
|
||||
|
||||
// Configure API key authorization: AuthorizationHeaderToken
|
||||
ApiKeyAuth AuthorizationHeaderToken = (ApiKeyAuth) defaultClient.getAuthentication("AuthorizationHeaderToken");
|
||||
AuthorizationHeaderToken.setApiKey("YOUR API KEY");
|
||||
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
||||
//AuthorizationHeaderToken.setApiKeyPrefix("Token");
|
||||
|
||||
// Configure HTTP basic authorization: BasicAuth
|
||||
HttpBasicAuth BasicAuth = (HttpBasicAuth) defaultClient.getAuthentication("BasicAuth");
|
||||
BasicAuth.setUsername("YOUR USERNAME");
|
||||
BasicAuth.setPassword("YOUR PASSWORD");
|
||||
|
||||
// Configure API key authorization: SudoHeader
|
||||
ApiKeyAuth SudoHeader = (ApiKeyAuth) defaultClient.getAuthentication("SudoHeader");
|
||||
SudoHeader.setApiKey("YOUR API KEY");
|
||||
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
||||
//SudoHeader.setApiKeyPrefix("Token");
|
||||
|
||||
// Configure API key authorization: SudoParam
|
||||
ApiKeyAuth SudoParam = (ApiKeyAuth) defaultClient.getAuthentication("SudoParam");
|
||||
SudoParam.setApiKey("YOUR API KEY");
|
||||
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
||||
//SudoParam.setApiKeyPrefix("Token");
|
||||
|
||||
// Configure API key authorization: TOTPHeader
|
||||
ApiKeyAuth TOTPHeader = (ApiKeyAuth) defaultClient.getAuthentication("TOTPHeader");
|
||||
TOTPHeader.setApiKey("YOUR API KEY");
|
||||
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
||||
//TOTPHeader.setApiKeyPrefix("Token");
|
||||
|
||||
// Configure API key authorization: Token
|
||||
ApiKeyAuth Token = (ApiKeyAuth) defaultClient.getAuthentication("Token");
|
||||
Token.setApiKey("YOUR API KEY");
|
||||
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
||||
//Token.setApiKeyPrefix("Token");
|
||||
|
||||
ActivitypubApi apiInstance = new ActivitypubApi();
|
||||
Integer userId = 56; // Integer | user ID of the user
|
||||
try {
|
||||
apiInstance.activitypubPersonInbox(userId);
|
||||
} catch (ApiException e) {
|
||||
System.err.println("Exception when calling ActivitypubApi#activitypubPersonInbox");
|
||||
e.printStackTrace();
|
||||
}
|
||||
```
|
||||
|
||||
### Parameters
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**userId** | **Integer**| user ID of the user |
|
||||
|
||||
### Return type
|
||||
|
||||
null (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
|
||||
|
||||
|
|
@ -4,7 +4,16 @@
|
|||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**permission** | **String** | | [optional]
|
||||
**permission** | [**PermissionEnum**](#PermissionEnum) | | [optional]
|
||||
|
||||
|
||||
<a name="PermissionEnum"></a>
|
||||
## Enum: PermissionEnum
|
||||
Name | Value
|
||||
---- | -----
|
||||
READ | "read"
|
||||
WRITE | "write"
|
||||
ADMIN | "admin"
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ Name | Type | Description | Notes
|
|||
------------ | ------------- | ------------- | -------------
|
||||
**created** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
||||
**time** | **Long** | time in seconds |
|
||||
**userName** | **String** | User who spent the time (optional) | [optional]
|
||||
**userName** | **String** | username of the user who spent the time working on the issue (optional) | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
996
docs/AdminApi.md
996
docs/AdminApi.md
File diff suppressed because it is too large
Load Diff
|
|
@ -4,12 +4,12 @@
|
|||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**message** | **String** | | [optional]
|
||||
**message** | **String** | The message associated with the annotated tag | [optional]
|
||||
**object** | [**AnnotatedTagObject**](AnnotatedTagObject.md) | | [optional]
|
||||
**sha** | **String** | | [optional]
|
||||
**tag** | **String** | | [optional]
|
||||
**sha** | **String** | The SHA hash of the annotated tag | [optional]
|
||||
**tag** | **String** | The name of the annotated tag | [optional]
|
||||
**tagger** | [**CommitUser**](CommitUser.md) | | [optional]
|
||||
**url** | **String** | | [optional]
|
||||
**url** | **String** | The URL to access the annotated tag | [optional]
|
||||
**verification** | [**PayloadCommitVerification**](PayloadCommitVerification.md) | | [optional]
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -4,9 +4,9 @@
|
|||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**sha** | **String** | | [optional]
|
||||
**type** | **String** | | [optional]
|
||||
**url** | **String** | | [optional]
|
||||
**sha** | **String** | The SHA hash of the tagged object | [optional]
|
||||
**type** | **String** | The type of the tagged object (e.g., commit, tree) | [optional]
|
||||
**url** | **String** | The URL to access the tagged object | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,18 @@
|
|||
|
||||
# ApplyDiffPatchFileOptions
|
||||
|
||||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**author** | [**Identity**](Identity.md) | | [optional]
|
||||
**branch** | **String** | branch (optional) is the base branch for the changes. If not supplied, the default branch is used | [optional]
|
||||
**committer** | [**Identity**](Identity.md) | | [optional]
|
||||
**content** | **String** | |
|
||||
**dates** | [**CommitDateOptions**](CommitDateOptions.md) | | [optional]
|
||||
**forcePush** | **Boolean** | force_push (optional) will do a force-push if the new branch already exists | [optional]
|
||||
**message** | **String** | message (optional) is the commit message of the changes. If not supplied, a default message will be used | [optional]
|
||||
**newBranch** | **String** | new_branch (optional) will make a new branch from base branch for the changes. If not supplied, the changes will be committed to the base branch | [optional]
|
||||
**signoff** | **Boolean** | Add a Signed-off-by trailer by the committer at the end of the commit log message. | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
@ -4,13 +4,13 @@
|
|||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**browserDownloadUrl** | **String** | | [optional]
|
||||
**browserDownloadUrl** | **String** | DownloadURL is the URL to download the attachment | [optional]
|
||||
**createdAt** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
||||
**downloadCount** | **Long** | | [optional]
|
||||
**id** | **Long** | | [optional]
|
||||
**name** | **String** | | [optional]
|
||||
**size** | **Long** | | [optional]
|
||||
**uuid** | **String** | | [optional]
|
||||
**downloadCount** | **Long** | DownloadCount is the number of times the attachment has been downloaded | [optional]
|
||||
**id** | **Long** | ID is the unique identifier for the attachment | [optional]
|
||||
**name** | **String** | Name is the filename of the attachment | [optional]
|
||||
**size** | **Long** | Size is the file size in bytes | [optional]
|
||||
**uuid** | **String** | UUID is the unique identifier for the attachment file | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,13 @@
|
|||
|
||||
# Badge
|
||||
|
||||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**description** | **String** | | [optional]
|
||||
**id** | **Long** | | [optional]
|
||||
**imageUrl** | **String** | | [optional]
|
||||
**slug** | **String** | | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
@ -5,14 +5,14 @@
|
|||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**commit** | [**PayloadCommit**](PayloadCommit.md) | | [optional]
|
||||
**effectiveBranchProtectionName** | **String** | | [optional]
|
||||
**enableStatusCheck** | **Boolean** | | [optional]
|
||||
**name** | **String** | | [optional]
|
||||
**_protected** | **Boolean** | | [optional]
|
||||
**requiredApprovals** | **Long** | | [optional]
|
||||
**statusCheckContexts** | **List<String>** | | [optional]
|
||||
**userCanMerge** | **Boolean** | | [optional]
|
||||
**userCanPush** | **Boolean** | | [optional]
|
||||
**effectiveBranchProtectionName** | **String** | EffectiveBranchProtectionName is the name of the effective branch protection rule | [optional]
|
||||
**enableStatusCheck** | **Boolean** | EnableStatusCheck indicates if status checks are enabled | [optional]
|
||||
**name** | **String** | Name is the branch name | [optional]
|
||||
**_protected** | **Boolean** | Protected indicates if the branch is protected | [optional]
|
||||
**requiredApprovals** | **Long** | RequiredApprovals is the number of required approvals for pull requests | [optional]
|
||||
**statusCheckContexts** | **List<String>** | StatusCheckContexts contains the list of required status check contexts | [optional]
|
||||
**userCanMerge** | **Boolean** | UserCanMerge indicates if the current user can merge to this branch | [optional]
|
||||
**userCanPush** | **Boolean** | UserCanPush indicates if the current user can push to this branch | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|||
------------ | ------------- | ------------- | -------------
|
||||
**approvalsWhitelistTeams** | **List<String>** | | [optional]
|
||||
**approvalsWhitelistUsername** | **List<String>** | | [optional]
|
||||
**blockAdminMergeOverride** | **Boolean** | | [optional]
|
||||
**blockOnOfficialReviewRequests** | **Boolean** | | [optional]
|
||||
**blockOnOutdatedBranch** | **Boolean** | | [optional]
|
||||
**blockOnRejectedReviews** | **Boolean** | | [optional]
|
||||
|
|
@ -13,19 +14,26 @@ Name | Type | Description | Notes
|
|||
**createdAt** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
||||
**dismissStaleApprovals** | **Boolean** | | [optional]
|
||||
**enableApprovalsWhitelist** | **Boolean** | | [optional]
|
||||
**enableForcePush** | **Boolean** | | [optional]
|
||||
**enableForcePushAllowlist** | **Boolean** | | [optional]
|
||||
**enableMergeWhitelist** | **Boolean** | | [optional]
|
||||
**enablePush** | **Boolean** | | [optional]
|
||||
**enablePushWhitelist** | **Boolean** | | [optional]
|
||||
**enableStatusCheck** | **Boolean** | | [optional]
|
||||
**forcePushAllowlistDeployKeys** | **Boolean** | | [optional]
|
||||
**forcePushAllowlistTeams** | **List<String>** | | [optional]
|
||||
**forcePushAllowlistUsernames** | **List<String>** | | [optional]
|
||||
**ignoreStaleApprovals** | **Boolean** | | [optional]
|
||||
**mergeWhitelistTeams** | **List<String>** | | [optional]
|
||||
**mergeWhitelistUsernames** | **List<String>** | | [optional]
|
||||
**priority** | **Long** | Priority is the priority of this branch protection rule | [optional]
|
||||
**protectedFilePatterns** | **String** | | [optional]
|
||||
**pushWhitelistDeployKeys** | **Boolean** | | [optional]
|
||||
**pushWhitelistTeams** | **List<String>** | | [optional]
|
||||
**pushWhitelistUsernames** | **List<String>** | | [optional]
|
||||
**requireSignedCommits** | **Boolean** | | [optional]
|
||||
**requiredApprovals** | **Long** | | [optional]
|
||||
**ruleName** | **String** | | [optional]
|
||||
**ruleName** | **String** | RuleName is the name of the branch protection rule | [optional]
|
||||
**statusCheckContexts** | **List<String>** | | [optional]
|
||||
**unprotectedFilePatterns** | **String** | | [optional]
|
||||
**updatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
||||
|
|
|
|||
|
|
@ -4,11 +4,11 @@
|
|||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**content** | **String** | new or updated file content, must be base64 encoded | [optional]
|
||||
**content** | **String** | new or updated file content, it must be base64 encoded | [optional]
|
||||
**fromPath** | **String** | old path of the file to move | [optional]
|
||||
**operation** | [**OperationEnum**](#OperationEnum) | indicates what to do with the file |
|
||||
**operation** | [**OperationEnum**](#OperationEnum) | indicates what to do with the file: \"create\" for creating a new file, \"update\" for updating an existing file, \"upload\" for creating or updating a file, \"rename\" for renaming a file, and \"delete\" for deleting an existing file. |
|
||||
**path** | **String** | path to the existing or new file |
|
||||
**sha** | **String** | sha is the SHA for the file that already exists, required for update or delete | [optional]
|
||||
**sha** | **String** | the blob ID (SHA) for the file that already exists, required for changing existing files | [optional]
|
||||
|
||||
|
||||
<a name="OperationEnum"></a>
|
||||
|
|
@ -17,6 +17,8 @@ Name | Value
|
|||
---- | -----
|
||||
CREATE | "create"
|
||||
UPDATE | "update"
|
||||
UPLOAD | "upload"
|
||||
RENAME | "rename"
|
||||
DELETE | "delete"
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -5,12 +5,13 @@
|
|||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**author** | [**Identity**](Identity.md) | | [optional]
|
||||
**branch** | **String** | branch (optional) to base this file from. if not given, the default branch is used | [optional]
|
||||
**branch** | **String** | branch (optional) is the base branch for the changes. If not supplied, 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** | **String** | message (optional) for the commit of this file. if not supplied, a default message will be used | [optional]
|
||||
**newBranch** | **String** | new_branch (optional) will make a new branch from `branch` before creating the file | [optional]
|
||||
**forcePush** | **Boolean** | force_push (optional) will do a force-push if the new branch already exists | [optional]
|
||||
**message** | **String** | message (optional) is the commit message of the changes. If not supplied, a default message will be used | [optional]
|
||||
**newBranch** | **String** | new_branch (optional) will make a new branch from base branch for the changes. If not supplied, the changes will be committed to the base branch | [optional]
|
||||
**signoff** | **Boolean** | Add a Signed-off-by trailer by the committer at the end of the commit log message. | [optional]
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -4,15 +4,15 @@
|
|||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**additions** | **Long** | | [optional]
|
||||
**changes** | **Long** | | [optional]
|
||||
**contentsUrl** | **String** | | [optional]
|
||||
**deletions** | **Long** | | [optional]
|
||||
**filename** | **String** | | [optional]
|
||||
**htmlUrl** | **String** | | [optional]
|
||||
**previousFilename** | **String** | | [optional]
|
||||
**rawUrl** | **String** | | [optional]
|
||||
**status** | **String** | | [optional]
|
||||
**additions** | **Long** | The number of lines added to the file | [optional]
|
||||
**changes** | **Long** | The total number of changes to the file | [optional]
|
||||
**contentsUrl** | **String** | The API URL to get the file contents | [optional]
|
||||
**deletions** | **Long** | The number of lines deleted from the file | [optional]
|
||||
**filename** | **String** | The name of the changed file | [optional]
|
||||
**htmlUrl** | **String** | The HTML URL to view the file changes | [optional]
|
||||
**previousFilename** | **String** | The previous filename if the file was renamed | [optional]
|
||||
**rawUrl** | **String** | The raw URL to download the file | [optional]
|
||||
**status** | **String** | The status of the file change (added, modified, deleted, etc.) | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -4,13 +4,25 @@
|
|||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**commitUrl** | **String** | | [optional]
|
||||
**commitUrl** | **String** | CommitURL is the API URL for the commit | [optional]
|
||||
**repository** | [**Repository**](Repository.md) | | [optional]
|
||||
**sha** | **String** | | [optional]
|
||||
**state** | **String** | | [optional]
|
||||
**statuses** | [**List<CommitStatus>**](CommitStatus.md) | | [optional]
|
||||
**totalCount** | **Long** | | [optional]
|
||||
**url** | **String** | | [optional]
|
||||
**sha** | **String** | SHA is the commit SHA this status applies to | [optional]
|
||||
**state** | [**StateEnum**](#StateEnum) | State is the overall combined status state pending CommitStatusPending CommitStatusPending is for when the CommitStatus is Pending success CommitStatusSuccess CommitStatusSuccess is for when the CommitStatus is Success error CommitStatusError CommitStatusError is for when the CommitStatus is Error failure CommitStatusFailure CommitStatusFailure is for when the CommitStatus is Failure warning CommitStatusWarning CommitStatusWarning is for when the CommitStatus is Warning skipped CommitStatusSkipped CommitStatusSkipped is for when CommitStatus is Skipped | [optional]
|
||||
**statuses** | [**List<CommitStatus>**](CommitStatus.md) | Statuses contains all individual commit statuses | [optional]
|
||||
**totalCount** | **Long** | TotalCount is the total number of statuses | [optional]
|
||||
**url** | **String** | URL is the API URL for this combined status | [optional]
|
||||
|
||||
|
||||
<a name="StateEnum"></a>
|
||||
## Enum: StateEnum
|
||||
Name | Value
|
||||
---- | -----
|
||||
PENDING | "pending"
|
||||
SUCCESS | "success"
|
||||
ERROR | "error"
|
||||
FAILURE | "failure"
|
||||
WARNING | "warning"
|
||||
SKIPPED | "skipped"
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -4,15 +4,15 @@
|
|||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**assets** | [**List<Attachment>**](Attachment.md) | | [optional]
|
||||
**body** | **String** | | [optional]
|
||||
**assets** | [**List<Attachment>**](Attachment.md) | Attachments contains files attached to the comment | [optional]
|
||||
**body** | **String** | Body contains the comment text content | [optional]
|
||||
**createdAt** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
||||
**htmlUrl** | **String** | | [optional]
|
||||
**id** | **Long** | | [optional]
|
||||
**issueUrl** | **String** | | [optional]
|
||||
**originalAuthor** | **String** | | [optional]
|
||||
**originalAuthorId** | **Long** | | [optional]
|
||||
**pullRequestUrl** | **String** | | [optional]
|
||||
**htmlUrl** | **String** | HTMLURL is the web URL for viewing the comment | [optional]
|
||||
**id** | **Long** | ID is the unique identifier for the comment | [optional]
|
||||
**issueUrl** | **String** | IssueURL is the API URL for the issue | [optional]
|
||||
**originalAuthor** | **String** | OriginalAuthor is the original author name (for imported comments) | [optional]
|
||||
**originalAuthorId** | **Long** | OriginalAuthorID is the original author ID (for imported comments) | [optional]
|
||||
**pullRequestUrl** | **String** | PRURL is the API URL for the pull request (if applicable) | [optional]
|
||||
**updatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
||||
**user** | [**User**](User.md) | | [optional]
|
||||
|
||||
|
|
|
|||
|
|
@ -8,12 +8,12 @@ Name | Type | Description | Notes
|
|||
**commit** | [**RepoCommit**](RepoCommit.md) | | [optional]
|
||||
**committer** | [**User**](User.md) | | [optional]
|
||||
**created** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
||||
**files** | [**List<CommitAffectedFiles>**](CommitAffectedFiles.md) | | [optional]
|
||||
**htmlUrl** | **String** | | [optional]
|
||||
**parents** | [**List<CommitMeta>**](CommitMeta.md) | | [optional]
|
||||
**sha** | **String** | | [optional]
|
||||
**files** | [**List<CommitAffectedFiles>**](CommitAffectedFiles.md) | Files contains information about files affected by the commit | [optional]
|
||||
**htmlUrl** | **String** | HTMLURL is the web URL for viewing the commit | [optional]
|
||||
**parents** | [**List<CommitMeta>**](CommitMeta.md) | Parents contains the parent commit information | [optional]
|
||||
**sha** | **String** | SHA is the commit SHA hash | [optional]
|
||||
**stats** | [**CommitStats**](CommitStats.md) | | [optional]
|
||||
**url** | **String** | | [optional]
|
||||
**url** | **String** | URL is the API URL for the commit | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@
|
|||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**filename** | **String** | | [optional]
|
||||
**status** | **String** | | [optional]
|
||||
**filename** | **String** | Filename is the path of the affected file | [optional]
|
||||
**status** | **String** | Status indicates how the file was affected (added, modified, deleted) | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -5,8 +5,8 @@
|
|||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**created** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
||||
**sha** | **String** | | [optional]
|
||||
**url** | **String** | | [optional]
|
||||
**sha** | **String** | SHA is the commit SHA hash | [optional]
|
||||
**url** | **String** | URL is the API URL for the commit | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -4,9 +4,9 @@
|
|||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**additions** | **Long** | | [optional]
|
||||
**deletions** | **Long** | | [optional]
|
||||
**total** | **Long** | | [optional]
|
||||
**additions** | **Long** | Additions is the number of lines added | [optional]
|
||||
**deletions** | **Long** | Deletions is the number of lines deleted | [optional]
|
||||
**total** | **Long** | Total is the total number of lines changed | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -4,15 +4,27 @@
|
|||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**context** | **String** | | [optional]
|
||||
**context** | **String** | Context is the unique context identifier for the status | [optional]
|
||||
**createdAt** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
||||
**creator** | [**User**](User.md) | | [optional]
|
||||
**description** | **String** | | [optional]
|
||||
**id** | **Long** | | [optional]
|
||||
**status** | **String** | | [optional]
|
||||
**targetUrl** | **String** | | [optional]
|
||||
**description** | **String** | Description provides a brief description of the status | [optional]
|
||||
**id** | **Long** | ID is the unique identifier for the commit status | [optional]
|
||||
**status** | [**StatusEnum**](#StatusEnum) | State represents the status state (pending, success, error, failure) pending CommitStatusPending CommitStatusPending is for when the CommitStatus is Pending success CommitStatusSuccess CommitStatusSuccess is for when the CommitStatus is Success error CommitStatusError CommitStatusError is for when the CommitStatus is Error failure CommitStatusFailure CommitStatusFailure is for when the CommitStatus is Failure warning CommitStatusWarning CommitStatusWarning is for when the CommitStatus is Warning skipped CommitStatusSkipped CommitStatusSkipped is for when CommitStatus is Skipped | [optional]
|
||||
**targetUrl** | **String** | TargetURL is the URL to link to for more details | [optional]
|
||||
**updatedAt** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
||||
**url** | **String** | | [optional]
|
||||
**url** | **String** | URL is the API URL for this status | [optional]
|
||||
|
||||
|
||||
<a name="StatusEnum"></a>
|
||||
## Enum: StatusEnum
|
||||
Name | Value
|
||||
---- | -----
|
||||
PENDING | "pending"
|
||||
SUCCESS | "success"
|
||||
ERROR | "error"
|
||||
FAILURE | "failure"
|
||||
WARNING | "warning"
|
||||
SKIPPED | "skipped"
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -4,9 +4,9 @@
|
|||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**date** | **String** | | [optional]
|
||||
**date** | **String** | Date is the commit date in string format | [optional]
|
||||
**email** | **String** | | [optional]
|
||||
**name** | **String** | | [optional]
|
||||
**name** | **String** | Name is the person's name | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,11 @@
|
|||
|
||||
# Compare
|
||||
|
||||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**commits** | [**List<Commit>**](Commit.md) | | [optional]
|
||||
**totalCommits** | **Long** | | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
|
||||
# ContentsExtResponse
|
||||
|
||||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**dirContents** | [**List<ContentsResponse>**](ContentsResponse.md) | DirContents contains directory listing when the path represents a directory | [optional]
|
||||
**fileContents** | [**ContentsResponse**](ContentsResponse.md) | | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
@ -6,19 +6,24 @@ Name | Type | Description | Notes
|
|||
------------ | ------------- | ------------- | -------------
|
||||
**links** | [**FileLinksResponse**](FileLinksResponse.md) | | [optional]
|
||||
**content** | **String** | `content` is populated when `type` is `file`, otherwise null | [optional]
|
||||
**downloadUrl** | **String** | | [optional]
|
||||
**downloadUrl** | **String** | DownloadURL is the direct download URL for this file | [optional]
|
||||
**encoding** | **String** | `encoding` is populated when `type` is `file`, otherwise null | [optional]
|
||||
**gitUrl** | **String** | | [optional]
|
||||
**htmlUrl** | **String** | | [optional]
|
||||
**lastCommitSha** | **String** | | [optional]
|
||||
**name** | **String** | | [optional]
|
||||
**path** | **String** | | [optional]
|
||||
**sha** | **String** | | [optional]
|
||||
**size** | **Long** | | [optional]
|
||||
**gitUrl** | **String** | GitURL is the Git API URL for this blob or tree | [optional]
|
||||
**htmlUrl** | **String** | HTMLURL is the web URL for this file or directory | [optional]
|
||||
**lastAuthorDate** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
||||
**lastCommitMessage** | **String** | LastCommitMessage is the message of the last commit that affected this file | [optional]
|
||||
**lastCommitSha** | **String** | LastCommitSHA is the SHA of the last commit that affected this file | [optional]
|
||||
**lastCommitterDate** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
||||
**lfsOid** | **String** | LfsOid is the Git LFS object ID if this file is stored in LFS | [optional]
|
||||
**lfsSize** | **Long** | LfsSize is the file size if this file is stored in LFS | [optional]
|
||||
**name** | **String** | Name is the file or directory name | [optional]
|
||||
**path** | **String** | Path is the full path to the file or directory | [optional]
|
||||
**sha** | **String** | SHA is the Git blob or tree SHA | [optional]
|
||||
**size** | **Long** | Size is the file size in bytes | [optional]
|
||||
**submoduleGitUrl** | **String** | `submodule_git_url` is populated when `type` is `submodule`, otherwise null | [optional]
|
||||
**target** | **String** | `target` is populated when `type` is `symlink`, otherwise null | [optional]
|
||||
**type** | **String** | `type` will be `file`, `dir`, `symlink`, or `submodule` | [optional]
|
||||
**url** | **String** | | [optional]
|
||||
**url** | **String** | URL is the API URL for this file or directory | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,11 @@
|
|||
|
||||
# CreateActionWorkflowDispatch
|
||||
|
||||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**inputs** | **Map<String, String>** | | [optional]
|
||||
**ref** | **String** | |
|
||||
|
||||
|
||||
|
||||
|
|
@ -6,18 +6,26 @@ Name | Type | Description | Notes
|
|||
------------ | ------------- | ------------- | -------------
|
||||
**approvalsWhitelistTeams** | **List<String>** | | [optional]
|
||||
**approvalsWhitelistUsername** | **List<String>** | | [optional]
|
||||
**blockAdminMergeOverride** | **Boolean** | | [optional]
|
||||
**blockOnOfficialReviewRequests** | **Boolean** | | [optional]
|
||||
**blockOnOutdatedBranch** | **Boolean** | | [optional]
|
||||
**blockOnRejectedReviews** | **Boolean** | | [optional]
|
||||
**branchName** | **String** | Deprecated: true | [optional]
|
||||
**dismissStaleApprovals** | **Boolean** | | [optional]
|
||||
**enableApprovalsWhitelist** | **Boolean** | | [optional]
|
||||
**enableForcePush** | **Boolean** | | [optional]
|
||||
**enableForcePushAllowlist** | **Boolean** | | [optional]
|
||||
**enableMergeWhitelist** | **Boolean** | | [optional]
|
||||
**enablePush** | **Boolean** | | [optional]
|
||||
**enablePushWhitelist** | **Boolean** | | [optional]
|
||||
**enableStatusCheck** | **Boolean** | | [optional]
|
||||
**forcePushAllowlistDeployKeys** | **Boolean** | | [optional]
|
||||
**forcePushAllowlistTeams** | **List<String>** | | [optional]
|
||||
**forcePushAllowlistUsernames** | **List<String>** | | [optional]
|
||||
**ignoreStaleApprovals** | **Boolean** | | [optional]
|
||||
**mergeWhitelistTeams** | **List<String>** | | [optional]
|
||||
**mergeWhitelistUsernames** | **List<String>** | | [optional]
|
||||
**priority** | **Long** | | [optional]
|
||||
**protectedFilePatterns** | **String** | | [optional]
|
||||
**pushWhitelistDeployKeys** | **Boolean** | | [optional]
|
||||
**pushWhitelistTeams** | **List<String>** | | [optional]
|
||||
|
|
|
|||
|
|
@ -5,12 +5,13 @@
|
|||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**author** | [**Identity**](Identity.md) | | [optional]
|
||||
**branch** | **String** | branch (optional) to base this file from. if not given, the default branch is used | [optional]
|
||||
**branch** | **String** | branch (optional) is the base branch for the changes. If not supplied, the default branch is used | [optional]
|
||||
**committer** | [**Identity**](Identity.md) | | [optional]
|
||||
**content** | **String** | content must be base64 encoded |
|
||||
**dates** | [**CommitDateOptions**](CommitDateOptions.md) | | [optional]
|
||||
**message** | **String** | message (optional) for the commit of this file. if not supplied, a default message will be used | [optional]
|
||||
**newBranch** | **String** | new_branch (optional) will make a new branch from `branch` before creating the file | [optional]
|
||||
**forcePush** | **Boolean** | force_push (optional) will do a force-push if the new branch already exists | [optional]
|
||||
**message** | **String** | message (optional) is the commit message of the changes. If not supplied, a default message will be used | [optional]
|
||||
**newBranch** | **String** | new_branch (optional) will make a new branch from base branch for the changes. If not supplied, the changes will be committed to the base branch | [optional]
|
||||
**signoff** | **Boolean** | Add a Signed-off-by trailer by the committer at the end of the commit log message. | [optional]
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**armoredPublicKey** | **String** | An armored GPG key to add |
|
||||
**armoredSignature** | **String** | | [optional]
|
||||
**armoredSignature** | **String** | An optional armored signature for the GPG key | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -5,10 +5,11 @@
|
|||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**active** | **Boolean** | | [optional]
|
||||
**authorizationHeader** | **String** | | [optional]
|
||||
**branchFilter** | **String** | | [optional]
|
||||
**authorizationHeader** | **String** | Authorization header to include in webhook requests | [optional]
|
||||
**branchFilter** | **String** | Branch filter pattern to determine which branches trigger the webhook | [optional]
|
||||
**config** | [**CreateHookOptionConfig**](CreateHookOptionConfig.md) | |
|
||||
**events** | **List<String>** | | [optional]
|
||||
**events** | **List<String>** | List of events that will trigger this webhook | [optional]
|
||||
**name** | **String** | Optional human-readable name for the webhook | [optional]
|
||||
**type** | [**TypeEnum**](#TypeEnum) | |
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**color** | **String** | |
|
||||
**description** | **String** | | [optional]
|
||||
**description** | **String** | Description provides additional context about the label's purpose | [optional]
|
||||
**exclusive** | **Boolean** | | [optional]
|
||||
**isArchived** | **Boolean** | | [optional]
|
||||
**name** | **String** | |
|
||||
|
|
|
|||
|
|
@ -4,10 +4,10 @@
|
|||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**description** | **String** | | [optional]
|
||||
**description** | **String** | Description provides details about the milestone | [optional]
|
||||
**dueOn** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
||||
**state** | [**StateEnum**](#StateEnum) | | [optional]
|
||||
**title** | **String** | | [optional]
|
||||
**title** | **String** | Title is the title of the new milestone | [optional]
|
||||
|
||||
|
||||
<a name="StateEnum"></a>
|
||||
|
|
|
|||
|
|
@ -4,9 +4,10 @@
|
|||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**confidentialClient** | **Boolean** | | [optional]
|
||||
**name** | **String** | | [optional]
|
||||
**redirectUris** | **List<String>** | | [optional]
|
||||
**confidentialClient** | **Boolean** | Whether the client is confidential | [optional]
|
||||
**name** | **String** | The name of the OAuth2 application | [optional]
|
||||
**redirectUris** | **List<String>** | The list of allowed redirect URIs | [optional]
|
||||
**skipSecondaryAuthorization** | **Boolean** | Whether to skip secondary authorization | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@
|
|||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**data** | **String** | Data of the secret to update |
|
||||
**description** | **String** | Description of the secret to update | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -4,14 +4,14 @@
|
|||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**description** | **String** | | [optional]
|
||||
**email** | **String** | | [optional]
|
||||
**fullName** | **String** | | [optional]
|
||||
**location** | **String** | | [optional]
|
||||
**repoAdminChangeTeamAccess** | **Boolean** | | [optional]
|
||||
**username** | **String** | |
|
||||
**description** | **String** | The description of the organization | [optional]
|
||||
**email** | **String** | The email address of the organization | [optional]
|
||||
**fullName** | **String** | The full display name of the organization | [optional]
|
||||
**location** | **String** | The location of the organization | [optional]
|
||||
**repoAdminChangeTeamAccess** | **Boolean** | Whether repository administrators can change team access | [optional]
|
||||
**username** | **String** | username of the organization |
|
||||
**visibility** | [**VisibilityEnum**](#VisibilityEnum) | possible values are `public` (default), `limited` or `private` | [optional]
|
||||
**website** | **String** | | [optional]
|
||||
**website** | **String** | The website URL of the organization | [optional]
|
||||
|
||||
|
||||
<a name="VisibilityEnum"></a>
|
||||
|
|
|
|||
|
|
@ -4,15 +4,18 @@
|
|||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**assignee** | **String** | | [optional]
|
||||
**assignees** | **List<String>** | | [optional]
|
||||
**base** | **String** | | [optional]
|
||||
**body** | **String** | | [optional]
|
||||
**allowMaintainerEdit** | **Boolean** | Whether maintainers can edit the pull request | [optional]
|
||||
**assignee** | **String** | The primary assignee username | [optional]
|
||||
**assignees** | **List<String>** | The list of assignee usernames | [optional]
|
||||
**base** | **String** | The base branch for the pull request | [optional]
|
||||
**body** | **String** | The description body of the pull request | [optional]
|
||||
**dueDate** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
||||
**head** | **String** | | [optional]
|
||||
**labels** | **List<Long>** | | [optional]
|
||||
**milestone** | **Long** | | [optional]
|
||||
**title** | **String** | | [optional]
|
||||
**head** | **String** | The head branch for the pull request, it could be a branch name on the base repository or a form like `<username>:<branch>` which refers to the user's fork repository's branch. | [optional]
|
||||
**labels** | **List<Long>** | The list of label IDs to assign to the pull request | [optional]
|
||||
**milestone** | **Long** | The milestone ID to assign to the pull request | [optional]
|
||||
**reviewers** | **List<String>** | The list of reviewer usernames | [optional]
|
||||
**teamReviewers** | **List<String>** | The list of team reviewer names | [optional]
|
||||
**title** | **String** | The title of the pull request | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,18 @@ Name | Type | Description | Notes
|
|||
**body** | **String** | | [optional]
|
||||
**comments** | [**List<CreatePullReviewComment>**](CreatePullReviewComment.md) | | [optional]
|
||||
**commitId** | **String** | | [optional]
|
||||
**event** | **String** | | [optional]
|
||||
**event** | [**EventEnum**](#EventEnum) | | [optional]
|
||||
|
||||
|
||||
<a name="EventEnum"></a>
|
||||
## Enum: EventEnum
|
||||
Name | Value
|
||||
---- | -----
|
||||
APPROVED | "APPROVED"
|
||||
PENDING | "PENDING"
|
||||
COMMENT | "COMMENT"
|
||||
REQUEST_CHANGES | "REQUEST_CHANGES"
|
||||
REQUEST_REVIEW | "REQUEST_REVIEW"
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -4,11 +4,11 @@
|
|||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**interval** | **String** | | [optional]
|
||||
**remoteAddress** | **String** | | [optional]
|
||||
**remotePassword** | **String** | | [optional]
|
||||
**remoteUsername** | **String** | | [optional]
|
||||
**syncOnCommit** | **Boolean** | | [optional]
|
||||
**interval** | **String** | The sync interval for automatic updates | [optional]
|
||||
**remoteAddress** | **String** | The remote repository URL to push to | [optional]
|
||||
**remotePassword** | **String** | The password for authentication with the remote repository | [optional]
|
||||
**remoteUsername** | **String** | The username for authentication with the remote repository | [optional]
|
||||
**syncOnCommit** | **Boolean** | Whether to sync on every commit | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -4,12 +4,13 @@
|
|||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**body** | **String** | | [optional]
|
||||
**draft** | **Boolean** | | [optional]
|
||||
**name** | **String** | | [optional]
|
||||
**prerelease** | **Boolean** | | [optional]
|
||||
**body** | **String** | The release notes or description | [optional]
|
||||
**draft** | **Boolean** | Whether to create the release as a draft | [optional]
|
||||
**name** | **String** | The display title of the release | [optional]
|
||||
**prerelease** | **Boolean** | Whether to mark the release as a prerelease | [optional]
|
||||
**tagMessage** | **String** | The message for the git tag | [optional]
|
||||
**tagName** | **String** | |
|
||||
**targetCommitish** | **String** | | [optional]
|
||||
**targetCommitish** | **String** | The target commitish for the release | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -11,12 +11,21 @@ Name | Type | Description | Notes
|
|||
**issueLabels** | **String** | Label-Set to use | [optional]
|
||||
**license** | **String** | License to use | [optional]
|
||||
**name** | **String** | Name of the repository to create |
|
||||
**objectFormatName** | [**ObjectFormatNameEnum**](#ObjectFormatNameEnum) | ObjectFormatName of the underlying git repository, empty string for default (sha1) | [optional]
|
||||
**_private** | **Boolean** | Whether the repository is private | [optional]
|
||||
**readme** | **String** | Readme of the repository to create | [optional]
|
||||
**template** | **Boolean** | Whether the repository is template | [optional]
|
||||
**trustModel** | [**TrustModelEnum**](#TrustModelEnum) | TrustModel of the repository | [optional]
|
||||
|
||||
|
||||
<a name="ObjectFormatNameEnum"></a>
|
||||
## Enum: ObjectFormatNameEnum
|
||||
Name | Value
|
||||
---- | -----
|
||||
SHA1 | "sha1"
|
||||
SHA256 | "sha256"
|
||||
|
||||
|
||||
<a name="TrustModelEnum"></a>
|
||||
## Enum: TrustModelEnum
|
||||
Name | Value
|
||||
|
|
|
|||
|
|
@ -4,10 +4,22 @@
|
|||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**context** | **String** | | [optional]
|
||||
**description** | **String** | | [optional]
|
||||
**state** | **String** | | [optional]
|
||||
**targetUrl** | **String** | | [optional]
|
||||
**context** | **String** | Context is the unique context identifier for the status | [optional]
|
||||
**description** | **String** | Description provides a brief description of the status | [optional]
|
||||
**state** | [**StateEnum**](#StateEnum) | State represents the status state to set (pending, success, error, failure) pending CommitStatusPending CommitStatusPending is for when the CommitStatus is Pending success CommitStatusSuccess CommitStatusSuccess is for when the CommitStatus is Success error CommitStatusError CommitStatusError is for when the CommitStatus is Error failure CommitStatusFailure CommitStatusFailure is for when the CommitStatus is Failure warning CommitStatusWarning CommitStatusWarning is for when the CommitStatus is Warning skipped CommitStatusSkipped CommitStatusSkipped is for when CommitStatus is Skipped | [optional]
|
||||
**targetUrl** | **String** | TargetURL is the URL to link to for more details | [optional]
|
||||
|
||||
|
||||
<a name="StateEnum"></a>
|
||||
## Enum: StateEnum
|
||||
Name | Value
|
||||
---- | -----
|
||||
PENDING | "pending"
|
||||
SUCCESS | "success"
|
||||
ERROR | "error"
|
||||
FAILURE | "failure"
|
||||
WARNING | "warning"
|
||||
SKIPPED | "skipped"
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -4,9 +4,9 @@
|
|||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**message** | **String** | | [optional]
|
||||
**message** | **String** | The message to associate with the tag | [optional]
|
||||
**tagName** | **String** | |
|
||||
**target** | **String** | | [optional]
|
||||
**target** | **String** | The target commit SHA or branch name for the tag | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,12 @@
|
|||
|
||||
# CreateTagProtectionOption
|
||||
|
||||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**namePattern** | **String** | The pattern to match tag names for protection | [optional]
|
||||
**whitelistTeams** | **List<String>** | List of team names allowed to create/delete protected tags | [optional]
|
||||
**whitelistUsernames** | **List<String>** | List of usernames allowed to create/delete protected tags | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
@ -4,9 +4,9 @@
|
|||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**canCreateOrgRepo** | **Boolean** | | [optional]
|
||||
**description** | **String** | | [optional]
|
||||
**includesAllRepositories** | **Boolean** | | [optional]
|
||||
**canCreateOrgRepo** | **Boolean** | Whether the team can create repositories in the organization | [optional]
|
||||
**description** | **String** | The description of the team | [optional]
|
||||
**includesAllRepositories** | **Boolean** | Whether the team has access to all repositories in the organization | [optional]
|
||||
**name** | **String** | |
|
||||
**permission** | [**PermissionEnum**](#PermissionEnum) | | [optional]
|
||||
**units** | **List<String>** | | [optional]
|
||||
|
|
|
|||
|
|
@ -6,15 +6,15 @@ Name | Type | Description | Notes
|
|||
------------ | ------------- | ------------- | -------------
|
||||
**createdAt** | [**OffsetDateTime**](OffsetDateTime.md) | 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** | **String** | |
|
||||
**fullName** | **String** | | [optional]
|
||||
**loginName** | **String** | | [optional]
|
||||
**mustChangePassword** | **Boolean** | | [optional]
|
||||
**password** | **String** | |
|
||||
**restricted** | **Boolean** | | [optional]
|
||||
**sendNotify** | **Boolean** | | [optional]
|
||||
**sourceId** | **Long** | | [optional]
|
||||
**username** | **String** | |
|
||||
**visibility** | **String** | | [optional]
|
||||
**fullName** | **String** | The full display name of the user | [optional]
|
||||
**loginName** | **String** | identifier of the user, provided by the external authenticator (if configured) | [optional]
|
||||
**mustChangePassword** | **Boolean** | Whether the user must change password on first login | [optional]
|
||||
**password** | **String** | The plain text password for the user | [optional]
|
||||
**restricted** | **Boolean** | Whether the user has restricted access privileges | [optional]
|
||||
**sendNotify** | **Boolean** | Whether to send welcome notification email to the user | [optional]
|
||||
**sourceId** | **Long** | The authentication source ID to associate with the user | [optional]
|
||||
**username** | **String** | username of the user |
|
||||
**visibility** | **String** | User visibility level: public, limited, or private | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,11 @@
|
|||
|
||||
# CreateVariableOption
|
||||
|
||||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**description** | **String** | Description of the variable to create | [optional]
|
||||
**value** | **String** | Value of the variable to create |
|
||||
|
||||
|
||||
|
||||
10
docs/Cron.md
10
docs/Cron.md
|
|
@ -4,11 +4,11 @@
|
|||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**execTimes** | **Long** | | [optional]
|
||||
**name** | **String** | | [optional]
|
||||
**next** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
||||
**prev** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
||||
**schedule** | **String** | | [optional]
|
||||
**execTimes** | **Long** | The total number of times this cron task has been executed | [optional]
|
||||
**name** | **String** | The name of the cron task | [optional]
|
||||
**next** | [**OffsetDateTime**](OffsetDateTime.md) | The next scheduled execution time | [optional]
|
||||
**prev** | [**OffsetDateTime**](OffsetDateTime.md) | The previous execution time | [optional]
|
||||
**schedule** | **String** | The cron schedule expression (e.g., \"0 0 * * *\") | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -5,12 +5,13 @@
|
|||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**author** | [**Identity**](Identity.md) | | [optional]
|
||||
**branch** | **String** | branch (optional) to base this file from. if not given, the default branch is used | [optional]
|
||||
**branch** | **String** | branch (optional) is the base branch for the changes. If not supplied, the default branch is used | [optional]
|
||||
**committer** | [**Identity**](Identity.md) | | [optional]
|
||||
**dates** | [**CommitDateOptions**](CommitDateOptions.md) | | [optional]
|
||||
**message** | **String** | message (optional) for the commit of this file. if not supplied, a default message will be used | [optional]
|
||||
**newBranch** | **String** | new_branch (optional) will make a new branch from `branch` before creating the file | [optional]
|
||||
**sha** | **String** | sha is the SHA for the file that already exists |
|
||||
**forcePush** | **Boolean** | force_push (optional) will do a force-push if the new branch already exists | [optional]
|
||||
**message** | **String** | message (optional) is the commit message of the changes. If not supplied, a default message will be used | [optional]
|
||||
**newBranch** | **String** | new_branch (optional) will make a new branch from base branch for the changes. If not supplied, the changes will be committed to the base branch | [optional]
|
||||
**sha** | **String** | the blob ID (SHA) for the file to delete |
|
||||
**signoff** | **Boolean** | Add a Signed-off-by trailer by the committer at the end of the commit log message. | [optional]
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -5,14 +5,14 @@
|
|||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**createdAt** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
||||
**fingerprint** | **String** | | [optional]
|
||||
**id** | **Long** | | [optional]
|
||||
**key** | **String** | | [optional]
|
||||
**keyId** | **Long** | | [optional]
|
||||
**readOnly** | **Boolean** | | [optional]
|
||||
**fingerprint** | **String** | Fingerprint is the key's fingerprint | [optional]
|
||||
**id** | **Long** | ID is the unique identifier for the deploy key | [optional]
|
||||
**key** | **String** | Key contains the actual SSH key content | [optional]
|
||||
**keyId** | **Long** | KeyID is the associated public key ID | [optional]
|
||||
**readOnly** | **Boolean** | ReadOnly indicates if the key has read-only access | [optional]
|
||||
**repository** | [**Repository**](Repository.md) | | [optional]
|
||||
**title** | **String** | | [optional]
|
||||
**url** | **String** | | [optional]
|
||||
**title** | **String** | Title is the human-readable name for the key | [optional]
|
||||
**url** | **String** | URL is the API URL for this deploy key | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
|
||||
# AccessTokenName
|
||||
# EditActionRunnerOption
|
||||
|
||||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**name** | **String** | |
|
||||
**disabled** | **Boolean** | |
|
||||
|
||||
|
||||
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**name** | **String** | | [optional]
|
||||
**name** | **String** | Name is the new filename for the attachment | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -6,17 +6,25 @@ Name | Type | Description | Notes
|
|||
------------ | ------------- | ------------- | -------------
|
||||
**approvalsWhitelistTeams** | **List<String>** | | [optional]
|
||||
**approvalsWhitelistUsername** | **List<String>** | | [optional]
|
||||
**blockAdminMergeOverride** | **Boolean** | | [optional]
|
||||
**blockOnOfficialReviewRequests** | **Boolean** | | [optional]
|
||||
**blockOnOutdatedBranch** | **Boolean** | | [optional]
|
||||
**blockOnRejectedReviews** | **Boolean** | | [optional]
|
||||
**dismissStaleApprovals** | **Boolean** | | [optional]
|
||||
**enableApprovalsWhitelist** | **Boolean** | | [optional]
|
||||
**enableForcePush** | **Boolean** | | [optional]
|
||||
**enableForcePushAllowlist** | **Boolean** | | [optional]
|
||||
**enableMergeWhitelist** | **Boolean** | | [optional]
|
||||
**enablePush** | **Boolean** | | [optional]
|
||||
**enablePushWhitelist** | **Boolean** | | [optional]
|
||||
**enableStatusCheck** | **Boolean** | | [optional]
|
||||
**forcePushAllowlistDeployKeys** | **Boolean** | | [optional]
|
||||
**forcePushAllowlistTeams** | **List<String>** | | [optional]
|
||||
**forcePushAllowlistUsernames** | **List<String>** | | [optional]
|
||||
**ignoreStaleApprovals** | **Boolean** | | [optional]
|
||||
**mergeWhitelistTeams** | **List<String>** | | [optional]
|
||||
**mergeWhitelistUsernames** | **List<String>** | | [optional]
|
||||
**priority** | **Long** | | [optional]
|
||||
**protectedFilePatterns** | **String** | | [optional]
|
||||
**pushWhitelistDeployKeys** | **Boolean** | | [optional]
|
||||
**pushWhitelistTeams** | **List<String>** | | [optional]
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**content** | **String** | | [optional]
|
||||
**content** | **String** | Content is the new script content for the hook | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -4,11 +4,12 @@
|
|||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**active** | **Boolean** | | [optional]
|
||||
**authorizationHeader** | **String** | | [optional]
|
||||
**branchFilter** | **String** | | [optional]
|
||||
**config** | **Map<String, String>** | | [optional]
|
||||
**events** | **List<String>** | | [optional]
|
||||
**active** | **Boolean** | Whether the webhook is active and will be triggered | [optional]
|
||||
**authorizationHeader** | **String** | Authorization header to include in webhook requests | [optional]
|
||||
**branchFilter** | **String** | Branch filter pattern to determine which branches trigger the webhook | [optional]
|
||||
**config** | **Map<String, String>** | Configuration settings for the webhook | [optional]
|
||||
**events** | **List<String>** | List of events that trigger this webhook | [optional]
|
||||
**name** | **String** | Optional human-readable name | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
|||
**assignee** | **String** | deprecated | [optional]
|
||||
**assignees** | **List<String>** | | [optional]
|
||||
**body** | **String** | | [optional]
|
||||
**contentVersion** | **Long** | The current version of the issue content to detect conflicts during editing | [optional]
|
||||
**dueDate** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
||||
**milestone** | **Long** | | [optional]
|
||||
**ref** | **String** | | [optional]
|
||||
|
|
|
|||
|
|
@ -5,10 +5,10 @@
|
|||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**color** | **String** | | [optional]
|
||||
**description** | **String** | | [optional]
|
||||
**description** | **String** | Description provides additional context about the label's purpose | [optional]
|
||||
**exclusive** | **Boolean** | | [optional]
|
||||
**isArchived** | **Boolean** | | [optional]
|
||||
**name** | **String** | | [optional]
|
||||
**name** | **String** | Name is the new display name for the label | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -4,10 +4,18 @@
|
|||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**description** | **String** | | [optional]
|
||||
**dueOn** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
||||
**state** | **String** | | [optional]
|
||||
**title** | **String** | | [optional]
|
||||
**description** | **String** | Description provides updated details about the milestone | [optional]
|
||||
**dueOn** | [**OffsetDateTime**](OffsetDateTime.md) | Deadline is the updated due date for the milestone | [optional]
|
||||
**state** | [**StateEnum**](#StateEnum) | State indicates the updated state of the milestone | [optional]
|
||||
**title** | **String** | Title is the updated title of the milestone | [optional]
|
||||
|
||||
|
||||
<a name="StateEnum"></a>
|
||||
## Enum: StateEnum
|
||||
Name | Value
|
||||
---- | -----
|
||||
OPEN | "open"
|
||||
CLOSED | "closed"
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -4,13 +4,13 @@
|
|||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**description** | **String** | | [optional]
|
||||
**email** | **String** | | [optional]
|
||||
**fullName** | **String** | | [optional]
|
||||
**location** | **String** | | [optional]
|
||||
**repoAdminChangeTeamAccess** | **Boolean** | | [optional]
|
||||
**description** | **String** | The description of the organization | [optional]
|
||||
**email** | **String** | The email address of the organization; use empty string to clear | [optional]
|
||||
**fullName** | **String** | The full display name of the organization | [optional]
|
||||
**location** | **String** | The location of the organization | [optional]
|
||||
**repoAdminChangeTeamAccess** | **Boolean** | Whether repository administrators can change team access | [optional]
|
||||
**visibility** | [**VisibilityEnum**](#VisibilityEnum) | possible values are `public`, `limited` or `private` | [optional]
|
||||
**website** | **String** | | [optional]
|
||||
**website** | **String** | The website URL of the organization | [optional]
|
||||
|
||||
|
||||
<a name="VisibilityEnum"></a>
|
||||
|
|
|
|||
|
|
@ -4,17 +4,18 @@
|
|||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**allowMaintainerEdit** | **Boolean** | | [optional]
|
||||
**assignee** | **String** | | [optional]
|
||||
**assignees** | **List<String>** | | [optional]
|
||||
**base** | **String** | | [optional]
|
||||
**body** | **String** | | [optional]
|
||||
**allowMaintainerEdit** | **Boolean** | Whether to allow maintainer edits | [optional]
|
||||
**assignee** | **String** | The new primary assignee username | [optional]
|
||||
**assignees** | **List<String>** | The new list of assignee usernames | [optional]
|
||||
**base** | **String** | The new base branch for the pull request | [optional]
|
||||
**body** | **String** | The new description body for the pull request | [optional]
|
||||
**contentVersion** | **Long** | The current version of the pull request content to detect conflicts during editing | [optional]
|
||||
**dueDate** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
||||
**labels** | **List<Long>** | | [optional]
|
||||
**milestone** | **Long** | | [optional]
|
||||
**state** | **String** | | [optional]
|
||||
**title** | **String** | | [optional]
|
||||
**unsetDueDate** | **Boolean** | | [optional]
|
||||
**labels** | **List<Long>** | The new list of label IDs for the pull request | [optional]
|
||||
**milestone** | **Long** | The new milestone ID for the pull request | [optional]
|
||||
**state** | **String** | The new state for the pull request | [optional]
|
||||
**title** | **String** | The new title for the pull request | [optional]
|
||||
**unsetDueDate** | **Boolean** | Whether to remove the current deadline | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**content** | **String** | | [optional]
|
||||
**content** | **String** | The reaction content (e.g., emoji or reaction type) | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -4,12 +4,12 @@
|
|||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**body** | **String** | | [optional]
|
||||
**draft** | **Boolean** | | [optional]
|
||||
**name** | **String** | | [optional]
|
||||
**prerelease** | **Boolean** | | [optional]
|
||||
**tagName** | **String** | | [optional]
|
||||
**targetCommitish** | **String** | | [optional]
|
||||
**body** | **String** | The new release notes or description | [optional]
|
||||
**draft** | **Boolean** | Whether to change the draft status | [optional]
|
||||
**name** | **String** | The new display title of the release | [optional]
|
||||
**prerelease** | **Boolean** | Whether to change the prerelease status | [optional]
|
||||
**tagName** | **String** | The new name of the git tag | [optional]
|
||||
**targetCommitish** | **String** | The new target commitish for the release | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@
|
|||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**allowFastForwardOnlyMerge** | **Boolean** | either `true` to allow fast-forward-only merging pull requests, or `false` to prevent fast-forward-only merging. | [optional]
|
||||
**allowManualMerge** | **Boolean** | either `true` to allow mark pr as merged manually, or `false` to prevent it. | [optional]
|
||||
**allowMergeCommits** | **Boolean** | either `true` to allow merging pull requests with a merge commit, or `false` to prevent merging pull requests with merge commits. | [optional]
|
||||
**allowRebase** | **Boolean** | either `true` to allow rebase-merging pull requests, or `false` to prevent rebase-merging. | [optional]
|
||||
|
|
@ -15,12 +16,13 @@ Name | Type | Description | Notes
|
|||
**defaultAllowMaintainerEdit** | **Boolean** | set to `true` to allow edits from maintainers by default | [optional]
|
||||
**defaultBranch** | **String** | sets the default branch for this repository. | [optional]
|
||||
**defaultDeleteBranchAfterMerge** | **Boolean** | set to `true` to delete pr branch after merge by default | [optional]
|
||||
**defaultMergeStyle** | **String** | set to a merge style to be used by this repository: \"merge\", \"rebase\", \"rebase-merge\", or \"squash\". | [optional]
|
||||
**defaultMergeStyle** | **String** | set to a merge style to be used by this repository: \"merge\", \"rebase\", \"rebase-merge\", \"squash\", or \"fast-forward-only\". | [optional]
|
||||
**description** | **String** | a short description of the repository. | [optional]
|
||||
**enablePrune** | **Boolean** | enable prune - remove obsolete remote-tracking references | [optional]
|
||||
**enablePrune** | **Boolean** | enable prune - remove obsolete remote-tracking references when mirroring | [optional]
|
||||
**externalTracker** | [**ExternalTracker**](ExternalTracker.md) | | [optional]
|
||||
**externalWiki** | [**ExternalWiki**](ExternalWiki.md) | | [optional]
|
||||
**hasActions** | **Boolean** | either `true` to enable actions unit, or `false` to disable them. | [optional]
|
||||
**hasCode** | **Boolean** | either `true` to enable code for this repository or `false` to disable it. | [optional]
|
||||
**hasIssues** | **Boolean** | either `true` to enable issues for this repository or `false` to disable them. | [optional]
|
||||
**hasPackages** | **Boolean** | either `true` to enable packages unit, or `false` to disable them. | [optional]
|
||||
**hasProjects** | **Boolean** | either `true` to enable project unit, or `false` to disable them. | [optional]
|
||||
|
|
@ -32,6 +34,7 @@ Name | Type | Description | Notes
|
|||
**mirrorInterval** | **String** | set to a string like `8h30m0s` to set the mirror interval time | [optional]
|
||||
**name** | **String** | name of the repository | [optional]
|
||||
**_private** | **Boolean** | 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]
|
||||
**projectsMode** | **String** | `repo` to only allow repo-level projects, `owner` to only allow owner projects, `all` to allow both. | [optional]
|
||||
**template** | **Boolean** | either `true` to make this repository a template or `false` to make it a normal repository | [optional]
|
||||
**website** | **String** | a URL with more information about the repository. | [optional]
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,12 @@
|
|||
|
||||
# EditTagProtectionOption
|
||||
|
||||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**namePattern** | **String** | The pattern to match tag names for protection | [optional]
|
||||
**whitelistTeams** | **List<String>** | List of team names allowed to create/delete protected tags | [optional]
|
||||
**whitelistUsernames** | **List<String>** | List of usernames allowed to create/delete protected tags | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
@ -4,9 +4,9 @@
|
|||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**canCreateOrgRepo** | **Boolean** | | [optional]
|
||||
**description** | **String** | | [optional]
|
||||
**includesAllRepositories** | **Boolean** | | [optional]
|
||||
**canCreateOrgRepo** | **Boolean** | Whether the team can create repositories in the organization | [optional]
|
||||
**description** | **String** | The description of the team | [optional]
|
||||
**includesAllRepositories** | **Boolean** | Whether the team has access to all repositories in the organization | [optional]
|
||||
**name** | **String** | |
|
||||
**permission** | [**PermissionEnum**](#PermissionEnum) | | [optional]
|
||||
**units** | **List<String>** | | [optional]
|
||||
|
|
|
|||
|
|
@ -4,24 +4,24 @@
|
|||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**active** | **Boolean** | | [optional]
|
||||
**admin** | **Boolean** | | [optional]
|
||||
**allowCreateOrganization** | **Boolean** | | [optional]
|
||||
**allowGitHook** | **Boolean** | | [optional]
|
||||
**allowImportLocal** | **Boolean** | | [optional]
|
||||
**description** | **String** | | [optional]
|
||||
**active** | **Boolean** | Whether the user account is active | [optional]
|
||||
**admin** | **Boolean** | Whether the user has administrator privileges | [optional]
|
||||
**allowCreateOrganization** | **Boolean** | Whether the user can create organizations | [optional]
|
||||
**allowGitHook** | **Boolean** | Whether the user can use Git hooks | [optional]
|
||||
**allowImportLocal** | **Boolean** | Whether the user can import local repositories | [optional]
|
||||
**description** | **String** | The user's personal description or bio | [optional]
|
||||
**email** | **String** | | [optional]
|
||||
**fullName** | **String** | | [optional]
|
||||
**location** | **String** | | [optional]
|
||||
**loginName** | **String** | |
|
||||
**maxRepoCreation** | **Long** | | [optional]
|
||||
**mustChangePassword** | **Boolean** | | [optional]
|
||||
**password** | **String** | | [optional]
|
||||
**prohibitLogin** | **Boolean** | | [optional]
|
||||
**restricted** | **Boolean** | | [optional]
|
||||
**fullName** | **String** | The full display name of the user | [optional]
|
||||
**location** | **String** | The user's location or address | [optional]
|
||||
**loginName** | **String** | identifier of the user, provided by the external authenticator (if configured) |
|
||||
**maxRepoCreation** | **Long** | Maximum number of repositories the user can create | [optional]
|
||||
**mustChangePassword** | **Boolean** | Whether the user must change password on next login | [optional]
|
||||
**password** | **String** | The plain text password for the user | [optional]
|
||||
**prohibitLogin** | **Boolean** | Whether the user is prohibited from logging in | [optional]
|
||||
**restricted** | **Boolean** | Whether the user has restricted access privileges | [optional]
|
||||
**sourceId** | **Long** | |
|
||||
**visibility** | **String** | | [optional]
|
||||
**website** | **String** | | [optional]
|
||||
**visibility** | **String** | User visibility level: public, limited, or private | [optional]
|
||||
**website** | **String** | The user's personal website URL | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -5,10 +5,10 @@
|
|||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**email** | **String** | | [optional]
|
||||
**primary** | **Boolean** | | [optional]
|
||||
**userId** | **Long** | | [optional]
|
||||
**username** | **String** | | [optional]
|
||||
**verified** | **Boolean** | | [optional]
|
||||
**primary** | **Boolean** | Whether this is the primary email address | [optional]
|
||||
**userId** | **Long** | The unique identifier of the user who owns this email | [optional]
|
||||
**username** | **String** | username of the user | [optional]
|
||||
**verified** | **Boolean** | Whether the email address has been verified | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -7,12 +7,12 @@ Name | Type | Description | Notes
|
|||
**author** | [**CommitUser**](CommitUser.md) | | [optional]
|
||||
**committer** | [**CommitUser**](CommitUser.md) | | [optional]
|
||||
**created** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
||||
**htmlUrl** | **String** | | [optional]
|
||||
**message** | **String** | | [optional]
|
||||
**parents** | [**List<CommitMeta>**](CommitMeta.md) | | [optional]
|
||||
**sha** | **String** | | [optional]
|
||||
**htmlUrl** | **String** | HTMLURL is the web URL for viewing this commit | [optional]
|
||||
**message** | **String** | Message is the commit message | [optional]
|
||||
**parents** | [**List<CommitMeta>**](CommitMeta.md) | Parents contains parent commit metadata | [optional]
|
||||
**sha** | **String** | SHA is the commit SHA hash | [optional]
|
||||
**tree** | [**CommitMeta**](CommitMeta.md) | | [optional]
|
||||
**url** | **String** | | [optional]
|
||||
**url** | **String** | URL is the API URL for the commit | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**commit** | [**FileCommitResponse**](FileCommitResponse.md) | | [optional]
|
||||
**content** | **Object** | | [optional]
|
||||
**content** | **Object** | Content is always null for delete operations | [optional]
|
||||
**verification** | [**PayloadCommitVerification**](PayloadCommitVerification.md) | | [optional]
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -4,9 +4,9 @@
|
|||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**git** | **String** | | [optional]
|
||||
**html** | **String** | | [optional]
|
||||
**self** | **String** | | [optional]
|
||||
**git** | **String** | GitURL is the Git API URL for this file | [optional]
|
||||
**html** | **String** | HTMLURL is the web URL for this file | [optional]
|
||||
**self** | **String** | Self is the API URL for this file | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**commit** | [**FileCommitResponse**](FileCommitResponse.md) | | [optional]
|
||||
**files** | [**List<ContentsResponse>**](ContentsResponse.md) | | [optional]
|
||||
**files** | [**List<ContentsResponse>**](ContentsResponse.md) | Files contains the list of file contents and metadata | [optional]
|
||||
**verification** | [**PayloadCommitVerification**](PayloadCommitVerification.md) | | [optional]
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -4,19 +4,19 @@
|
|||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**canCertify** | **Boolean** | | [optional]
|
||||
**canEncryptComms** | **Boolean** | | [optional]
|
||||
**canEncryptStorage** | **Boolean** | | [optional]
|
||||
**canSign** | **Boolean** | | [optional]
|
||||
**canCertify** | **Boolean** | Whether the key can be used for certification | [optional]
|
||||
**canEncryptComms** | **Boolean** | Whether the key can be used for encrypting communications | [optional]
|
||||
**canEncryptStorage** | **Boolean** | Whether the key can be used for encrypting storage | [optional]
|
||||
**canSign** | **Boolean** | Whether the key can be used for signing | [optional]
|
||||
**createdAt** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
||||
**emails** | [**List<GPGKeyEmail>**](GPGKeyEmail.md) | | [optional]
|
||||
**emails** | [**List<GPGKeyEmail>**](GPGKeyEmail.md) | List of email addresses associated with this GPG key | [optional]
|
||||
**expiresAt** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
|
||||
**id** | **Long** | | [optional]
|
||||
**keyId** | **String** | | [optional]
|
||||
**primaryKeyId** | **String** | | [optional]
|
||||
**publicKey** | **String** | | [optional]
|
||||
**subkeys** | [**List<GPGKey>**](GPGKey.md) | | [optional]
|
||||
**verified** | **Boolean** | | [optional]
|
||||
**id** | **Long** | The unique identifier of the GPG key | [optional]
|
||||
**keyId** | **String** | The key ID of the GPG key | [optional]
|
||||
**primaryKeyId** | **String** | The primary key ID of the GPG key | [optional]
|
||||
**publicKey** | **String** | The public key content in armored format | [optional]
|
||||
**subkeys** | [**List<GPGKey>**](GPGKey.md) | List of subkeys of this GPG key | [optional]
|
||||
**verified** | **Boolean** | Whether the GPG key has been verified | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@
|
|||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**email** | **String** | | [optional]
|
||||
**verified** | **Boolean** | | [optional]
|
||||
**email** | **String** | The email address associated with the GPG key | [optional]
|
||||
**verified** | **Boolean** | Whether the email address has been verified | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -4,10 +4,11 @@
|
|||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**defaultGitTreesPerPage** | **Long** | | [optional]
|
||||
**defaultMaxBlobSize** | **Long** | | [optional]
|
||||
**defaultPagingNum** | **Long** | | [optional]
|
||||
**maxResponseItems** | **Long** | | [optional]
|
||||
**defaultGitTreesPerPage** | **Long** | DefaultGitTreesPerPage is the default number of Git tree items per page | [optional]
|
||||
**defaultMaxBlobSize** | **Long** | DefaultMaxBlobSize is the default maximum blob size for API responses | [optional]
|
||||
**defaultMaxResponseSize** | **Long** | DefaultMaxResponseSize is the default maximum response size | [optional]
|
||||
**defaultPagingNum** | **Long** | DefaultPagingNum is the default number of items per page | [optional]
|
||||
**maxResponseItems** | **Long** | MaxResponseItems is the maximum number of items returned in API responses | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -4,10 +4,10 @@
|
|||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**allowedTypes** | **String** | | [optional]
|
||||
**enabled** | **Boolean** | | [optional]
|
||||
**maxFiles** | **Long** | | [optional]
|
||||
**maxSize** | **Long** | | [optional]
|
||||
**allowedTypes** | **String** | AllowedTypes contains the allowed file types for attachments | [optional]
|
||||
**enabled** | **Boolean** | Enabled indicates if file attachments are enabled | [optional]
|
||||
**maxFiles** | **Long** | MaxFiles is the maximum number of files per attachment | [optional]
|
||||
**maxSize** | **Long** | MaxSize is the maximum size for individual attachments | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -4,12 +4,12 @@
|
|||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**httpGitDisabled** | **Boolean** | | [optional]
|
||||
**lfsDisabled** | **Boolean** | | [optional]
|
||||
**migrationsDisabled** | **Boolean** | | [optional]
|
||||
**mirrorsDisabled** | **Boolean** | | [optional]
|
||||
**starsDisabled** | **Boolean** | | [optional]
|
||||
**timeTrackingDisabled** | **Boolean** | | [optional]
|
||||
**httpGitDisabled** | **Boolean** | HTTPGitDisabled indicates if HTTP Git operations are disabled | [optional]
|
||||
**lfsDisabled** | **Boolean** | LFSDisabled indicates if Git LFS support is disabled | [optional]
|
||||
**migrationsDisabled** | **Boolean** | MigrationsDisabled indicates if repository migrations are disabled | [optional]
|
||||
**mirrorsDisabled** | **Boolean** | MirrorsDisabled indicates if repository mirroring is disabled | [optional]
|
||||
**starsDisabled** | **Boolean** | StarsDisabled indicates if repository starring is disabled | [optional]
|
||||
**timeTrackingDisabled** | **Boolean** | TimeTrackingDisabled indicates if time tracking is disabled | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -4,9 +4,9 @@
|
|||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**allowedReactions** | **List<String>** | | [optional]
|
||||
**customEmojis** | **List<String>** | | [optional]
|
||||
**defaultTheme** | **String** | | [optional]
|
||||
**allowedReactions** | **List<String>** | AllowedReactions contains the list of allowed emoji reactions | [optional]
|
||||
**customEmojis** | **List<String>** | CustomEmojis contains the list of custom emojis | [optional]
|
||||
**defaultTheme** | **String** | DefaultTheme is the default UI theme | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -10,8 +10,8 @@ Name | Type | Description | Notes
|
|||
**gitContent** | **Boolean** | include git content of default branch in template repo | [optional]
|
||||
**gitHooks** | **Boolean** | include git hooks in template repo | [optional]
|
||||
**labels** | **Boolean** | include labels in template repo | [optional]
|
||||
**name** | **String** | Name of the repository to create |
|
||||
**owner** | **String** | The organization or person who will own the new repository |
|
||||
**name** | **String** | |
|
||||
**owner** | **String** | the organization's name or individual user's name who will own the new repository |
|
||||
**_private** | **Boolean** | Whether the repository is private | [optional]
|
||||
**protectedBranch** | **Boolean** | include protected branches in template repo | [optional]
|
||||
**topics** | **Boolean** | include topics in template repo | [optional]
|
||||
|
|
|
|||
|
|
@ -0,0 +1,10 @@
|
|||
|
||||
# GetFilesOptions
|
||||
|
||||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**files** | **List<String>** | Files is the list of file paths to retrieve | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
@ -4,11 +4,13 @@
|
|||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**content** | **String** | | [optional]
|
||||
**encoding** | **String** | | [optional]
|
||||
**sha** | **String** | | [optional]
|
||||
**size** | **Long** | | [optional]
|
||||
**url** | **String** | | [optional]
|
||||
**content** | **String** | The content of the git blob (may be base64 encoded) | [optional]
|
||||
**encoding** | **String** | The encoding used for the content (e.g., \"base64\") | [optional]
|
||||
**lfsOid** | **String** | The LFS object ID if this blob is stored in LFS | [optional]
|
||||
**lfsSize** | **Long** | The size of the LFS object if this blob is stored in LFS | [optional]
|
||||
**sha** | **String** | The SHA hash of the git blob | [optional]
|
||||
**size** | **Long** | The size of the git blob in bytes | [optional]
|
||||
**url** | **String** | The URL to access this git blob | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -4,12 +4,12 @@
|
|||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**mode** | **String** | | [optional]
|
||||
**path** | **String** | | [optional]
|
||||
**sha** | **String** | | [optional]
|
||||
**size** | **Long** | | [optional]
|
||||
**type** | **String** | | [optional]
|
||||
**url** | **String** | | [optional]
|
||||
**mode** | **String** | Mode is the file mode (permissions) | [optional]
|
||||
**path** | **String** | Path is the file or directory path | [optional]
|
||||
**sha** | **String** | SHA is the Git object SHA | [optional]
|
||||
**size** | **Long** | Size is the file size in bytes | [optional]
|
||||
**type** | **String** | Type indicates if this is a file, directory, or symlink | [optional]
|
||||
**url** | **String** | URL is the API URL for this tree entry | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -4,9 +4,9 @@
|
|||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**content** | **String** | | [optional]
|
||||
**isActive** | **Boolean** | | [optional]
|
||||
**name** | **String** | | [optional]
|
||||
**content** | **String** | Content contains the script content of the hook | [optional]
|
||||
**isActive** | **Boolean** | IsActive indicates if the hook is active | [optional]
|
||||
**name** | **String** | Name is the name of the Git hook | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue