You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 27, 2023. It is now read-only.
curl http://localhost:3000/db/docstore/query -X GET -H "Content-Type: application/json" --data '{"values":[]}'
276
+
curl https://localhost:3000/db/docstore/query -X GET -H "Content-Type: application/json" --data '{"values":[]}'
277
277
```
278
278
279
279
```json
@@ -284,7 +284,7 @@ To query a subset of data, a condition can be specified. For example, to
284
284
retrieve only those entries which have a total number of likes above 300:
285
285
286
286
```shell
287
-
curl http://localhost:3000/db/docstore/query -X GET -H "Content-Type: application/json" --data '{"propname":"likes","comp":">","values":[300]}'
287
+
curl https://localhost:3000/db/docstore/query -X GET -H "Content-Type: application/json" --data '{"propname":"likes","comp":">","values":[300]}'
288
288
```
289
289
290
290
```json
@@ -316,7 +316,7 @@ Available operator short-codes are:
316
316
When using a modulus query, you must supply the divisor and the remainder. For example, to obtain all likes which are multiples of 100, you would specify a divisor 100 and a remainder 0:
317
317
318
318
```shell
319
-
curl -X POST http://localhost:3000/db/docstore/query -H "Content-Type:application/json" --data '{"propname":"likes", "comp":"mod", "values":[100,0]}'
319
+
curl -X POST https://localhost:3000/db/docstore/query -H "Content-Type:application/json" --data '{"propname":"likes", "comp":"mod", "values":[100,0]}'
320
320
```
321
321
322
322
```json
@@ -329,7 +329,7 @@ When specifying a range query, you must supply the min and max
329
329
values. For example, to obtain all likes greater than 250 but less than 1000 the min and max must be supplied:
330
330
331
331
```shell
332
-
curl -X GET http://localhost:3000/db/docstore/query -H "Content-Type:application/json" --data '{"propname":"likes", "comp":"range", "values":[250,1000]}'
332
+
curl -X GET https://localhost:3000/db/docstore/query -H "Content-Type:application/json" --data '{"propname":"likes", "comp":"range", "values":[250,1000]}'
333
333
```
334
334
335
335
```json
@@ -345,7 +345,7 @@ Returns the multihash of the new record entry.
345
345
Can only be used on eventlog|feed
346
346
347
347
```shell
348
-
curl -X POST http://localhost:3000/db/feed/add -d 'feed-item-1'
348
+
curl -X POST https://localhost:3000/db/feed/add -d 'feed-item-1'
349
349
```
350
350
351
351
```json
@@ -359,7 +359,7 @@ Puts a record to the database :dbname.
0 commit comments