1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-16 00:00:02 +01:00
VILLASnode/doc/openapi/paths/node/node@{uuid-or-name}@file@seek.yaml

28 lines
719 B
YAML
Raw Normal View History

2021-11-18 12:10:36 +01:00
post:
operationId: seek-file-node
summary: Rewind the playback file to the beginning.
tags:
- nodes
parameters:
- $ref: ../../components/parameters/node-uuid-name.yaml
requestBody:
description: Sample position in file
required: true
content:
application/json:
schema:
type: object
required:
- position
properties:
position:
type: integer
example: 123
description: Skip the first nth samples in the file.
responses:
'200':
description: Success. The read-pointer of the file has been changed.
'404':
description: Error. There is no node with the given UUID.