This use case queries loaded peer Files. In contrast, the Query metadata of own Files use case can be executed to query uploaded own Files. To avoid limiting the output quantity in advance, the Query metadata of Files use case can be applied.

Parameters

All parameters are optional. If no parameter is used, all peer Files are returned.

  • query allows to specify the conditions for the returned peer Files. In detail, the following keys may be used:
    • createdAt is the ISODateTime the File was created at.
    • createdBy is the enmeshed address of the Identity 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.

On Success

  • Returns all peer Files that match the query.

On Failure

  • The parameters are malformed.

How to execute this use case with the Connector?

The Connector is our first-class citizen, thus we provide you with a detailed API description for every use case. This use case can be executed with the REST API of the Connector which you can Access the Connector.
Corresponding interactive API docs excerpt: