Listing Plug-ins
Function
This API is used to list plug-ins.
Calling Method
For details, see Calling APIs.
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_modifying | Boolean | Whether the plug-in is being changed. |
| 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_modifying" : false,
"plugins" : [ {
"running" : true,
"enable" : true,
"name" : "rabbitmq_shovel",
"version" : "3.8.35"
}, {
"running" : true,
"enable" : true,
"name" : "rabbitmq_consistent_hash_exchange",
"version" : "3.8.35"
}, {
"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.