Skip to content
Snippets Groups Projects
Commit 884a73e3 authored by Timm Fitschen's avatar Timm Fitschen Committed by Henrik tom Wörden
Browse files

WIP: files

parent 5d81584c
No related branches found
No related tags found
No related merge requests found
...@@ -510,7 +510,7 @@ message RetrieveResponse { ...@@ -510,7 +510,7 @@ message RetrieveResponse {
// Payload of the retrieval // Payload of the retrieval
oneof wrapped_response { oneof wrapped_response {
// Result of a request by id or any other unique identifier. // Result of a request by id or any other unique identifier.
EntityResponse entity = 1; EntityResponse entity_response = 1;
// Result of a FIND query // Result of a FIND query
FindQueryResult find_result = 2; FindQueryResult find_result = 2;
// Result of a SELECT query // Result of a SELECT query
...@@ -533,7 +533,8 @@ message DeleteRequest { ...@@ -533,7 +533,8 @@ message DeleteRequest {
// Response to a single delete request. // Response to a single delete request.
message DeleteResponse { 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 { oneof wrapped_response {
// Id and messages of the deleted entity. // Id and messages of the deleted entity.
IdResponse id_response = 1; IdResponse id_response = 1;
...@@ -548,7 +549,8 @@ message UpdateRequest { ...@@ -548,7 +549,8 @@ message UpdateRequest {
// Response to a single update request. // Response to a single update request.
message UpdateResponse { 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 { oneof wrapped_response {
// Id and messages of the updated entity. // Id and messages of the updated entity.
IdResponse id_response = 1; IdResponse id_response = 1;
...@@ -563,7 +565,8 @@ message InsertRequest { ...@@ -563,7 +565,8 @@ message InsertRequest {
// Response to a single insert request. // Response to a single insert request.
message InsertResponse { 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 { oneof wrapped_response {
// Id and messages of the inserted entity. // Id and messages of the inserted entity.
IdResponse id_response = 1; IdResponse id_response = 1;
...@@ -662,7 +665,6 @@ message FileTransmissionSettings { ...@@ -662,7 +665,6 @@ message FileTransmissionSettings {
int64 max_file_size = 2; int64 max_file_size = 2;
} }
// Indicates whether a registration (for upload or download) has been accepted // Indicates whether a registration (for upload or download) has been accepted
// or rejected. // or rejected.
enum RegistrationStatus { enum RegistrationStatus {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment