parent
e2ab3e19e6
commit
0faf6d85c0
14
swagger.yaml
14
swagger.yaml
|
@ -25,7 +25,9 @@ paths:
|
||||||
/status:
|
/status:
|
||||||
get:
|
get:
|
||||||
description: |
|
description: |
|
||||||
Gets Mainflux server status
|
Gets Mainflux server status.
|
||||||
|
tags:
|
||||||
|
- status
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
description: Server is running
|
description: Server is running
|
||||||
|
@ -36,6 +38,8 @@ paths:
|
||||||
get:
|
get:
|
||||||
description: |
|
description: |
|
||||||
Gets all of the existing `Device` objects.
|
Gets all of the existing `Device` objects.
|
||||||
|
tags:
|
||||||
|
- devices
|
||||||
parameters:
|
parameters:
|
||||||
- name: X-Auth-Token
|
- name: X-Auth-Token
|
||||||
in: header
|
in: header
|
||||||
|
@ -59,6 +63,8 @@ paths:
|
||||||
description: |
|
description: |
|
||||||
Creates `Device` object.
|
Creates `Device` object.
|
||||||
Returns newly created Device object.
|
Returns newly created Device object.
|
||||||
|
tags:
|
||||||
|
- devices
|
||||||
parameters:
|
parameters:
|
||||||
- name: X-Auth-Token
|
- name: X-Auth-Token
|
||||||
in: header
|
in: header
|
||||||
|
@ -79,6 +85,8 @@ paths:
|
||||||
get:
|
get:
|
||||||
description: |
|
description: |
|
||||||
Gets `Device` object from the database by `deviceUuid`.
|
Gets `Device` object from the database by `deviceUuid`.
|
||||||
|
tags:
|
||||||
|
- devices
|
||||||
parameters:
|
parameters:
|
||||||
- name: X-Auth-Token
|
- name: X-Auth-Token
|
||||||
in: header
|
in: header
|
||||||
|
@ -103,6 +111,8 @@ paths:
|
||||||
put:
|
put:
|
||||||
description: |
|
description: |
|
||||||
Updates Thing object from the database.
|
Updates Thing object from the database.
|
||||||
|
tags:
|
||||||
|
- devices
|
||||||
parameters:
|
parameters:
|
||||||
- name: X-Auth-Token
|
- name: X-Auth-Token
|
||||||
in: header
|
in: header
|
||||||
|
@ -132,6 +142,8 @@ paths:
|
||||||
delete:
|
delete:
|
||||||
description: |
|
description: |
|
||||||
Deletes Thing object from the database.
|
Deletes Thing object from the database.
|
||||||
|
tags:
|
||||||
|
- devices
|
||||||
parameters:
|
parameters:
|
||||||
- name: X-Auth-Token
|
- name: X-Auth-Token
|
||||||
in: header
|
in: header
|
||||||
|
|
Loading…
Reference in New Issue