mirror of
https://github.com/aykhans/slash-e.git
synced 2025-06-15 12:27:49 +00:00
chore: update acl config
This commit is contained in:
@ -20,6 +20,8 @@ service CollectionService {
|
||||
option (google.api.http) = {get: "/api/v2/collections/{id}"};
|
||||
option (google.api.method_signature) = "id";
|
||||
}
|
||||
// GetCollectionByName returns a collection by name.
|
||||
rpc GetCollectionByName(GetCollectionByNameRequest) returns (GetCollectionByNameResponse) {}
|
||||
// CreateCollection creates a collection.
|
||||
rpc CreateCollection(CreateCollectionRequest) returns (CreateCollectionResponse) {
|
||||
option (google.api.http) = {
|
||||
@ -76,6 +78,14 @@ message GetCollectionResponse {
|
||||
Collection collection = 1;
|
||||
}
|
||||
|
||||
message GetCollectionByNameRequest {
|
||||
string name = 1;
|
||||
}
|
||||
|
||||
message GetCollectionByNameResponse {
|
||||
Collection collection = 1;
|
||||
}
|
||||
|
||||
message CreateCollectionRequest {
|
||||
Collection collection = 1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user