ListApiDefinitions
Retrieves the open metadata of a product.
Try it now
Test
RAM authorization
Request syntax
GET /api/definitions HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| product |
string |
Yes |
The product code.
|
Ecs |
| apiVersion |
string |
Yes |
The API version. |
2014-05-26 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The open metadata information. |
{ "apis": { "AcceptInquiredSystemEvent": { "title": "Accept and authorize system event operations", "summary": "Calls the AcceptInquiredSystemEvent operation to accept and authorize system event operations.", "methods": ["post", "get"], "schemes": ["http", "https"], "security": [{"AK": []}], "operationType": "readAndWrite", "parameters": [ { "in": "query", "name": "RegionId", "schema": { "description": "The region ID of the system event.", "example": "cn-hangzhou", "required": true, "type": "string" } }, { "in": "query", "name": "EventId", "schema": { "description": "The system event ID.", "example": "e-2zeielxl1qzq8slb****", "required": true, "type": "string" } } ], "responses": { "200": { "schema": { "description": "", "properties": { "RequestId": { "description": "The request ID.", "example": "4DD56CA6-6D75-4D33-BE34-E4A44EBE1C3D", "type": "string" } }, "type": "object" } } }, "systemTags": { "abilityTreeCode": "29240", "abilityTreeNodes": ["FEATUREecsBUZW7T"], "chargeType": "free", "operationType": "update", "riskType": "none" }, "staticInfo": {"returnType": "synchronous"} } } } |
Examples
Success response
JSON format
{
"apis": {
"AcceptInquiredSystemEvent": {
"title": "接受并授权执行系统事件操作",
"summary": "调用AcceptInquiredSystemEvent接受并授权执行系统事件操作。",
"methods": [
"post",
"get"
],
"schemes": [
"http",
"https"
],
"security": [
{
"AK": []
}
],
"operationType": "readAndWrite",
"parameters": [
{
"in": "query",
"name": "RegionId",
"schema": {
"description": "系统事件所在的地域ID。",
"example": "cn-hangzhou",
"required": true,
"type": "string"
}
},
{
"in": "query",
"name": "EventId",
"schema": {
"description": "系统事件ID。",
"example": "e-2zeielxl1qzq8slb****",
"required": true,
"type": "string"
}
}
],
"responses": {
"200": {
"schema": {
"description": "",
"properties": {
"RequestId": {
"description": "请求ID。",
"example": "4DD56CA6-6D75-4D33-BE34-E4A44EBE1C3D",
"type": "string"
}
},
"type": "object"
}
}
},
"systemTags": {
"abilityTreeCode": "29240",
"abilityTreeNodes": [
"FEATUREecsBUZW7T"
],
"chargeType": "free",
"operationType": "update",
"riskType": "none"
},
"staticInfo": {
"returnType": "synchronous"
}
}
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.