APIU Guidelines 20250228 version

Reviewed-by: Muller, Martin <martin.muller@t-systems.com>
Co-authored-by: chenjunjie <chenjunjie@huawei.com>
Co-committed-by: chenjunjie <chenjunjie@huawei.com>
This commit is contained in:
2025-03-03 13:13:35 +00:00
committed by zuul
parent 3fb78a3507
commit 0192fbb524
2 changed files with 10 additions and 10 deletions

View File

@ -98,7 +98,7 @@
</td>
<td class="cellrowborder" valign="top" width="27%" headers="mcps1.3.7.3.2.5.1.2 "><p id="apig-en-api-180328002__p363011371216">Type (or format) of the message body.</p>
</td>
<td class="cellrowborder" valign="top" width="19%" headers="mcps1.3.7.3.2.5.1.3 "><p id="apig-en-api-180328002__p1263043712111">Mandatory</p>
<td class="cellrowborder" valign="top" width="19%" headers="mcps1.3.7.3.2.5.1.3 "><p id="apig-en-api-180328002__p1263043712111">Mandatory if the request body is available.</p>
</td>
<td class="cellrowborder" valign="top" width="34%" headers="mcps1.3.7.3.2.5.1.4 "><p id="apig-en-api-180328002__p13630183715110">application/json</p>
</td>

View File

