检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
GET, POST, PUT, DELETE, HEAD, OPTIONS, PATCH, and ANY are supported. path Yes String Backend request path, which can contain variables. timeout No Number Backend request timeout in milliseconds.
In this status, the backend API request path cannot be modified. method Yes String Backend API request method: GET, PUT, POST, and DELETE When updating a backend API, status=4 indicates that the backend API has been deployed.
In this status, the backend API request path cannot be modified. method Yes String Backend API request method: GET, PUT, POST, and DELETE When updating a backend API, status=4 indicates that the backend API has been deployed.
In this status, the backend API request path cannot be modified. method Yes String Backend API request method: GET, PUT, POST, and DELETE When updating a backend API, status=4 indicates that the backend API has been deployed.
In this status, the backend API request path cannot be modified. method Yes String Backend API request method: GET, PUT, POST, and DELETE When updating a backend API, status=4 indicates that the backend API has been deployed.
Example Requests GET /{project_id}/link/instances/{instance_id}/rules/{rule_id} Example Responses Status code: 200 OK { "permissions" : [ "read", "access", "delete", "modify" ], "rule_id" : 702244, "name" : "rule", "app_id" : "a1503e51-46f7-4d23-8617-7cb2d28dde98", "app_name
with rule status and data parsing status as enabled. { "name" : "rule", "app_id" : "ef3845be-091a-4ab5-869a-9de0025e2165", "description" : "rule", "status" : 0, "data_parsing_status" : 0 } Example Responses Status code: 200 Created { "permissions" : [ "read", "access", "delete
and changing the query field and condition. { "name" : "rule", "description" : "rule", "status" : 0, "data_parsing_status" : 0, "sql_field" : "field1", "sql_where" : "field2 like '%HAHA%'" } Example Responses Status code: 200 OK { "permissions" : [ "read", "access", "delete
Example Requests GET /{project_id}/link/instances/{instance_id}/products/{product_id} Example Responses Status code: 200 OK { "permissions" : [ "read", "access", "delete", "modify" ], "id" : 120671, "product_serial" : "Dd1bRt122894", "app_id" : "a1503e51-46f7-4d23-8617-7cb2d28dde98
Example Requests GET /{project_id}/link/instances/{instance_id}/rules Example Responses Status code: 200 OK { "total" : 1, "size" : 1, "items" : [ { "permissions" : [ "read", "access", "delete", "modify" ], "rule_id" : 702244, "name" : "rule", "app_id" : "a1503e51
manufacturer ID, manufacturer name, and product model of a specified product. { "name" : "product", "manufacturer_id" : "p3", "manufacturer_name" : "p3", "model" : "p3", "device_type" : "Default" } Example Responses Status code: 200 OK { "permissions" : [ "read", "access", "delete
Some HTTP clients automatically ignore the body of requests that use the GET or DELETE method. Some earlier version SDKs do not allow special characters in URLs. Some earlier version SDKs do not support query strings that contain a key with multiple values, for example, ?
and uses the GET, POST, PUT, or DELETE method and the requires_apigateway_signature wrapper. app = Flask(__name__) @app.route("/<id>", methods=['GET', 'POST', 'PUT', 'DELETE']) @requires_apigateway_signature() def hello(id): return "Hello World!"
Some HTTP clients automatically ignore the body of requests that use the GET or DELETE method. Some earlier version SDKs do not allow special characters in URLs. Some earlier version SDKs do not support query strings that contain a key with multiple values, for example, ?
Backend Request Method Options: GET, POST, PUT, DELETE Backend Request Path The path is case sensitive. Example: /getUserInfo/userId Backend Security Authentication Select the security authentication mode of the backend.
In this status, the backend API request path cannot be modified. method String Backend API request method: GET, PUT, POST, and DELETE When updating a backend API, status=4 indicates that the backend API has been deployed.
In this status, the backend API request path cannot be modified. method String Backend API request method: GET, PUT, POST, and DELETE When updating a backend API, status=4 indicates that the backend API has been deployed.
In this status, the backend API request path cannot be modified. method String Backend API request method: GET, PUT, POST, and DELETE When updating a backend API, status=4 indicates that the backend API has been deployed.
Example Requests GET /{project_id}/link/instances/{instance_id}/products Example Responses Status code: 200 OK { "total" : 1, "size" : 1, "items" : [ { "permissions" : [ "read", "access", "delete", "modify" ], "id" : 120671, "product_serial" : "Dd1bRt122894",
"name" : "device", "manufacturer_id" : 10001, "manufacturer_name" : "test", "model" : "model1", "product_type" : 0, "protocol_type" : 0, "status" : 0, "device_type" : "Default" } Example Responses Status code: 201 Created { "permissions" : [ "read", "access", "delete