From 9c1b8232fd423846503a898c49be2da0cc2d32db Mon Sep 17 00:00:00 2001
From: Ishank Arora
Date: Thu, 1 Jul 2021 14:21:50 +0200
Subject: [PATCH] Remove app field from app.provider.OpenInAppRequest
---
cs3/app/provider/v1beta1/provider_api.proto | 6 ------
cs3/gateway/v1beta1/gateway_api.proto | 6 ++++--
docs/index.html | 17 ++++-------------
proto.lock | 5 -----
4 files changed, 8 insertions(+), 26 deletions(-)
diff --git a/cs3/app/provider/v1beta1/provider_api.proto b/cs3/app/provider/v1beta1/provider_api.proto
index 84b0f525..85d0415a 100644
--- a/cs3/app/provider/v1beta1/provider_api.proto
+++ b/cs3/app/provider/v1beta1/provider_api.proto
@@ -89,12 +89,6 @@ message OpenInAppRequest {
// The access token MUST be short-lived.
// TODO(labkode): investigate token derivation techniques.
string access_token = 4;
- // OPTIONAL.
- // A reference to the application to be used to open the resource, should the
- // default inferred from the resource's mimetype be overridden by user's choice.
- // If the targeted resource is a directory, this parameter is required and
- // in its absence the implementation MUST return INVALID_ARGUMENT.
- string app = 5;
}
message OpenInAppResponse {
diff --git a/cs3/gateway/v1beta1/gateway_api.proto b/cs3/gateway/v1beta1/gateway_api.proto
index 8e49fb78..ae815dda 100644
--- a/cs3/gateway/v1beta1/gateway_api.proto
+++ b/cs3/gateway/v1beta1/gateway_api.proto
@@ -550,8 +550,10 @@ message OpenInAppRequest {
}
ViewMode view_mode = 3;
// OPTIONAL.
- // The application to be used to open the resource. Defaults to the primary application
- // registered for the mime type of the given resource.
+ // A reference to the application to be used to open the resource, should the
+ // default inferred from the resource's mimetype be overridden by user's choice.
+ // If the targeted resource is a directory, this parameter is required and
+ // in its absence the implementation MUST return INVALID_ARGUMENT.
string app = 4;
}
diff --git a/docs/index.html b/docs/index.html
index d4440dae..dd4d6967 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -2362,8 +2362,10 @@ OpenInAppRequest
string |
|
OPTIONAL.
-The application to be used to open the resource. Defaults to the primary application
-registered for the mime type of the given resource. |
+A reference to the application to be used to open the resource, should the
+default inferred from the resource's mimetype be overridden by user's choice.
+If the targeted resource is a directory, this parameter is required and
+in its absence the implementation MUST return INVALID_ARGUMENT.
@@ -5187,17 +5189,6 @@ OpenInAppRequest
TODO(labkode): investigate token derivation techniques.
-
- app |
- string |
- |
- OPTIONAL.
-A reference to the application to be used to open the resource, should the
-default inferred from the resource's mimetype be overridden by user's choice.
-If the targeted resource is a directory, this parameter is required and
-in its absence the implementation MUST return INVALID_ARGUMENT. |
-
-
diff --git a/proto.lock b/proto.lock
index 74ce525f..b6625e10 100644
--- a/proto.lock
+++ b/proto.lock
@@ -417,11 +417,6 @@
"id": 4,
"name": "access_token",
"type": "string"
- },
- {
- "id": 5,
- "name": "app",
- "type": "string"
}
]
},