extend accounts.proto file with rebuild index definition

This commit is contained in:
A.Unger
2020-10-23 11:40:19 +02:00
parent f854107cee
commit 859012cb4c
2 changed files with 27 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
package command
import (
"github.com/micro/cli/v2"
"github.com/owncloud/ocis/accounts/pkg/config"
)
func DeleteIndex(cdf *config.Config) *cli.Command {
return &cli.Command{
Name: "add",
Usage: "Create a new account",
Aliases: []string{"create", "a"},
//Flags: flagset.AddAccountWithConfig(cfg, a),
}
}
+12
View File
@@ -136,6 +136,18 @@ service GroupsService {
}
service IndexService {
rpc RebuildIndex(RebuildIndexRequest) returns (RebuildIndexResponse);
}
message RebuildIndexRequest {
}
message RebuildIndexResponse {
repeated string Indices = 1;
}
message ListAccountsRequest {
// Optional. The maximum number of accounts to return in the response
int32 page_size = 1 [(google.api.field_behavior) = OPTIONAL];