retrofit.http.QueryMap Java Examples

The following examples show how to use retrofit.http.QueryMap. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: DhisApi.java    From dhis2-android-dashboard with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
@GET("/interpretations/?paging=false")
@Headers("Accept: application/json")
Map<String, List<Interpretation>> getInterpretations(@QueryMap Map<String, String> queryMap);
 
Example #2
Source File: UserApi.java    From phphub-android with Apache License 2.0 4 votes vote down vote up
@GET("/user/{userId}/attention/topics")
Observable<TopicEntity> getAttentions(@Path("userId") int userId,
                                      @QueryMap Map<String, String> options);
 
Example #3
Source File: DhisApi.java    From dhis2-android-dashboard with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
@GET("/me/")
@Headers("Accept: application/json")
UserAccount getCurrentUserAccount(@QueryMap Map<String, String> queryParams);
 
Example #4
Source File: TopicApi.java    From phphub-android with Apache License 2.0 4 votes vote down vote up
@POST("/topics")
Observable<TopicEntity.ATopic> publishTopic(@QueryMap Map<String, String> options);
 
Example #5
Source File: TopicApi.java    From phphub-android with Apache License 2.0 4 votes vote down vote up
@POST("/replies")
Observable<ReplyEntity.AReply> publishReply(@QueryMap Map<String, String> options);
 
Example #6
Source File: TopicApi.java    From phphub-android with Apache License 2.0 4 votes vote down vote up
@GET("/topics")
Observable<TopicEntity> getTopics(@QueryMap Map<String, String> options);
 
Example #7
Source File: UserApi.java    From phphub-android with Apache License 2.0 4 votes vote down vote up
@GET("/me/notifications")
Observable<NotificationEntity> getMyNotifications(@QueryMap Map<String, String> options);
 
Example #8
Source File: TopicApi.java    From phphub-android with Apache License 2.0 4 votes vote down vote up
@GET("/topics/{topicId}")
Observable<TopicEntity.ATopic> getTopic(@Path("topicId") int topicId,
                                  @QueryMap Map<String, String> options);
 
Example #9
Source File: TalkApi.java    From talk-android with MIT License 4 votes vote down vote up
@GET("/messages")
Observable<List<Message>> getMessage(@QueryMap Map<String, String> queryMap);
 
Example #10
Source File: UserApi.java    From phphub-android with Apache License 2.0 4 votes vote down vote up
@GET("/user/{userId}/favorite/topics")
Observable<TopicEntity> getFavorites(@Path("userId") int userId,
                                     @QueryMap Map<String, String> options);
 
Example #11
Source File: DhisApi.java    From dhis2-android-dashboard with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
@GET("/reportTables?paging=false")
@Headers("Accept: application/json")
Map<String, List<DashboardItemContent>> getReportTables(@QueryMap Map<String, String> queryParams);
 
Example #12
Source File: DhisApi.java    From dhis2-android-dashboard with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
@GET("/eventReports?paging=false")
@Headers("Accept: application/json")
Map<String, List<DashboardItemContent>> getEventReports(@QueryMap Map<String, String> queryParams);
 
Example #13
Source File: DhisApi.java    From dhis2-android-dashboard with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
@GET("/users?paging=false")
@Headers("Accept: application/json")
Map<String, List<DashboardItemContent>> getUsers(@QueryMap Map<String, String> queryParams);
 
Example #14
Source File: DhisApi.java    From dhis2-android-dashboard with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
@GET("/reports?paging=false")
@Headers("Accept: application/json")
Map<String, List<DashboardItemContent>> getReports(@QueryMap Map<String, String> queryMap);
 
Example #15
Source File: DhisApi.java    From dhis2-android-dashboard with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
@GET("/documents?paging=false")
@Headers("Accept: application/json")
Map<String, List<DashboardItemContent>> getResources(@QueryMap Map<String, String> queryMap);
 
Example #16
Source File: WooCommerce.java    From Woocommerce-Android-Client with MIT License 4 votes vote down vote up
@GET(Endpoints.PRODUCTS_ENDPOINT + "/{id}")
void getProduct(@Path("id")String id,@QueryMap LinkedHashMap<String, String> options, Callback<Response> response);
 
Example #17
Source File: DhisApi.java    From dhis2-android-dashboard with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
@GET("/interpretations/{uid}")
@Headers("Accept: application/json")
Interpretation getInterpretation(@Path("uid") String uId, @QueryMap Map<String, String> queryMap);
 
