|
|
@ -354,3 +354,28 @@ paths: |
|
|
|
example: off |
|
|
|
example: off |
|
|
|
description: >- |
|
|
|
description: >- |
|
|
|
The status of the device after the change occurred. |
|
|
|
The status of the device after the change occurred. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/status/all: |
|
|
|
|
|
|
|
get: |
|
|
|
|
|
|
|
operationId: api.get_all_status_logs_for_every_device |
|
|
|
|
|
|
|
tags: |
|
|
|
|
|
|
|
- Request Device Status |
|
|
|
|
|
|
|
summary: >- |
|
|
|
|
|
|
|
Returns every logged status change of every device in the |
|
|
|
|
|
|
|
project. |
|
|
|
|
|
|
|
description: >- |
|
|
|
|
|
|
|
Use this U.R.L. to retrieve every logged status change of every |
|
|
|
|
|
|
|
device used in this project. There is no example of the data |
|
|
|
|
|
|
|
returned because I can't seem to replicate it as a YAML schema |
|
|
|
|
|
|
|
which is understood by Swagger. Because of this. the return |
|
|
|
|
|
|
|
type is registered as a free-form object. To see what the data |
|
|
|
|
|
|
|
looks like when it is returned, I recommend you use the "Try it |
|
|
|
|
|
|
|
out!" button to see a working example. |
|
|
|
|
|
|
|
responses: |
|
|
|
|
|
|
|
200: |
|
|
|
|
|
|
|
description: >- |
|
|
|
|
|
|
|
All the logged status changes of every device were |
|
|
|
|
|
|
|
successfully retrieved from the database and delivered. |
|
|
|
|
|
|
|
schema: |
|
|
|
|
|
|
|
type: object |
|
|
|
|
|
|
|
additionalProperties: True |
|
|
|