mirror of
https://codeberg.org/gitnex/tea4j-autodeploy
synced 2026-06-12 04:20:38 +00:00
Synchronizing API and documentation updates
This commit is contained in:
@@ -998,6 +998,8 @@ public interface RepositoryApi {
|
||||
* @param repo name of the repo (required)
|
||||
* @param sha SHA or branch to start listing commits from (usually 'master') (optional)
|
||||
* @param path filepath of a file/dir (optional)
|
||||
* @param stat include diff stats for every commit (disable for speedup, default 'true')
|
||||
* (optional)
|
||||
* @param page page number of results to return (1-based) (optional)
|
||||
* @param limit page size of results (ignored if used with 'path') (optional)
|
||||
* @return Call<List<Commit>>
|
||||
@@ -1008,6 +1010,7 @@ public interface RepositoryApi {
|
||||
@retrofit2.http.Path("repo") String repo,
|
||||
@retrofit2.http.Query("sha") String sha,
|
||||
@retrofit2.http.Query("path") String path,
|
||||
@retrofit2.http.Query("stat") Boolean stat,
|
||||
@retrofit2.http.Query("page") Integer page,
|
||||
@retrofit2.http.Query("limit") Integer limit);
|
||||
|
||||
|
||||
@@ -243,7 +243,7 @@ public class CreateTeamOption implements Serializable {
|
||||
*/
|
||||
@Schema(
|
||||
example =
|
||||
"{\"repo.code\":\"read\",\"repo.issues\":\"write\",\"repo.ext_issues\":\"none\",\"repo.wiki\":\"admin\",\"repo.pulls\":\"owner\",\"repo.releases\":\"none\",\"repo.projects\":\"none\",\"repo.ext_wiki\":\"none\"]",
|
||||
"{\"repo.code\":\"read\",\"repo.ext_issues\":\"none\",\"repo.ext_wiki\":\"none\",\"repo.issues\":\"write\",\"repo.projects\":\"none\",\"repo.pulls\":\"owner\",\"repo.releases\":\"none\",\"repo.wiki\":\"admin\"}",
|
||||
description = "")
|
||||
public Map<String, String> getUnitsMap() {
|
||||
return unitsMap;
|
||||
|
||||
@@ -243,7 +243,7 @@ public class EditTeamOption implements Serializable {
|
||||
*/
|
||||
@Schema(
|
||||
example =
|
||||
"{\"repo.code\":\"read\",\"repo.issues\":\"write\",\"repo.ext_issues\":\"none\",\"repo.wiki\":\"admin\",\"repo.pulls\":\"owner\",\"repo.releases\":\"none\",\"repo.projects\":\"none\",\"repo.ext_wiki\":\"none\"]",
|
||||
"{\"repo.code\":\"read\",\"repo.ext_issues\":\"none\",\"repo.ext_wiki\":\"none\",\"repo.issues\":\"write\",\"repo.projects\":\"none\",\"repo.pulls\":\"owner\",\"repo.releases\":\"none\",\"repo.wiki\":\"admin\"}",
|
||||
description = "")
|
||||
public Map<String, String> getUnitsMap() {
|
||||
return unitsMap;
|
||||
|
||||
@@ -289,7 +289,7 @@ public class Team implements Serializable {
|
||||
*/
|
||||
@Schema(
|
||||
example =
|
||||
"{\"repo.code\":\"read\",\"repo.issues\":\"write\",\"repo.ext_issues\":\"none\",\"repo.wiki\":\"admin\",\"repo.pulls\":\"owner\",\"repo.releases\":\"none\",\"repo.projects\":\"none\",\"repo.ext_wiki\":\"none\"]",
|
||||
"{\"repo.code\":\"read\",\"repo.ext_issues\":\"none\",\"repo.ext_wiki\":\"none\",\"repo.issues\":\"write\",\"repo.projects\":\"none\",\"repo.pulls\":\"owner\",\"repo.releases\":\"none\",\"repo.wiki\":\"admin\"}",
|
||||
description = "")
|
||||
public Map<String, String> getUnitsMap() {
|
||||
return unitsMap;
|
||||
|
||||
Reference in New Issue
Block a user