diff --git a/proto/collections/collections.proto b/proto/collections/collections.proto index 007e49fcccd26c7b9d06a2f459114cd432c79d14..8365edfe838c6413ca5472bff3d6670897a77fb1 100644 --- a/proto/collections/collections.proto +++ b/proto/collections/collections.proto @@ -85,7 +85,7 @@ message Collection { } message CreateRequest { - Collection collection = 1; + Collection coll = 1; } message CreateResponse { Collection created = 1; @@ -98,12 +98,12 @@ message GetOptions { message GetRequest { string space_id = 1; string env_id = 2; - string collection_id = 3; + string id = 3; GetOptions options = 4; } message GetResponse { - Collection collection = 1; + Collection coll = 1; } message ListRequest { @@ -122,24 +122,24 @@ message ListRequest { Filter filter = 5; } message ListResponse { - repeated Collection collections = 1; + repeated Collection colls = 1; } message UpdateRequest { - Collection collection = 1; + Collection coll = 1; } message SetSchemaRequest { string space_id = 1; string env_id = 2; - string collection_id = 3; + string id = 3; string schema = 4; } message DeleteRequest { string space_id = 1; string env_id = 2; - string collection_id = 3; + string id = 3; } service Collections { diff --git a/proto/environments/environments.proto b/proto/environments/environments.proto index 51c410d04c184e7663fcaa1e8d235aa439cb9bb5..7f7182181ca2a2a0b534237b7ee64b30d6215213 100644 --- a/proto/environments/environments.proto +++ b/proto/environments/environments.proto @@ -55,7 +55,7 @@ message ListResponse { message GetRequest { string space_id = 1; - string env_id = 2; + string id = 2; } message GetResponse { @@ -68,24 +68,24 @@ message UpdateRequest { message SetAliasRequest { string space_id = 1; - string env_id = 2; + string id = 2; string alias = 3; } message RemoveAliasRequest { string space_id = 1; - string env_id = 2; + string id = 2; string alias = 3; } message DeleteRequest { string space_id = 1; - string env_id = 2; + string id = 2; } message MigrateRequest { string space_id = 1; - string env_id = 2; + string id = 2; MigrateOptions options = 10; } diff --git a/proto/organizations/organizations.proto b/proto/organizations/organizations.proto index 745ef63c3496fdcd526f310d97a640e00d0aa819..4fb6a66af84f75f5b74597999cc9645510134328 100644 --- a/proto/organizations/organizations.proto +++ b/proto/organizations/organizations.proto @@ -27,7 +27,7 @@ message CreateResponse { } message GetRequest { - string org_id = 1; + string id = 1; } message GetResponse { @@ -39,7 +39,7 @@ message UpdateRequest { } message DeleteRequest { - string org_id = 1; + string id = 1; } message Filter { diff --git a/proto/roles/roles.proto b/proto/roles/roles.proto index 06c72b1929f5fff49f02ae65a217cfac62c20988..101c12b2e375273114bdfb92d1bdf986b873a89e 100644 --- a/proto/roles/roles.proto +++ b/proto/roles/roles.proto @@ -44,7 +44,7 @@ message CreateResponse { message GetRequest { string space_id = 1; - string role_id = 2; + string id = 2; } message GetResponse { @@ -65,7 +65,7 @@ message ListResponse { message DeleteRequest { string space_id = 1; - string role_id = 2; + string id = 2; } service Roles { diff --git a/proto/spaces/spaces.proto b/proto/spaces/spaces.proto index 2773a4f5c1c4f3436c2369d7210fd0212c878b19..10f721e28f1f2c4e1513882a8774b48bdd40c494 100644 --- a/proto/spaces/spaces.proto +++ b/proto/spaces/spaces.proto @@ -74,21 +74,21 @@ message UpdateRequest { } message UpdateConfigRequest { - string space_id = 1; + string id = 1; Config config = 2; } message DeleteRequest { - string space_id = 1; + string id = 1; } message TransferRequest { - string space_id = 1; // Рдентификатор перемещаемого пространства + string id = 1; // Рдентификатор перемещаемого пространства string transfer_to_org = 2; // Рдентификатор организации, РІ которую пространство должно быть перемещено } message AbortTransferRequest { - string space_id = 1; // Рдентификатор перемещаемого пространства + string id = 1; // Рдентификатор перемещаемого пространства } message ListTransfersRequest { @@ -100,7 +100,7 @@ message ListTransfersResponse { } message MoveRequest { - string space_id = 1; // Рдентификатор перемещаемого пространства + string id = 1; // Рдентификатор перемещаемого пространства string org_id = 2; // Рдентификатор организации, РІ которую пространство должно быть перемещено. Обязателен для заполнения только РІ случае запросов СЃ системным уровнем доступа, РІ остальных случаях опционален } diff --git a/proto/users/users.proto b/proto/users/users.proto index 6019637d465ae29b3ccf0ca1f33a112cd2726d09..29c9b035cca5859490f2a027218485954022d531 100644 --- a/proto/users/users.proto +++ b/proto/users/users.proto @@ -48,7 +48,7 @@ message CreateResponse { // userId = `current` для получения текущего пользователя message GetRequest { - string user_id = 1; + string id = 1; } message GetResponse {