Querying All Providers of a Microservice
Function
This API is used to query all providers of a microservice based on the consumer ID.
URI
GET /v4/{project_id}/registry/microservices/{serviceId}/providers
Parameter |
Type |
Mandatory |
Description |
---|---|---|---|
project_id |
String |
Yes |
Fixed value: default. |
serviceId |
String |
Yes |
Consumer service ID. |
Request
None
Response
Response parameters
Table 2 describes the parameters.
Parameter |
Type |
Description |
---|---|---|
providers |
Array of objects |
Microservice struct. For details, see MicroService. |
Example
Example request
GET /v4/default/registry/microservices/e5788b23b640232730c7a99a6d806b4f31be453e/providers
Example response
{ "providers": [{ "serviceId": "string", "appId": "string", "serviceName": "string", "version": "string", "description": "string", "level": "string", "status": "up", "timestamp": "string", "framework": { "name": "string", "version": "string" } }] }
Status Code
See Status Codes.
Error Code
See CSE 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