Skip to content

Add support for folder deletion#170

Merged
nitzanj merged 3 commits intomasterfrom
feature/support-folder-deletion
Jun 24, 2019
Merged

Add support for folder deletion#170
nitzanj merged 3 commits intomasterfrom
feature/support-folder-deletion

Conversation

@nitzanj
Copy link
Contributor

@nitzanj nitzanj commented Jun 16, 2019

No description provided.

return updateResourcesAccessMode(accessMode, "tag", tag, options);
}

public ApiResponse deleteFolder(String folder, Map options) throws Exception {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nitzanj , please add a javadoc and explain how the 'folder' string supposed to look like

ApiResponse result = cloudinary.api().resource(API_TEST, ObjectUtils.asMap("quality_analysis", true));
assertNotNull(result.get("quality_analysis"));
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nitzanj , what are we expected to get when deleting a non-existing folder or a non-empty one?
Let's add a test

@nitzanj nitzanj merged commit d03ca73 into master Jun 24, 2019
@nitzanj nitzanj deleted the feature/support-folder-deletion branch June 24, 2019 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants