Skip to content

Commit

Permalink
Cosmetic changes around OpenInAppProvider (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
glpatcern authored Jul 29, 2020
1 parent 9d8d96d commit 9dc7f2a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
9 changes: 5 additions & 4 deletions cs3/app/provider/v1beta1/provider_api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ import "cs3/types/v1beta1/types.proto";

// App Provider API
//
// The App Provider API is responsible for creating urls that
// will render a viewer or editor for the given resource.
// For example, an OnlyOffice or HackMD editor.
// The App Provider API is responsible for creating URLs that
// will render a viewer or editor for the given resource, typically via WOPI protocol.
// For example, a Collabora or HackMD editor.
//
// The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL
// NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and
Expand All @@ -62,7 +62,8 @@ message OpenFileInAppProviderRequest {
// Opaque information.
cs3.types.v1beta1.Opaque opaque = 1;
// REQUIRED.
// The resource reference.
// The resource reference. If a path is given, it will be resolved via Stat() to a ResourceId
// when a call to the WOPI server is to be issued.
storage.provider.v1beta1.Reference ref = 2;
// REQUIRED.
// The access token this application provider will use when contacting
Expand Down
5 changes: 3 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3188,7 +3188,8 @@ <h3 id="cs3.app.provider.v1beta1.OpenFileInAppProviderRequest">OpenFileInAppProv
<td><a href="#cs3.storage.provider.v1beta1.Reference">cs3.storage.provider.v1beta1.Reference</a></td>
<td></td>
<td><p>REQUIRED.
The resource reference. </p></td>
The resource reference. If a path is given, it will be resolved via Stat() to a ResourceId
when a call to the WOPI server is to be issued. </p></td>
</tr>

<tr>
Expand Down Expand Up @@ -3305,7 +3306,7 @@ <h3 id="cs3.app.provider.v1beta1.OpenFileInAppProviderRequest.ViewMode">OpenFile


<h3 id="cs3.app.provider.v1beta1.ProviderAPI">ProviderAPI</h3>
<p>App Provider API</p><p>The App Provider API is responsible for creating urls that</p><p>will render a viewer or editor for the given resource.</p><p>For example, an OnlyOffice or HackMD editor.</p><p>The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL</p><p>NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and</p><p>"OPTIONAL" in this document are to be interpreted as described in</p><p>RFC 2119.</p><p>The following are global requirements that apply to all methods:</p><p>Any method MUST return CODE_OK on a succesful operation.</p><p>Any method MAY return NOT_IMPLEMENTED.</p><p>Any method MAY return INTERNAL.</p><p>Any method MAY return UNKNOWN.</p><p>Any method MAY return UNAUTHENTICATED.</p>
<p>App Provider API</p><p>The App Provider API is responsible for creating URLs that</p><p>will render a viewer or editor for the given resource, typically via WOPI protocol.</p><p>For example, a Collabora or HackMD editor.</p><p>The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL</p><p>NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and</p><p>"OPTIONAL" in this document are to be interpreted as described in</p><p>RFC 2119.</p><p>The following are global requirements that apply to all methods:</p><p>Any method MUST return CODE_OK on a succesful operation.</p><p>Any method MAY return NOT_IMPLEMENTED.</p><p>Any method MAY return INTERNAL.</p><p>Any method MAY return UNKNOWN.</p><p>Any method MAY return UNAUTHENTICATED.</p>
<table class="enum-table">
<thead>
<tr><td>Method Name</td><td>Request Type</td><td>Response Type</td><td>Description</td></tr>
Expand Down

0 comments on commit 9dc7f2a

Please sign in to comment.