package li.doerf.hacked.remote.haveibeenpwned;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Headers;
import retrofit2.http.Path;

/**
 * Created by moo on 05/09/16.
 */
public interface HaveIBeenPwned {

    @Headers({
            "Accept: application/vnd.haveibeenpwned.v2+json",
            "User-Agent: Hacked_Android_Client"
    })
    @GET("/api/v2/breachedaccount/{account}?includeUnverified=true")
    Call<List<BreachedAccount>> listBreachedAccounts(@Path("account") String account);

    @Headers({
            "Accept: application/vnd.haveibeenpwned.v2+json",
            "User-Agent: Hacked_Android_Client"
    })
    @GET("/api/v2/breaches")
    Call<List<BreachedAccount>> getBreachedSites();

}

@@ -358,38 +358,35 @@
  Hacked_Android_
-Client
+App
 %22%0A    %7D)%0A    @GE
@@ -656,14 +656,11 @@
 oid_
-Client
+App
 %22%0A  

update client id