sync_gateway icon indicating copy to clipboard operation
sync_gateway copied to clipboard

CBG-1893: DELETE attachment endpoint

Open gregns1 opened this issue 2 years ago • 0 comments

CBG-1893

  • Added a new DELETE endpoint to give the functionality to delete an attachment from a document without going through the PUT attachment endpoint
  • Added some more functionality to the existing test for testing document attachments
  • Updated the api documentation to reflect the changes being made to the endpoints

Pre-review checklist

  • [x] Removed debug logging (fmt.Print, log.Print, ...)
  • [x] Logging sensitive data? Make sure it's tagged (e.g. base.UD(docID), base.MD(dbName))
  • [x] Updated relevant information in the API specifications (such as endpoint descriptions, schemas, ...) in docs/api

Integration Tests

  • [ ] xattrs=true https://jenkins.sgwdev.com/job/SyncGateway-Integration/886/

gregns1 avatar Sep 23 '22 18:09 gregns1