forked from docs/doc-exports
Reviewed-by: Kucerak, Kristian <kristian.kucerak@t-systems.com> Co-authored-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-committed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
346 lines
28 KiB
HTML
346 lines
28 KiB
HTML
<a name="lts_api_0017"></a><a name="lts_api_0017"></a>
|
|
|
|
<h1 class="topictitle1">Querying All Log Streams in a Specified Log Group</h1>
|
|
<div id="body32001227"><div class="section" id="lts_api_0017__en-us_topic_0162710089_section1328120328281"><h4 class="sectiontitle">Function</h4><p id="lts_api_0017__en-us_topic_0162710089_p112815322285">This API is used to query information about all log streams in a specified log group.</p>
|
|
</div>
|
|
<div class="section" id="lts_api_0017__en-us_topic_0162710089_section1281133211280"><h4 class="sectiontitle">URI</h4><p id="lts_api_0017__en-us_topic_0162710089_p122811932192815">GET /v2/{project_id}/groups/{log_group_id}/streams</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="lts_api_0017__en-us_topic_0162710089_table1828243282815" frame="border" border="1" rules="all"><caption><b>Table 1 </b>URI parameters</caption><thead align="left"><tr id="lts_api_0017__en-us_topic_0162710089_row1028114328289"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="lts_api_0017__en-us_topic_0162710089_p828220322288">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="10%" id="mcps1.3.2.3.2.5.1.2"><p id="lts_api_0017__en-us_topic_0162710089_p152821132132820">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.3"><p id="lts_api_0017__en-us_topic_0162710089_p428273218289">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.2.3.2.5.1.4"><p id="lts_api_0017__en-us_topic_0162710089_p18282732192814">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="lts_api_0017__en-us_topic_0162710089_row18281632172819"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="lts_api_0017__en-us_topic_0162710089_p1282932182819">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="10%" headers="mcps1.3.2.3.2.5.1.2 "><p id="lts_api_0017__en-us_topic_0162710089_p2283103219280">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="lts_api_0017__en-us_topic_0162710089_p18283113216283">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.3.2.5.1.4 "><p id="lts_api_0017__en-us_topic_0162710089_p2336102192717">Project ID. For details about how to obtain the ID, see <a href="lts_api_0006.html#lts_api_0006">Obtaining the AccountID, Project ID, Log Group ID, and Log Stream ID</a>. Default value: None</p>
|
|
<p id="lts_api_0017__en-us_topic_0162710089_p18283143217286">Value length: 32 characters</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="lts_api_0017__en-us_topic_0162710089_row17281113215287"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="lts_api_0017__en-us_topic_0162710089_p5283123262810">log_group_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="10%" headers="mcps1.3.2.3.2.5.1.2 "><p id="lts_api_0017__en-us_topic_0162710089_p1283632132811">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="lts_api_0017__en-us_topic_0162710089_p1028363217285">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.3.2.5.1.4 "><p id="lts_api_0017__en-us_topic_0162710089_p2284132182818">ID of the log group whose log streams will be queried.</p>
|
|
<p id="lts_api_0017__en-us_topic_0162710089_p6284103210288">Default value: None</p>
|
|
<p id="lts_api_0017__en-us_topic_0162710089_p02841320287">Value length: 36 characters</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="lts_api_0017__en-us_topic_0162710089_section4284173282817"><h4 class="sectiontitle">Request Parameters</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="lts_api_0017__en-us_topic_0162710089_HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr id="lts_api_0017__en-us_topic_0162710089_row2284153222811"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="lts_api_0017__en-us_topic_0162710089_p72851320281">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="10%" id="mcps1.3.3.2.2.5.1.2"><p id="lts_api_0017__en-us_topic_0162710089_p142857329282">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.3"><p id="lts_api_0017__en-us_topic_0162710089_p828573215285">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.3.2.2.5.1.4"><p id="lts_api_0017__en-us_topic_0162710089_p10285103222818">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="lts_api_0017__en-us_topic_0162710089_row7284133212283"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="lts_api_0017__en-us_topic_0162710089_p8285103219281">X-Auth-Token</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="10%" headers="mcps1.3.3.2.2.5.1.2 "><p id="lts_api_0017__en-us_topic_0162710089_p10285232132816">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="lts_api_0017__en-us_topic_0162710089_p19285113217289">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.2.5.1.4 "><p id="lts_api_0017__en-us_topic_0162710089_p428683218284">User token obtained from IAM.</p>
|
|
<p id="lts_api_0017__en-us_topic_0162710089_p52861432172812">Default value: None</p>
|
|
<p id="lts_api_0017__en-us_topic_0162710089_p15286232142814">Minimum length: 1000 characters</p>
|
|
<p id="lts_api_0017__en-us_topic_0162710089_p42861932112811">Maximum length: 2000 characters</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="lts_api_0017__en-us_topic_0162710089_row2284932152817"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="lts_api_0017__en-us_topic_0162710089_p1428616325286">Content-Type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="10%" headers="mcps1.3.3.2.2.5.1.2 "><p id="lts_api_0017__en-us_topic_0162710089_p11286123252817">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="lts_api_0017__en-us_topic_0162710089_p5286103213287">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.2.5.1.4 "><p id="lts_api_0017__en-us_topic_0162710089_p9788183218282">Set this parameter to <strong id="lts_api_0017__en-us_topic_0162710089_b3275725205413">application/json;charset=UTF-8</strong>.</p>
|
|
<p id="lts_api_0017__en-us_topic_0162710089_p1078803220288">Default value: None</p>
|
|
<p id="lts_api_0017__en-us_topic_0162710089_p57889324284">Minimum length: 30 characters</p>
|
|
<p id="lts_api_0017__en-us_topic_0162710089_p87881032112819">Maximum length: 30 characters</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="lts_api_0017__en-us_topic_0162710089_section62871932182814"><h4 class="sectiontitle">Response Parameters</h4><p id="lts_api_0017__en-us_topic_0162710089_p42871232112815"><strong id="lts_api_0017__en-us_topic_0162710089_b1675124010468">Status code: 200</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="lts_api_0017__en-us_topic_0162710089_responseParameter" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Response body parameter</caption><thead align="left"><tr id="lts_api_0017__en-us_topic_0162710089_row628715320289"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.1"><p id="lts_api_0017__en-us_topic_0162710089_p10288113216286">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.2"><p id="lts_api_0017__en-us_topic_0162710089_p112881632182811">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.3.2.4.1.3"><p id="lts_api_0017__en-us_topic_0162710089_p1628853211289">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="lts_api_0017__en-us_topic_0162710089_row8287732182818"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="lts_api_0017__en-us_topic_0162710089_p1288232162814">log_streams</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="lts_api_0017__en-us_topic_0162710089_p10288532102811">Array of <a href="#lts_api_0017__en-us_topic_0162710089_response_LogStream">LogStream</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="lts_api_0017__en-us_topic_0162710089_p328915329284">List of log streams.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="lts_api_0017__en-us_topic_0162710089_response_LogStream"></a><a name="en-us_topic_0162710089_response_LogStream"></a><table cellpadding="4" cellspacing="0" summary="" id="lts_api_0017__en-us_topic_0162710089_response_LogStream" frame="border" border="1" rules="all"><caption><b>Table 4 </b>LogStream</caption><thead align="left"><tr id="lts_api_0017__en-us_topic_0162710089_row102891832162820"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.1"><p id="lts_api_0017__en-us_topic_0162710089_p1728953282815">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.2"><p id="lts_api_0017__en-us_topic_0162710089_p32901532132817">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.4.2.4.1.3"><p id="lts_api_0017__en-us_topic_0162710089_p32907328284">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="lts_api_0017__en-us_topic_0162710089_row728916328285"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="lts_api_0017__en-us_topic_0162710089_p1829011329284">creation_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="lts_api_0017__en-us_topic_0162710089_p17290532102813">long</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="lts_api_0017__en-us_topic_0162710089_p829023214283">Creation time.</p>
|
|
<p id="lts_api_0017__en-us_topic_0162710089_p1890112327289">Minimum value: <strong id="lts_api_0017__en-us_topic_0162710089_b177641732164615">1577808000000</strong></p>
|
|
<p id="lts_api_0017__en-us_topic_0162710089_p490123219289">Maximum value: <strong id="lts_api_0017__en-us_topic_0162710089_b1839810354466">4102416000000</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="lts_api_0017__en-us_topic_0162710089_row1628917323289"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="lts_api_0017__en-us_topic_0162710089_p6290432192818">log_stream_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="lts_api_0017__en-us_topic_0162710089_p8291103202813">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="lts_api_0017__en-us_topic_0162710089_p1329117327282">Log stream name.</p>
|
|
<p id="lts_api_0017__en-us_topic_0162710089_p12911632152811">Value length: 36 characters</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="lts_api_0017__en-us_topic_0162710089_row1628983217286"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="lts_api_0017__en-us_topic_0162710089_p82914326281">log_stream_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="lts_api_0017__en-us_topic_0162710089_p5292103217281">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="lts_api_0017__en-us_topic_0162710089_p19292432132816">Log stream ID.</p>
|
|
<p id="lts_api_0017__en-us_topic_0162710089_p1229243222813">Value length: 36 characters</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="lts_api_0017__en-us_topic_0162710089_row17289153272813"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="lts_api_0017__en-us_topic_0162710089_p16292123219281">filter_count</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="lts_api_0017__en-us_topic_0162710089_p729223292815">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="lts_api_0017__en-us_topic_0162710089_p1129293252814">Number of filters.</p>
|
|
<p id="lts_api_0017__en-us_topic_0162710089_p17292183215282">Minimum value: <strong id="lts_api_0017__en-us_topic_0162710089_b16605644716">0</strong></p>
|
|
<p id="lts_api_0017__en-us_topic_0162710089_p429213323282">Maximum value: <strong id="lts_api_0017__en-us_topic_0162710089_b1601388477">5</strong></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="lts_api_0017__en-us_topic_0162710089_row218034119383"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="lts_api_0017__en-us_topic_0162710089_p380310442510">tag</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="lts_api_0017__en-us_topic_0162710089_p1693414111368">Map<String,String></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="lts_api_0017__en-us_topic_0162710089_p1803104202511">Log stream tag.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="lts_api_0017__en-us_topic_0162710089_p829213219282"><strong id="lts_api_0017__en-us_topic_0162710089_b13523153334718">Status code: 401</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="lts_api_0017__en-us_topic_0162710089_table72933327284" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Response body parameters</caption><thead align="left"><tr id="lts_api_0017__en-us_topic_0162710089_row20293732182818"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.4.1.1"><p id="lts_api_0017__en-us_topic_0162710089_p7293103211283">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.4.1.2"><p id="lts_api_0017__en-us_topic_0162710089_p32936321282">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.6.2.4.1.3"><p id="lts_api_0017__en-us_topic_0162710089_p7294133214288">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="lts_api_0017__en-us_topic_0162710089_row4293113282815"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="lts_api_0017__en-us_topic_0162710089_p629412326287">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="lts_api_0017__en-us_topic_0162710089_p20294133213284">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="lts_api_0017__en-us_topic_0162710089_p1294432142811">Error code.</p>
|
|
<p id="lts_api_0017__en-us_topic_0162710089_p1029416322283">Enumerated value:</p>
|
|
<ul id="lts_api_0017__en-us_topic_0162710089_ul129483220286"><li id="lts_api_0017__en-us_topic_0162710089_li1329463222818"><strong id="lts_api_0017__en-us_topic_0162710089_b143320566507">LTS.0403</strong></li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="lts_api_0017__en-us_topic_0162710089_row7293183272818"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="lts_api_0017__en-us_topic_0162710089_p32941832162810">error_msg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="lts_api_0017__en-us_topic_0162710089_p329433222817">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="lts_api_0017__en-us_topic_0162710089_p17295173272816">Error message.</p>
|
|
<p id="lts_api_0017__en-us_topic_0162710089_p1629514328283">Enumerated value:</p>
|
|
<ul id="lts_api_0017__en-us_topic_0162710089_ul62951932112814"><li id="lts_api_0017__en-us_topic_0162710089_li1229553272818"><strong id="lts_api_0017__en-us_topic_0162710089_b479375813502">Invalid projectId</strong></li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="lts_api_0017__en-us_topic_0162710089_p629523218287"><strong id="lts_api_0017__en-us_topic_0162710089_b8378428134718">Status code: 403</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="lts_api_0017__en-us_topic_0162710089_table1629512326281" frame="border" border="1" rules="all"><caption><b>Table 6 </b>Response body parameters</caption><thead align="left"><tr id="lts_api_0017__en-us_topic_0162710089_row52955323282"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.8.2.4.1.1"><p id="lts_api_0017__en-us_topic_0162710089_p142961532182811">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.8.2.4.1.2"><p id="lts_api_0017__en-us_topic_0162710089_p3296123292814">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.8.2.4.1.3"><p id="lts_api_0017__en-us_topic_0162710089_p14296632122816">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="lts_api_0017__en-us_topic_0162710089_row20295732112817"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.1 "><p id="lts_api_0017__en-us_topic_0162710089_p20296123262812">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.2 "><p id="lts_api_0017__en-us_topic_0162710089_p142961032102819">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.8.2.4.1.3 "><p id="lts_api_0017__en-us_topic_0162710089_p9296732172814">Error code.</p>
|
|
<p id="lts_api_0017__en-us_topic_0162710089_p4296113211283">Enumerated value:</p>
|
|
<ul id="lts_api_0017__en-us_topic_0162710089_ul1029663242811"><li id="lts_api_0017__en-us_topic_0162710089_li0297532182819"><strong id="lts_api_0017__en-us_topic_0162710089_b76253310518">LTS.0403</strong></li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="lts_api_0017__en-us_topic_0162710089_row1929503219282"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.1 "><p id="lts_api_0017__en-us_topic_0162710089_p1629743232817">error_msg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.2 "><p id="lts_api_0017__en-us_topic_0162710089_p15297173214283">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.8.2.4.1.3 "><p id="lts_api_0017__en-us_topic_0162710089_p2029753210286">Error message.</p>
|
|
<p id="lts_api_0017__en-us_topic_0162710089_p629763210284">Enumerated value:</p>
|
|
<ul id="lts_api_0017__en-us_topic_0162710089_ul929723217281"><li id="lts_api_0017__en-us_topic_0162710089_li029753272810"><strong id="lts_api_0017__en-us_topic_0162710089_b931314119518">Invalid projectId</strong></li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="lts_api_0017__en-us_topic_0162710089_p32971532102818"><strong id="lts_api_0017__en-us_topic_0162710089_b1069122319476">Status code: 500</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="lts_api_0017__en-us_topic_0162710089_table52971232112817" frame="border" border="1" rules="all"><caption><b>Table 7 </b>Response body parameters</caption><thead align="left"><tr id="lts_api_0017__en-us_topic_0162710089_row2298103232815"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.10.2.4.1.1"><p id="lts_api_0017__en-us_topic_0162710089_p192981532172814">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.10.2.4.1.2"><p id="lts_api_0017__en-us_topic_0162710089_p32981432162815">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.10.2.4.1.3"><p id="lts_api_0017__en-us_topic_0162710089_p132987321284">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="lts_api_0017__en-us_topic_0162710089_row152985328281"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="lts_api_0017__en-us_topic_0162710089_p12298532162811">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="lts_api_0017__en-us_topic_0162710089_p829963211288">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="lts_api_0017__en-us_topic_0162710089_p1529963282818">Error code.</p>
|
|
<p id="lts_api_0017__en-us_topic_0162710089_p42997326281">Enumerated value:</p>
|
|
<ul id="lts_api_0017__en-us_topic_0162710089_ul2299123220283"><li id="lts_api_0017__en-us_topic_0162710089_li1329913242812"><strong id="lts_api_0017__en-us_topic_0162710089_b14457171818512">LTS.0403</strong></li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="lts_api_0017__en-us_topic_0162710089_row1929813282814"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="lts_api_0017__en-us_topic_0162710089_p182992324283">error_msg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="lts_api_0017__en-us_topic_0162710089_p5299163218280">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="lts_api_0017__en-us_topic_0162710089_p62991732112816">Error message.</p>
|
|
<p id="lts_api_0017__en-us_topic_0162710089_p1929963213280">Enumerated value:</p>
|
|
<ul id="lts_api_0017__en-us_topic_0162710089_ul7299193202813"><li id="lts_api_0017__en-us_topic_0162710089_li142992032162817"><strong id="lts_api_0017__en-us_topic_0162710089_b73291232512">Invalid projectId</strong></li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="lts_api_0017__en-us_topic_0162710089_p4300173218288"><strong id="lts_api_0017__en-us_topic_0162710089_b57419475474">Status code: 503</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="lts_api_0017__en-us_topic_0162710089_table17300193262816" frame="border" border="1" rules="all"><caption><b>Table 8 </b>Response body parameter</caption><thead align="left"><tr id="lts_api_0017__en-us_topic_0162710089_row630014329285"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.12.2.4.1.1"><p id="lts_api_0017__en-us_topic_0162710089_p1030011329288">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.12.2.4.1.2"><p id="lts_api_0017__en-us_topic_0162710089_p1230017323285">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.12.2.4.1.3"><p id="lts_api_0017__en-us_topic_0162710089_p630113214287">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="lts_api_0017__en-us_topic_0162710089_row1330043212817"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.12.2.4.1.1 "><p id="lts_api_0017__en-us_topic_0162710089_p8301123214289">-</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.12.2.4.1.2 "><p id="lts_api_0017__en-us_topic_0162710089_p7301113202815">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.12.2.4.1.3 "><p id="lts_api_0017__en-us_topic_0162710089_p0301163242814">The requested service is unavailable.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="lts_api_0017__en-us_topic_0162710089_section163014324288"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="lts_api_0017__en-us_topic_0162710089_screen23018326280">GET https://{endpoint}/v2/{project_id}/groups/{log_group_id}/streams
|
|
|
|
/v2/{project_id}/groups/{log_group_id}/streams</pre>
|
|
</div>
|
|
<div class="section" id="lts_api_0017__en-us_topic_0162710089_section1230233214283"><h4 class="sectiontitle">Example Response</h4><p id="lts_api_0017__en-us_topic_0162710089_p83020323283"><strong id="lts_api_0017__en-us_topic_0162710089_b888235024715">Status code: 200</strong></p>
|
|
<pre class="screen" id="lts_api_0017__en-us_topic_0162710089_screen5302153282818">{
|
|
"log_streams" : [ {
|
|
"creation_time":1630549842955,
|
|
"log_stream_name":"lts-stream-02kh",
|
|
"log_stream_id":"c54dbc58-0fd8-48ed-b007-6d54981427a7",
|
|
"filter_count":0
|
|
} ]
|
|
}</pre>
|
|
<p id="lts_api_0017__en-us_topic_0162710089_p6303193211281"><strong id="lts_api_0017__en-us_topic_0162710089_b1457216536479">Status code: 401</strong></p>
|
|
<p id="lts_api_0017__en-us_topic_0162710089_p113031532112812">Authentication failed. Check the token and try again.</p>
|
|
<pre class="screen" id="lts_api_0017__en-us_topic_0162710089_screen3303123216281">{
|
|
"error_code" : "LTS.0003",
|
|
"error_msg" : "Invalid token"
|
|
}</pre>
|
|
<p id="lts_api_0017__en-us_topic_0162710089_p33049325282"><strong id="lts_api_0017__en-us_topic_0162710089_b1743416552474">Status code: 403</strong></p>
|
|
<p id="lts_api_0017__en-us_topic_0162710089_p430417321284">The server understood the request but refused to authorize it. The client should not repeat the request without modifications.</p>
|
|
<pre class="screen" id="lts_api_0017__en-us_topic_0162710089_screen1830417324287">{
|
|
"error_code" : "LTS.0001",
|
|
"error_msg" : "Invalid projectId"
|
|
}</pre>
|
|
<p id="lts_api_0017__en-us_topic_0162710089_p1030414325280"><strong id="lts_api_0017__en-us_topic_0162710089_b8235165864719">Status code: 500</strong></p>
|
|
<p id="lts_api_0017__en-us_topic_0162710089_p830473214288">The server has received the request but encountered an internal error.</p>
|
|
<pre class="screen" id="lts_api_0017__en-us_topic_0162710089_screen193041732102810">{
|
|
"error_code" : "LTS.0010",
|
|
"error_msg" : "The system encountered an internal error"
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="lts_api_0017__en-us_topic_0162710089_section133052032142815"><h4 class="sectiontitle">Status Codes</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="lts_api_0017__en-us_topic_0162710089_table5775" frame="border" border="1" rules="all"><thead align="left"><tr id="lts_api_0017__en-us_topic_0162710089_row7305532142811"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="lts_api_0017__en-us_topic_0162710089_p630533214286">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p id="lts_api_0017__en-us_topic_0162710089_p630519328283">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="lts_api_0017__en-us_topic_0162710089_row18305132152815"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="lts_api_0017__en-us_topic_0162710089_p19306183292817">200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="lts_api_0017__en-us_topic_0162710089_p9306932132819">The request is successful.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="lts_api_0017__en-us_topic_0162710089_row430533215289"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="lts_api_0017__en-us_topic_0162710089_p1430612329285">401</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="lts_api_0017__en-us_topic_0162710089_p4306163262812">Authentication failed. Check the token and try again.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="lts_api_0017__en-us_topic_0162710089_row5305123213284"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="lts_api_0017__en-us_topic_0162710089_p13062321289">403</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="lts_api_0017__en-us_topic_0162710089_p53061932192814">The server understood the request but refused to authorize it. The client should not repeat the request without modifications.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="lts_api_0017__en-us_topic_0162710089_row4305532182815"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="lts_api_0017__en-us_topic_0162710089_p230663212819">500</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="lts_api_0017__en-us_topic_0162710089_p330733252814">The server has received the request but encountered an internal error.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="lts_api_0017__en-us_topic_0162710089_row33057325289"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="lts_api_0017__en-us_topic_0162710089_p4307163272814">503</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="lts_api_0017__en-us_topic_0162710089_p163079324281">The requested service is unavailable.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="lts_api_0017__en-us_topic_0162710089_section63071832162815"><h4 class="sectiontitle">Error Codes</h4><p id="lts_api_0017__en-us_topic_0162710089_p63079322288">For details, see <a href="lts_02_0021.html">Error Codes</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="lts_api_0015.html">Log Stream Management (New Version)</a></div>
|
|
</div>
|
|
</div>
|
|
|