All Products
Search
Document Center

OnsGroupList

Last Updated: Apr 01, 2019

OnsGroupList

You can call this operation to display the list of group IDs rather than the details about each group ID.

Request parameters

Name Type Required Description
InstanceId String No The ID of the instance.
PreventCache Long Yes The parameter used for CSRF verification, which can be set to the current system time. Unit: ms
GroupId String No This parameter is required only for querying a specific group ID. If it is not specified, all group IDs are queried.

Response parameters

Name Type Description
RequestId String A common parameter. Each request has a unique ID.
HelpUrl String A help link.
Data List(SubscribeInfoDo) A set of subscriptions that are found.

Fields in SubscribeInfoDo

Name Type Description
Owner String The owner of the published information.
InstanceId String The ID of the instance.
GroupId String The ID of the consumption cluster.
IndependentNaming Boolean Indicates whether namespaces are available. Valid values:
  • false: No separate namespace provided, so that each Topic name and Group ID must be unique either within an instance or across instances.
  • true: Separate namespace is provided. Each Topic name and Group ID must be unique within the same instance, but can be the same across instances.
UpdateTime Long The last update time.
Remark String The remarks on the request.

Examples

For more information about sample codes, see API sample code and endpoints.