Query metadata of Files
This use case queries Files of the Identity regardless of whether it is an uploaded own File or a loaded peer File. To limit the output quantity accordingly in advance, the Query metadata of own Files use case or Query metadata of peer Files use case can be applied instead.
Parameters
All parameters are optional. If no parameter is used, all Files are returned.
query
allows to specify the conditions for the returned Files. In detail, the following keys may be used:createdAt
is the ISODateTime the File was created at.createdBy
is the enmeshedaddress
of the Identity that created the File.createdByDevice
is theid
of the Device that created the File.description
of the File.expiresAt
is the ISODateTime the File expires.filename
is the name of the actual file from the operating system.
filesize
is the size of the respective file in bytes.mimetype
of the respective file.title
of the File.isOwn
indicates if the File is owned by you.
On Success
- Returns all Files that match the
query
.
On Failure
- The parameters are malformed.