Skip to content

Commit

Permalink
merge: Merge pull request #83 from ArunaStorage/fix-ListObjects
Browse files Browse the repository at this point in the history
fix: GetObjectsAsListV2Response should return ObjectWithURL
  • Loading branch information
St4NNi authored Jun 26, 2023
2 parents 9109d85 + 90d3a25 commit f9e5a04
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions aruna/api/storage/services/v1/object_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ service ObjectService {
//
// Status: ALPHA
//
// Gets a list of objects represented similar to a S3 ListObjectsV2 request
// Gets a list of ObjectWithURLs represented similar to a S3 ListObjectsV2 request
// !! Paths are collection specific !!
rpc GetObjectsAsListV2(GetObjectsAsListV2Request) returns (GetObjectsAsListV2Response) {
option (google.api.http) = {
Expand Down Expand Up @@ -828,7 +828,8 @@ message GetObjectsAsListV2Response {
bool is_truncated = 2;
uint32 max_keys = 4;
uint32 key_count = 5;
repeated storage.models.v1.Object contents = 6;
// Does not contain URLs, only paths
repeated ObjectWithURL contents = 6;
repeated CommonPrefix prefixes = 7;
optional string next_continuation_token = 8;
}
Expand Down

0 comments on commit f9e5a04

Please sign in to comment.