All Products
Search
Document Center

Enterprise Distributed Application Service:GetServiceDetail

Last Updated:Aug 28, 2026

Queries service details.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

edas:ReadService

get

*Application

acs:edas:{#regionId}:{#accountId}:namespace/{#NameSpaceId}/application/{#AppId}

None None

Request syntax

POST /pop/sp/api/mseForOam/getServiceDetail HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

region

string

No

The region ID of the service.

cn-hangzhou

namespace

string

No

The ID of the namespace.

cn-hangzhou:doc-test

origin

string

No

The source of the data. Valid values:

  • agent: Use this value if you use the service query feature of the latest version to pass the query result.

  • registry: Use this value if you use the service query feature of the earlier version to pass the query result.

agent

serviceType

string

No

The type of the service. Valid values:

  • dubbo

  • springCloud

  • hsf

  • istio

springCloud

appId

string

No

The ID of the application.

efbda488-7b33-432f-a40d-****0047****

source

string

No

The source of the service. Set the value to edas.

edas

serviceId

string

No

The ID of the service. This parameter is deprecated. You can ignore it.

com.alibabacloud.hipstershop.CartService

serviceName

string

No

The name of the service.

com.alibabacloud.hipstershop.CartService

serviceVersion

string

No

The version of the service.

1.0.0

group

string

No

The group to which the service belongs.

DUBBO

ip

string

No

The IP address of the service provider. Fuzzy searches are supported.

10.20.x.xx

registryType

string

No

The type of the service registry. This parameter is deprecated. You can ignore it.

nacos

Response elements

Element

Type

Description

Example

object

The content returned.

Code

integer

The HTTP status code returned.

200

Message

string

The message returned for the request.

success

Success

boolean

Indicates whether the call was successful.

true

Data

object

The data structure.

EdasAppName

string

The name of the Enterprise Distributed Application Service (EDAS) application.

test123

DubboApplicationName

string

The name of the Dubbo application.

cartservice

Version

string

The version number.

1.0.0

RegistryType

string

The type of the service registry.

agent

SpringApplicationName

string

The name of the Spring application.

edas.service.consumer

ServiceType

string

The type of the service.

springCloud

ServiceName

string

The name of the service.

edas.service.consumer

Metadata

string

The metadata.

{}

Group

string

The group.

dubbo

Methods

array<object>

The methods.

array<object>

ParameterDetails

string

The parameter details.

{}

NameDetail

string

The specific name.

test

ParameterNames

string

The parameter names.

test

ParameterDefinitions

string

The parameter definitions.

[{"description":"","name":"arg0","type":"java.lang.String"}]

Paths

string

The method paths.

["/consumer-echo/feign/{str}"]

ParameterTypes

string

The parameter types.

["java.lang.String"]

RequestMethods

string

The request methods.

GET

ReturnDetails

string

The response details.

test

Name

string

The name of the service.

feign2

MethodController

string

The controllers.

com.aliware.edas.DemoController

ReturnType

string

The type of the response.

java.lang.String

ReturnDefinition

object

The definition of the value returned by the method.

Type

string

The type of the response.

foo

Id

string

The ID of the return value.

1

Examples

Success response

JSON format

{
  "Code": 200,
  "Message": "success",
  "Success": true,
  "Data": {
    "EdasAppName": "test123",
    "DubboApplicationName": "cartservice",
    "Version": "1.0.0",
    "RegistryType": "agent",
    "SpringApplicationName": "edas.service.consumer",
    "ServiceType": "springCloud",
    "ServiceName": "edas.service.consumer",
    "Metadata": "{}",
    "Group": "dubbo",
    "Methods": [
      {
        "ParameterDetails": "{}",
        "NameDetail": "test",
        "ParameterNames": "test",
        "ParameterDefinitions": "[{\"description\":\"\",\"name\":\"arg0\",\"type\":\"java.lang.String\"}]",
        "Paths": "[\"/consumer-echo/feign/{str}\"]",
        "ParameterTypes": "[\"java.lang.String\"]",
        "RequestMethods": "GET",
        "ReturnDetails": "test",
        "Name": "feign2",
        "MethodController": "com.aliware.edas.DemoController",
        "ReturnType": "java.lang.String",
        "ReturnDefinition": {
          "Type": "foo",
          "Id": "1"
        }
      }
    ]
  }
}

Error codes

See Error CodesError Codes for a complete list.

Release notes

See Release NotesRelease Notes for a complete list.