retrofit2.http.DELETE Java Examples
The following examples show how to use
retrofit2.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: MockAnnotationProccessor.java From Endpoint2mock2 with MIT License | 6 votes |
private static String extractPath(Element element) throws NoAnnotationException { GET getAnnotation = element.getAnnotation(GET.class); if (getAnnotation != null) { return getAnnotation.value(); } POST postAnnotation = element.getAnnotation(POST.class); if (postAnnotation != null) { return postAnnotation.value(); } DELETE deleteAnnotation = element.getAnnotation(DELETE.class); if (deleteAnnotation != null) { return deleteAnnotation.value(); } PUT putAnnotation = element.getAnnotation(PUT.class); if (putAnnotation != null) { return putAnnotation.value(); } throw new NoAnnotationException(); }
Example #2
Source File: TidepoolUploader.java From xDrip with GNU General Public License v3.0 | 4 votes |
@DELETE("/v1/datasets/{dataSetId}") Call<MDatasetReply> deleteDataSet(@Header(SESSION_TOKEN_HEADER) String token, @Path("dataSetId") String id);
Example #3
Source File: ApiService.java From intra42 with Apache License 2.0 | 4 votes |
@DELETE("/v2/expertises_users/{expertises_users_id}") Call<Expertises> deleteExpertisesUsers(@Path("expertises_users_id") int expertisesUsersID);
Example #4
Source File: ImageService.java From rancher-java-sdk with Apache License 2.0 | 4 votes |
@DELETE("image/{id}") Call<Response> delete(@Path("id") String id);
Example #5
Source File: MachineService.java From rancher-java-sdk with Apache License 2.0 | 4 votes |
@DELETE("machine/{id}") Call<Response> delete(@Path("id") String id);
Example #6
Source File: EsService.java From wES with MIT License | 4 votes |
@DELETE("_search/template/{id}") public Call<Object> delete_template(@Path("id") String id);
Example #7
Source File: EnvironmentUpgradeService.java From rancher-java-sdk with Apache License 2.0 | 4 votes |
@DELETE("environmentUpgrade/{id}") Call<Response> delete(@Path("id") String id);
Example #8
Source File: NightscoutUploader.java From xDrip with GNU General Public License v3.0 | 4 votes |
@DELETE("treatments/{id}") Call<ResponseBody> deleteTreatment(@Header("api-secret") String secret, @Path("id") String id);
Example #9
Source File: LaunchConfigService.java From rancher-java-sdk with Apache License 2.0 | 4 votes |
@DELETE("launchConfig/{id}") Call<Response> delete(@Path("id") String id);
Example #10
Source File: IpAddressAssociateInputService.java From rancher-java-sdk with Apache License 2.0 | 4 votes |
@DELETE("ipAddressAssociateInput/{id}") Call<Response> delete(@Path("id") String id);
Example #11
Source File: ProjectService.java From rancher-java-sdk with Apache License 2.0 | 4 votes |
@DELETE("project/{id}") Call<Response> delete(@Path("id") String id);
Example #12
Source File: DribbbleService.java From android-proguards with Apache License 2.0 | 4 votes |
@DELETE("v1/users/{user}/follow") Call<Void> unfollow(@Path("user") String username);
Example #13
Source File: EsService.java From wES with MIT License | 4 votes |
@DELETE("_search/scroll") public Call<Object> clear_scroll();
Example #14
Source File: ApiService.java From intra42 with Apache License 2.0 | 4 votes |
@DELETE("/v2/slots/{id}") Call<Slots> destroySlot(@Path("id") int id);
Example #15
Source File: ApiService.java From intra42 with Apache License 2.0 | 4 votes |
@DELETE("/v2/events_users/{id}") Call<Void> deleteEventsUsers(@Path("id") int eventUser);
Example #16
Source File: DatabasechangeloglockService.java From rancher-java-sdk with Apache License 2.0 | 4 votes |
@DELETE("databasechangeloglock/{id}") Call<Response> delete(@Path("id") String id);
Example #17
Source File: ServiceUpgradeStrategyService.java From rancher-java-sdk with Apache License 2.0 | 4 votes |
@DELETE("serviceUpgradeStrategy/{id}") Call<Response> delete(@Path("id") String id);
Example #18
Source File: ExternalEventService.java From rancher-java-sdk with Apache License 2.0 | 4 votes |
@DELETE("externalEvent/{id}") Call<Response> delete(@Path("id") String id);
Example #19
Source File: HaConfigService.java From rancher-java-sdk with Apache License 2.0 | 4 votes |
@DELETE("haConfig/{id}") Call<Response> delete(@Path("id") String id);
Example #20
Source File: ServiceEventService.java From rancher-java-sdk with Apache License 2.0 | 4 votes |
@DELETE("serviceEvent/{id}") Call<Response> delete(@Path("id") String id);
Example #21
Source File: JiraEndPoints.java From jira-steps-plugin with Apache License 2.0 | 4 votes |
@DELETE("rest/api/2/attachment/{attachmentId}") Call<Object> deleteAttachment(@Path("attachmentId") String attachmentId);
Example #22
Source File: JiraEndPoints.java From jira-steps-plugin with Apache License 2.0 | 4 votes |
@DELETE("rest/api/2/issueLink/{linkId}") Call<Object> deleteIssueLink(@Path("linkId") String linkId);
Example #23
Source File: JiraEndPoints.java From jira-steps-plugin with Apache License 2.0 | 4 votes |
@DELETE("rest/api/2/issue/{issueIdOrKey}/remotelink/{linkId}") Call<Object> deleteIssueRemoteLink(@Path("issueIdOrKey") String issueIdOrKey, @Path("linkId") String linkId);
Example #24
Source File: ServiceRestartService.java From rancher-java-sdk with Apache License 2.0 | 4 votes |
@DELETE("serviceRestart/{id}") Call<Response> delete(@Path("id") String id);
Example #25
Source File: TreatmentsEndpoints.java From 600SeriesAndroidUploader with MIT License | 4 votes |
@DELETE("/api/v1/treatments/{id}") Call<ResponseBody> deleteID(@Path("id") String id);
Example #26
Source File: AddRemoveServiceLinkInputService.java From rancher-java-sdk with Apache License 2.0 | 4 votes |
@DELETE("addRemoveServiceLinkInput/{id}") Call<Response> delete(@Path("id") String id);
Example #27
Source File: ProcessDefinitionService.java From rancher-java-sdk with Apache License 2.0 | 4 votes |
@DELETE("processDefinition/{id}") Call<Response> delete(@Path("id") String id);
Example #28
Source File: ExternalVolumeEventService.java From rancher-java-sdk with Apache License 2.0 | 4 votes |
@DELETE("externalVolumeEvent/{id}") Call<Response> delete(@Path("id") String id);
Example #29
Source File: ExtensionPointService.java From rancher-java-sdk with Apache License 2.0 | 4 votes |
@DELETE("extensionPoint/{id}") Call<Response> delete(@Path("id") String id);
Example #30
Source File: LoadBalancerAppCookieStickinessPolicyService.java From rancher-java-sdk with Apache License 2.0 | 4 votes |
@DELETE("loadBalancerAppCookieStickinessPolicy/{id}") Call<Response> delete(@Path("id") String id);