mirror of
https://codeberg.org/gitnex/tea4j-autodeploy
synced 2026-06-27 03:18:26 +00:00
Synchronizing API and documentation updates
This commit is contained in:
@@ -4707,7 +4707,7 @@ Token.setApiKey("YOUR API KEY");
|
||||
RepositoryApi apiInstance = new RepositoryApi();
|
||||
String owner = "owner_example"; // String | owner of the repo
|
||||
String repo = "repo_example"; // String | name of the repo
|
||||
String basehead = "basehead_example"; // String | compare two refs as `base...head` (or `base..head`); refs may be branches, tags, full or short SHAs, including branch names that contain slashes.
|
||||
String basehead = "basehead_example"; // String | compare two refs as `base...head` (or `base..head`); refs may be branches, tags, full or short SHAs (including branch names that contain slashes), optionally with a `^` or `~N` revision suffix.
|
||||
String output = "output_example"; // String | return the raw comparison as `diff` or `patch` instead of JSON
|
||||
try {
|
||||
Compare result = apiInstance.repoCompareDiff(owner, repo, basehead, output);
|
||||
@@ -4724,7 +4724,7 @@ Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**owner** | **String**| owner of the repo |
|
||||
**repo** | **String**| name of the repo |
|
||||
**basehead** | **String**| compare two refs as `base...head` (or `base..head`); refs may be branches, tags, full or short SHAs, including branch names that contain slashes. |
|
||||
**basehead** | **String**| compare two refs as `base...head` (or `base..head`); refs may be branches, tags, full or short SHAs (including branch names that contain slashes), optionally with a `^` or `~N` revision suffix. |
|
||||
**output** | **String**| return the raw comparison as `diff` or `patch` instead of JSON | [optional] [enum: diff, patch]
|
||||
|
||||
### Return type
|
||||
|
||||
Reference in New Issue
Block a user