mirror of
https://codeberg.org/gitnex/tea4j-autodeploy
synced 2026-06-17 23:20:39 +00:00
Synchronizing API and documentation updates
This commit is contained in:
@@ -242,14 +242,6 @@ public interface AdminApi {
|
||||
@GET("admin/hooks/{id}")
|
||||
Call<Hook> adminGetHook(@retrofit2.http.Path("id") Long id);
|
||||
|
||||
/**
|
||||
* Get a global actions runner registration token
|
||||
*
|
||||
* @return Call<Void>
|
||||
*/
|
||||
@GET("admin/runners/registration-token")
|
||||
Call<Void> adminGetRunnerRegistrationToken();
|
||||
|
||||
/**
|
||||
* List system's webhooks
|
||||
*
|
||||
|
||||
@@ -441,15 +441,6 @@ public interface OrganizationApi {
|
||||
Call<Label> orgGetLabel(
|
||||
@retrofit2.http.Path("org") String org, @retrofit2.http.Path("id") Long id);
|
||||
|
||||
/**
|
||||
* Get an organization's actions runner registration token
|
||||
*
|
||||
* @param org name of the organization (required)
|
||||
* @return Call<Void>
|
||||
*/
|
||||
@GET("orgs/{org}/actions/runners/registration-token")
|
||||
Call<Void> orgGetRunnerRegistrationToken(@retrofit2.http.Path("org") String org);
|
||||
|
||||
/**
|
||||
* Get a team
|
||||
*
|
||||
|
||||
@@ -2144,17 +2144,6 @@ public interface RepositoryApi {
|
||||
Call<List<User>> repoGetReviewers(
|
||||
@retrofit2.http.Path("owner") String owner, @retrofit2.http.Path("repo") String repo);
|
||||
|
||||
/**
|
||||
* Get a repository's actions runner registration token
|
||||
*
|
||||
* @param owner owner of the repo (required)
|
||||
* @param repo name of the repo (required)
|
||||
* @return Call<Void>
|
||||
*/
|
||||
@GET("repos/{owner}/{repo}/actions/runners/registration-token")
|
||||
Call<Void> repoGetRunnerRegistrationToken(
|
||||
@retrofit2.http.Path("owner") String owner, @retrofit2.http.Path("repo") String repo);
|
||||
|
||||
/**
|
||||
* Get a single commit from a repository
|
||||
*
|
||||
@@ -3056,6 +3045,36 @@ public interface RepositoryApi {
|
||||
Call<IssueConfigValidation> repoValidateIssueConfig(
|
||||
@retrofit2.http.Path("owner") String owner, @retrofit2.http.Path("repo") String repo);
|
||||
|
||||
/**
|
||||
* Reruns a specific workflow job in a run
|
||||
*
|
||||
* @param owner owner of the repo (required)
|
||||
* @param repo name of the repository (required)
|
||||
* @param run id of the run (required)
|
||||
* @param jobId id of the job (required)
|
||||
* @return Call<ActionWorkflowJob>
|
||||
*/
|
||||
@POST("repos/{owner}/{repo}/actions/runs/{run}/jobs/{job_id}/rerun")
|
||||
Call<ActionWorkflowJob> rerunWorkflowJob(
|
||||
@retrofit2.http.Path("owner") String owner,
|
||||
@retrofit2.http.Path("repo") String repo,
|
||||
@retrofit2.http.Path("run") Integer run,
|
||||
@retrofit2.http.Path("job_id") Integer jobId);
|
||||
|
||||
/**
|
||||
* Reruns an entire workflow run
|
||||
*
|
||||
* @param owner owner of the repo (required)
|
||||
* @param repo name of the repository (required)
|
||||
* @param run id of the run (required)
|
||||
* @return Call<ActionWorkflowRun>
|
||||
*/
|
||||
@POST("repos/{owner}/{repo}/actions/runs/{run}/rerun")
|
||||
Call<ActionWorkflowRun> rerunWorkflowRun(
|
||||
@retrofit2.http.Path("owner") String owner,
|
||||
@retrofit2.http.Path("repo") String repo,
|
||||
@retrofit2.http.Path("run") Integer run);
|
||||
|
||||
/**
|
||||
* search topics via keyword
|
||||
*
|
||||
|
||||
@@ -628,14 +628,6 @@ public interface UserApi {
|
||||
Call<List<OAuth2Application>> userGetOauth2Application(
|
||||
@retrofit2.http.Query("page") Integer page, @retrofit2.http.Query("limit") Integer limit);
|
||||
|
||||
/**
|
||||
* Get an user's actions runner registration token
|
||||
*
|
||||
* @return Call<Void>
|
||||
*/
|
||||
@GET("user/actions/runners/registration-token")
|
||||
Call<Void> userGetRunnerRegistrationToken();
|
||||
|
||||
/**
|
||||
* Get list of all existing stopwatches
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user