12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- #
- # Copyright 2016-present the original author or authors.
- #
- # Licensed under the Apache License, Version 2.0 (the "License");
- # you may not use this file except in compliance with the License.
- # You may obtain a copy of the License at
- #
- # https://www.apache.org/licenses/LICENSE-2.0
- #
- # Unless required by applicable law or agreed to in writing, software
- # distributed under the License is distributed on an "AS IS" BASIS,
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- # See the License for the specific language governing permissions and
- # limitations under the License.
- #
- ### --------------------- Driver Attribute Config ---------------------
- ### 新增 DriverInfo
- POST http://{{dc3-manager}}/manager/driver_attribute_config/add
- Accept: */*
- Content-Type: application/json
- Cache-Control: no-cache
- {
- "driverAttributeId": 1,
- "value": "localhost",
- "profileId": -1,
- "description": "测试驱动配置"
- }
- ### 修改 DriverInfo
- #/manager/driver_attribute_config/update
- POST http://{{dc3-manager}}/manager/driver_attribute_config/update
- Accept: */*
- Content-Type: application/json
- Cache-Control: no-cache
- {
- "id": 1,
- "driverAttributeId": 1,
- "value": "localhost",
- "profileId": -1,
- "description": "测试驱动配置"
- }
- ### 根据 ID 查询 DriverInfo
- GET http://{{dc3-manager}}/manager/driver_attribute_config/id/1
- Accept: */*
- Cache-Control: no-cache
- ### 分页查询 DriverInfo
- #/manager/driver_attribute_config/list,支持driverAttributeId\profileId精准查询
- POST http://{{dc3-manager}}/manager/driver_attribute_config/list
- Accept: */*
- Content-Type: application/json
- Cache-Control: no-cache
- {
- "page": {
- "current": 1,
- "orders": [
- {
- "column": "id",
- "asc": false
- }
- ]
- }
- }
- ### 根据 ID 删除 DriverInfo
- #/manager/driver_attribute_config/delete/:id
- POST http://{{dc3-manager}}/manager/driver_attribute_config/delete/1
- Accept: */*
- Content-Type: application/json
- Cache-Control: no-cache
- ###
|