public interface FilesApi
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
API_UPLOAD |
| Modifier and Type | Method and Description |
|---|---|
retrofit2.Call<HiveResponseBody> |
copy(FilesCopyRequestBody body) |
retrofit2.Call<HiveResponseBody> |
delete(FilesDeleteRequestBody body) |
retrofit2.Call<okhttp3.ResponseBody> |
download(java.lang.String filename) |
retrofit2.Call<FilesHashResponseBody> |
hash(java.lang.String filename) |
retrofit2.Call<FilesListResponseBody> |
list(java.lang.String filename) |
retrofit2.Call<HiveResponseBody> |
move(FilesMoveRequestBody body) |
retrofit2.Call<FilesPropertiesResponseBody> |
properties(java.lang.String filename) |
static final java.lang.String API_UPLOAD
@GET(value="/api/v1/files/list/folder") retrofit2.Call<FilesListResponseBody> list(@Query(value="path") java.lang.String filename)
@GET(value="/api/v1/files/properties") retrofit2.Call<FilesPropertiesResponseBody> properties(@Query(value="path") java.lang.String filename)
@GET(value="/api/v1/files/download")
retrofit2.Call<okhttp3.ResponseBody> download(@Query(value="path")
java.lang.String filename)
@POST(value="/api/v1/files/delete") retrofit2.Call<HiveResponseBody> delete(@Body FilesDeleteRequestBody body)
@POST(value="/api/v1/files/move") retrofit2.Call<HiveResponseBody> move(@Body FilesMoveRequestBody body)
@POST(value="/api/v1/files/copy") retrofit2.Call<HiveResponseBody> copy(@Body FilesCopyRequestBody body)
@GET(value="/api/v1/files/file/hash") retrofit2.Call<FilesHashResponseBody> hash(@Query(value="path") java.lang.String filename)