Querying DDM Engine Information (a V3 API)
Function
This V3 API is used to query information about DDM engine.
Constraints
None
URI
- URL format
GET /v3/{project_id}/engines?offset={offset}&limit={limit}
- Parameter description
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| project_id | Yes | String | Project ID of a tenant in a region. To obtain this value, see Obtaining a Project ID. |
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| offset | No | Integer | Index offset. The query starts from the next piece of data indexed by this parameter. The value is 0 by default. The value must be a non-negative number. |
| limit | No | Integer | Maximum records to be queried. Value range: 1 to 128. If the parameter value is not specified, 10 records are obtained by default. |
Request Parameters
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| X-Auth-Token | Yes | String | User token. You can obtain the token by calling the IAM API used to obtain a user token. |
Example Request
Querying DDM engine information
GET https://{endpoint}/v3/{project_id}/engines?offset=0&limit=10 Response
- Normal response
| Parameter | Type | Description |
|---|---|---|
| engine_groups | Array of EngineGroupInfo objects | Information of available engines |
| offset | Integer | Which page the server starts returning items |
| limit | Integer | Number of records displayed on each page |
| total | Integer | Number of engine versions |
| Parameter | Type | Description |
|---|---|---|
| id | String | Engine ID |
| name | String | Engine name |
| version | String | Engine version |
- Normal response example
{ "engine_groups": [ { "id": "036dc44a-b560-4316-9e7f-e25a60f2aea2", "name": "ddm", "version": "3.1.0.8" } ], "offset": 0, "limit": 1, "total": 3 }
- Abnormal response
For details, see Abnormal Request Results.
Status Code
- Normal
- Abnormal
For details, see Status Codes.
Error Codes
For details, 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