Commit 2dbad5fb authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Minor changes to utility http script.

parent 844ecdd2
......@@ -44,15 +44,22 @@ content-type: application/json
}
###
GET http://localhost:8000/nomad/api/admin/repair_uploads HTTP/1.1
###
GET http://localhost:8001/nomad/rawapi/raw/WUTlEULVrv6jEgFvSaOX1j0pF7on/examples_vasp/xml/Si.xml HTTP/1.1
Accept: application/json
###
curl -u other@gmail.com:nomad http://enc-staging-nomad.esc.rzg.mpg.de//nomad/api/uploads/CecjIXB1QeqJYzlim_qG8w HTTP/1.1
GET http://localhost:19200/fairdi_nomad_migration/_search HTTP/1.1
content-type: application/json
curl -u other@gmail.com:nomad http://enc-staging-nomad.esc.rzg.mpg.de//nomad/api/archive/0iyFlPv0JgHNXs1mZTzewly0tjzD/o6zkQdoHs1Cyy61Z-TmBo7PKmA0n HTTP/1.1
{
# "query": {
# "term": {
# "calc_hash": "FuBNAsvdEooB_dKcM-dLAEnpaTEX"
# }
# },
"aggs": {
"hash": {
"terms": {
"field": "calc_hash",
"size": 10000,
"show_term_doc_count_error": true
}
}
}
}
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment