Add attachments web end point

This commit is contained in:
M M Arif
2023-10-22 18:01:07 +05:00
parent 89e78b1585
commit f1ab8e24db
@@ -27,4 +27,9 @@ public interface WebApi {
@Path("repo") String repo,
@Path("sha") String sha,
@Path("diffType") String diffType);
@Streaming
@GET("attachments/{hashid}")
Call<ResponseBody> getAttachment(
@Path("hashid") String hashid);
}