retrofit.http.DELETE Java Examples

The following examples show how to use retrofit.http.DELETE. 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: ApiDefs.java    From spark-sdk-android with Apache License 2.0 4 votes vote down vote up
@DELETE("/v1/devices/{deviceID}")
SimpleResponse unclaimDevice(@Path("deviceID") String deviceID);
 
Example #2
Source File: TopicApi.java    From phphub-android with Apache License 2.0 4 votes vote down vote up
@DELETE("/topics/{topicId}/attention")
Observable<JsonObject> delFollow(@Path("topicId") int topicId);
 
Example #3
Source File: DhisApi.java    From dhis2-android-dashboard with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
@DELETE("/dashboards/{uid}")
@Headers("Content-Type: application/json")
Response deleteDashboard(@Path("uid") String dashboardUId);
 
Example #4
Source File: DhisApi.java    From dhis2-android-dashboard with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
@DELETE("/26/dashboards/{dashboardUId}/items/{itemUId}")
@Headers("Content-Type: application/json")
Response deleteDashboardItem(@Path("dashboardUId") String dashboardUId,
                             @Path("itemUId") String itemUId);
 
Example #5
Source File: DhisApi.java    From dhis2-android-dashboard with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
@DELETE("/26/dashboards/{dashboardUid}/items/{itemUid}/content/{contentUid}")
@Headers("Content-Type: application/json")
Response deleteDashboardItemContent(@Path("dashboardUid") String dashboardUid,
                                    @Path("itemUid") String itemUid,
                                    @Path("contentUid") String contentUid);
 
Example #6
Source File: TalkApi.java    From talk-android with MIT License 4 votes vote down vote up
@DELETE("/rooms/{id}")
Observable<Room> deleteRoom(@Path("id") String roomId);
 
Example #7
Source File: DhisApi.java    From dhis2-android-dashboard with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
@DELETE("/interpretations/{interpretationUid}/comments/{commentUid}")
Response deleteInterpretationComment(@Path("interpretationUid") String interpretationUid,
                                     @Path("commentUid") String commentUid);
 
Example #8
Source File: ApiService.java    From RoomBookerMVP with MIT License 4 votes vote down vote up
@DELETE("calendars/{calendar_id}/events/{event_id}")
Observable<Response> deleteEvent(@Path("calendar_id") int calendarId, @Path("event_id") int eventId);
 
Example #9
Source File: ServiceDiscoveryApi.java    From Ratel with Apache License 2.0 4 votes vote down vote up
@DELETE("/")
Response deleteAllServices();
 
Example #10
Source File: GithubService.java    From WeGit with Apache License 2.0 4 votes vote down vote up
@DELETE("authorizations/{id}")
Observable<Response<Empty>> removeToken(@Header("Authorization") String authorization, @Path("id") String id) ;
 
Example #11
Source File: GithubService.java    From WeGit with Apache License 2.0 4 votes vote down vote up
@DELETE("/user/starred/{owner}/{repo}")
Call<Empty> unStar(@Path("owner") String owner, @Path("repo") String repo);
 
Example #12
Source File: GithubService.java    From WeGit with Apache License 2.0 4 votes vote down vote up
@DELETE("/user/following/{username}")
Observable<Response<Empty>> unFollow(@Path("username") String username);
 
Example #13
Source File: DhisApi.java    From dhis2-android-dashboard with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
@DELETE("/interpretations/{uid}")
Response deleteInterpretation(@Path("uid") String interpretationUid);
 
Example #14
Source File: RestApiInterface.java    From UPPlatform_Android_SDK with Apache License 2.0 4 votes vote down vote up
@DELETE("/nudge/api/{version}/meals/{xid}")
void deleteMealEvent(
    @Path(UpPlatformSdkConstants.API_VERSION) String version,
    @Path(UpPlatformSdkConstants.XID) String xid,
    Callback<Object> response
);
 
Example #15
Source File: RestApiInterface.java    From UPPlatform_Android_SDK with Apache License 2.0 4 votes vote down vote up
@DELETE("/nudge/api/{version}/generic_events/{xid}")
void deleteCustomEvent(
    @Path(UpPlatformSdkConstants.API_VERSION) String version,
    @Path(UpPlatformSdkConstants.XID) String xid,
    Callback<Object> response
);
 
