add details to fileinfo

This commit is contained in:
alexcos20 2021-12-03 00:39:46 -08:00
parent 4cb2d017d3
commit 0bfb12c403
1 changed files with 3 additions and 1 deletions

View File

@ -278,15 +278,17 @@ Example:
]
```
To get information about the files after encryption, the `/fileinfo` endpoint of _Provider_ returns based on a passed DID an array of file metadata:
To get information about the files after encryption, the `/fileinfo` endpoint of _Provider_ returns based on a passed DID an array of file metadata (based on the file type):
```json
[
{
"type":"url",
"contentLength": 100,
"contentType": "application/json"
},
{
"type":"url",
"contentLength": 130,
"contentType": "application/text"
}