1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-11-26 19:49:26 +01:00

add details to fileinfo

This commit is contained in:
alexcos20 2021-12-03 00:39:46 -08:00
parent 4cb2d017d3
commit 0bfb12c403

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"
}