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

32 lines
558 B
YAML

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