@ -7,7 +7,7 @@
<div class="section" id="apig-en-api-180328003__section3546598312249"><h4 class="sectiontitle">Procedure</h4><ol id="apig-en-api-180328003__ol5417235112249"><li id="apig-en-api-180328003__li7201450105021">Send <strong id="apig-en-api-180328003__b034312224917">POST https://</strong><em id="apig-en-api-180328003__i20265928093">IAM endpoint</em><strong id="apig-en-api-180328003__b1356462520912">/v3/auth/tokens</strong> to obtain the IAM endpoint and the region name in the message body.<p id="apig-en-api-180328003__p29157503105024">See <a href="https://docs.otc.t-systems.com/regions-and-endpoints/index.html" target="_blank" rel="noopener noreferrer">Regions and Endpoints</a>.</p>
<p id="apig-en-api-180328003__p126473211266"></p>
<p id="apig-en-api-180328003__p066712334263">A cloud service can be deployed globally or at the project level.</p>
<ul id="apig-en-api-180328003__ul11667123332614"><li id="apig-en-api-180328003__li17667173382616">A project-level service requires a project-level token. When you call the API, set <strong id="apig-en-api-180328003__b18431516468">auth.scope</strong> in the request body to <strong id="apig-en-api-180328003__b5845158464">project</strong>. The following services are at the project level: AOM, APIG, AS, BMS, CBR, CCE, Cloud Eye, CSBS, CSS, CTS, DataArts Studio, DC, DCS, DDS, Dedicated WAF, DeH, DIS, DLI, DMS, DNS, DRS, DWS, ECS, EIP, ELB, EVS, GaussDB (for MySQL), GaussDB NoSQL, IMS, KMS, LTS, ModelArts, MRS, NAT, PLAS, RDS, RTS, SDRS, SFS, SMN, SWR, VBS, VPC, VPCEP, VPN, and WAF.</li><li id="apig-en-api-180328003__li7667233182615">A global service requires a global token. When you call the API, set <strong id="apig-en-api-180328003__b16642105915485">auth.scope</strong> in the request body to <strong id="apig-en-api-180328003__b364265915485">domain</strong>. The following services are global ones: Anti-DDoS, IAM, OBS, TMS, and TMS.</li></ul>
<ul id="apig-en-api-180328003__ul11667123332614"><li id="apig-en-api-180328003__li17667173382616">A project-level service requires a project-level token. When you call the API, set <strong id="apig-en-api-180328003__b18431516468">auth.scope</strong> in the request body to <strong id="apig-en-api-180328003__b5845158464">project</strong>. The following services are at the project level: AOM, APIG, AS, BMS, CBR, CCE, Cloud Eye, CSBS, CSS, CTS, DataArts Studio, DC, DCS, DDS, Dedicated WAF, DeH, DIS, DLI, DMS, DNS, DRS, DWS, ECS, EIP, ELB, EVS, GaussDB (for MySQL), GaussDB NoSQL, IMS, KMS, LTS, ModelArts, MRS, NAT, PLAS, RDS, RTS, SDRS, SFS, SMN, SWR, VBS, VPC, VPCEP, VPN, and WAF.</li><li id="apig-en-api-180328003__li7667233182615">A global service requires a global token. When you call the API, set <strong id="apig-en-api-180328003__b16642105915485">auth.scope</strong> in the request body to <strong id="apig-en-api-180328003__b364265915485">domain</strong>. The following services are global ones: Anti-DDoS, IAM, OBS, and TMS.</li></ul>
<div class="p" id="apig-en-api-180328003__p4434491412249">The following shows an example of a project-level service request:<div class="note" id="apig-en-api-180328003__note6355990812249"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="apig-en-api-180328003__p3516826412249">Replace the texts in italic with actual ones. For details, see <em id="apig-en-api-180328003__i842352697155127">Identity and Access Management API Reference</em>.</p>
<p id="apig-en-api-180328003__p1770474713271">Log in to the management console, click your username in the upper right corner, and choose <strong id="apig-en-api-180328003__b1424175514817">My Credential</strong> from the drop-down list. On the <strong id="apig-en-api-180328003__b362886114912">My Credentials</strong> page, obtain your username, domain name, and project ID.</p>
</div></div>
@ -19,17 +19,17 @@
],
"password": {
"user": {
"name": "<em id="apig-en-api-180328003__i3005717212249"><strong id="apig-en-api-180328003__b34061845415">username</strong></em>", // IAM username
"password": "<em id="apig-en-api-180328003__i207909212249"><strong id="apig-en-api-180328003__b626512207546">password</strong></em>", // IAM user password
"name": "<em id="apig-en-api-180328003__i125911951089"><strong id="apig-en-api-180328003__b859115511887">username</strong></em>", // IAM username
"password": "<em id="apig-en-api-180328003__i117865571283"><strong id="apig-en-api-180328003__b1578616572817">password</strong></em>", // IAM user password
"domain": {
"name": "<em id="apig-en-api-180328003__i1871183512249"><strong id="apig-en-api-180328003__b7805102111542">domainname</strong></em>" // Name of the domain to which the IAM user belongs
"name": "<em id="apig-en-api-180328003__i38391959918"><strong id="apig-en-api-180328003__b10839165494">domainname</strong></em>" // Name of the domain to which the IAM user belongs
}
}
}
},
"scope": {
"<strong id="apig-en-api-180328003__b563015402144">project</strong>": {
"id": "<strong id="apig-en-api-180328003__b4301132835416"><em id="apig-en-api-180328003__i1191627165415">0215ef11e49d4743be23dd97a1561e91</em></strong>" // Project ID
"id": "<strong id="apig-en-api-180328003__b3151410294"><em id="apig-en-api-180328003__i6156101991">0215ef11e49d4743be23dd97a1561e91</em></strong>" // Project ID
}
}
}
@ -44,17 +44,17 @@
],
"password": {
"user": {
"name": "<em id="apig-en-api-180328003__i1589423111011"><strong id="apig-en-api-180328003__b1589423112012">username</strong></em>", // IAM username
"password": "<em id="apig-en-api-180328003__i7932938307"><strong id="apig-en-api-180328003__b149328381909">password</strong></em>", // IAM user password
"name": "<em id="apig-en-api-180328003__i160716171910"><strong id="apig-en-api-180328003__b760714172911">username</strong></em>", // IAM username
"password": "<em id="apig-en-api-180328003__i24551321391"><strong id="apig-en-api-180328003__b10455021891">password</strong></em>", // IAM user password
"domain": {
"name": "<em id="apig-en-api-180328003__i34335451306"><strong id="apig-en-api-180328003__b343319451304">domainname</strong></em>" // Name of the domain to which the IAM user belongs
"name": "<em id="apig-en-api-180328003__i762311251092"><strong id="apig-en-api-180328003__b36236251096">domainname</strong></em>" // Name of the domain to which the IAM user belongs
}
}
}
},
"scope": {
"<strong id="apig-en-api-180328003__b191917362143">domain</strong>": {
"name": "<em id="apig-en-api-180328003__i13403382119"><strong id="apig-en-api-180328003__b74031884120">domainname</strong></em>" // Name of the domain to which the IAM user belongs
"name": "<em id="apig-en-api-180328003__i1942319308914"><strong id="apig-en-api-180328003__b154231330493">domainname</strong></em>" // Name of the domain to which the IAM user belongs
}
}
}