university-final-iot-backend/app/api/resources/swagger/update_device_secret_spec.yaml

27 lines
495 B
YAML
Raw Normal View History

2018-11-03 17:10:46 +00:00
Updates device secret info (algorithm)
---
tags:
- Device
parameters:
- in: path
name: device_id
required: true
type: integer
description: Id of the device
- in: body
name: body
required: true
schema:
type: object
$ref: '#/definitions/DeviceSecretInfo'
responses:
200:
description: Success
schema:
type: object
required:
- content
properties:
content:
$ref: '#/definitions/DeviceSecretInfo'