You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to validate that an object is deleted I have tried via the DELETE request but that returns 204 if its successful or fails, so this lead to me to try the POST delete request which is done via: https://minioURL/bucket/?delete=
This means if the delete marker and the delete marker version id exist I can say that a file has been deleted, I know technically when you delete it multiple times it will return whatever the current versionId is. This is under the assumption that versioning is enabled on the bucket.
However from the C# client it uses a hardcoded "Quiet"
Is there a way to either expose this via the constructor to the RemoveObjectsArgs so it would take in Quiet and based on that would return different values I know that's not the most extensible way of doing it. Any guidance on this would be appreciated.
It would also mean that the object list would need to be passed up the call stack,
Hi All,
I want to validate that an object is deleted I have tried via the DELETE request but that returns 204 if its successful or fails, so this lead to me to try the POST delete request which is done via:
https://minioURL/bucket/?delete=
The response I get is:
This means if the delete marker and the delete marker version id exist I can say that a file has been deleted, I know technically when you delete it multiple times it will return whatever the current versionId is. This is under the assumption that versioning is enabled on the bucket.
However from the C# client it uses a hardcoded "Quiet"
minio-dotnet/Minio/DataModel/Args/RemoveObjectsArgs.cs
Lines 103 to 105 in 6a8c463
which only returns:
That only helps a little bit because internally it calls this and only returns errors that are present.
minio-dotnet/Minio/Helper/OperationsHelper.cs
Lines 131 to 141 in 6a8c463
Is there a way to either expose this via the constructor to the
RemoveObjectsArgs
so it would take in Quiet and based on that would return different values I know that's not the most extensible way of doing it. Any guidance on this would be appreciated.It would also mean that the object list would need to be passed up the call stack,
minio-dotnet/Minio/ApiEndpoints/ObjectOperations.cs
Lines 401 to 410 in 6a8c463
The text was updated successfully, but these errors were encountered: