Help Center/ ServiceStage/ API Reference (ME-Abu Dhabi Region)/ CSE API/ Querying Static Information About All Microservices
Updated on 2023-06-25 GMT+08:00

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

Table 1 Path parameters

Parameter

Type

Mandatory

Description

project_id

String

Yes

Fixed value: default.

Request

None

Response

Response parameters

Table 2 describes the parameters.

Table 2 Parameter

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.