Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 25 additions & 1 deletion aruna/api/storage/services/v1/collection_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,19 @@ service CollectionService {
body : "*"
};
}

// AddKeyValueToCollection
//
// Status: BETA
//
// Adds key values (labels / hooks) to a collection
rpc AddKeyValuesToCollection(AddKeyValuesToCollectionRequest)
returns (AddKeyValuesToCollectionResponse) {
option (google.api.http) = {
patch : "/v1/collection/{collection_id}/add_key_value"
body : "*"
};
}
}


Expand Down Expand Up @@ -303,4 +316,15 @@ message DeleteCollectionRequest {
bool force = 3;
}

message DeleteCollectionResponse {}
message DeleteCollectionResponse {}


message AddKeyValuesToCollectionRequest {
repeated storage.models.v1.KeyValue labels = 1;
repeated storage.models.v1.KeyValue hooks = 2;
}

message AddKeyValuesToCollectionResponse {
// New collection overview
storage.models.v1.CollectionOverview collection = 1;
}
2 changes: 1 addition & 1 deletion aruna/api/storage/services/v1/project_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import "protoc-gen-openapiv2/options/annotations.proto";
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
info: {
title: "Aruna Object Storage (AOS) REST API";
version: "1.1.0-rc.2"
version: "1.1.0-rc.3"
};
// Overwriting host entry breaks tests, so this is not done here.
schemes: HTTPS;
Expand Down