diff --git a/proto/collections/collections.proto b/proto/collections/collections.proto index 569c42a21d3fdbf9ea3bea78bbb413ec296449b6..7bcf1303c9608a832fb604dd9c0eef0405eb24da 100644 --- a/proto/collections/collections.proto +++ b/proto/collections/collections.proto @@ -85,7 +85,7 @@ message Collection { } message CreateRequest { - Collection coll = 1; + Collection collection = 1; } message CreateResponse { Collection created = 1; @@ -98,12 +98,12 @@ message GetOptions { message GetRequest { string space_id = 1; string env_id = 2; - string id = 3; + string collection_id = 3; GetOptions options = 4; } message GetResponse { - Collection coll = 1; + Collection collection = 1; } message ListRequest { @@ -122,24 +122,24 @@ message ListRequest { Filter filter = 5; } message ListResponse { - repeated Collection colls = 1; + repeated Collection collections = 1; } message UpdateRequest { - Collection coll = 1; + Collection collection = 1; } message SetSchemaRequest { string space_id = 1; string env_id = 2; - string id = 3; + string collection_id = 3; string schema = 4; } message DeleteRequest { string space_id = 1; string env_id = 2; - string id = 3; + string collection_id = 3; } service Collections { diff --git a/proto/environments/environments.proto b/proto/environments/environments.proto index d2b376cd1278f68e31169ba6d87ac994e8ce839e..0e294968f2aab128605e5e87eb6ad51ee46c7110 100644 --- a/proto/environments/environments.proto +++ b/proto/environments/environments.proto @@ -55,7 +55,7 @@ message ListResponse { message GetRequest { string space_id = 1; - string id = 2; + string env_id = 2; } message GetResponse { @@ -68,24 +68,24 @@ message UpdateRequest { message SetAliasRequest { string space_id = 1; - string id = 2; + string env_id = 2; string alias = 3; } message RemoveAliasRequest { string space_id = 1; - string id = 2; + string env_id = 2; string alias = 3; } message DeleteRequest { string space_id = 1; - string id = 2; + string env_id = 2; } message MigrateRequest { string space_id = 1; - string id = 2; + string env_id = 2; MigrateOptions options = 10; } diff --git a/proto/organizations/organizations.proto b/proto/organizations/organizations.proto index 6b65535028f01fa6538ee8ec73d58a7b7efd420d..aa12ef66d1f2c9d87c3a2321d09453177c0c2447 100644 --- a/proto/organizations/organizations.proto +++ b/proto/organizations/organizations.proto @@ -27,7 +27,7 @@ message CreateResponse { } message GetRequest { - string id = 1; + string org_id = 1; } message GetResponse { @@ -39,7 +39,7 @@ message UpdateRequest { } message DeleteRequest { - string id = 1; + string org_id = 1; } message Filter { diff --git a/proto/roles/roles.proto b/proto/roles/roles.proto index 9522c297b6d03ef2bd04cca1db6e090a8c75fdaa..2419ace1f161bb801bb0807dde016c5d3792ccee 100644 --- a/proto/roles/roles.proto +++ b/proto/roles/roles.proto @@ -44,7 +44,7 @@ message CreateResponse { message GetRequest { string space_id = 1; - string id = 2; + string role_id = 2; } message GetResponse { @@ -65,7 +65,7 @@ message ListResponse { message DeleteRequest { string space_id = 1; - string id = 2; + string role_id = 2; } service Roles { diff --git a/proto/spaces/spaces.proto b/proto/spaces/spaces.proto index 714a06adb4f04a8e1650ae64ba6b56c593f32773..1b1d07c36c633fc769a1a80a7f1183487c017506 100644 --- a/proto/spaces/spaces.proto +++ b/proto/spaces/spaces.proto @@ -74,21 +74,21 @@ message UpdateRequest { } message UpdateConfigRequest { - string id = 1; + string space_id = 1; Config config = 2; } message DeleteRequest { - string id = 1; + string space_id = 1; } message TransferRequest { - string id = 1; // Рдентификатор перемещаемого пространства + string space_id = 1; // Рдентификатор перемещаемого пространства string transfer_to_org = 2; // Рдентификатор организации, РІ которую пространство должно быть перемещено } message AbortTransferRequest { - string id = 1; // Рдентификатор перемещаемого пространства + string space_id = 1; // Рдентификатор перемещаемого пространства } message ListTransfersRequest { @@ -100,7 +100,7 @@ message ListTransfersResponse { } message MoveRequest { - string id = 1; // Рдентификатор перемещаемого пространства + string space_id = 1; // Рдентификатор перемещаемого пространства string org_id = 2; // Рдентификатор организации, РІ которую пространство должно быть перемещено. Обязателен для заполнения только РІ случае запросов СЃ системным уровнем доступа, РІ остальных случаях опционален } diff --git a/proto/users/users.proto b/proto/users/users.proto index c68f9aeb7663584269f383ce63c2ac4230db3582..0287fd9490e8800ab15e77c685ddace817ab2fe4 100644 --- a/proto/users/users.proto +++ b/proto/users/users.proto @@ -48,7 +48,7 @@ message CreateResponse { // userId = `current` для получения текущего пользователя message GetRequest { - string id = 1; + string user_id = 1; } message GetResponse {