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

32 lines
558 B
YAML
Raw Permalink 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:
2018-10-15 17:51:51 +00:00
- in: query
2018-09-19 21:04:49 +00:00
name: page
required: false
schema:
type: integer
minimum: 1
description: requested page
2018-10-15 17:51:51 +00:00
- in: query
2018-09-19 21:04:49 +00:00
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'