Skip to content
Permalink
Browse files

Add ES mapping to docs

  • Loading branch information
Joep Meindertsma
Joep Meindertsma committed Dec 11, 2019
1 parent b2c31d8 commit 4b606a37eb35d5bdfa49f2adc1a8550c3ff709a2
Showing with 2 additions and 0 deletions.
  1. +2 −0 docs.md
@@ -37,6 +37,8 @@ Read the [Elastic v7.0](https://www.elastic.co/guide/en/elasticsearch/reference/
Only [specific Elastic endpoints](https://github.com/openstate/open-raadsinformatie/blob/master/deployment/endpoints/production.yaml) are publicly available.
This is to prevent (malicious or accidental) write / remove commands.

If you want to know the mapping for Elastic, visit `https://api.openraadsinformatie.nl/v1/elastic/ori_amers*/_mapping`. Replace `ori_amsers` with the index that you're interested in.

If you want to see some examples of how to query this endpoint, check out [`example_requests.http`](/example_requests.http).

## Changes from V0

0 comments on commit 4b606a3

Please sign in to comment.
You can’t perform that action at this time.