mirror of
https://github.com/oceanprotocol/docs.git
synced 2024-11-26 19:49:26 +01:00
update
This commit is contained in:
parent
93abc7db1a
commit
0160fddb49
@ -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"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user