...
Code Block |
---|
curl --location --request POST 'https://staging.ntp.net.in/api/certreg/v1/certs/search' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiIyZThlNmU5MjA4YjI0MjJmOWFlM2EzNjdiODVmNWQzNiJ9.gvpNN7zEl28ZVaxXWgFmCL6n65UJfXZikUWOKSE8vJ8{{api-key}}' \ --data-raw '{ "request": { "_source": [ "identifier" ], "query": { "bool": { "must": [ { "bool": { "must_not": { "exists": { "field": "data" } } } }, { "bool": { "must_not": { "exists": { "field": "jsonUrl" } } } }, { "range": { "createdAt": { "gte": "2020-08-01", "lte": "2020-10-01" } } } ] } } } }' |
...