Files
doc-exports/docs/swr/api-ref/swr_02_0033.html
qiujiandong1 73ffc816f4 SWR API 20250521 version
Reviewed-by: Eotvos, Oliver <oliver.eotvos@t-systems.com>
Co-authored-by: qiujiandong1 <qiujiandong1@huawei.com>
Co-committed-by: qiujiandong1 <qiujiandong1@huawei.com>
2025-10-29 10:18:41 +00:00

287 lines
24 KiB
HTML

<a name="swr_02_0033"></a><a name="swr_02_0033"></a>
<h1 class="topictitle1">Querying the Brief Information on an Image Repository</h1>
<div id="body8662426"><div class="section" id="swr_02_0033__en-us_topic_0000001185914348_section15331158142413"><h4 class="sectiontitle">Description</h4><p id="swr_02_0033__en-us_topic_0000001185914348_p533195810245">Query the brief information on an image repository.</p>
</div>
<div class="section" id="swr_02_0033__en-us_topic_0000001185914348_section9332205802410"><h4 class="sectiontitle">Constraints</h4><p id="swr_02_0033__en-us_topic_0000001185914348_p933275814244">None</p>
</div>
<div class="section" id="swr_02_0033__en-us_topic_0000001185914348_section733295892414"><h4 class="sectiontitle">URI</h4><p id="swr_02_0033__en-us_topic_0000001185914348_p633315852414">GET /v2/manage/namespaces/{namespace}/repos/{repository}</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="swr_02_0033__en-us_topic_0000001185914348_table16334105862414" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path parameters</caption><thead align="left"><tr id="swr_02_0033__en-us_topic_0000001185914348_row933345822414"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="swr_02_0033__en-us_topic_0000001185914348_p5334158202415">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.2"><p id="swr_02_0033__en-us_topic_0000001185914348_p13334105811247">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.3"><p id="swr_02_0033__en-us_topic_0000001185914348_p1533515832413">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.3.2.5.1.4"><p id="swr_02_0033__en-us_topic_0000001185914348_p233545817242">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="swr_02_0033__en-us_topic_0000001185914348_row1833313583246"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="swr_02_0033__en-us_topic_0000001185914348_p8335175872413">namespace</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="swr_02_0033__en-us_topic_0000001185914348_p18335258162415">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="swr_02_0033__en-us_topic_0000001185914348_p15336558182415">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="swr_02_0033__en-us_topic_0000001185914348_p1633616589247">Organization name. Enter 1 to 64 characters, starting with a lowercase letter and ending with a lowercase letter or digit. Only lowercase letters, digits, periods (.), underscores (_), and hyphens (-) are allowed. Periods, underscores, and hyphens cannot be placed next to each other. A maximum of two consecutive underscores are allowed.</p>
</td>
</tr>
<tr id="swr_02_0033__en-us_topic_0000001185914348_row1733311587242"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="swr_02_0033__en-us_topic_0000001185914348_p133361158152415">repository</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="swr_02_0033__en-us_topic_0000001185914348_p633625814249">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="swr_02_0033__en-us_topic_0000001185914348_p16337758122410">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="swr_02_0033__en-us_topic_0000001185914348_p1833713588245">Image repository name. Enter 1 to 128 characters. It must start and end with a lowercase letter or digit. Only lowercase letters, digits, periods (.), slashes (/), underscores (_), and hyphens (-) are allowed. Periods, slashes, underscores, and hyphens cannot be placed next to each other. A maximum of two consecutive underscores are allowed. Replace a slash (/) with a dollar sign ($) before you send the request.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="swr_02_0033__en-us_topic_0000001185914348_section733745812410"><h4 class="sectiontitle">Request Parameters</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="swr_02_0033__en-us_topic_0000001185914348_HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr id="swr_02_0033__en-us_topic_0000001185914348_row9338358192411"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.1"><p id="swr_02_0033__en-us_topic_0000001185914348_p734465842416">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.2"><p id="swr_02_0033__en-us_topic_0000001185914348_p1334495862418">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.3"><p id="swr_02_0033__en-us_topic_0000001185914348_p9344115872413">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.2.2.5.1.4"><p id="swr_02_0033__en-us_topic_0000001185914348_p834465813245">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="swr_02_0033__en-us_topic_0000001185914348_row1533935842412"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.1 "><p id="swr_02_0033__en-us_topic_0000001185914348_p8345958112412">Content-Type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.2 "><p id="swr_02_0033__en-us_topic_0000001185914348_p634512582241">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.3 "><p id="swr_02_0033__en-us_topic_0000001185914348_p12345858182413">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.2.2.5.1.4 "><p id="swr_02_0033__en-us_topic_0000001185914348_p193453585244">Message body type (format). The value can be <strong id="swr_02_0033__en-us_topic_0000001185914348_b1822194465819">application/json</strong> or <strong id="swr_02_0033__en-us_topic_0000001185914348_b1122194495811">charset=utf-8 application/json</strong>.</p>
<p id="swr_02_0033__en-us_topic_0000001185914348_p19345458152416">Default value: <strong id="swr_02_0033__en-us_topic_0000001185914348_b51932477581">application/json</strong></p>
</td>
</tr>
<tr id="swr_02_0033__en-us_topic_0000001185914348_row1233985817243"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.1 "><p id="swr_02_0033__en-us_topic_0000001185914348_p334625832418">X-Auth-Token</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.2 "><p id="swr_02_0033__en-us_topic_0000001185914348_p1934612587245">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.3 "><p id="swr_02_0033__en-us_topic_0000001185914348_p634645819244">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.2.2.5.1.4 "><p id="swr_02_0033__en-us_topic_0000001185914348_p43466580249">User token.</p>
<p id="swr_02_0033__en-us_topic_0000001185914348_p1134725813249">The token can be obtained through the IAM API used to obtain a user token. The value of <strong id="swr_02_0033__en-us_topic_0000001185914348_b2322140141714">X-Subject-Token</strong> in the response header is the user token.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="swr_02_0033__en-us_topic_0000001185914348_section334755810243"><h4 class="sectiontitle">Response Parameters</h4><p id="swr_02_0033__en-us_topic_0000001185914348_p193471658202411"><strong id="swr_02_0033__en-us_topic_0000001185914348_b121076735111022">Status code: 200</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="swr_02_0033__en-us_topic_0000001185914348_response_ShowRepositoryResp" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Response body parameters</caption><thead align="left"><tr id="swr_02_0033__en-us_topic_0000001185914348_row1234813586243"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.3.2.4.1.1"><p id="swr_02_0033__en-us_topic_0000001185914348_p63501258182414">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.5.3.2.4.1.2"><p id="swr_02_0033__en-us_topic_0000001185914348_p035012581245">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.5.3.2.4.1.3"><p id="swr_02_0033__en-us_topic_0000001185914348_p5351858172413">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="swr_02_0033__en-us_topic_0000001185914348_row113482586247"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="swr_02_0033__en-us_topic_0000001185914348_p435115811242">id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="swr_02_0033__en-us_topic_0000001185914348_p73519582240">Long</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="swr_02_0033__en-us_topic_0000001185914348_p635114582247">Repository ID.</p>
</td>
</tr>
<tr id="swr_02_0033__en-us_topic_0000001185914348_row23486581249"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="swr_02_0033__en-us_topic_0000001185914348_p12351958202420">ns_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="swr_02_0033__en-us_topic_0000001185914348_p133511858192419">Long</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="swr_02_0033__en-us_topic_0000001185914348_p4351175892416">Organization ID.</p>
</td>
</tr>
<tr id="swr_02_0033__en-us_topic_0000001185914348_row193481558142413"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="swr_02_0033__en-us_topic_0000001185914348_p3352185814245">name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="swr_02_0033__en-us_topic_0000001185914348_p19352165815241">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="swr_02_0033__en-us_topic_0000001185914348_p93525587247">Repository name.</p>
</td>
</tr>
<tr id="swr_02_0033__en-us_topic_0000001185914348_row173495588242"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="swr_02_0033__en-us_topic_0000001185914348_p123521058122415">category</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="swr_02_0033__en-us_topic_0000001185914348_p535385819248">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="swr_02_0033__en-us_topic_0000001185914348_p7353205817241">Repository type.</p>
</td>
</tr>
<tr id="swr_02_0033__en-us_topic_0000001185914348_row9349135818248"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="swr_02_0033__en-us_topic_0000001185914348_p4353115810249">description</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="swr_02_0033__en-us_topic_0000001185914348_p235311582246">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="swr_02_0033__en-us_topic_0000001185914348_p193549586245">Repository description.</p>
</td>
</tr>
<tr id="swr_02_0033__en-us_topic_0000001185914348_row834975832410"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="swr_02_0033__en-us_topic_0000001185914348_p13354175882414">creator_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="swr_02_0033__en-us_topic_0000001185914348_p335425816249">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="swr_02_0033__en-us_topic_0000001185914348_p163542058162417">Repository creator ID.</p>
</td>
</tr>
<tr id="swr_02_0033__en-us_topic_0000001185914348_row153491358202415"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="swr_02_0033__en-us_topic_0000001185914348_p6354158182418">creator_name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="swr_02_0033__en-us_topic_0000001185914348_p183551758112420">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="swr_02_0033__en-us_topic_0000001185914348_p935511588243">Repository creator.</p>
</td>
</tr>
<tr id="swr_02_0033__en-us_topic_0000001185914348_row234975872413"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="swr_02_0033__en-us_topic_0000001185914348_p43551258162412">size</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="swr_02_0033__en-us_topic_0000001185914348_p19355145862412">Long</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="swr_02_0033__en-us_topic_0000001185914348_p135585862417">Repository size.</p>
</td>
</tr>
<tr id="swr_02_0033__en-us_topic_0000001185914348_row8349115832417"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="swr_02_0033__en-us_topic_0000001185914348_p1235613584248">is_public</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="swr_02_0033__en-us_topic_0000001185914348_p535695872411">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="swr_02_0033__en-us_topic_0000001185914348_p16356145818243">Whether the repository is public. When the value is <strong id="swr_02_0033__en-us_topic_0000001185914348_b321633611403">true</strong>, it indicates the repository is public. When the value is <strong id="swr_02_0033__en-us_topic_0000001185914348_b4267144419404">false</strong>, it indicates the repository is private.</p>
</td>
</tr>
<tr id="swr_02_0033__en-us_topic_0000001185914348_row4349658112416"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="swr_02_0033__en-us_topic_0000001185914348_p83564586246">num_images</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="swr_02_0033__en-us_topic_0000001185914348_p93561958192414">Long</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="swr_02_0033__en-us_topic_0000001185914348_p435795818246">Number of images in a repository, ranging from 0 to 9,223,372,036,854,775,807.</p>
</td>
</tr>
<tr id="swr_02_0033__en-us_topic_0000001185914348_row15349115812411"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="swr_02_0033__en-us_topic_0000001185914348_p33578584249">num_download</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="swr_02_0033__en-us_topic_0000001185914348_p5357165820243">Long</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="swr_02_0033__en-us_topic_0000001185914348_p1135718583240">The number of downloads.</p>
</td>
</tr>
<tr id="swr_02_0033__en-us_topic_0000001185914348_row16349105822419"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="swr_02_0033__en-us_topic_0000001185914348_p16357185816246">url</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="swr_02_0033__en-us_topic_0000001185914348_p12358145814249">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="swr_02_0033__en-us_topic_0000001185914348_p33581558202420">URL of the repository logo (not in use).</p>
</td>
</tr>
<tr id="swr_02_0033__en-us_topic_0000001185914348_row2349958202419"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="swr_02_0033__en-us_topic_0000001185914348_p735835822415">path</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="swr_02_0033__en-us_topic_0000001185914348_p19359458162414">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="swr_02_0033__en-us_topic_0000001185914348_p23590581243">External image pull address, for example, swr.{region}.mycloud.com/namespace/repository.</p>
</td>
</tr>
<tr id="swr_02_0033__en-us_topic_0000001185914348_row193499585241"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="swr_02_0033__en-us_topic_0000001185914348_p15359058192412">internal_path</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="swr_02_0033__en-us_topic_0000001185914348_p135975882412">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="swr_02_0033__en-us_topic_0000001185914348_p335913587249">Internal image pull address, for example, 10.125.0.198:20202/namespace/repository.</p>
</td>
</tr>
<tr id="swr_02_0033__en-us_topic_0000001185914348_row113491358192416"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="swr_02_0033__en-us_topic_0000001185914348_p2360158122416">created</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="swr_02_0033__en-us_topic_0000001185914348_p11360115818245">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="swr_02_0033__en-us_topic_0000001185914348_p43601658182416">Time when a repository was created. It is the UTC standard time. Users need to calculate the offset based on the local time, for example, UTC+8:00 for the East 8th Time Zone.</p>
</td>
</tr>
<tr id="swr_02_0033__en-us_topic_0000001185914348_row1734965822419"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="swr_02_0033__en-us_topic_0000001185914348_p2360125892410">updated</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="swr_02_0033__en-us_topic_0000001185914348_p1361175810245">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="swr_02_0033__en-us_topic_0000001185914348_p4361185819240">Time when a repository was updated. It is the UTC standard time. Users need to calculate the offset based on the local time, for example, UTC+8:00 for the East 8th Time Zone.</p>
</td>
</tr>
<tr id="swr_02_0033__en-us_topic_0000001185914348_row12350858122418"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="swr_02_0033__en-us_topic_0000001185914348_p17361155852411">domain_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="swr_02_0033__en-us_topic_0000001185914348_p143610584242">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="swr_02_0033__en-us_topic_0000001185914348_p10361145815247">Account ID.</p>
</td>
</tr>
<tr id="swr_02_0033__en-us_topic_0000001185914348_row93501758102416"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.1 "><p id="swr_02_0033__en-us_topic_0000001185914348_p17361195811244">priority</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.5.3.2.4.1.2 "><p id="swr_02_0033__en-us_topic_0000001185914348_p536210585244">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.5.3.2.4.1.3 "><p id="swr_02_0033__en-us_topic_0000001185914348_p143621582244">Image sorting priority.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="swr_02_0033__en-us_topic_0000001185914348_section5362185832412"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="swr_02_0033__en-us_topic_0000001185914348_screen1136245862417">GET https://{endpoint}/v2/manage/namespaces/{namespace}/repos/{repository}</pre>
</div>
<div class="section" id="swr_02_0033__en-us_topic_0000001185914348_section236316580245"><h4 class="sectiontitle">Example Response</h4><p id="swr_02_0033__en-us_topic_0000001185914348_p8363558112411"><strong id="swr_02_0033__en-us_topic_0000001185914348_b435606496111022">Status code: 200</strong></p>
<p id="swr_02_0033__en-us_topic_0000001185914348_p173633588243">Request succeeded.</p>
<pre class="screen" id="swr_02_0033__en-us_topic_0000001185914348_screen23641558172410">{
"id" : 0,
"ns_id" : 0,
"name" : "busybox",
"category" : "other",
"description" : "containerops",
"creator_id" : "1",
"creator_name" : "admin",
"size" : 2099575,
"is_public" : false,
"num_images" : 0,
"num_download" : 0,
"url" : "",
"path" : "swr.***.mycloud.com/namespace/repository",
"internal_path" : "10.125.0.198:20202/namespace/repository",
"created" : "2017-08-17T12:00:03.915153267Z",
"updated" : "2017-08-17T12:00:03.915153267Z",
"domain_id" : "da44776c316c4a99b3683bb174f8821b",
"priority" : 0
}</pre>
</div>
<div class="section" id="swr_02_0033__en-us_topic_0000001185914348_section173667585243"><h4 class="sectiontitle">Status Codes</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="swr_02_0033__en-us_topic_0000001185914348_status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="swr_02_0033__en-us_topic_0000001185914348_row16367155813243"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.8.2.1.3.1.1"><p id="swr_02_0033__en-us_topic_0000001185914348_p536855802411">Status Code</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.8.2.1.3.1.2"><p id="swr_02_0033__en-us_topic_0000001185914348_p14368175812241">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="swr_02_0033__en-us_topic_0000001185914348_row14367205814240"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="swr_02_0033__en-us_topic_0000001185914348_p18368175812413">200</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="swr_02_0033__en-us_topic_0000001185914348_p336945842414">Request succeeded.</p>
</td>
</tr>
<tr id="swr_02_0033__en-us_topic_0000001185914348_row3367185842412"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="swr_02_0033__en-us_topic_0000001185914348_p1736917588249">400</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="swr_02_0033__en-us_topic_0000001185914348_p10369165802413">Request error.</p>
</td>
</tr>
<tr id="swr_02_0033__en-us_topic_0000001185914348_row2367105812246"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="swr_02_0033__en-us_topic_0000001185914348_p1936916584244">401</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="swr_02_0033__en-us_topic_0000001185914348_p1637005817245">Authentication failed.</p>
</td>
</tr>
<tr id="swr_02_0033__en-us_topic_0000001185914348_row18367135810245"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="swr_02_0033__en-us_topic_0000001185914348_p537016583248">404</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="swr_02_0033__en-us_topic_0000001185914348_p143708586247">The image repository was not found</p>
</td>
</tr>
<tr id="swr_02_0033__en-us_topic_0000001185914348_row1836795832417"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="swr_02_0033__en-us_topic_0000001185914348_p637035832417">500</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="swr_02_0033__en-us_topic_0000001185914348_p13711758142416">Internal error.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="swr_02_0033__en-us_topic_0000001185914348_section113711558142412"><h4 class="sectiontitle">Error Codes</h4><p id="swr_02_0033__en-us_topic_0000001185914348_p17371115852410">For details, see <a href="ErrorCode.html">Error Codes</a>.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="swr_02_0076.html">Image Repository Management</a></div>
</div>
</div>