Obtaining the URL of an OrgID Authorization Code for KooDrive
Function
Obtain the URL of an OrgID authorization code for KooDrive.
URI
GET /koodrive/ose/v1/session/authCodeURL
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
domain |
Yes |
String |
Frontend domain name. |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Traceid |
No |
String |
Message log trace ID. The value contains 58 bits. |
language |
No |
String |
Language code, which complies with the internationalization specifications. For example, en-US indicates English (United States). English (United States) is used by default. |
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
uri |
String |
Login address of OrgID. |
orgIdHost |
String |
Domain host of OrgID. |
code |
String |
Response code. |
msg |
String |
Response message. |
Example Requests
None
Example Responses
Status code: 200
URL of an OrgID authorization code for KooDrive.
{ "uri" : "https://orgid-beta.ulanqab.huawei.com/oauth2/authorize?response_type=code&client_id=be93d606a69a214642bf324e147af3366aef98f2cb1eb0b51bf8a27647d135b0&scope=phone+profile+email&redirect_uri=https://kdconsole-sec.hwcloudtest.cn/cloudfile/index.html", "orgIdHost" : "https://orgid-beta.ulanqab.huawei.com", "code" : 0, "msg" : "success" }
Status Codes
Status Code |
Description |
---|---|
200 |
URL of an OrgID authorization code for KooDrive. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot