Files
doc-exports/docs/eps/api-ref/en-us_topic_0121230883.html
weihongmin1 89457a7fa8 EPS API First Version
Reviewed-by: Gladkov, Maksim <mgladkov@noreply.gitea.eco.tsi-dev.otc-service.com>
Reviewed-by: Belejkanic, Lukas <lukas.belejkanic@t-systems.com>
Co-authored-by: weihongmin1 <weihongmin1@huawei.com>
Co-committed-by: weihongmin1 <weihongmin1@huawei.com>
2025-11-13 12:55:55 +00:00

178 lines
14 KiB
HTML

<a name="en-us_topic_0121230883"></a><a name="en-us_topic_0121230883"></a>
<h1 class="topictitle1">Querying Details About a Specified Enterprise Project</h1>
<div id="body52124412"><div class="section" id="en-us_topic_0121230883__section64175147"><h4 class="sectiontitle">Function</h4><p class="msonormal" id="en-us_topic_0121230883__p61327833">This API is used to query details about a specified enterprise project.</p>
</div>
<div class="section" id="en-us_topic_0121230883__section40705416"><h4 class="sectiontitle">URI</h4><p id="en-us_topic_0121230883__p54274388">GET /v1.0/enterprise-projects/{enterprise_project_id}</p>
<div class="p" id="en-us_topic_0121230883__p134378115582">For details about the parameters, see <a href="#en-us_topic_0121230883__table56746773172616">Table 1</a>.
<div class="tablenoborder"><a name="en-us_topic_0121230883__table56746773172616"></a><a name="table56746773172616"></a><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0121230883__table56746773172616" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter in the URI</caption><thead align="left"><tr id="en-us_topic_0121230883__row12848229172616"><th align="left" class="cellrowborder" valign="top" width="21.05%" id="mcps1.3.2.3.2.2.5.1.1"><p id="en-us_topic_0121230883__p44975878172616">Name</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20.580000000000002%" id="mcps1.3.2.3.2.2.5.1.2"><p id="en-us_topic_0121230883__p46443918172616">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="24.81%" id="mcps1.3.2.3.2.2.5.1.3"><p id="en-us_topic_0121230883__p1368350172616">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="33.56%" id="mcps1.3.2.3.2.2.5.1.4"><p id="en-us_topic_0121230883__p24157908172616">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="en-us_topic_0121230883__row39993297172616"><td class="cellrowborder" valign="top" width="21.05%" headers="mcps1.3.2.3.2.2.5.1.1 "><p id="en-us_topic_0121230883__p87481623105816">enterprise_project_id</p>
</td>
<td class="cellrowborder" valign="top" width="20.580000000000002%" headers="mcps1.3.2.3.2.2.5.1.2 "><p id="en-us_topic_0121230883__p47492238581">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="24.81%" headers="mcps1.3.2.3.2.2.5.1.3 "><p id="en-us_topic_0121230883__p187501323175818">String</p>
</td>
<td class="cellrowborder" valign="top" width="33.56%" headers="mcps1.3.2.3.2.2.5.1.4 "><p id="en-us_topic_0121230883__p1375352317586">Specifies the enterprise project ID.</p>
<p id="en-us_topic_0121230883__p18783169135919">You can obtain the ID by using API <a href="en-us_topic_0121230880.html">Querying the Enterprise Project List</a>.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="section" id="en-us_topic_0121230883__section30804429"><h4 class="sectiontitle">Request</h4><ul id="en-us_topic_0121230883__ul637235015497"><li id="en-us_topic_0121230883__li1737215019492">Parameter description
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0121230883__HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Parameters in the request header</caption><thead align="left"><tr id="en-us_topic_0121230883__row1086612335117"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.1.1.2.5.1.1"><p id="en-us_topic_0121230883__p9867193361113">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.1.1.2.5.1.2"><p id="en-us_topic_0121230883__p17867183391115">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.1.1.2.5.1.3"><p id="en-us_topic_0121230883__p16867163315111">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.2.1.1.2.5.1.4"><p id="en-us_topic_0121230883__p14867033111118">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="en-us_topic_0121230883__row188666333119"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.1.1.2.5.1.1 "><p id="en-us_topic_0121230883__p8868133141117">X-Auth-Token</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.1.1.2.5.1.2 "><p id="en-us_topic_0121230883__p1186815339114">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.1.1.2.5.1.3 "><p id="en-us_topic_0121230883__p2868153381115">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.1.1.2.5.1.4 "><p id="en-us_topic_0121230883__p386911331116">Specifies the user token. EPS is a global service. When calling the IAM API to obtain a user token, set <strong id="en-us_topic_0121230883__b38616293410">scope</strong> to <strong id="en-us_topic_0121230883__b168612217347">domain</strong>. The value of <strong id="en-us_topic_0121230883__b1245611310347">X-Subject-Token</strong> in the response header is the user token.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li></ul>
<ul id="en-us_topic_0121230883__ul8299158"><li id="en-us_topic_0121230883__li7583566">Example request<pre class="codeblock" id="en-us_topic_0121230883__codeblock1783934675510">GET https://{EPS endpoint}/v1.0/enterprise-projects/5aa119a8-d25b-45a7-8d1b-88e127885635</pre>
</li></ul>
</div>
<div class="section" id="en-us_topic_0121230883__section8804412"><h4 class="sectiontitle">Response</h4><p id="en-us_topic_0121230883__p165182016166"><strong id="en-us_topic_0121230883__b13200191111413">Status code: 200</strong></p>
<ul id="en-us_topic_0121230883__ul25492790"><li id="en-us_topic_0121230883__li28108519">Parameter description
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0121230883__table51650086" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Parameters in the response body</caption><thead align="left"><tr id="en-us_topic_0121230883__row15605681"><th align="left" class="cellrowborder" valign="top" width="38.75%" id="mcps1.3.4.3.1.1.2.4.1.1"><p id="en-us_topic_0121230883__p56100647">Name</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="30%" id="mcps1.3.4.3.1.1.2.4.1.2"><p id="en-us_topic_0121230883__p47858529">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="31.25%" id="mcps1.3.4.3.1.1.2.4.1.3"><p id="en-us_topic_0121230883__p64544835">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="en-us_topic_0121230883__row60749114"><td class="cellrowborder" valign="top" width="38.75%" headers="mcps1.3.4.3.1.1.2.4.1.1 "><p id="en-us_topic_0121230883__p21731222">enterprise_project</p>
</td>
<td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.4.3.1.1.2.4.1.2 "><p id="en-us_topic_0121230883__p15398591">Dict&lt;enterprise_project&gt;</p>
</td>
<td class="cellrowborder" valign="top" width="31.25%" headers="mcps1.3.4.3.1.1.2.4.1.3 "><p id="en-us_topic_0121230883__p31318934">Specifies the enterprise project.</p>
<p id="en-us_topic_0121230883__p1077216578112">For details, see <a href="#en-us_topic_0121230883__table63295743">Table 4</a>.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li></ul>
<ul id="en-us_topic_0121230883__ul53805716"><li id="en-us_topic_0121230883__li14489400"><strong id="en-us_topic_0121230883__b6699296094725">enterprise_project</strong> field data structure
<div class="tablenoborder"><a name="en-us_topic_0121230883__table63295743"></a><a name="table63295743"></a><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0121230883__table63295743" frame="border" border="1" rules="all"><caption><b>Table 4 </b><strong id="en-us_topic_0121230883__b10218152725312">enterprise_project</strong> field data structure description</caption><thead align="left"><tr id="en-us_topic_0121230883__row3121451"><th align="left" class="cellrowborder" valign="top" width="37.97%" id="mcps1.3.4.4.1.2.2.4.1.1"><p id="en-us_topic_0121230883__p51510973">Name</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="30.380000000000003%" id="mcps1.3.4.4.1.2.2.4.1.2"><p id="en-us_topic_0121230883__p11639271">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="31.65%" id="mcps1.3.4.4.1.2.2.4.1.3"><p id="en-us_topic_0121230883__p62483494">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="en-us_topic_0121230883__row27998217"><td class="cellrowborder" valign="top" width="37.97%" headers="mcps1.3.4.4.1.2.2.4.1.1 "><p id="en-us_topic_0121230883__p53263142">id</p>
</td>
<td class="cellrowborder" valign="top" width="30.380000000000003%" headers="mcps1.3.4.4.1.2.2.4.1.2 "><p id="en-us_topic_0121230883__p19347235">String</p>
</td>
<td class="cellrowborder" valign="top" width="31.65%" headers="mcps1.3.4.4.1.2.2.4.1.3 "><p id="en-us_topic_0121230883__p34348766">Specifies the enterprise project ID.</p>
</td>
</tr>
<tr id="en-us_topic_0121230883__row40703443"><td class="cellrowborder" valign="top" width="37.97%" headers="mcps1.3.4.4.1.2.2.4.1.1 "><p id="en-us_topic_0121230883__p8644564">name</p>
</td>
<td class="cellrowborder" valign="top" width="30.380000000000003%" headers="mcps1.3.4.4.1.2.2.4.1.2 "><p id="en-us_topic_0121230883__p29121115">String</p>
</td>
<td class="cellrowborder" valign="top" width="31.65%" headers="mcps1.3.4.4.1.2.2.4.1.3 "><p id="en-us_topic_0121230883__p4699924">Specifies the enterprise project name.</p>
</td>
</tr>
<tr id="en-us_topic_0121230883__row42299323"><td class="cellrowborder" valign="top" width="37.97%" headers="mcps1.3.4.4.1.2.2.4.1.1 "><p id="en-us_topic_0121230883__p3693148">description</p>
</td>
<td class="cellrowborder" valign="top" width="30.380000000000003%" headers="mcps1.3.4.4.1.2.2.4.1.2 "><p id="en-us_topic_0121230883__p30709573">String</p>
</td>
<td class="cellrowborder" valign="top" width="31.65%" headers="mcps1.3.4.4.1.2.2.4.1.3 "><p id="en-us_topic_0121230883__p24704786">Provides supplementary information about the enterprise project.</p>
</td>
</tr>
<tr id="en-us_topic_0121230883__row21016484"><td class="cellrowborder" valign="top" width="37.97%" headers="mcps1.3.4.4.1.2.2.4.1.1 "><p id="en-us_topic_0121230883__p24613614">status</p>
</td>
<td class="cellrowborder" valign="top" width="30.380000000000003%" headers="mcps1.3.4.4.1.2.2.4.1.2 "><p id="en-us_topic_0121230883__p39084151">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="31.65%" headers="mcps1.3.4.4.1.2.2.4.1.3 "><p id="en-us_topic_0121230883__p25343991"><strong id="en-us_topic_0121230883__b84235270616119">1</strong> indicates <strong id="en-us_topic_0121230883__b84235270616912">Enabled</strong>. <strong id="en-us_topic_0121230883__b842352706161113">2</strong> indicates <strong id="en-us_topic_0121230883__b84235270616918">Disabled</strong>.</p>
</td>
</tr>
<tr id="en-us_topic_0121230883__row26769333"><td class="cellrowborder" valign="top" width="37.97%" headers="mcps1.3.4.4.1.2.2.4.1.1 "><p id="en-us_topic_0121230883__p20832387">created_at</p>
</td>
<td class="cellrowborder" valign="top" width="30.380000000000003%" headers="mcps1.3.4.4.1.2.2.4.1.2 "><p id="en-us_topic_0121230883__p9701761">String</p>
</td>
<td class="cellrowborder" valign="top" width="31.65%" headers="mcps1.3.4.4.1.2.2.4.1.3 "><p id="en-us_topic_0121230883__p34051374">Specifies the time (UTC) when the enterprise project was created.</p>
<p id="en-us_topic_0121230883__p46202027121712">Example: 2018-05-18T06:49:06Z</p>
</td>
</tr>
<tr id="en-us_topic_0121230883__row38026913"><td class="cellrowborder" valign="top" width="37.97%" headers="mcps1.3.4.4.1.2.2.4.1.1 "><p id="en-us_topic_0121230883__p60281116">updated_at</p>
</td>
<td class="cellrowborder" valign="top" width="30.380000000000003%" headers="mcps1.3.4.4.1.2.2.4.1.2 "><p id="en-us_topic_0121230883__p50932203">String</p>
</td>
<td class="cellrowborder" valign="top" width="31.65%" headers="mcps1.3.4.4.1.2.2.4.1.3 "><p id="en-us_topic_0121230883__p31152295">Specifies the time (UTC) when the enterprise project was modified.</p>
<p id="en-us_topic_0121230883__p121433318171">Example: 2018-05-18T06:49:06Z</p>
</td>
</tr>
<tr id="en-us_topic_0121230883__row204321632847"><td class="cellrowborder" valign="top" width="37.97%" headers="mcps1.3.4.4.1.2.2.4.1.1 "><p id="en-us_topic_0121230883__p3667961143">type</p>
</td>
<td class="cellrowborder" valign="top" width="30.380000000000003%" headers="mcps1.3.4.4.1.2.2.4.1.2 "><p id="en-us_topic_0121230883__p1966746146">String</p>
</td>
<td class="cellrowborder" valign="top" width="31.65%" headers="mcps1.3.4.4.1.2.2.4.1.3 "><p id="en-us_topic_0121230883__p186671615414">Project type. <strong id="en-us_topic_0121230883__b1441919156413">prod</strong>: commercial project; <strong id="en-us_topic_0121230883__b184191915847">poc</strong>: test project</p>
</td>
</tr>
<tr id="en-us_topic_0121230883__row19651135941"><td class="cellrowborder" valign="top" width="37.97%" headers="mcps1.3.4.4.1.2.2.4.1.1 "><p id="en-us_topic_0121230883__p66671861147">delete_flag</p>
</td>
<td class="cellrowborder" valign="top" width="30.380000000000003%" headers="mcps1.3.4.4.1.2.2.4.1.2 "><p id="en-us_topic_0121230883__p1866876147">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="31.65%" headers="mcps1.3.4.4.1.2.2.4.1.3 "><p id="en-us_topic_0121230883__p156681618413">Deletion flag. The value <strong id="en-us_topic_0121230883__b9120171713419">false</strong> means that the information is not deleted and the value <strong id="en-us_topic_0121230883__b7120181713418">true</strong> means that the information is deleted.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li><li id="en-us_topic_0121230883__li11935200">Example response<div class="p" id="en-us_topic_0121230883__p1156572851810"><a name="en-us_topic_0121230883__li11935200"></a><a name="li11935200"></a><strong id="en-us_topic_0121230883__b17441218044">Status code: 200</strong><pre class="screen" id="en-us_topic_0121230883__screen17546155184014">{
"enterprise_project": {
"id": "5aa119a8-d25b-45a7-8d1b-88e127885635",
"name": "enterprise_project1",
"description": "description",
"type": "prod",
"status": 1,
"delete_flag": false,
"created_at": "2016-03-28T00:00:00Z",
"updated_at": "2016-03-28T00:00:00Z"
}
}</pre>
</div>
</li></ul>
</div>
<div class="section" id="en-us_topic_0121230883__section17789101582315"><h4 class="sectiontitle">Status Codes</h4><p id="en-us_topic_0121230883__p145228330242">For details, see <a href="en-us_topic_0171146972.html">Status Code</a>.</p>
</div>
<div class="section" id="en-us_topic_0121230883__section18604165622519"><h4 class="sectiontitle">Error Codes</h4><p id="en-us_topic_0121230883__p177044331253">For details, see <a href="en-us_topic_0121230887.html">Error Codes</a>.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0133321992.html">Enterprise Project Management</a></div>
</div>
</div>