Obtaining the OAuth2 Authentication URL
Function
This API is used to obtain the OAuth2 authentication URL.
Calling Method
For details, see Calling APIs.
URI
GET /v1/serviceconnection/oauth/authorization_url
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
module_id |
Yes |
String |
Definition: Module ID. Constraints: N/A Value range: N/A Default value: N/A |
redirect_uri |
No |
String |
Definition: Redirect URI. Constraints: N/A Value range: N/A Default value: N/A |
Request Parameters
None
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
error |
ErrorInfo object |
Definition: Error message. Value range: N/A |
result |
Object |
Definition: Error result. Value range: N/A |
status |
String |
Definition: Status value. Value range: N/A |
Example Requests
None
Example Responses
None
Status Codes
Status Code |
Description |
---|---|
200 |
OK |
Error Codes
See Error Codes.
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