Querying the Extensions
Function
This API is used to query the extensions.
Calling Method
For details, see Calling APIs.
URI
GET /v2/extensions/modules
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_uuid |
No |
String |
Project UUID. |
region_name |
No |
String |
Region name. |
name |
No |
String |
Name. |
productLine |
No |
String |
Product line. |
tags |
No |
Array of strings |
Tag. |
offset |
No |
Integer |
Page number. |
limit |
No |
Integer |
Number of records on each page. |
locations |
Yes |
Array of strings |
Endpoint. |
Request Parameters
None
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
error |
ErrorInfo object |
Error information. |
result |
Map<String,ExtensionModuleList> |
Information about the extension modules. |
status |
String |
Status value. |
Parameter |
Type |
Description |
---|---|---|
code |
String |
Definition: Error code. Value range: N/A |
message |
String |
Definition: Error message. Value range: N/A |
Parameter |
Type |
Description |
---|---|---|
data |
Array of ExtensionModule objects |
Module information. |
total |
Integer |
Modules length. |
Parameter |
Type |
Description |
---|---|---|
base_url |
String |
Basic URL. |
description |
String |
Description. |
id |
Integer |
id |
location |
String |
Endpoint. |
module_id |
String |
Module ID. |
name |
String |
Name. |
properties |
Object |
Attribute information. |
publisher |
String |
Publisher. |
type |
String |
Type. |
version |
String |
Version. |
tags |
Array of strings |
Tag. |
url_relative |
String |
Extension URL. |
properties_list |
Array of objects |
Attributes of versions. |
manifest_version |
String |
Summary version. |
Status code: 400
Parameter |
Type |
Description |
---|---|---|
error_msg |
String |
Parameter description: Error message. Value range: N/A |
error_code |
String |
Parameter description: Error code. Value range: N/A |
Example Requests
GET https://{endpoint}/v2/extensions/modules?locations=devcloud.open.endpoint&project_uuid=d8a80c69b08d471d8c438bda6fc7d74e®ion_name=cn-southwest-275
Example Responses
Status code: 200
OK
{ "status" : "success", "error" : null, "result" : { "test" : { "data" : [ ], "total" : 0 } } }
Status Codes
Status Code |
Description |
---|---|
200 |
OK |
400 |
Bad request |
401 |
Unauthorized |
403 |
Forbidden |
404 |
Not Found |
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.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot