Skip to content

Commit

Permalink
Remove app field from app.provider.OpenInAppRequest
Browse files Browse the repository at this point in the history
  • Loading branch information
ishank011 committed Jul 15, 2021
1 parent 621f179 commit 9c1b823
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 26 deletions.
6 changes: 0 additions & 6 deletions cs3/app/provider/v1beta1/provider_api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
6 changes: 4 additions & 2 deletions cs3/gateway/v1beta1/gateway_api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
17 changes: 4 additions & 13 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2362,8 +2362,10 @@ <h3 id="cs3.gateway.v1beta1.OpenInAppRequest">OpenInAppRequest</h3>
<td><a href="#string">string</a></td>
<td></td>
<td><p>OPTIONAL.
The application to be used to open the resource. Defaults to the primary application
registered for the mime type of the given resource. </p></td>
A reference to the application to be used to open the resource, should the
default inferred from the resource&#39;s mimetype be overridden by user&#39;s choice.
If the targeted resource is a directory, this parameter is required and
in its absence the implementation MUST return INVALID_ARGUMENT. </p></td>
</tr>

</tbody>
Expand Down Expand Up @@ -5187,17 +5189,6 @@ <h3 id="cs3.app.provider.v1beta1.OpenInAppRequest">OpenInAppRequest</h3>
TODO(labkode): investigate token derivation techniques. </p></td>
</tr>

<tr>
<td>app</td>
<td><a href="#string">string</a></td>
<td></td>
<td><p>OPTIONAL.
A reference to the application to be used to open the resource, should the
default inferred from the resource&#39;s mimetype be overridden by user&#39;s choice.
If the targeted resource is a directory, this parameter is required and
in its absence the implementation MUST return INVALID_ARGUMENT. </p></td>
</tr>

</tbody>
</table>

Expand Down
5 changes: 0 additions & 5 deletions proto.lock
Original file line number Diff line number Diff line change
Expand Up @@ -417,11 +417,6 @@
"id": 4,
"name": "access_token",
"type": "string"
},
{
"id": 5,
"name": "app",
"type": "string"
}
]
},
Expand Down

0 comments on commit 9c1b823

Please sign in to comment.