Skip to main content

io.edgehog.devicemanager.fileTransfer.Capabilities v0.1

File transfer capabilities the Device supports

Features and capabilities the Device implementation or plafrom supports and is able to receive from Astarte.

About​

This interface is of type properties and is owned by the device, meaning that it is the device which initiates the data flow. Thanks to this type of interface, the device can set a persistent, stateful, synchronized state with no concept of history or timestamping.

Mappings​

The interface has the following mappings:

  • /encodings with stringarray type. Supported compressions and archive algorithms.
  • /unixPermissions with boolean type. Support unix file mode, user id and group id.
  • /targets with stringarray type. Supported destination and sources for the transfers.

/encodings​

Supported compressions and archive algorithms.

List of encoding formats supported by the device, possible values are: [gz, lz4, tar, tar.gz, tar.lz4].

This endpoint accepts values of type stringarray: a list of values, represented as a JSON Array. Arrays can have up to 1024 items and each item must respect the limits of its scalar type.

The value of the property cannot be unset.

/unixPermissions​

Support unix file mode, user id and group id.

Flag to support setting the file mode, user and group ownership of a transferred file in a unix system.

This endpoint accepts values of type boolean: either true or false, adhering to JSON boolean type.

The value of the property cannot be unset.

/targets​

Supported destination and sources for the transfers.

List of sources and destinations that the device can handle, possible values are: [storage, streaming, filesystem]

This endpoint accepts values of type stringarray: a list of values, represented as a JSON Array. Arrays can have up to 1024 items and each item must respect the limits of its scalar type.

The value of the property cannot be unset.