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

32 lines
556 B
YAML
Raw Normal View History

2018-08-24 12:32:31 +00:00
Gets all associated devices
---
tags:
- Device
2018-09-19 21:04:49 +00:00
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
2018-08-24 12:32:31 +00:00
responses:
200:
description: Success
schema:
type: object
required:
- content
2018-08-24 12:32:31 +00:00
properties:
content:
2018-08-24 12:32:31 +00:00
type: array
items:
$ref: '#/definitions/Device'