cURL
curl --request POST \ --url http://localhost/api/search/ \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "ledgers": [ "quickstart" ], "after": [ "users:002" ], "pageSize": 1, "terms": [ "destination=central_bank1" ], "sort": "id:asc", "policy": "OR", "target": "<string>", "cursor": "YXVsdCBhbmQgYSBtYXhpbXVtIG1heF9yZXN1bHRzLol=", "raw": { "query": { "match_all": {} } } }'
{ "data": {}, "cursor": { "pageSize": 1, "hasMore": true, "total": { "value": 1, "relation": "eq" }, "next": "YXVsdCBhbmQgYSBtYXhpbXVtIG1heF9yZXN1bHRzLol=", "previous": "YXVsdCBhbmQgYSBtYXhpbXVtIG1heF9yZXN1bHRzLol=", "data": [ {} ] } }
Elasticsearch.v1 query engine
The access token received from the authorization server in the OAuth 2.0 flow.
x >= 0
"id:asc"
"OR"
"YXVsdCBhbmQgYSBtYXhpbXVtIG1heF9yZXN1bHRzLol="
{ "query": { "match_all": {} } }
Success
The payload
Show child attributes