@Path(value="/packages") public interface IPackage extends IDefaultApi<Package>
| Modifier and Type | Method and Description |
|---|---|
void |
addRPM(String pkgname,
String version,
PackageVersion versionContent)
Add a new version to a package
|
PackageVersion[] |
getRPMS(String pkgname)
Get the existing package versions of a package
|
void |
removeRPM(String pkgname,
String version)
Delete a version from a package
|
delete, get, get, save@GET
@Path(value="/{pkg}/versions")
@Produces(value="application/json;charset=UTF-8")
PackageVersion[] getRPMS(@PathParam(value="pkg")
String pkgname)
pkgname - the package name@PUT
@Path(value="/{pkg}/versions/{version}")
@Consumes(value="application/json;charset=UTF-8")
void addRPM(@PathParam(value="pkg")
String pkgname,
@PathParam(value="version")
String version,
PackageVersion versionContent)
pkgname - the package nameversion - the versionversionContent - the version contentCopyright © 2013-2014 Cinovo AG. All Rights Reserved.