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

32 lines
556 B
YAML

Gets all associated devices
---
tags:
- Device
parameters:
- in: path
name: page
required: false
schema:
type: integer
minimum: 1
description: requested page
- in: path
name: per_page
required: false
schema:
type: integer
minimum: 1
description: requested items per page
responses:
200:
description: Success
schema:
type: object
required:
- devices
properties:
devices:
type: array
items:
$ref: '#/definitions/Device'