@@ -582,10 +582,6 @@ <h2>Table of Contents</h2>
582
582
<a href="#cs3.app.registry.v1beta1.ListSupportedMimeTypesResponse"><span class="badge">M</span>ListSupportedMimeTypesResponse</a>
583
583
</li>
584
584
585
- <li>
586
- <a href="#cs3.app.registry.v1beta1.ListSupportedMimeTypesResponse.MimeTypesEntry"><span class="badge">M</span>ListSupportedMimeTypesResponse.MimeTypesEntry</a>
587
- </li>
588
-
589
585
<li>
590
586
<a href="#cs3.app.registry.v1beta1.SetDefaultAppProviderForMimeTypeRequest"><span class="badge">M</span>SetDefaultAppProviderForMimeTypeRequest</a>
591
587
</li>
@@ -610,14 +606,18 @@ <h2>Table of Contents</h2>
610
606
<ul>
611
607
612
608
<li>
613
- <a href="#cs3.app.registry.v1beta1.AppProviderList "><span class="badge">M</span>AppProviderList </a>
609
+ <a href="#cs3.app.registry.v1beta1.MimeTypeInfo "><span class="badge">M</span>MimeTypeInfo </a>
614
610
</li>
615
611
616
612
<li>
617
613
<a href="#cs3.app.registry.v1beta1.ProviderInfo"><span class="badge">M</span>ProviderInfo</a>
618
614
</li>
619
615
620
616
617
+ <li>
618
+ <a href="#cs3.app.registry.v1beta1.ProviderInfo.Capability"><span class="badge">E</span>ProviderInfo.Capability</a>
619
+ </li>
620
+
621
621
622
622
623
623
</ul>
@@ -2779,7 +2779,8 @@ <h3 id="cs3.gateway.v1beta1.GatewayAPI">GatewayAPI</h3>
2779
2779
<td>OpenInApp</td>
2780
2780
<td><a href="#cs3.gateway.v1beta1.OpenInAppRequest">OpenInAppRequest</a></td>
2781
2781
<td><a href="#cs3.app.provider.v1beta1.OpenInAppResponse">.cs3.app.provider.v1beta1.OpenInAppResponse</a></td>
2782
- <td><p>Returns the App provider URL, which allows the user to open a resource in an online editor.
2782
+ <td><p>Returns the App URL and all necessary info to open a resource in an online editor.
2783
+ MUST return CODE_NOT_FOUND if the resource does not exist.
2783
2784
2784
2785
*****************************************************************/
2785
2786
************************ USER SHARE PROVIDER ********************/
@@ -5145,7 +5146,7 @@ <h3 id="cs3.app.provider.v1beta1.ProviderAPI">ProviderAPI</h3>
5145
5146
<td>OpenInApp</td>
5146
5147
<td><a href="#cs3.app.provider.v1beta1.OpenInAppRequest">OpenInAppRequest</a></td>
5147
5148
<td><a href="#cs3.app.provider.v1beta1.OpenInAppResponse">OpenInAppResponse</a></td>
5148
- <td><p>Returns the App provider URL
5149
+ <td><p>Returns the App URL and all necessary info to open a resource in an online editor.
5149
5150
MUST return CODE_NOT_FOUND if the resource does not exist.</p></td>
5150
5151
</tr>
5151
5152
@@ -5621,41 +5622,10 @@ <h3 id="cs3.app.registry.v1beta1.ListSupportedMimeTypesResponse">ListSupportedMi
5621
5622
5622
5623
<tr>
5623
5624
<td>mime_types</td>
5624
- <td><a href="#cs3.app.registry.v1beta1.ListSupportedMimeTypesResponse.MimeTypesEntry">ListSupportedMimeTypesResponse.MimeTypesEntry </a></td>
5625
+ <td><a href="#cs3.app.registry.v1beta1.MimeTypeInfo">MimeTypeInfo </a></td>
5625
5626
<td>repeated</td>
5626
5627
<td><p>REQUIRED.
5627
- The list of supported mime types with the apps which they can be opened with. </p></td>
5628
- </tr>
5629
-
5630
- </tbody>
5631
- </table>
5632
-
5633
-
5634
-
5635
-
5636
-
5637
- <h3 id="cs3.app.registry.v1beta1.ListSupportedMimeTypesResponse.MimeTypesEntry">ListSupportedMimeTypesResponse.MimeTypesEntry</h3>
5638
- <p></p>
5639
-
5640
-
5641
- <table class="field-table">
5642
- <thead>
5643
- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
5644
- </thead>
5645
- <tbody>
5646
-
5647
- <tr>
5648
- <td>key</td>
5649
- <td><a href="#string">string</a></td>
5650
- <td></td>
5651
- <td><p> </p></td>
5652
- </tr>
5653
-
5654
- <tr>
5655
- <td>value</td>
5656
- <td><a href="#cs3.app.registry.v1beta1.AppProviderList">AppProviderList</a></td>
5657
- <td></td>
5658
- <td><p> </p></td>
5628
+ The list of supported mime types and their properties. </p></td>
5659
5629
</tr>
5660
5630
5661
5631
</tbody>
@@ -5779,7 +5749,7 @@ <h3 id="cs3.app.registry.v1beta1.RegistryAPI">RegistryAPI</h3>
5779
5749
<td>ListSupportedMimeTypes</td>
5780
5750
<td><a href="#cs3.app.registry.v1beta1.ListSupportedMimeTypesRequest">ListSupportedMimeTypesRequest</a></td>
5781
5751
<td><a href="#cs3.app.registry.v1beta1.ListSupportedMimeTypesResponse">ListSupportedMimeTypesResponse</a></td>
5782
- <td><p>Returns a list of the supported mime types along with the apps which they can opened with.</p></td>
5752
+ <td><p>Returns a list of the supported mime types along with the apps which they can be opened with.</p></td>
5783
5753
</tr>
5784
5754
5785
5755
<tr>
@@ -5808,8 +5778,8 @@ <h2 id="cs3/app/registry/v1beta1/resources.proto">cs3/app/registry/v1beta1/resou
5808
5778
<p></p>
5809
5779
5810
5780
5811
- <h3 id="cs3.app.registry.v1beta1.AppProviderList">AppProviderList </h3>
5812
- <p>Holds a list of app providers which can open a particular mime type .</p>
5781
+ <h3 id="cs3.app.registry.v1beta1.MimeTypeInfo">MimeTypeInfo </h3>
5782
+ <p>Represents a mime type and its corresponding file extension .</p>
5813
5783
5814
5784
5815
5785
<table class="field-table">
@@ -5818,11 +5788,60 @@ <h3 id="cs3.app.registry.v1beta1.AppProviderList">AppProviderList</h3>
5818
5788
</thead>
5819
5789
<tbody>
5820
5790
5791
+ <tr>
5792
+ <td>opaque</td>
5793
+ <td><a href="#cs3.types.v1beta1.Opaque">cs3.types.v1beta1.Opaque</a></td>
5794
+ <td></td>
5795
+ <td><p>OPTIONAL.
5796
+ Opaque information. </p></td>
5797
+ </tr>
5798
+
5799
+ <tr>
5800
+ <td>mime_type</td>
5801
+ <td><a href="#string">string</a></td>
5802
+ <td></td>
5803
+ <td><p>REQUIRED.
5804
+ The mime type. </p></td>
5805
+ </tr>
5806
+
5807
+ <tr>
5808
+ <td>ext</td>
5809
+ <td><a href="#string">string</a></td>
5810
+ <td></td>
5811
+ <td><p>REQUIRED.
5812
+ The file extension mapped to this mime type. </p></td>
5813
+ </tr>
5814
+
5821
5815
<tr>
5822
5816
<td>app_providers</td>
5823
5817
<td><a href="#cs3.app.registry.v1beta1.ProviderInfo">ProviderInfo</a></td>
5824
5818
<td>repeated</td>
5825
- <td><p> </p></td>
5819
+ <td><p>REQUIRED.
5820
+ The list of app providers which can open this mime type </p></td>
5821
+ </tr>
5822
+
5823
+ <tr>
5824
+ <td>name</td>
5825
+ <td><a href="#string">string</a></td>
5826
+ <td></td>
5827
+ <td><p>OPTIONAL.
5828
+ The friendly name of this mime type. </p></td>
5829
+ </tr>
5830
+
5831
+ <tr>
5832
+ <td>description</td>
5833
+ <td><a href="#string">string</a></td>
5834
+ <td></td>
5835
+ <td><p>OPTIONAL.
5836
+ Human-readable information to describe the mime type. </p></td>
5837
+ </tr>
5838
+
5839
+ <tr>
5840
+ <td>icon</td>
5841
+ <td><a href="#string">string</a></td>
5842
+ <td></td>
5843
+ <td><p>OPTIONAL.
5844
+ A URI to a static asset which represents the mime type icon. </p></td>
5826
5845
</tr>
5827
5846
5828
5847
</tbody>
@@ -5867,12 +5886,19 @@ <h3 id="cs3.app.registry.v1beta1.ProviderInfo">ProviderInfo</h3>
5867
5886
For example, tcp://localhost:1099. </p></td>
5868
5887
</tr>
5869
5888
5889
+ <tr>
5890
+ <td>capability</td>
5891
+ <td><a href="#cs3.app.registry.v1beta1.ProviderInfo.Capability">ProviderInfo.Capability</a></td>
5892
+ <td></td>
5893
+ <td><p> </p></td>
5894
+ </tr>
5895
+
5870
5896
<tr>
5871
5897
<td>name</td>
5872
5898
<td><a href="#string">string</a></td>
5873
5899
<td></td>
5874
5900
<td><p>OPTIONAL.
5875
- A human-readable name of the app provider . </p></td>
5901
+ A human-readable name of the underlying app . </p></td>
5876
5902
</tr>
5877
5903
5878
5904
<tr>
@@ -5881,7 +5907,7 @@ <h3 id="cs3.app.registry.v1beta1.ProviderInfo">ProviderInfo</h3>
5881
5907
<td></td>
5882
5908
<td><p>OPTIONAL.
5883
5909
Information to describe the functionalities
5884
- offered by the app provider . Meant to be read
5910
+ offered by the underlying app . Meant to be read
5885
5911
by humans. </p></td>
5886
5912
</tr>
5887
5913
@@ -5910,6 +5936,35 @@ <h3 id="cs3.app.registry.v1beta1.ProviderInfo">ProviderInfo</h3>
5910
5936
5911
5937
5912
5938
5939
+ <h3 id="cs3.app.registry.v1beta1.ProviderInfo.Capability">ProviderInfo.Capability</h3>
5940
+ <p>REQUIRED.</p><p>The capability of the underlying app.</p>
5941
+ <table class="enum-table">
5942
+ <thead>
5943
+ <tr><td>Name</td><td>Number</td><td>Description</td></tr>
5944
+ </thead>
5945
+ <tbody>
5946
+
5947
+ <tr>
5948
+ <td>CAPABILITY_INVALID</td>
5949
+ <td>0</td>
5950
+ <td><p></p></td>
5951
+ </tr>
5952
+
5953
+ <tr>
5954
+ <td>CAPABILITY_VIEWER</td>
5955
+ <td>1</td>
5956
+ <td><p>The app is a simple viewer.</p></td>
5957
+ </tr>
5958
+
5959
+ <tr>
5960
+ <td>CAPABILITY_EDITOR</td>
5961
+ <td>2</td>
5962
+ <td><p>The app is a full editor.</p></td>
5963
+ </tr>
5964
+
5965
+ </tbody>
5966
+ </table>
5967
+
5913
5968
5914
5969
5915
5970
0 commit comments