Example #16
Source File: RestApiInterface.java    From UPPlatform_Android_SDK with Apache License 2.0 4 votes vote down vote up
@DELETE("/nudge/api/{version}/workouts/{xid}")
void deleteWorkoutEvent(
    @Path(UpPlatformSdkConstants.API_VERSION) String version,
    @Path(UpPlatformSdkConstants.XID) String xid,
    Callback<Object> response
);
 
Example #17
Source File: RestApiInterface.java    From UPPlatform_Android_SDK with Apache License 2.0 4 votes vote down vote up
@DELETE("/nudge/api/{version}/sleeps/{xid}")
void deleteSleepEvent(
    @Path(UpPlatformSdkConstants.API_VERSION) String version,
    @Path(UpPlatformSdkConstants.XID) String xid,
    Callback<Object> response
);
 
Example #18
Source File: RestApiInterface.java    From UPPlatform_Android_SDK with Apache License 2.0 4 votes vote down vote up
@DELETE("/nudge/api/{version}/body_events/{xid}")
void deleteBodyEvent(
    @Path(UpPlatformSdkConstants.API_VERSION) String version,
    @Path(UpPlatformSdkConstants.XID) String xid,
    Callback<Object> response
);
 
Example #19
Source File: RestApiInterface.java    From UPPlatform_Android_SDK with Apache License 2.0 4 votes vote down vote up
@DELETE("/nudge/api/{version}/mood/{xid}")
void deleteMoodEvent(
        @Path(UpPlatformSdkConstants.API_VERSION) String version,
        @Path(UpPlatformSdkConstants.XID) String xid,
        Callback<Object> response
);
 
Example #20
Source File: PushWebService.java    From divide with Apache License 2.0 4 votes vote down vote up
@DELETE("/push")
public Boolean unregister();
 
Example #21
Source File: PushWebService.java    From divide with Apache License 2.0 4 votes vote down vote up
@DELETE("/push")
public void unregister(Callback<Boolean> callback);
 
Example #22
Source File: AbelanaClient.java    From Abelana-Android with Apache License 2.0 4 votes vote down vote up
@DELETE("/user/{atok}")
void wipeout(
        @Path("atok") String atok,
        Callback<Status> callback
);
 
Example #23
Source File: AbelanaClient.java    From Abelana-Android with Apache License 2.0 4 votes vote down vote up
@DELETE("/user/{atok}/device/{regid}")
void unregister(
        @Path("atok") String atok,
        @Path("regid") String regid,
        Callback<Status> callback
);
 
Example #24
Source File: AbelanaClient.java    From Abelana-Android with Apache License 2.0 4 votes vote down vote up
@DELETE("/photo/{atok}/{photoid}/like")
void unlike(
        @Path("atok") String atok,
        @Path("photoid") String photoid,
        Callback<Status> callback
);
 
Example #25
Source File: GatewayApi.java    From apiman-cli with Apache License 2.0 4 votes vote down vote up
@DELETE("/apis/{organizationId}/{apiId}/{version}")
Response retireApi(@Path("organizationId") String organizationId,
                   @Path("apiId") String apiId,
                   @Path("version") String version);
 
Example #26
Source File: TalkApi.java    From talk-android with MIT License 4 votes vote down vote up
@DELETE("/messages/{id}")
Observable<Object> deleteMessage(@Path("id") String messageId);
 
Example #27
Source File: TalkApi.java    From talk-android with MIT License 4 votes vote down vote up
@DELETE("/tags/{id}")
Observable<Tag> removeTag(@Path("id") String tagId);
 
Example #28
Source File: TalkApi.java    From talk-android with MIT License 4 votes vote down vote up
@DELETE("/invitations/{id}")
Observable<Invitation> removeInvitation(@Path("id") String id);
 
Example #29
Source File: TalkApi.java    From talk-android with MIT License 4 votes vote down vote up
@DELETE("/stories/{id}")
Observable<Story> deleteStory(@Path("id") String id);
 
Example #30
Source File: TalkApi.java    From talk-android with MIT License 4 votes vote down vote up
@DELETE("/groups/{id}")
Observable<Group> removeGroup(@Path("id") String id);