devices: get: tags: - Devices summary: Returns list of devices. description: Returns list of all devices. producers: - application/json parameters: - $ref: '../common/parameters.yaml#/query/limit' - $ref: '../common/parameters.yaml#/query/offset' - $ref: '../common/parameters.yaml#/query/fields' - $ref: '../common/parameters.yaml#/query/network' - $ref: '../common/parameters.yaml#/query/status' - $ref: '../common/parameters.yaml#/query/sortDevices' - $ref: '../common/parameters.yaml#/query/tower' - $ref: '../common/parameters.yaml#/query/site' - $ref: '../common/parameters.yaml#/query/deviceType' - $ref: '../common/parameters.yaml#/query/msp' responses: '200': description: OK '400': description: Bad Request '404': description: Not Found '422': description: Request params are malformed '5XX': description: Unexpected error post: tags: - Devices summary: Onboard device description: Onboard device requestBody: required: true content: application/json: schema: oneOf: - $ref: '../../../build/v2/device/configuration/config.yaml#/Api.V2.POST.Device.cnmatrix/body' - $ref: '../../../build/v2/device/configuration/config.yaml#/Api.V2.POST.Device.cnreach/body' - $ref: '../../../build/v2/device/configuration/config.yaml#/Api.V2.POST.Device.ePMP/body' - $ref: '../../../build/v2/device/configuration/config.yaml#/Api.V2.POST.Device.PMP/body' - $ref: '../../../build/v2/device/configuration/config.yaml#/Api.V2.POST.Device.PTP/body' - $ref: '../../../build/v2/device/configuration/config.yaml#/Api.V2.POST.Device.wifi-enterprise/body' - $ref: '../../../build/v2/device/configuration/config.yaml#/Api.V2.POST.Device.wifi-home/body' - $ref: '../../../build/v2/device/configuration/config.yaml#/Api.V2.POST.Device.wifi-xirrus/body' - $ref: '../../../build/v2/device/configuration/config.yaml#/Api.V2.POST.Device.cnVision/body' example: mac: 11:22:33:44:55:66 name: Test type: wifi-enterprise approved: true responses: '200': description: OK '400': description: Bad Request '404': description: Not Found '422': description: Request params are malformed '5XX': description: Unexpected error devices.mac: get: tags: - Devices summary: Returns a device information. description: Returns a device information with MAC filter. producers: - application/json parameters: - $ref: '../common/parameters.yaml#/query/fields' - $ref: '../common/parameters.yaml#/query/network' - $ref: '../common/parameters.yaml#/query/status' - $ref: '../common/parameters.yaml#/query/tower_or_site' - $ref: '../common/parameters.yaml#/query/deviceType' - $ref: '../common/parameters.yaml#/query/msp' - $ref: '../common/parameters.yaml#/path/mac' responses: '200': description: OK '400': description: Bad Request '404': description: Not Found '422': description: Request params are malformed '5XX': description: Unexpected error put: tags: - Devices summary: Update device description: Update device parameters: - name: mac in: path required: true description: Device MAC schema: type: string minLength: 17 maxLength: 17 allowReserved: true requestBody: required: true content: application/json: schema: oneOf: - $ref: '../../../build/v2/device/configuration/config.yaml#/Api.V2.PUT.Device.cnmatrix/body' - $ref: '../../../build/v2/device/configuration/config.yaml#/Api.V2.PUT.Device.cnreach/body' - $ref: '../../../build/v2/device/configuration/config.yaml#/Api.V2.PUT.Device.ePMP/body' - $ref: '../../../build/v2/device/configuration/config.yaml#/Api.V2.PUT.Device.PMP/body' - $ref: '../../../build/v2/device/configuration/config.yaml#/Api.V2.PUT.Device.PTP/body' - $ref: '../../../build/v2/device/configuration/config.yaml#/Api.V2.PUT.Device.wifi-enterprise/body' - $ref: '../../../build/v2/device/configuration/config.yaml#/Api.V2.PUT.Device.wifi-home/body' - $ref: '../../../build/v2/device/configuration/config.yaml#/Api.V2.PUT.Device.wifi-xirrus/body' - $ref: '../../../build/v2/device/configuration/config.yaml#/Api.V2.PUT.Device.cnVision/body' example: name: Test approved: true responses: '200': description: OK '400': description: Bad Request '404': description: Not Found '422': description: Request params are malformed '5XX': description: Unexpected error delete: tags: - Devices summary: Delete device description: Delete device parameters: - $ref: '../common/parameters.yaml#/path/mac' responses: '200': description: OK '400': description: Bad Request '404': description: Not Found '422': description: Request params are malformed '5XX': description: Unexpected error