mirror of
https://github.com/oceanprotocol/docs.git
synced 2024-11-26 19:49:26 +01:00
add multi type example
This commit is contained in:
parent
e0111575df
commit
523a2875dd
@ -257,6 +257,22 @@ First class integrations supported in the future :
|
|||||||
|
|
||||||
A service can contain multiple files, using multiple storage types.
|
A service can contain multiple files, using multiple storage types.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
```json
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"url":{
|
||||||
|
"url":"https://url.com/file1.csv",
|
||||||
|
"method":"GET"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ipfs":{
|
||||||
|
"hash":"XXXX"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
```
|
||||||
|
|
||||||
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:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user