Query the list of service methods.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request header

This operation only uses common request headers. For more information, see the Common request parameters topic.

Request syntax

GET /pop/v5/service/list_methods HTTP/1.1

Request parameters

Parameter Type Required Example Description
AppId String Yes test

The ID of the application.

ServiceName String Yes testMethod

The name of the service.

Response parameters

Parameter Type Example Description
Code INTEGER 200

The returned code.

Message STRING success

The returned message.

RequestId String test

The ID of the request.

ServiceMethodList

The list of returned service methods.

ServiceMethod

The list of returned service methods.

AppName STRING Apptest

The name of the application that ingests the stream.

InputParams test

Method input parameter list

InputParam

Method input parameter list

MethodName STRING TestMethod

Method name

Output STRING env

Method return type

ParamTypes 3

The type list of the method input parameters.

ParamType

The type list of the method input parameters.

ServiceName STRING TestService

The name of the service.

Examples

Sample requests

GET /pop/v5/service/list_methods HTTP/1.1
Common request header
{
  "AppId": "test"
  "ServiceName": "testMethod"
}

Sample success responses

XML format

<Message>success</Message>
<ServiceMethodList>
</ServiceMethodList>
<Code>200</Code>

JSON format

{
	"Message":"success",
	"ServiceMethodList":{
		"ServiceMethod":[]
	},
	"Code":200
}

Error codes

For a list of error codes, visit the API Error Center.