Skip to content

Commit 1d01abc

Browse files
committed
Added target to OpenInAppURL response object
1 parent 39a7ab7 commit 1d01abc

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

cs3/app/provider/v1beta1/resources.proto

+12
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ message OpenInAppURL {
4444
// OPTIONAL.
4545
// The headers to be added to the request.
4646
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;
4750
}
4851

4952
// Defines the view modes.
@@ -62,3 +65,12 @@ enum ViewMode {
6265
// then this mode MUST fall back to READ_WRITE.
6366
VIEW_MODE_PREVIEW = 4;
6467
}
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

Comments
 (0)