From 89915da44694bb6f5cdd89d5a3890aacad24447e Mon Sep 17 00:00:00 2001
From: Timm Fitschen <t.fitschen@indiscale.com>
Date: Sun, 8 Aug 2021 23:26:24 +0200
Subject: [PATCH] WIP: files

---
 proto/caosdb/entity/v1alpha1/main.proto | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/proto/caosdb/entity/v1alpha1/main.proto b/proto/caosdb/entity/v1alpha1/main.proto
index e19ff71..71e8822 100644
--- a/proto/caosdb/entity/v1alpha1/main.proto
+++ b/proto/caosdb/entity/v1alpha1/main.proto
@@ -510,7 +510,7 @@ message RetrieveResponse {
   // Payload of the retrieval
   oneof wrapped_response {
     // Result of a request by id or any other unique identifier.
-    EntityResponse entity = 1;
+    EntityResponse entity_response = 1;
     // Result of a FIND query
     FindQueryResult find_result = 2;
     // Result of a SELECT query
@@ -533,7 +533,8 @@ message DeleteRequest {
 
 // Response to a single delete request.
 message DeleteResponse {
-  // Wrapped to make it easier to optionally return the full entity in the future.
+  // Wrapped to make it easier to optionally return the full entity in the
+  // future.
   oneof wrapped_response {
     // Id and messages of the deleted entity.
     IdResponse id_response = 1;
@@ -548,7 +549,8 @@ message UpdateRequest {
 
 // Response to a single update request.
 message UpdateResponse {
-  // Wraps an IdResponse. Might be extended in the future to optionally return the full entity.
+  // Wraps an IdResponse. Might be extended in the future to optionally return
+  // the full entity.
   oneof wrapped_response {
     // Id and messages of the updated entity.
     IdResponse id_response = 1;
@@ -563,7 +565,8 @@ message InsertRequest {
 
 // Response to a single insert request.
 message InsertResponse {
-  // Wraps an IdResponse. Might be extended in the future to optionally return also the full entity.
+  // Wraps an IdResponse. Might be extended in the future to optionally return
+  // also the full entity.
   oneof wrapped_response {
     // Id and messages of the inserted entity.
     IdResponse id_response = 1;
@@ -662,7 +665,6 @@ message FileTransmissionSettings {
   int64 max_file_size = 2;
 }
 
-
 // Indicates whether a registration (for upload or download) has been accepted
 // or rejected.
 enum RegistrationStatus {
-- 
GitLab