2
0

feat: site管理

This commit is contained in:
caiyuchao
2025-02-18 15:28:31 +08:00
parent 204c59c065
commit 51c48672d7
7 changed files with 168 additions and 7 deletions

View File

@@ -410,6 +410,11 @@ public interface OmadaDeviceApi {
method = RequestMethod.GET)
ResponseEntity<OperationResponseGridVoDeviceInfo> getDeviceList(@ApiParam(value = "Site ID",required=true) @PathVariable("siteId") String siteId,@NotNull @ApiParam(value = "Start page number. Start from 1.", required = true) @Valid @RequestParam(value = "page", required = true) Integer page,@NotNull @ApiParam(value = "Number of entries per page. It should be within the range of 11000.", required = true) @Valid @RequestParam(value = "pageSize", required = true) Integer pageSize);
@RequestMapping(value = "/openapi/v1/${omada.omadac-id}/sites/{siteId}/devices",
produces = "*/*",
method = RequestMethod.GET)
ResponseEntity<OperationResponseGridVoDeviceInfo> getDeviceList(@ApiParam(value = "Site ID",required=true) @PathVariable("siteId") String siteId,@NotNull @ApiParam(value = "Start page number. Start from 1.", required = true) @Valid @RequestParam(value = "page", required = true) Integer page,@NotNull @ApiParam(value = "Number of entries per page. It should be within the range of 11000.", required = true) @Valid @RequestParam(value = "pageSize", required = true) Integer pageSize, @ApiParam(value = "Fuzzy query parameters, support field name,mac,ip") @Valid @RequestParam(value = "searchKey", required = false) String searchKey);
/**
* GET /openapi/v1/{omadacId}/sites/{siteId}/devices/{deviceMac}/latest-firmware-info : Get the latest firmware info of the device