We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39a7ab7 commit 1d01abcCopy full SHA for 1d01abc
cs3/app/provider/v1beta1/resources.proto
@@ -44,6 +44,9 @@ message OpenInAppURL {
44
// OPTIONAL.
45
// The headers to be added to the request.
46
map<string, string> headers = 4;
47
+ // REQUIRED.
48
+ // Whether the target for the app URL is an iframe or a new page.
49
+ Target target = 5;
50
}
51
52
// Defines the view modes.
@@ -62,3 +65,12 @@ enum ViewMode {
62
65
// then this mode MUST fall back to READ_WRITE.
63
66
VIEW_MODE_PREVIEW = 4;
64
67
68
+
69
+// Defines the valid targets for an app URL.
70
+enum Target {
71
+ TARGET_INVALID = 0;
72
+ // The app URL is to be opened on an iframe
73
+ TARGET_IFRAME = 1;
74
+ // The app URL is to be opened by redirecting to a new page
75
+ TARGET_BLANK = 2;
76
+}
0 commit comments