diff --git a/docs/RepositoryApi.md b/docs/RepositoryApi.md index 3d94378..31f4311 100644 --- a/docs/RepositoryApi.md +++ b/docs/RepositoryApi.md @@ -109,7 +109,7 @@ Method | HTTP request | Description [**repoGetReleaseByTag**](RepositoryApi.md#repoGetReleaseByTag) | **GET** repos/{owner}/{repo}/releases/tags/{tag} | Get a release by tag name [**repoGetRepoPermissions**](RepositoryApi.md#repoGetRepoPermissions) | **GET** repos/{owner}/{repo}/collaborators/{collaborator}/permission | Get repository permissions for a user [**repoGetReviewers**](RepositoryApi.md#repoGetReviewers) | **GET** repos/{owner}/{repo}/reviewers | Return all users that can be requested to review in this repo -[**repoGetRunnerRegistrationToken**](RepositoryApi.md#repoGetRunnerRegistrationToken) | **GET** repos/{owner}/{repo}/runners/registration-token | Get a repository's actions runner registration token +[**repoGetRunnerRegistrationToken**](RepositoryApi.md#repoGetRunnerRegistrationToken) | **GET** repos/{owner}/{repo}/actions/runners/registration-token | Get a repository's actions runner registration token [**repoGetSingleCommit**](RepositoryApi.md#repoGetSingleCommit) | **GET** repos/{owner}/{repo}/git/commits/{sha} | Get a single commit from a repository [**repoGetTag**](RepositoryApi.md#repoGetTag) | **GET** repos/{owner}/{repo}/tags/{tag} | Get the tag of a repository by tag name [**repoGetTagProtection**](RepositoryApi.md#repoGetTagProtection) | **GET** repos/{owner}/{repo}/tag_protections/{id} | Get a specific tag protection for the repository diff --git a/src/main/java/org/gitnex/tea4j/v2/apis/RepositoryApi.java b/src/main/java/org/gitnex/tea4j/v2/apis/RepositoryApi.java index 548cf5d..c767c8f 100644 --- a/src/main/java/org/gitnex/tea4j/v2/apis/RepositoryApi.java +++ b/src/main/java/org/gitnex/tea4j/v2/apis/RepositoryApi.java @@ -1721,7 +1721,7 @@ public interface RepositoryApi { * @param repo name of the repo (required) * @return Call<Void> */ - @GET("repos/{owner}/{repo}/runners/registration-token") + @GET("repos/{owner}/{repo}/actions/runners/registration-token") Call repoGetRunnerRegistrationToken( @retrofit2.http.Path("owner") String owner, @retrofit2.http.Path("repo") String repo);