public interface FilesApi
| Modifier and Type | Method and Description |
|---|---|
retrofit2.Call<okhttp3.ResponseBody> |
copy(okhttp3.RequestBody body) |
retrofit2.Call<okhttp3.ResponseBody> |
deleteFolder(okhttp3.RequestBody body) |
retrofit2.Call<okhttp3.ResponseBody> |
downloader(java.lang.String filename) |
retrofit2.Call<FilesList> |
files(java.lang.String filename) |
retrofit2.Call<FileInfo> |
getProperties(java.lang.String filename) |
retrofit2.Call<okhttp3.ResponseBody> |
hash(java.lang.String filename) |
retrofit2.Call<okhttp3.ResponseBody> |
move(okhttp3.RequestBody body) |
@GET(value="/api/v1/files/list/folder") retrofit2.Call<FilesList> files(@Query(value="path") java.lang.String filename)
@GET(value="/api/v1/files/download")
retrofit2.Call<okhttp3.ResponseBody> downloader(@Query(value="path")
java.lang.String filename)
@GET(value="/api/v1/files/properties") retrofit2.Call<FileInfo> getProperties(@Query(value="path") java.lang.String filename)
@POST(value="/api/v1/files/delete")
retrofit2.Call<okhttp3.ResponseBody> deleteFolder(@Body
okhttp3.RequestBody body)
@POST(value="/api/v1/files/move")
retrofit2.Call<okhttp3.ResponseBody> move(@Body
okhttp3.RequestBody body)
@POST(value="/api/v1/files/copy")
retrofit2.Call<okhttp3.ResponseBody> copy(@Body
okhttp3.RequestBody body)
@GET(value="/api/v1/files/file/hash")
retrofit2.Call<okhttp3.ResponseBody> hash(@Query(value="path")
java.lang.String filename)