File tree Expand file tree Collapse file tree 2 files changed +16
-5
lines changed
Expand file tree Collapse file tree 2 files changed +16
-5
lines changed Original file line number Diff line number Diff line change 5555 post :
5656 operationId : UploadDeviceLogs
5757 summary : Upload new device logs as json
58- description : Uploads a new device logs json to the user's account. The `Digest` header must represent the MD5 hash of the json data content .
58+ description : Uploads new device logs to the user's account. The `Digest` header must represent the MD5 hash of the data.
5959 parameters :
6060 - $ref : ./common/parameters/digestmd5.v1.yaml
6161 - $ref : ./blob/parameters/logs-start-at.v1.yaml
@@ -66,9 +66,10 @@ paths:
6666 content :
6767 application/json :
6868 schema :
69- type : array
70- items :
71- $ref : ./blob/models/device-log-content.v1.yaml
69+ $ref : ./blob/models/device-log-content-list.v1.yaml
70+ text/plain :
71+ schema :
72+ $ref : ./blob/models/device-log-content-plain.v1.yaml
7273 responses :
7374 ' 201 ' :
7475 $ref : ' #/components/responses/DeviceLogsMetadata'
@@ -310,8 +311,11 @@ components:
310311 application/json :
311312 schema :
312313 $ref : ./blob/models/device-log-content-list.v1.yaml
314+ text/plain :
315+ schema :
316+ $ref : ./blob/models/device-log-content-plain.v1.yaml
313317 DeviceLogsMetadata :
314- description : Device logs metadata
318+ description : Device logs metadata. This is information about the log data, but is not the actual log data.
315319 content :
316320 application/json :
317321 schema :
Original file line number Diff line number Diff line change 1+ title : Unstructured device log content
2+ description : >-
3+ Device log entry.
4+ type : string
5+ example : >-
6+ Any kind of arbritrary log data sent by a device. Establishing
7+ connection... Connection established. Sending logs...
You can’t perform that action at this time.
0 commit comments