Querying Static Information About All Microservices
Function
This API is used to query static information about all microservices that meet filter criteria.
URI
GET /v4/{project_id}/registry/microservices
Parameter |
Type |
Mandatory |
Description |
---|---|---|---|
project_id |
String |
Yes |
Fixed value: default. |
Request
None
Response
Response parameters
Table 2 describes the parameters.
Parameter |
Type |
Description |
---|---|---|
services |
Array of objects |
Microservice list. For details, see MicroService. |
Example
Example request
GET /v4/default/registry/microservices
Example response
{ "services": [ { "serviceId": "string", "environment": "string", "appId": "string", "serviceName": "string", "version": "string", "description": "string", "level": "string", "registerBy": "string", "schemas": [ "string" ], "status": "UP", "timestamp": "string", "modTimestamp": "string", "framework": { "name": "string", "version": "string" }, "paths": [ { "Path": "string", "Property": { "additionalProp1": "string", "additionalProp2": "string", "additionalProp3": "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