Wear test: Delete Images in Cloudinary on API delete

Register
Submit a solution
The challenge is finished.

Challenge Overview

For this challenge I have taken the liberty of zipping both the latest api (IMPALA) and the client into a single zip file. �� If you have been included in the github repo you can always see the latest API code for reference. �� Be sure to use the Impala branch and look at the new details for section 2482 Projections and 2402 api subdocs. ��Once you unzip both be sure to change the client config file to point to localhost:8080. �� Keep in mind there is a bug with the image-upload.js and image-upload-modal.js directives that still have the image route hardcoded. ��You may want to change that to read from the config file too. ��Next you should log as admin and use the "manage Imagesets" tab in the admin tools. ��From there you can create and delete imagesets. ��We have gone over our quota for images so please delete any you create.

Be careful the admin interface has a bug that it does not dispaly the last row so you may have to create a second imageset in order to see your first.

Here is the Cloudianry Admin API doc: http://cloudinary.com/documentation/admin_api. �� It will show you how to query and delete images.

  1. Create an imageset through the admin interfaces and add a few small images. Take note of the cloudinary path then delete the imageset and confirm images themselves have been removed from Cloudinary
  2. Create a new imageset and add a few small images taking not of the cloudinary path. Then delete just the single image through the admin interface (tiny x) and confirm the images have been deleted.
  3. Try to use the subdoc method described in section 2402 of the api readme for details on how to remove a single element from an array (subdoc)
  4. Provide a detailed description of the changes you have made and include a diff file.

Review style

Final Review

Community Review Board

Approval

User Sign-Off

ID: 30037650