Listing Plug-ins
Function
This API is used to list plug-ins.
URI
GET /v2/{project_id}/instances/{instance_id}/rabbitmq/plugins
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID. For details about how to obtain it, see Obtaining a Project ID. |
instance_id |
Yes |
String |
Instance ID. |
Request Parameters
None
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
plugins |
Array of PluginEntity objects |
Plug-in information list. |
Example Requests
Querying the plug-in list
GET https://{endpoint}/v2/{project_id}/instances/{instance_id}/rabbitmq/plugins
Example Responses
Status code: 200
The plug-ins are listed successfully.
{ "plugins" : [ { "running" : true, "enable" : true, "name" : "rabbitmq_amqp1_0", "version" : "3.8.35" }, { "running" : true, "enable" : true, "name" : "rabbitmq_delayed_message_exchange", "version" : "3.8.0" }, { "running" : false, "enable" : false, "name" : "rabbitmq_federation", "version" : "3.8.35" } ] }
Status Codes
Status Code |
Description |
---|---|
200 |
The plug-ins are listed successfully. |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.