Skip to content

Commit

Permalink
add details to fileinfo
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcos20 committed Dec 3, 2021
1 parent 4cb2d01 commit 0bfb12c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion content/concepts/did-ddo.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down

0 comments on commit 0bfb12c

Please sign in to comment.