nox icon indicating copy to clipboard operation
nox copied to clipboard

[Feature] Add mappings endpoint

Open cgetzen opened this issue 6 years ago • 0 comments

curl approach to see the fields:

curl localhost:9200/_mappings | jq '.drawing_revisions_1_2_1.mappings.drawing_revisions.properties | keys'

Input: name of index Output: names of attributes

  • Is displaying the "type" of the attribute important?
  • Should the command return all fields of all indices, or a single index? (how close do we want to match the API)

cgetzen avatar Aug 01 '19 16:08 cgetzen