Example #18
Source File: DexcomShareInterface.java    From NightWatch with GNU General Public License v3.0 4 votes vote down vote up
@POST("/Publisher/ReadPublisherLatestGlucoseValues")
ShareGlucose[] getShareBg(@QueryMap Map<String, String> options);
 
Example #19
Source File: ApiService.java    From Sky31Radio with Apache License 2.0 4 votes vote down vote up
@GET("/program")
Observable<Pagination<Program>> listPrograms(@Query("page") int page, @QueryMap Map<String, String> params);
 
Example #20
Source File: DexcomShareInterface.java    From NightWatch with GNU General Public License v3.0 4 votes vote down vote up
@POST("/Publisher/ReadPublisherLatestGlucoseValues")
ShareGlucose[] getShareBg(@QueryMap Map<String, String> options);
 
Example #21
Source File: RestApiInterface.java    From UPPlatform_Android_SDK with Apache License 2.0 4 votes vote down vote up
@GET("/nudge/api/{version}/users/@me/meals")
void getMealEventsList(
    @Path(UpPlatformSdkConstants.API_VERSION) String version,
    @QueryMap HashMap<String, Integer> hashMap,
    Callback<Object> response
);
 
Example #22
Source File: RestApiInterface.java    From UPPlatform_Android_SDK with Apache License 2.0 4 votes vote down vote up
@GET("/nudge/api/{version}/users/@me/moves")
void getMoveEventsList(
    @Path(UpPlatformSdkConstants.API_VERSION) String version,
    @QueryMap HashMap<String, Integer> hashMap,
    Callback<Object> response
);
 
Example #23
Source File: RestApiInterface.java    From UPPlatform_Android_SDK with Apache License 2.0 4 votes vote down vote up
@GET("/nudge/api/{version}/users/@me/generic_events")
void getCustomEventsList(
    @Path(UpPlatformSdkConstants.API_VERSION) String version,
    @QueryMap HashMap<String, Integer> hashMap,
    Callback<Object> response
);
 
Example #24
Source File: RestApiInterface.java    From UPPlatform_Android_SDK with Apache License 2.0 4 votes vote down vote up
@GET("/nudge/api/{version}/users/@me/workouts")
void getWorkoutEventList(
    @Path(UpPlatformSdkConstants.API_VERSION) String version,
    @QueryMap HashMap<String, Integer> hashMap,
    Callback<Object> response
);
 
Example #25
Source File: RestApiInterface.java    From UPPlatform_Android_SDK with Apache License 2.0 4 votes vote down vote up
@GET("/nudge/api/{version}/users/@me/sleeps")
void getSleepEventsList(
    @Path(UpPlatformSdkConstants.API_VERSION) String version,
    @QueryMap HashMap<String, Integer> hashMap,
    Callback<Object> response
);
 
Example #26
Source File: RestApiInterface.java    From UPPlatform_Android_SDK with Apache License 2.0 4 votes vote down vote up
@GET("/nudge/api/{version}/users/@me/body_events")
void getBodyEventsList(
    @Path(UpPlatformSdkConstants.API_VERSION) String version,
    @QueryMap HashMap<String, Integer> hashMap,
    Callback<Object> response
);
 
Example #27
Source File: RestApiInterface.java    From UPPlatform_Android_SDK with Apache License 2.0 4 votes vote down vote up
@GET("/nudge/api/{version}/users/@me/bandevents")
void getBandEvents(
    @Path(UpPlatformSdkConstants.API_VERSION) String version,
    @QueryMap HashMap<String, Integer> hashMap,
    Callback<Object> response
);
 
Example #28
Source File: RestApiInterface.java    From UPPlatform_Android_SDK with Apache License 2.0 4 votes vote down vote up
@GET("/nudge/api/{version}/users/@me/timezone")
void getTimeZone(
        @Path(UpPlatformSdkConstants.API_VERSION) String version,
        @QueryMap HashMap<String, Integer> hashMap,
        Callback<Object> response
);
 
Example #29
Source File: DexcomShareInterface.java    From xDrip with GNU General Public License v3.0 4 votes vote down vote up
@POST("/Publisher/PostReceiverEgvRecords")
void uploadBGRecords(@QueryMap Map<String, String> options, @Body ShareUploadPayload payload, Callback<Response> callback);
 
Example #30
Source File: DexcomShareInterface.java    From xDrip with GNU General Public License v3.0 4 votes vote down vote up
@POST("/Publisher/ReadPublisherLatestGlucoseValues")
ShareGlucose[] getShareBg(@QueryMap Map<String, String> options);