@Path(value="/file") public interface IFile extends IDefaultApi<ConfigFile>
| Modifier and Type | Method and Description |
|---|---|
ConfigFile[] |
getConfigFiles(String template) |
String |
getData(String name) |
void |
saveData(String name,
String data) |
delete, get, get, save@GET
@Path(value="/{name}/data")
@Produces(value="application/json;charset=UTF-8")
String getData(@PathParam(value="name")
String name)
name - the file name@PUT
@Path(value="/{name}/data")
@Consumes(value="application/json;charset=UTF-8")
@Produces(value="application/json;charset=UTF-8")
void saveData(@PathParam(value="name")
String name,
String data)
name - the file namedata - the data to save@GET
@Path(value="/{template}/files")
@Produces(value="application/json;charset=UTF-8")
ConfigFile[] getConfigFiles(@PathParam(value="template")
String template)
template - the template nameCopyright © 2014-2017 Cinovo AG. All Rights Reserved.