获取一个appID关联的所有玩瞳资源库ID
<p><strong>服务:</strong>api-cloud
<strong>API:</strong><code>cloud-api1.51wanxue.com/api-cloud/repo/listOfApp</code>
<strong>请求方式:</strong> GET
<strong>api开发者:</strong> 建宇
<strong>是否授权登录:</strong> 是
<strong>简要描述:</strong>此接口需要登陆后才能使用。该接口返回一个appID下关联的所有玩瞳资源库的ID、资源库名称、资源库优先级、授权方式。</p>
<p><strong>参数:</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">appId</td>
<td style="text-align: left;">int</td>
<td>app的id</td>
</tr>
</tbody>
</table>
<p><strong>请求示例:</strong> </p>
<p><code>GET</code> <code>cloud-api1.51wanxue.com/api-cloud/repo/listOfApp?appId=123</code></p>
<p><strong>返回示例</strong></p>
<pre><code>{
&quot;code&quot;: 0,
&quot;msg&quot;: &quot;ok&quot;,
&quot;data&quot;: [
{
&quot;repoId&quot;: 29,
&quot;repoName&quot;: &quot;原文TTSRoobo演示&quot;,
&quot;priority&quot;: 100,
&quot;authType&quot;: 1,
&quot;language&quot;: 3,
&quot;soundRay&quot;: 0
},
{
&quot;repoId&quot;: 30,
&quot;repoName&quot;: &quot;绘本【测试专用】&quot;,
&quot;priority&quot;: 101,
&quot;authType&quot;: 1,
&quot;language&quot;: 2,
&quot;soundRay&quot;: 1
}
]
}</code></pre>
<p><strong>返回参数说明</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">code</td>
<td style="text-align: left;">int</td>
<td>返回消息类型</td>
</tr>
<tr>
<td style="text-align: left;">msg</td>
<td style="text-align: left;">String</td>
<td>返回系统提示</td>
</tr>
<tr>
<td style="text-align: left;">data</td>
<td style="text-align: left;">Array</td>
<td>返回登录用户的资源库信息数据</td>
</tr>
</tbody>
</table>
<p><strong>data</strong></p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">repoId</td>
<td style="text-align: left;">int</td>
<td>资源库id</td>
</tr>
<tr>
<td style="text-align: left;">repoName</td>
<td style="text-align: left;">String</td>
<td>资源库名字</td>
</tr>
<tr>
<td style="text-align: left;">priority</td>
<td style="text-align: left;">int</td>
<td>资源库在该app下的优先级</td>
</tr>
<tr>
<td style="text-align: left;">authType</td>
<td style="text-align: left;">int</td>
<td>授权方式 1:为应用授权 2:为用户授权</td>
</tr>
<tr>
<td style="text-align: left;">language</td>
<td style="text-align: left;">int</td>
<td>语言 0:默认 1:中文 2:英文 3:其他语言</td>
</tr>
<tr>
<td style="text-align: left;">soundRay</td>
<td style="text-align: left;">int</td>
<td>声线 0:默认 1:人声 2:TTS</td>
</tr>
</tbody>
</table>