导航菜单

页面标题

页面副标题

xDrip+ v04633772025.07.16 - DexcomShareInterface.java 源代码

正在查看: xDrip+ v04633772025.07.16 应用的 DexcomShareInterface.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package com.eveningoutpost.dexdrip.cgm.sharefollow;

import java.util.List;
import java.util.Map;
import retrofit.http.Headers;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.POST;
import retrofit2.http.QueryMap;

public interface DexcomShareInterface {
    @Headers({"User-Agent: Dexcom Share/3.0.2.11 CFNetwork/711.2.23 Darwin/14.0.0", "Content-Type: application/json", "Accept: application/json"})
    @POST("General/AuthenticatePublisherAccount")
    Call<String> authenticate(@Body ShareAuthenticationBody shareAuthenticationBody);

    @Headers({"User-Agent: Dexcom Share/3.0.2.11 CFNetwork/711.2.23 Darwin/14.0.0", "Content-Length: 0", "Content-Type: application/json", "Accept: application/json"})
    @POST("Publisher/ReadPublisherLatestGlucoseValues")
    Call<List<ShareGlucoseRecord>> getGlucoseRecords(@QueryMap Map<String, String> map);

    @Headers({"User-Agent: Dexcom Share/3.0.2.11 CFNetwork/711.2.23 Darwin/14.0.0", "Content-Type: application/json", "Accept: application/json"})
    @POST("General/LoginPublisherAccountById")
    Call<String> getSessionId(@Body ShareLoginBody shareLoginBody);
}