Adding a dataset to a bundle updates the bundle ETag and that is returned in the response
|
bundleUpdate, err := api.stateMachineBundleAPI.UpdateBundleETag(ctx, bundleID, authEntityData.GetUserEmail()) |
|
dpresponse.SetETag(w, bundleUpdate.ETag) |
Deleting a content item (i.e. dataset) from a bundle does't seem to update its ETag at all
|
w.WriteHeader(http.StatusNoContent) |
Adding a dataset to a bundle updates the bundle ETag and that is returned in the response
dis-bundle-api/api/contents.go
Line 192 in bd5e752
dis-bundle-api/api/contents.go
Line 216 in bd5e752
Deleting a content item (i.e. dataset) from a bundle does't seem to update its ETag at all
dis-bundle-api/api/contents.go
Line 327 in bd5e752