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:
@@ -14,11 +14,25 @@ public interface PackageApi {
|
||||
* @param owner owner of the package (required)
|
||||
* @param type type of the package (required)
|
||||
* @param name name of the package (required)
|
||||
* @return Call<Void>
|
||||
*/
|
||||
@DELETE("packages/{owner}/{type}/{name}")
|
||||
Call<Void> deletePackage(
|
||||
@retrofit2.http.Path("owner") String owner,
|
||||
@retrofit2.http.Path("type") String type,
|
||||
@retrofit2.http.Path("name") String name);
|
||||
|
||||
/**
|
||||
* Delete a package version
|
||||
*
|
||||
* @param owner owner of the package (required)
|
||||
* @param type type of the package (required)
|
||||
* @param name name of the package (required)
|
||||
* @param version version of the package (required)
|
||||
* @return Call<Void>
|
||||
*/
|
||||
@DELETE("packages/{owner}/{type}/{name}/{version}")
|
||||
Call<Void> deletePackage(
|
||||
Call<Void> deletePackageVersion(
|
||||
@retrofit2.http.Path("owner") String owner,
|
||||
@retrofit2.http.Path("type") String type,
|
||||
@retrofit2.http.Path("name") String name,
|
||||
|
||||
Reference in New Issue
Block a user