Check whether the central repository is enabled or not.
Function
Check whether the central repository is enabled or not.
Calling Method
For details, see Calling APIs.
URI
GET /cloudartifact/v5/opensource/enabled
Request Parameters
None
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
status |
String |
Definition: Request status. Value range: success: The request is successful. error: The request fails. |
trace_id |
String |
Definition: Request ID, which uniquely identifies the current request. Value range: A string of digits and hyphens (-). |
result |
Boolean |
Definition: Query result. Value range: true: yes false: no |
Example Requests
Check whether the central repository is enabled or not.
https://{URL}/cloudartifact/v5/opensource/enabled
Example Responses
Status code: 200
OK
{ "status" : "success", "trace_id" : "65e77adc0b224e9cb574211ecf9d4d53", "result" : false }
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