extend accounts.proto file with rebuild index definition
This commit is contained in:
@@ -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),
|
||||
}
|
||||
}
|
||||
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user