Synchronizing API and documentation updates

This commit is contained in:
gitnexbot
2026-03-03 00:02:59 +00:00
parent 8f195637a0
commit 515406c5dc
8 changed files with 216 additions and 382 deletions
@@ -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&lt;Void&gt;
*/
@GET("admin/runners/registration-token")
Call<Void> adminGetRunnerRegistrationToken();
/**
* List system&#x27;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&#x27;s actions runner registration token
*
* @param org name of the organization (required)
* @return Call&lt;Void&gt;
*/
@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&#x27;s actions runner registration token
*
* @param owner owner of the repo (required)
* @param repo name of the repo (required)
* @return Call&lt;Void&gt;
*/
@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&lt;ActionWorkflowJob&gt;
*/
@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&lt;ActionWorkflowRun&gt;
*/
@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&#x27;s actions runner registration token
*
* @return Call&lt;Void&gt;
*/
@GET("user/actions/runners/registration-token")
Call<Void> userGetRunnerRegistrationToken();
/**
* Get list of all existing stopwatches
*