@DELETE(METADATA_BASE_PATH + "/{metadata_key}" + V1) Response removeUserMetadata( @Header(TOKEN_HEADER) AuthenticationToken<?, ?> token, @Path(USER_STORE_VARIABLE) ResourceIdentifier userStore, @Path(USER_UUID_VARIABLE) UUID userUuid, @Path("metadata_key") String metadataKey ) throws HodErrorException;
public FlattenedOptions flatten() { FlattenedOptions flattenedOptions = new FlattenedOptions(); Set<Method> methodSet = methodOptions.keySet(); for (Method method : methodSet) { //add method to flattenedOptions String endpoint = ""; if (method.getAnnotation(GET.class) != null) endpoint += method.getAnnotation(GET.class).value(); if (method.getAnnotation(POST.class) != null) endpoint += method.getAnnotation(POST.class).value(); if (method.getAnnotation(PUT.class) != null) endpoint += method.getAnnotation(PUT.class).value(); if (method.getAnnotation(DELETE.class) != null) endpoint += method.getAnnotation(DELETE.class).value(); if (method.getAnnotation(HEAD.class) != null) endpoint += method.getAnnotation(HEAD.class).value(); flattenedOptions.addMethod(method, endpoint); //add fields to flattenedOptions methodOptions.get(method).addToFlattenedOptions(flattenedOptions); } log("done flattening, contains " + flattenedOptions.itemList.size() + " items"); return flattenedOptions; }
/** * <b>OAuth Required</b> * * <p> Remove a custom list and all items it contains. */ @DELETE("/users/{username}/lists/{id}") Response deleteList( @Path("username") String username, @Path("id") String id ) throws OAuthUnauthorizedException;
@DELETE("/groups/{id}") Observable<Group> removeGroup(@Path("id") String id);
@DELETE(BASE_PATH + "/{group}/user/{user_uuid}" + V1) Response removeUser( @Header(TOKEN_HEADER) AuthenticationToken<?, ?> token, @Path(USER_STORE_VARIABLE) ResourceIdentifier userStore, @Path("group") String group, @Path("user_uuid") String userUuid ) throws HodErrorException;
@DELETE(BASE_PATH + "/{parent_group_name}/link" + V1) Response unlink( @Header(TOKEN_HEADER) AuthenticationToken<?, ?> token, @Path(USER_STORE_VARIABLE) ResourceIdentifier userStore, @Path("parent_group_name") String parent, @Query("child_group_name") String child ) throws HodErrorException;
@DELETE("/v1/devices/{deviceID}") SimpleResponse unclaimDevice(@Path("deviceID") String deviceID);
@DELETE("/rooms/{id}") Observable<Room> deleteRoom(@Path("id") String roomId);
@DELETE("/messages/{id}") Observable<Object> deleteMessage(@Path("id") String messageId);
@DELETE("/tags/{id}") Observable<Tag> removeTag(@Path("id") String tagId);
@DELETE("/invitations/{id}") Observable<Invitation> removeInvitation(@Path("id") String id);
@DELETE("/stories/{id}") Observable<Story> deleteStory(@Path("id") String id);
@DELETE("/activities/{id}") Observable<TeamActivity> deleteActivity(@Path("id") String id);
@DELETE("calendars/{calendar_id}/events/{event_id}") Observable<Response> deleteEvent(@Path("calendar_id") int calendarId, @Path("event_id") int eventId);
@DELETE("user/addresses/{id}") Call<Address> removeAddress(@Path("id") int addressId, @Query("token") String token);
@DELETE("orders/{orderId}/line_items/{id}") Call<Order> removeProduct(@Path("orderId") String orderId, @Path("id") int id, @Query("token") String token);
@DELETE("users/credit_cards/{id}") Call<Card> removeCard(@Path("id") int cardId, @Query("token") String token);
@DELETE("treatments/{id}") Call<ResponseBody> deleteTreatment(@Header("api-secret") String secret, @Path("id") String id);
@Headers("Accept: application/json") @DELETE("/collections/{id}/uncollect") Observable<Collect> deleteFromCollection(@Path("id") long id, @Query("post_id") long postId);
@Headers("Accept: application/json") @DELETE("/posts/{pid}/comments/{cid}") Observable<Comment> deleteComment(@Path("pid") long pid, @Path("cid") long cid);
@DELETE("/things/") Response deleteThisThing(@Body MyObject theObject);
@DELETE("/issues/{id}.json") public void deleteIssue(@Path("id") String id, Callback<IssueResponse> callback);
@DELETE("/sdm/mensageiro/contato/{id}") Call<Contact> deleteContact(@Path("id") String id);
@DELETE(API_VERSION + "/groups/{id}/members/{user_id}") Call<Void> removeGroupMember(@Path("id") long groupId, @Path("user_id") long userId);
@DELETE(API_VERSION + "/projects/{id}/members/{user_id}") Call<Void> removeProjectMember(@Path("id") long projectId, @Path("user_id") long userId);
@DELETE(MAIN_PATH+"/{idTeam}") Call<CustomRequRespObject<Team>> deleteTeam(@Path("idTeam") int idTeam);
@DELETE(MAIN_PATH+"/{idStadium}") Call<CustomRequRespObject<Stadium>> deleteStadium(@Path("idStadium") int idStadium);
@Headers("Content-Type: application/json") @DELETE(MAIN_PATH+"/{idConfederation}") Call<CustomRequRespObject<Confederation>> deleteConfederation(@Path("idConfederation") int idConfederation);
@Headers("Content-Type: application/json") @DELETE(MAIN_PATH+"/{idPlayer}") Call<CustomRequRespObject<Player>> deletePlayer(@Path("idPlayer") int idPlayer);
@Headers("Content-Type: application/json") @DELETE(MAIN_PATH+"/{idCountry}") Call<CustomRequRespObject<Country>> deleteCountry(@Path("idCountry") int idCountry);
@DELETE(MAIN_PATH+"/{idSponsor}") Call<CustomRequRespObject<Sponsor>> deleteSponsor(@Path("idSponsor") int idSponsor);
@DELETE("/v1/config/deployments/{deploymentName}/pubsubs/{pubsubName}/subscriptions/subscription/{subscriptionName}/") DaemonTask<Halconfig, Void> deleteSubscription( @Path("deploymentName") String deploymentName, @Path("pubsubName") String pubsubName, @Path("subscriptionName") String subscriptionName, @Query("validate") boolean validate);
@DELETE("/v1/config/deployments/{deploymentName}/providers/{providerName}/accounts/account/{accountName}/") DaemonTask<Halconfig, Void> deleteAccount( @Path("deploymentName") String deploymentName, @Path("providerName") String providerName, @Path("accountName") String accountName, @Query("validate") boolean validate);
@DELETE("/v1/config/deployments/{deploymentName}/artifactProviders/{providerName}/artifactAccounts/account/{accountName}/") DaemonTask<Halconfig, Void> deleteArtifactAccount( @Path("deploymentName") String deploymentName, @Path("providerName") String providerName, @Path("accountName") String accountName, @Query("validate") boolean validate);
@DELETE("/v1/config/deployments/{deploymentName}/providers/{providerName}/clusters/cluster/{clusterName}/") DaemonTask<Halconfig, Void> deleteCluster( @Path("deploymentName") String deploymentName, @Path("providerName") String providerName, @Path("clusterName") String clusterName, @Query("validate") boolean validate);
@DELETE("/v1/config/deployments/{deploymentName}/providers/{providerName}/bakery/defaults/baseImage/{baseImageId}/") DaemonTask<Halconfig, Void> deleteBaseImage( @Path("deploymentName") String deploymentName, @Path("providerName") String providerName, @Path("baseImageId") String baseImageId, @Query("validate") boolean validate);
@DELETE("/v1/config/deployments/{deploymentName}/ci/{ciName}/masters/{masterName}/") DaemonTask<Halconfig, Void> deleteMaster( @Path("deploymentName") String deploymentName, @Path("ciName") String ciName, @Path("masterName") String masterName, @Query("validate") boolean validate);
/*** * section contains all the methods with endpoints to delete information on the server */ @DELETE("/regimen/{id}/") void deleteRegimen(@Path("id") long regimenId, Callback<Regimen> serverResponseCallback);
@DELETE("/outcome/{id}/") void deleteOutcome(@Path("id") long outcomeID, Callback<Outcome> serverResponseCallback);