1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-11-26 19:49:26 +01:00
This commit is contained in:
alexcos20 2021-12-07 02:06:32 -08:00
parent 93abc7db1a
commit 0160fddb49

View File

@ -203,7 +203,7 @@ Type of objects supported :
<table> <table>
<tr> <tr>
<th>Key</th> <th>Type</th>
<th>Description</th> <th>Description</th>
<th>Example</th> <th>Example</th>
</tr> </tr>
@ -214,16 +214,9 @@ Type of objects supported :
```json ```json
[ [
{ {
"url": { "type": "url",
"url": "https://url.com/file1.csv", "url": "https://url.com/file1.csv",
"method": "GET" "method": "GET"
}
},
{
"url": {
"url": "https://url.com/file2.csv",
"method": "POST"
}
} }
] ]
``` ```
@ -235,7 +228,7 @@ First class integrations supported in the future :
<table> <table>
<tr> <tr>
<th>Key</th> <th>Type</th>
<th>Description</th> <th>Description</th>
<th>Example</th> <th>Example</th>
</tr> </tr>
@ -245,7 +238,10 @@ First class integrations supported in the future :
```json ```json
[ [
{ "ipfs": { "hash": "XXX"}} {
"type":"ipfs",
"hash": "XXX"
}
] ]
``` ```
@ -265,15 +261,14 @@ Example:
```json ```json
[ [
{ {
"url":{ "type": "url",
"url": "https://url.com/file1.csv", "url": "https://url.com/file1.csv",
"method": "GET" "method": "GET"
}
}, },
{ {
"ipfs": { "type": "ipfs",
"hash": "XXXX" "hash": "XXXX"
}
} }
] ]
``` ```
@ -288,7 +283,7 @@ To get information about the files after encryption, the `/fileinfo` endpoint of
"contentType": "application/json" "contentType": "application/json"
}, },
{ {
"type": "url", "type": "ipfs",
"contentLength": 130, "contentLength": 130,
"contentType": "application/text" "contentType": "application/text"
} }