{"info":{"_postman_id":"e1261b13-e453-248b-e5e7-e289dcfad8fd","name":"Appbase.io REST API","description":"<html><head></head><body><p>Welcome to the appbase.io REST API Reference! appbase.io is a search service built on top of Elasticsearch, an Apache 2.0 licensed search engine. You can use it to build reactive apps, realtime maps, blazing fast search and recommendations, chats, feeds, IoT apps.</p>\n<p><img src=\"https://i.imgur.com/aaxqnN2.png\" alt=\"appbase.io in one image\"></p>\n<p>You can read the intro guide to learn more about appbase.io over <a href=\"https://docs.appbase.io/docs/gettingstarted/QuickStart/\">here</a>.</p>\n<p>The below API is meant for the <a href=\"https://appbase.io/apps\">apps product</a> as it is a subset of the ElasticSearch API - specifically, the cluster management endpoints are inaccessible here. If you are using clusters, you can directly refer to the REST API for your ElasticSearch version <a href=\"https://www.elastic.co/guide/en/elasticsearch/reference/current/rest-apis.html\">over here</a>.</p>\n<h1 id=\"authentication\">Authentication</h1>\n<p>To authorize, use the <code>-u</code> flag with each request.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-bash\">curl \"api_endpoint_here\" -u $credentials\n</code></pre>\n<p>Alternatively, you can set the <code>Authorization</code> header flag directly with \"Basic + base_64($credentials)\".</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-bash\">curl \"api_endpoint_here\" -h \"Authorization: Basic YjdqV2hVSjhYOjcyYmI2ZmMxLWRkZjItNDU5Zi1iNGM3LWU2NzgwNjQyM2MyZA==\"\n</code></pre>\n<p>All appbase.io endpoints require <code>$credentials</code>. appbase.io service offers two primary types of credentials:  </p>\n<ol>\n<li>Read Only: These are good for apps that are published on the web where the credentials are visible, </li>\n<li>Read and Write: These are good for secure environments, servers and API users.</li>\n</ol>\n<p><a href=\"https://dashboard.appbase.io\">Get your own credentials from your appbase.io dashboard.</a></p>\n<h1 id=\"metadata\">Metadata</h1>\n<p>Often times, there is a use for attaching a metadata with a request. appbase.io service supports adding metadata via the <code>X-Opaque-Id</code> header. This header when present in a request is spit back in the ElasticSearch response.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-bash\">curl \"api_endpoint_here\" -H X-Opaque-Id:abracadabra\n</code></pre>\n<p>will return <code>X-Opaque-Id:abracadabra</code> back in the response header.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Authentication","slug":"authentication"},{"content":"Metadata","slug":"metadata"}],"owner":"2774860","collectionId":"e1261b13-e453-248b-e5e7-e289dcfad8fd","publishedId":"6thwzU3","public":true,"customColor":{"top-bar":"F1FCFF","right-sidebar":"232E44","highlight":"FF0000"},"publishDate":"2018-08-22T13:32:14.000Z"},"item":[{"name":"App","item":[{"name":"mapping","item":[{"name":"/:app/_mapping","event":[{"listen":"prerequest","script":{"id":"29c3564b-a593-4b52-8f3d-82ced7344c53","exec":[""],"type":"text/javascript"}}],"id":"0c289e45-3d80-56b4-0b79-8bf040ec7182","request":{"method":"GET","header":[{"key":"Authorization","value":"Basic {{credentials_64}}"}],"url":"{{host}}/{{app}}/_mapping/","description":"<p>Get mappings of an app.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>app</td>\n<td>App name</td>\n</tr>\n<tr>\n<td>credentials_64</td>\n<td>App's credentials encoded with base64</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["{{app}}","_mapping",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"481df6fc-edf7-4fd3-a500-da8ceb563100","name":"/:app/_mapping","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Basic {{credentials_64_example}}"}],"url":"{{host}}/{{app_example}}/_mapping/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty/1.15.8.1"},{"key":"Date","value":"Mon, 30 Sep 2019 22:44:29 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Origin","value":"ES"},{"key":"Content-Encoding","value":"gzip"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"test-v7-yo\": {\n        \"mappings\": {\n            \"dynamic_templates\": [\n                {\n                    \"any_field\": {\n                        \"mapping\": {\n                            \"type\": \"text\"\n                        },\n                        \"match\": \"*\"\n                    }\n                }\n            ],\n            \"properties\": {\n                \"name\": {\n                    \"type\": \"text\"\n                }\n            }\n        }\n    }\n}"}],"_postman_id":"0c289e45-3d80-56b4-0b79-8bf040ec7182"},{"name":"/:app/_mapping","id":"5c5e8488-a1a0-6bdb-a840-73b40a8d990a","request":{"method":"PUT","header":[{"key":"Authorization","value":"Basic {{credentials_64}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"properties\": {\n    \"name\": {\n      \"type\": \"text\"\n    }\n  }\n}"},"url":"{{host}}/{{app}}/_mapping/{{type}}","description":"<p>Add data mapping for an app.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>app</td>\n<td>App name</td>\n</tr>\n<tr>\n<td>credentials_64</td>\n<td>App's credentials encoded with base64</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["{{app}}","_mapping","{{type}}"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"c495c9fd-6582-46f9-827d-b038b98b9e64","name":"/:app/_mapping","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Basic {{credentials_64_example}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"properties\": {\n    \"name\": {\n      \"type\": \"text\"\n    }\n  }\n}"},"url":"{{host}}/{{app_example}}/_mapping"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty/1.15.8.1"},{"key":"Date","value":"Mon, 30 Sep 2019 22:43:37 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Origin","value":"ES"},{"key":"Content-Encoding","value":"gzip"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"acknowledged\": true\n}"}],"_postman_id":"5c5e8488-a1a0-6bdb-a840-73b40a8d990a"}],"id":"7b9df289-fb65-48f5-01de-c9228d24629e","description":"<p>The <strong>mapping</strong> endpoints are useful for creating and retrieving data mappings. If you are new to appbase.io or Elasticsearch, think of mappings as similar to the schema in a SQL database.</p>\n<p>Unlike SQL, mappings are dynamically generated when a new data field is indexed.</p>\n<blockquote>\n<p><strong>Note:</strong> Mappings in appbase.io are treated as immutable to minimize data corruption. Handle with care!</p>\n</blockquote>\n","_postman_id":"7b9df289-fb65-48f5-01de-c9228d24629e"},{"name":"settings","item":[{"name":"/:app/_close","id":"9d32e896-76ae-3fea-b311-29c124843477","request":{"method":"POST","header":[{"key":"Authorization","value":"Basic {{credentials_64}}"}],"url":"{{host}}/{{app}}/_close","description":"<p>Close an app. A closed app is blocked for read/write operations. An app needs to be closed when defining new analyzers via the <code>PUT /:app/_settings</code> endpoint.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>app</td>\n<td>App name</td>\n</tr>\n<tr>\n<td>credentials_64</td>\n<td>App's credentials encoded with base64</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["{{app}}","_close"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"8b913763-4454-ee25-8b01-a01ee2467877","name":"/:app/_close","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Basic {{credentials_64_example}}","warning":""}],"body":{"mode":"formdata","formdata":[]},"url":"https://scalr.api.appbase.io/{{app_example}}/_close"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"name":"access-control-allow-credentials","key":"access-control-allow-credentials","value":"true","description":""},{"name":"access-control-allow-origin","key":"access-control-allow-origin","value":"chrome-extension://aicmkgpgakddgnaphhhpliifpcfhicfo","description":""},{"name":"connection","key":"connection","value":"keep-alive","description":""},{"name":"content-encoding","key":"content-encoding","value":"gzip","description":""},{"name":"content-type","key":"content-type","value":"application/json; charset=UTF-8","description":""},{"name":"date","key":"date","value":"Wed, 25 Oct 2017 10:11:20 GMT","description":""},{"name":"server","key":"server","value":"openresty/1.9.3.1","description":""},{"name":"transfer-encoding","key":"transfer-encoding","value":"chunked","description":""},{"name":"vary","key":"vary","value":"Origin","description":""},{"name":"x-origin","key":"x-origin","value":"ES","description":""}],"cookie":[{"expires":"Wed Dec 09 2026 11:21:27 GMT+0000 (Coordinated Universal Time)","hostOnly":false,"httpOnly":false,"domain":".appbase.io","path":"/","secure":false,"session":false,"value":"oeu1481455287145r0.9644028947467729","key":"optimizelyEndUserId"},{"expires":"Tue Dec 12 2017 01:05:16 GMT+0000 (Coordinated Universal Time)","hostOnly":false,"httpOnly":true,"domain":".appbase.io","path":"/","secure":false,"session":false,"value":"dc55810861fe5caca682d5c8562f927f31481504716","key":"__cfduid"},{"expires":"Mon Mar 29 2027 14:07:51 GMT+0000 (Coordinated Universal Time)","hostOnly":false,"httpOnly":false,"domain":".appbase.io","path":"/","secure":false,"session":false,"value":"%7B%222208410945%22%3A%22false%22%2C%222218510216%22%3A%22referral%22%2C%222224370348%22%3A%22gc%22%7D","key":"optimizelySegments"},{"expires":"Mon Mar 29 2027 14:07:51 GMT+0000 (Coordinated Universal Time)","hostOnly":false,"httpOnly":false,"domain":".appbase.io","path":"/","secure":false,"session":false,"value":"%7B%7D","key":"optimizelyBuckets"},{"expires":"Thu May 24 2018 02:38:01 GMT+0000 (Coordinated Universal Time)","hostOnly":false,"httpOnly":false,"domain":".appbase.io","path":"/","secure":false,"session":false,"value":"04ebd187-d56f-4444-9342-117df59d5172","key":"__stripe_mid"},{"expires":"Sat Feb 24 2018 06:00:00 GMT+0000 (Coordinated Universal Time)","hostOnly":false,"httpOnly":false,"domain":".appbase.io","path":"/","secure":false,"session":false,"value":"1ff8078-15c3c7153c8-731d1fd0-4","key":"__unam"},{"expires":"Wed Nov 01 2017 09:22:19 GMT+0000 (Coordinated Universal Time)","hostOnly":false,"httpOnly":false,"domain":".appbase.io","path":"/","secure":false,"session":false,"value":"QURIcC8yaitVRzVxNVRwTmdCNnJJdEZJQjdnR2w2TDg4TzlUT2xycGhyS2hCOTZCemlqY2RiTG9PZEcxL0RiaC0tTG5UcXhYYU5hUEo1REdGM2EycTFkUT09--ea772ffdcd11287a9f3691cf0ee630d5d0384a8f","key":"intercom-session-jnzcgdd7"},{"expires":"Fri Oct 25 2019 10:10:31 GMT+0000 (Coordinated Universal Time)","hostOnly":false,"httpOnly":false,"domain":".appbase.io","path":"/","secure":false,"session":false,"value":"GA1.2.70833999.1481455287","key":"_ga"},{"expires":"Thu Oct 26 2017 10:10:31 GMT+0000 (Coordinated Universal Time)","hostOnly":false,"httpOnly":false,"domain":".appbase.io","path":"/","secure":false,"session":false,"value":"GA1.2.1164850515.1508764607","key":"_gid"}],"responseTime":"1884","body":"{\"acknowledged\":true}"}],"_postman_id":"9d32e896-76ae-3fea-b311-29c124843477"},{"name":"/:app/_open","id":"41a08ee2-4c35-42f6-9d1b-bf5224fbfbbf","request":{"method":"POST","header":[{"key":"Authorization","value":"Basic {{credentials_64}}"}],"url":"{{host}}/{{app}}/_open","description":"<p>Open an app. An opened app allows read/write operations.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>app</td>\n<td>App name</td>\n</tr>\n<tr>\n<td>credentials_64</td>\n<td>App's credentials encoded with base64</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["{{app}}","_open"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"54d00047-d8c4-20cd-3905-3dca3fc1da0a","name":"/:app/_open","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Basic {{credentials_64_example}}","warning":""}],"body":{"mode":"formdata","formdata":[]},"url":"https://scalr.api.appbase.io/{{app_example}}/_open"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"name":"access-control-allow-credentials","key":"access-control-allow-credentials","value":"true","description":""},{"name":"access-control-allow-origin","key":"access-control-allow-origin","value":"chrome-extension://aicmkgpgakddgnaphhhpliifpcfhicfo","description":""},{"name":"connection","key":"connection","value":"keep-alive","description":""},{"name":"content-encoding","key":"content-encoding","value":"gzip","description":""},{"name":"content-type","key":"content-type","value":"application/json; charset=UTF-8","description":""},{"name":"date","key":"date","value":"Wed, 25 Oct 2017 10:12:35 GMT","description":""},{"name":"server","key":"server","value":"openresty/1.9.3.1","description":""},{"name":"transfer-encoding","key":"transfer-encoding","value":"chunked","description":""},{"name":"vary","key":"vary","value":"Origin","description":""},{"name":"x-origin","key":"x-origin","value":"ES","description":""}],"cookie":[{"expires":"Wed Dec 09 2026 11:21:27 GMT+0000 (Coordinated Universal Time)","hostOnly":false,"httpOnly":false,"domain":".appbase.io","path":"/","secure":false,"session":false,"value":"oeu1481455287145r0.9644028947467729","key":"optimizelyEndUserId"},{"expires":"Tue Dec 12 2017 01:05:16 GMT+0000 (Coordinated Universal Time)","hostOnly":false,"httpOnly":true,"domain":".appbase.io","path":"/","secure":false,"session":false,"value":"dc55810861fe5caca682d5c8562f927f31481504716","key":"__cfduid"},{"expires":"Mon Mar 29 2027 14:07:51 GMT+0000 (Coordinated Universal Time)","hostOnly":false,"httpOnly":false,"domain":".appbase.io","path":"/","secure":false,"session":false,"value":"%7B%222208410945%22%3A%22false%22%2C%222218510216%22%3A%22referral%22%2C%222224370348%22%3A%22gc%22%7D","key":"optimizelySegments"},{"expires":"Mon Mar 29 2027 14:07:51 GMT+0000 (Coordinated Universal Time)","hostOnly":false,"httpOnly":false,"domain":".appbase.io","path":"/","secure":false,"session":false,"value":"%7B%7D","key":"optimizelyBuckets"},{"expires":"Thu May 24 2018 02:38:01 GMT+0000 (Coordinated Universal Time)","hostOnly":false,"httpOnly":false,"domain":".appbase.io","path":"/","secure":false,"session":false,"value":"04ebd187-d56f-4444-9342-117df59d5172","key":"__stripe_mid"},{"expires":"Sat Feb 24 2018 06:00:00 GMT+0000 (Coordinated Universal Time)","hostOnly":false,"httpOnly":false,"domain":".appbase.io","path":"/","secure":false,"session":false,"value":"1ff8078-15c3c7153c8-731d1fd0-4","key":"__unam"},{"expires":"Wed Nov 01 2017 09:22:19 GMT+0000 (Coordinated Universal Time)","hostOnly":false,"httpOnly":false,"domain":".appbase.io","path":"/","secure":false,"session":false,"value":"QURIcC8yaitVRzVxNVRwTmdCNnJJdEZJQjdnR2w2TDg4TzlUT2xycGhyS2hCOTZCemlqY2RiTG9PZEcxL0RiaC0tTG5UcXhYYU5hUEo1REdGM2EycTFkUT09--ea772ffdcd11287a9f3691cf0ee630d5d0384a8f","key":"intercom-session-jnzcgdd7"},{"expires":"Fri Oct 25 2019 10:10:31 GMT+0000 (Coordinated Universal Time)","hostOnly":false,"httpOnly":false,"domain":".appbase.io","path":"/","secure":false,"session":false,"value":"GA1.2.70833999.1481455287","key":"_ga"},{"expires":"Thu Oct 26 2017 10:10:31 GMT+0000 (Coordinated Universal Time)","hostOnly":false,"httpOnly":false,"domain":".appbase.io","path":"/","secure":false,"session":false,"value":"GA1.2.1164850515.1508764607","key":"_gid"}],"responseTime":"1316","body":"{\"acknowledged\":true}"}],"_postman_id":"41a08ee2-4c35-42f6-9d1b-bf5224fbfbbf"},{"name":"/:app/_settings","id":"6c6eff02-2afd-b1fb-b62d-d8b4a146c0fe","request":{"method":"GET","header":[{"key":"Authorization","value":"Basic {{credentials_64}}"}],"url":"{{host}}/{{app}}/_settings","description":"<p>Get settings in an app.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>app</td>\n<td>App name</td>\n</tr>\n<tr>\n<td>credentials_64</td>\n<td>App's credentials encoded with base64</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["{{app}}","_settings"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"d6ce8e27-1b42-48c8-bf17-ae061947dc0b","name":"/:app/_settings","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Basic {{credentials_64_example}}"}],"url":"{{host}}/{{app_example}}/_settings"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty/1.15.8.1"},{"key":"Date","value":"Mon, 30 Sep 2019 22:50:19 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Origin","value":"ES"},{"key":"Content-Encoding","value":"gzip"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"test-v7-yo\": {\n        \"settings\": {\n            \"index\": {\n                \"analysis\": {\n                    \"analyzer\": {\n                        \"autosuggest_analyzer\": {\n                            \"filter\": [\n                                \"lowercase\",\n                                \"asciifolding\",\n                                \"autosuggest_filter\"\n                            ],\n                            \"tokenizer\": \"standard\",\n                            \"type\": \"custom\"\n                        },\n                        \"english_analyzer\": {\n                            \"filter\": [\n                                \"lowercase\",\n                                \"asciifolding\",\n                                \"porter_stem\"\n                            ],\n                            \"tokenizer\": \"standard\",\n                            \"type\": \"custom\"\n                        },\n                        \"ngram_analyzer\": {\n                            \"filter\": [\n                                \"lowercase\",\n                                \"asciifolding\",\n                                \"ngram_filter\"\n                            ],\n                            \"tokenizer\": \"standard\",\n                            \"type\": \"custom\"\n                        }\n                    },\n                    \"filter\": {\n                        \"autosuggest_filter\": {\n                            \"max_gram\": \"20\",\n                            \"min_gram\": \"1\",\n                            \"token_chars\": [\n                                \"letter\",\n                                \"digit\",\n                                \"punctuation\",\n                                \"symbol\"\n                            ],\n                            \"type\": \"edge_ngram\"\n                        },\n                        \"ngram_filter\": {\n                            \"max_gram\": \"9\",\n                            \"min_gram\": \"2\",\n                            \"token_chars\": [\n                                \"letter\",\n                                \"digit\",\n                                \"punctuation\",\n                                \"symbol\"\n                            ],\n                            \"type\": \"ngram\"\n                        }\n                    }\n                },\n                \"creation_date\": \"1569883340176\",\n                \"max_ngram_diff\": \"8\",\n                \"max_shingle_diff\": \"8\",\n                \"number_of_replicas\": \"1\",\n                \"number_of_shards\": \"3\",\n                \"provided_name\": \"test-v7-yo\",\n                \"uuid\": \"z5jFmMAiSXeplL0x0inuJg\",\n                \"version\": {\n                    \"created\": \"7030299\"\n                }\n            }\n        }\n    }\n}"}],"_postman_id":"6c6eff02-2afd-b1fb-b62d-d8b4a146c0fe"},{"name":"/:app/_settings","id":"efaac3b4-9bbe-11a6-07c2-7121eb5d8583","request":{"method":"PUT","header":[{"key":"Authorization","value":"Basic {{credentials_64}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"analysis\" : {\n    \"analyzer\":{\n      \"content\":{\n        \"type\":\"custom\",\n        \"tokenizer\":\"whitespace\"\n      }\n    }\n  }\n}"},"url":"{{host}}/{{app}}/_settings","description":"<p>Update settings of an app. Requires closing an app via (/:app/_close endpoint) before applying non-dynamic settings like defining new analyzers. Read more <a href=\"https://www.elastic.co/guide/en/elasticsearch/reference/2.4/indices-update-settings.html\">here</a>.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>app</td>\n<td>App name</td>\n</tr>\n<tr>\n<td>credentials_64</td>\n<td>App's credentials encoded with base64</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["{{app}}","_settings"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"1f40ecbc-eb00-44bc-bcc0-f93d1ae5a276","name":"/:app/_settings","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Basic {{credentials_64_example}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"analysis\" : {\n    \"analyzer\":{\n      \"content\":{\n        \"type\":\"custom\",\n        \"tokenizer\":\"whitespace\"\n      }\n    }\n  }\n}"},"url":"{{host}}/{{app_example}}/_settings"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty/1.15.8.1"},{"key":"Date","value":"Mon, 30 Sep 2019 22:56:51 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Origin","value":"ES"},{"key":"Content-Encoding","value":"gzip"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"acknowledged\": true\n}"}],"_postman_id":"efaac3b4-9bbe-11a6-07c2-7121eb5d8583"},{"name":"/:app/_analyze","id":"46689f44-3e23-4c37-fe9f-ce07a8383f47","request":{"method":"POST","header":[{"key":"Authorization","value":"Basic {{credentials_64}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"tokenizer\" : \"keyword\",\n  \"filter\" : [\"lowercase\"],\n  \"text\" : \"this is a test\"\n}"},"url":"{{host}}/{{app}}/_analyze","description":"<p>Performs the analysis process on a text and return the rokens breakdown of the text. Read more <a href=\"https://www.elastic.co/guide/en/elasticsearch/reference/2.4/indices-analyze.html#indices-analyze\">here</a>.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>app</td>\n<td>App name</td>\n</tr>\n<tr>\n<td>credentials_64</td>\n<td>App's credentials encoded with base64</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["{{app}}","_analyze"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"7b4bd919-0f48-4c34-8eda-ba6342392b48","name":"/:app/_analyze","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Basic {{credentials_64_example}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"tokenizer\" : \"keyword\",\n  \"filter\" : [\"lowercase\"],\n  \"text\" : \"this is a test\"\n}"},"url":"{{host}}/{{app_example}}/_analyze"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty/1.15.8.1"},{"key":"Date","value":"Mon, 30 Sep 2019 22:57:38 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Content-Length","value":"259"},{"key":"Connection","value":"keep-alive"},{"key":"X-Origin","value":"ES"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"index\": \"test-v7-yo\",\n        \"index_uuid\": \"z5jFmMAiSXeplL0x0inuJg\",\n        \"reason\": \"closed\",\n        \"root_cause\": [\n            {\n                \"index\": \"test-v7-yo\",\n                \"index_uuid\": \"z5jFmMAiSXeplL0x0inuJg\",\n                \"reason\": \"closed\",\n                \"type\": \"index_closed_exception\"\n            }\n        ],\n        \"type\": \"index_closed_exception\"\n    },\n    \"status\": 400\n}"}],"_postman_id":"46689f44-3e23-4c37-fe9f-ce07a8383f47"}],"id":"8e05a30b-e423-7e71-6043-ac4017b06726","description":"<p>Settings in appbase.io allow defining custom analyzers.</p>\n","_postman_id":"8e05a30b-e423-7e71-6043-ac4017b06726"},{"name":"/:app","id":"4516edd1-6b6b-455f-dd67-6b9713adee96","request":{"method":"GET","header":[{"key":"Authorization","value":"Basic {{credentials_64}}"}],"url":"{{host}}/{{app}}","description":"<p>Informational endpoint.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>app</td>\n<td>App name</td>\n</tr>\n<tr>\n<td>credentials_64</td>\n<td>App's credentials encoded with base64</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["{{app}}"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"7baef2b8-6b46-45d2-9515-c036d2dfd40e","name":"/:app","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Basic {{credentials_64_example}}"}],"url":"{{host}}/{{app_example}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty/1.15.8.1"},{"key":"Date","value":"Mon, 30 Sep 2019 22:58:38 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Content-Encoding","value":"gzip"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"You have reached /test-v7-yo/ and are all set to make API requests\",\n    \"status\": 200\n}"}],"_postman_id":"4516edd1-6b6b-455f-dd67-6b9713adee96"},{"name":"/:app/_stats","id":"ddacdd15-29e5-c8e7-0bcc-a9fec40830b4","request":{"method":"GET","header":[{"key":"Authorization","value":"Basic {{credentials_64}}"}],"url":"{{host}}/{{app}}/_stats","description":"<p>Get stats on different operations happening on an app.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>app</td>\n<td>App name</td>\n</tr>\n<tr>\n<td>credentials_64</td>\n<td>App's credentials encoded with base64</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["{{app}}","_stats"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"7ed53a28-6b9a-4036-b43f-06e5750c0bba","name":"/:app/_stats","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Basic {{credentials_64_example}}"}],"url":"{{host}}/{{app_example}}/_stats"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty/1.15.8.1"},{"key":"Date","value":"Mon, 30 Sep 2019 22:59:22 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Origin","value":"ES"},{"key":"Content-Encoding","value":"gzip"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"_all\": {\n        \"primaries\": {\n            \"completion\": {\n                \"size_in_bytes\": 0\n            },\n            \"docs\": {\n                \"count\": 1,\n                \"deleted\": 0\n            },\n            \"fielddata\": {\n                \"evictions\": 0,\n                \"memory_size_in_bytes\": 0\n            },\n            \"flush\": {\n                \"periodic\": 0,\n                \"total\": 0,\n                \"total_time_in_millis\": 0\n            },\n            \"get\": {\n                \"current\": 0,\n                \"exists_time_in_millis\": 0,\n                \"exists_total\": 0,\n                \"missing_time_in_millis\": 0,\n                \"missing_total\": 0,\n                \"time_in_millis\": 0,\n                \"total\": 0\n            },\n            \"indexing\": {\n                \"delete_current\": 0,\n                \"delete_time_in_millis\": 0,\n                \"delete_total\": 0,\n                \"index_current\": 0,\n                \"index_failed\": 0,\n                \"index_time_in_millis\": 0,\n                \"index_total\": 0,\n                \"is_throttled\": false,\n                \"noop_update_total\": 0,\n                \"throttle_time_in_millis\": 0\n            },\n            \"merges\": {\n                \"current\": 0,\n                \"current_docs\": 0,\n                \"current_size_in_bytes\": 0,\n                \"total\": 0,\n                \"total_auto_throttle_in_bytes\": 62914560,\n                \"total_docs\": 0,\n                \"total_size_in_bytes\": 0,\n                \"total_stopped_time_in_millis\": 0,\n                \"total_throttled_time_in_millis\": 0,\n                \"total_time_in_millis\": 0\n            },\n            \"query_cache\": {\n                \"cache_count\": 0,\n                \"cache_size\": 0,\n                \"evictions\": 0,\n                \"hit_count\": 0,\n                \"memory_size_in_bytes\": 0,\n                \"miss_count\": 0,\n                \"total_count\": 0\n            },\n            \"recovery\": {\n                \"current_as_source\": 0,\n                \"current_as_target\": 0,\n                \"throttle_time_in_millis\": 0\n            },\n            \"refresh\": {\n                \"external_total\": 6,\n                \"external_total_time_in_millis\": 0,\n                \"listeners\": 0,\n                \"total\": 6,\n                \"total_time_in_millis\": 0\n            },\n            \"request_cache\": {\n                \"evictions\": 0,\n                \"hit_count\": 0,\n                \"memory_size_in_bytes\": 0,\n                \"miss_count\": 0\n            },\n            \"search\": {\n                \"fetch_current\": 0,\n                \"fetch_time_in_millis\": 0,\n                \"fetch_total\": 0,\n                \"open_contexts\": 0,\n                \"query_current\": 0,\n                \"query_time_in_millis\": 0,\n                \"query_total\": 0,\n                \"scroll_current\": 0,\n                \"scroll_time_in_millis\": 0,\n                \"scroll_total\": 0,\n                \"suggest_current\": 0,\n                \"suggest_time_in_millis\": 0,\n                \"suggest_total\": 0\n            },\n            \"segments\": {\n                \"count\": 1,\n                \"doc_values_memory_in_bytes\": 68,\n                \"file_sizes\": {},\n                \"fixed_bit_set_memory_in_bytes\": 0,\n                \"index_writer_memory_in_bytes\": 0,\n                \"max_unsafe_auto_id_timestamp\": -1,\n                \"memory_in_bytes\": 694,\n                \"norms_memory_in_bytes\": 0,\n                \"points_memory_in_bytes\": 1,\n                \"stored_fields_memory_in_bytes\": 312,\n                \"term_vectors_memory_in_bytes\": 0,\n                \"terms_memory_in_bytes\": 313,\n                \"version_map_memory_in_bytes\": 0\n            },\n            \"store\": {\n                \"size_in_bytes\": 3224\n            },\n            \"translog\": {\n                \"earliest_last_modified_age\": 0,\n                \"operations\": 1,\n                \"size_in_bytes\": 1447,\n                \"uncommitted_operations\": 0,\n                \"uncommitted_size_in_bytes\": 495\n            },\n            \"warmer\": {\n                \"current\": 0,\n                \"total\": 3,\n                \"total_time_in_millis\": 0\n            }\n        },\n        \"total\": {\n            \"completion\": {\n                \"size_in_bytes\": 0\n            },\n            \"docs\": {\n                \"count\": 2,\n                \"deleted\": 0\n            },\n            \"fielddata\": {\n                \"evictions\": 0,\n                \"memory_size_in_bytes\": 0\n            },\n            \"flush\": {\n                \"periodic\": 0,\n                \"total\": 0,\n                \"total_time_in_millis\": 0\n            },\n            \"get\": {\n                \"current\": 0,\n                \"exists_time_in_millis\": 0,\n                \"exists_total\": 0,\n                \"missing_time_in_millis\": 0,\n                \"missing_total\": 0,\n                \"time_in_millis\": 0,\n                \"total\": 0\n            },\n            \"indexing\": {\n                \"delete_current\": 0,\n                \"delete_time_in_millis\": 0,\n                \"delete_total\": 0,\n                \"index_current\": 0,\n                \"index_failed\": 0,\n                \"index_time_in_millis\": 0,\n                \"index_total\": 0,\n                \"is_throttled\": false,\n                \"noop_update_total\": 0,\n                \"throttle_time_in_millis\": 0\n            },\n            \"merges\": {\n                \"current\": 0,\n                \"current_docs\": 0,\n                \"current_size_in_bytes\": 0,\n                \"total\": 0,\n                \"total_auto_throttle_in_bytes\": 125829120,\n                \"total_docs\": 0,\n                \"total_size_in_bytes\": 0,\n                \"total_stopped_time_in_millis\": 0,\n                \"total_throttled_time_in_millis\": 0,\n                \"total_time_in_millis\": 0\n            },\n            \"query_cache\": {\n                \"cache_count\": 0,\n                \"cache_size\": 0,\n                \"evictions\": 0,\n                \"hit_count\": 0,\n                \"memory_size_in_bytes\": 0,\n                \"miss_count\": 0,\n                \"total_count\": 0\n            },\n            \"recovery\": {\n                \"current_as_source\": 0,\n                \"current_as_target\": 0,\n                \"throttle_time_in_millis\": 0\n            },\n            \"refresh\": {\n                \"external_total\": 12,\n                \"external_total_time_in_millis\": 0,\n                \"listeners\": 0,\n                \"total\": 12,\n                \"total_time_in_millis\": 0\n            },\n            \"request_cache\": {\n                \"evictions\": 0,\n                \"hit_count\": 0,\n                \"memory_size_in_bytes\": 0,\n                \"miss_count\": 0\n            },\n            \"search\": {\n                \"fetch_current\": 0,\n                \"fetch_time_in_millis\": 0,\n                \"fetch_total\": 0,\n                \"open_contexts\": 0,\n                \"query_current\": 0,\n                \"query_time_in_millis\": 0,\n                \"query_total\": 0,\n                \"scroll_current\": 0,\n                \"scroll_time_in_millis\": 0,\n                \"scroll_total\": 0,\n                \"suggest_current\": 0,\n                \"suggest_time_in_millis\": 0,\n                \"suggest_total\": 0\n            },\n            \"segments\": {\n                \"count\": 2,\n                \"doc_values_memory_in_bytes\": 136,\n                \"file_sizes\": {},\n                \"fixed_bit_set_memory_in_bytes\": 0,\n                \"index_writer_memory_in_bytes\": 0,\n                \"max_unsafe_auto_id_timestamp\": -1,\n                \"memory_in_bytes\": 1388,\n                \"norms_memory_in_bytes\": 0,\n                \"points_memory_in_bytes\": 2,\n                \"stored_fields_memory_in_bytes\": 624,\n                \"term_vectors_memory_in_bytes\": 0,\n                \"terms_memory_in_bytes\": 626,\n                \"version_map_memory_in_bytes\": 0\n            },\n            \"store\": {\n                \"size_in_bytes\": 6448\n            },\n            \"translog\": {\n                \"earliest_last_modified_age\": 0,\n                \"operations\": 2,\n                \"size_in_bytes\": 2894,\n                \"uncommitted_operations\": 0,\n                \"uncommitted_size_in_bytes\": 990\n            },\n            \"warmer\": {\n                \"current\": 0,\n                \"total\": 6,\n                \"total_time_in_millis\": 0\n            }\n        }\n    },\n    \"_shards\": {\n        \"failed\": 0,\n        \"successful\": 6,\n        \"total\": 6\n    },\n    \"indices\": {\n        \"test-v7-yo\": {\n            \"primaries\": {\n                \"completion\": {\n                    \"size_in_bytes\": 0\n                },\n                \"docs\": {\n                    \"count\": 1,\n                    \"deleted\": 0\n                },\n                \"fielddata\": {\n                    \"evictions\": 0,\n                    \"memory_size_in_bytes\": 0\n                },\n                \"flush\": {\n                    \"periodic\": 0,\n                    \"total\": 0,\n                    \"total_time_in_millis\": 0\n                },\n                \"get\": {\n                    \"current\": 0,\n                    \"exists_time_in_millis\": 0,\n                    \"exists_total\": 0,\n                    \"missing_time_in_millis\": 0,\n                    \"missing_total\": 0,\n                    \"time_in_millis\": 0,\n                    \"total\": 0\n                },\n                \"indexing\": {\n                    \"delete_current\": 0,\n                    \"delete_time_in_millis\": 0,\n                    \"delete_total\": 0,\n                    \"index_current\": 0,\n                    \"index_failed\": 0,\n                    \"index_time_in_millis\": 0,\n                    \"index_total\": 0,\n                    \"is_throttled\": false,\n                    \"noop_update_total\": 0,\n                    \"throttle_time_in_millis\": 0\n                },\n                \"merges\": {\n                    \"current\": 0,\n                    \"current_docs\": 0,\n                    \"current_size_in_bytes\": 0,\n                    \"total\": 0,\n                    \"total_auto_throttle_in_bytes\": 62914560,\n                    \"total_docs\": 0,\n                    \"total_size_in_bytes\": 0,\n                    \"total_stopped_time_in_millis\": 0,\n                    \"total_throttled_time_in_millis\": 0,\n                    \"total_time_in_millis\": 0\n                },\n                \"query_cache\": {\n                    \"cache_count\": 0,\n                    \"cache_size\": 0,\n                    \"evictions\": 0,\n                    \"hit_count\": 0,\n                    \"memory_size_in_bytes\": 0,\n                    \"miss_count\": 0,\n                    \"total_count\": 0\n                },\n                \"recovery\": {\n                    \"current_as_source\": 0,\n                    \"current_as_target\": 0,\n                    \"throttle_time_in_millis\": 0\n                },\n                \"refresh\": {\n                    \"external_total\": 6,\n                    \"external_total_time_in_millis\": 0,\n                    \"listeners\": 0,\n                    \"total\": 6,\n                    \"total_time_in_millis\": 0\n                },\n                \"request_cache\": {\n                    \"evictions\": 0,\n                    \"hit_count\": 0,\n                    \"memory_size_in_bytes\": 0,\n                    \"miss_count\": 0\n                },\n                \"search\": {\n                    \"fetch_current\": 0,\n                    \"fetch_time_in_millis\": 0,\n                    \"fetch_total\": 0,\n                    \"open_contexts\": 0,\n                    \"query_current\": 0,\n                    \"query_time_in_millis\": 0,\n                    \"query_total\": 0,\n                    \"scroll_current\": 0,\n                    \"scroll_time_in_millis\": 0,\n                    \"scroll_total\": 0,\n                    \"suggest_current\": 0,\n                    \"suggest_time_in_millis\": 0,\n                    \"suggest_total\": 0\n                },\n                \"segments\": {\n                    \"count\": 1,\n                    \"doc_values_memory_in_bytes\": 68,\n                    \"file_sizes\": {},\n                    \"fixed_bit_set_memory_in_bytes\": 0,\n                    \"index_writer_memory_in_bytes\": 0,\n                    \"max_unsafe_auto_id_timestamp\": -1,\n                    \"memory_in_bytes\": 694,\n                    \"norms_memory_in_bytes\": 0,\n                    \"points_memory_in_bytes\": 1,\n                    \"stored_fields_memory_in_bytes\": 312,\n                    \"term_vectors_memory_in_bytes\": 0,\n                    \"terms_memory_in_bytes\": 313,\n                    \"version_map_memory_in_bytes\": 0\n                },\n                \"store\": {\n                    \"size_in_bytes\": 3224\n                },\n                \"translog\": {\n                    \"earliest_last_modified_age\": 0,\n                    \"operations\": 1,\n                    \"size_in_bytes\": 1447,\n                    \"uncommitted_operations\": 0,\n                    \"uncommitted_size_in_bytes\": 495\n                },\n                \"warmer\": {\n                    \"current\": 0,\n                    \"total\": 3,\n                    \"total_time_in_millis\": 0\n                }\n            },\n            \"total\": {\n                \"completion\": {\n                    \"size_in_bytes\": 0\n                },\n                \"docs\": {\n                    \"count\": 2,\n                    \"deleted\": 0\n                },\n                \"fielddata\": {\n                    \"evictions\": 0,\n                    \"memory_size_in_bytes\": 0\n                },\n                \"flush\": {\n                    \"periodic\": 0,\n                    \"total\": 0,\n                    \"total_time_in_millis\": 0\n                },\n                \"get\": {\n                    \"current\": 0,\n                    \"exists_time_in_millis\": 0,\n                    \"exists_total\": 0,\n                    \"missing_time_in_millis\": 0,\n                    \"missing_total\": 0,\n                    \"time_in_millis\": 0,\n                    \"total\": 0\n                },\n                \"indexing\": {\n                    \"delete_current\": 0,\n                    \"delete_time_in_millis\": 0,\n                    \"delete_total\": 0,\n                    \"index_current\": 0,\n                    \"index_failed\": 0,\n                    \"index_time_in_millis\": 0,\n                    \"index_total\": 0,\n                    \"is_throttled\": false,\n                    \"noop_update_total\": 0,\n                    \"throttle_time_in_millis\": 0\n                },\n                \"merges\": {\n                    \"current\": 0,\n                    \"current_docs\": 0,\n                    \"current_size_in_bytes\": 0,\n                    \"total\": 0,\n                    \"total_auto_throttle_in_bytes\": 125829120,\n                    \"total_docs\": 0,\n                    \"total_size_in_bytes\": 0,\n                    \"total_stopped_time_in_millis\": 0,\n                    \"total_throttled_time_in_millis\": 0,\n                    \"total_time_in_millis\": 0\n                },\n                \"query_cache\": {\n                    \"cache_count\": 0,\n                    \"cache_size\": 0,\n                    \"evictions\": 0,\n                    \"hit_count\": 0,\n                    \"memory_size_in_bytes\": 0,\n                    \"miss_count\": 0,\n                    \"total_count\": 0\n                },\n                \"recovery\": {\n                    \"current_as_source\": 0,\n                    \"current_as_target\": 0,\n                    \"throttle_time_in_millis\": 0\n                },\n                \"refresh\": {\n                    \"external_total\": 12,\n                    \"external_total_time_in_millis\": 0,\n                    \"listeners\": 0,\n                    \"total\": 12,\n                    \"total_time_in_millis\": 0\n                },\n                \"request_cache\": {\n                    \"evictions\": 0,\n                    \"hit_count\": 0,\n                    \"memory_size_in_bytes\": 0,\n                    \"miss_count\": 0\n                },\n                \"search\": {\n                    \"fetch_current\": 0,\n                    \"fetch_time_in_millis\": 0,\n                    \"fetch_total\": 0,\n                    \"open_contexts\": 0,\n                    \"query_current\": 0,\n                    \"query_time_in_millis\": 0,\n                    \"query_total\": 0,\n                    \"scroll_current\": 0,\n                    \"scroll_time_in_millis\": 0,\n                    \"scroll_total\": 0,\n                    \"suggest_current\": 0,\n                    \"suggest_time_in_millis\": 0,\n                    \"suggest_total\": 0\n                },\n                \"segments\": {\n                    \"count\": 2,\n                    \"doc_values_memory_in_bytes\": 136,\n                    \"file_sizes\": {},\n                    \"fixed_bit_set_memory_in_bytes\": 0,\n                    \"index_writer_memory_in_bytes\": 0,\n                    \"max_unsafe_auto_id_timestamp\": -1,\n                    \"memory_in_bytes\": 1388,\n                    \"norms_memory_in_bytes\": 0,\n                    \"points_memory_in_bytes\": 2,\n                    \"stored_fields_memory_in_bytes\": 624,\n                    \"term_vectors_memory_in_bytes\": 0,\n                    \"terms_memory_in_bytes\": 626,\n                    \"version_map_memory_in_bytes\": 0\n                },\n                \"store\": {\n                    \"size_in_bytes\": 6448\n                },\n                \"translog\": {\n                    \"earliest_last_modified_age\": 0,\n                    \"operations\": 2,\n                    \"size_in_bytes\": 2894,\n                    \"uncommitted_operations\": 0,\n                    \"uncommitted_size_in_bytes\": 990\n                },\n                \"warmer\": {\n                    \"current\": 0,\n                    \"total\": 6,\n                    \"total_time_in_millis\": 0\n                }\n            },\n            \"uuid\": \"z5jFmMAiSXeplL0x0inuJg\"\n        }\n    }\n}"}],"_postman_id":"ddacdd15-29e5-c8e7-0bcc-a9fec40830b4"},{"name":"/:app exists","id":"2e9a1a76-ca3d-da8e-2cf0-5c5b793038c9","request":{"method":"HEAD","header":[{"key":"Authorization","value":"Basic {{credentials_64}}"}],"url":"{{host}}/{{app}}","description":"<p>Whether the app exists. If it does, it returns 200 status code.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>app</td>\n<td>App name</td>\n</tr>\n<tr>\n<td>credentials_64</td>\n<td>App's credentials encoded with base64</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["{{app}}"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"ff30ccf5-3f78-4e95-80d7-5dae0ce1b2f3","name":"/:app exists","originalRequest":{"method":"HEAD","header":[{"key":"Authorization","value":"Basic {{credentials_64_example}}"}],"url":"{{host}}/{{app_example}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty/1.15.8.1"},{"key":"Date","value":"Mon, 30 Sep 2019 22:59:45 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Connection","value":"keep-alive"},{"key":"X-Origin","value":"ES"},{"key":"Content-Encoding","value":"gzip"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"2e9a1a76-ca3d-da8e-2cf0-5c5b793038c9"},{"name":"/:app/_analytics","id":"fe48f095-2122-bacb-6574-d081448dd0f9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Search-Id","value":"{{search_id}}","type":"text","description":"<p>search_id is returned from a search request's response header as X-Search-Id (required).</p>\n"},{"key":"X-Search-Click","value":"true","type":"text","description":"<p><code>true</code> if click event has occured, <code>false</code> otherwise (latter is default)</p>\n"},{"key":"X-Search-ClickPosition","value":"5","type":"text","description":"<p>position of the result where the click occured (optional)</p>\n"},{"key":"X-Search-Suggestions-Click","value":"true","type":"text","description":"<p>if click event has occured for suggestion, false otherwise (latter is default)</p>\n"},{"key":"X-Search-Suggestions-ClickPosition","value":"2","type":"text","description":"<p>position of the suggestion where the click occured</p>\n"},{"key":"X-Search-Conversion","value":"true","type":"text","description":"<p>whether a conversion event occured, false by default</p>\n"},{"key":"Authorization","value":"Basic {{credentials_64}}","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"{{host}}/{{app}}/_analytics","description":"<p>Add click analytics for a particular search ID.</p>\n","urlObject":{"path":["{{app}}","_analytics"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"916f191a-568c-ebac-d4f9-1f401d3e3e66","name":"/:app/_analytics","originalRequest":{"method":"POST","header":[{"key":"X-Search-Id","value":"replace-with-real-search-id","description":"search_id is returned from a search request's response header as X-Search-Id."},{"key":"X-Search-Click","value":"true","description":"`true` if click event has occured, `false` otherwise (latter is default)"},{"key":"X-Search-ClickPosition","value":"5","description":"position of the result where the click occured (optional)"},{"key":"X-Search-Conversion","value":"true","description":"whether a conversion event occured, false by default"},{"key":"Authorization","value":"Basic {{credentials_64_example}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://scalr.api.appbase.io/{{app_example}}/_analytics"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Expose-Headers","value":"X-Search-Id","name":"Access-Control-Expose-Headers","description":""},{"key":"CF-RAY","value":"45c3f0d908d46fb4-SIN","name":"CF-RAY","description":""},{"key":"Connection","value":"keep-alive","name":"Connection","description":""},{"key":"Content-Encoding","value":"gzip","name":"Content-Encoding","description":""},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":""},{"key":"Date","value":"Tue, 18 Sep 2018 12:50:53 GMT","name":"Date","description":""},{"key":"Expect-CT","value":"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\"","name":"Expect-CT","description":""},{"key":"Server","value":"cloudflare","name":"Server","description":""},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":""},{"key":"X-Search-Id","value":"replace-with-real-search-id","name":"X-Search-Id","description":""}],"cookie":[{"expires":"Wed Jun 05 2019 12:25:09 GMT+0000 (Coordinated Universal Time)","httpOnly":true,"domain":"appbase.io","path":"/","secure":true,"value":"dfaea7116ef0e9018e4191a0a22f8bc3c1528201509","key":"__cfduid"}],"responseTime":"384","body":"{\"status\":200,\"message\":\"Click analytics recorded\"}\n"}],"_postman_id":"fe48f095-2122-bacb-6574-d081448dd0f9"}],"id":"8c84e1f0-20c4-f784-2278-5d6174b906ca","description":"<p>An appbase.io app is equivalent to an Elasticsearch index.</p>\n","_postman_id":"8c84e1f0-20c4-f784-2278-5d6174b906ca"},{"name":"Document","item":[{"name":"Create","item":[{"name":"/:app/_doc","id":"81149466-4ba5-8214-56f6-6a0d2f3bebcc","request":{"method":"POST","header":[{"key":"Authorization","value":"Basic {{credentials_64}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"appbase.io\"\n}"},"url":"{{host}}/{{app}}/{{type}}","description":"<p>Save data as a JSON document with an autogenerated <code>id</code>.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>app</td>\n<td>App name</td>\n</tr>\n<tr>\n<td>credentials_64</td>\n<td>App's credentials encoded with base64</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["{{app}}","{{type}}"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"ba9c5378-d41d-4553-891d-bc56fdf5b954","name":"/:app/:type","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Basic {{credentials_64_example}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"appbase.io\"\n}"},"url":"{{host}}/{{app_example}}/_doc"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty/1.15.8.1"},{"key":"Date","value":"Mon, 30 Sep 2019 23:01:39 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Content-Length","value":"177"},{"key":"Connection","value":"keep-alive"},{"key":"Location","value":"/app%6027164/_doc/radohG0BvBPhFQgpa1K2"},{"key":"X-Origin","value":"ES"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"_id\": \"radohG0BvBPhFQgpa1K2\",\n    \"_index\": \"test-v7-yo\",\n    \"_primary_term\": 5,\n    \"_seq_no\": 0,\n    \"_shards\": {\n        \"failed\": 0,\n        \"successful\": 2,\n        \"total\": 2\n    },\n    \"_type\": \"_doc\",\n    \"_version\": 1,\n    \"result\": \"created\"\n}"}],"_postman_id":"81149466-4ba5-8214-56f6-6a0d2f3bebcc"},{"name":"/:app/_doc/:id","id":"1a63955c-96e6-7a85-215b-98cf809565ef","request":{"method":"PUT","header":[{"key":"Authorization","value":"Basic {{credentials_64}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"appbase.io\",\n\t\"text\": \"A quick brown fox jumps over the lazy dog.\"\n}"},"url":"{{host}}/{{app}}/{{type}}/{{id}}","description":"<p>Save data as a JSON document with the provided <code>id</code>. This request will overwrite the document at this id if it already exists.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>app</td>\n<td>App name</td>\n</tr>\n<tr>\n<td>id</td>\n<td>Document ID (a unique string)</td>\n</tr>\n<tr>\n<td>credentials_64</td>\n<td>App's credentials encoded with base64</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["{{app}}","{{type}}","{{id}}"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"7f5802ec-57ea-435b-9652-7eda40eaa45c","name":"/:app/_doc/:id","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Basic {{credentials_64_example}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"appbase.io\",\n\t\"text\": \"A quick brown fox jumps over the lazy dog.\"\n}"},"url":"{{host}}/{{app_example}}/_doc/{{id_example}}"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty/1.15.8.1"},{"key":"Date","value":"Mon, 30 Sep 2019 23:02:15 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Content-Length","value":"158"},{"key":"Connection","value":"keep-alive"},{"key":"Location","value":"/app%6027164/_doc/1"},{"key":"X-Origin","value":"ES"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"_id\": \"1\",\n    \"_index\": \"test-v7-yo\",\n    \"_primary_term\": 5,\n    \"_seq_no\": 0,\n    \"_shards\": {\n        \"failed\": 0,\n        \"successful\": 2,\n        \"total\": 2\n    },\n    \"_type\": \"_doc\",\n    \"_version\": 1,\n    \"result\": \"created\"\n}"}],"_postman_id":"1a63955c-96e6-7a85-215b-98cf809565ef"}],"id":"747a4ecc-d6fd-2420-1493-e9fbf2a7b210","_postman_id":"747a4ecc-d6fd-2420-1493-e9fbf2a7b210","description":""},{"name":"Read","item":[{"name":"/:app/_doc/:id","id":"f4ff4775-7235-e6fc-e940-d301684ae398","request":{"method":"GET","header":[{"key":"Authorization","value":"Basic {{credentials_64}}"}],"url":"{{host}}/{{app}}/{{type}}/{{id}}","description":"<p>Get a document with the specified <code>id</code>.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>app</td>\n<td>App name</td>\n</tr>\n<tr>\n<td>id</td>\n<td>Document ID (a unique string)</td>\n</tr>\n<tr>\n<td>credentials_64</td>\n<td>App's credentials encoded with base64</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["{{app}}","{{type}}","{{id}}"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"db42b30e-3f90-41e2-b620-87cc9da595b0","name":"/:app/_doc/:id","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Basic {{credentials_64_example}}"}],"url":"{{host}}/{{app_example}}/_doc/{{id_example}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty/1.15.8.1"},{"key":"Date","value":"Mon, 30 Sep 2019 23:03:56 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Origin","value":"ES"},{"key":"Content-Encoding","value":"gzip"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"_id\": \"1\",\n    \"_index\": \"test-v7-yo\",\n    \"_primary_term\": 5,\n    \"_seq_no\": 0,\n    \"_source\": {\n        \"name\": \"appbase.io\",\n        \"text\": \"A quick brown fox jumps over the lazy dog.\"\n    },\n    \"_type\": \"_doc\",\n    \"_version\": 1,\n    \"found\": true\n}"}],"_postman_id":"f4ff4775-7235-e6fc-e940-d301684ae398"},{"name":"/:app/_doc/:id/_source","id":"42383a96-959c-b1d8-9a80-202468c276a9","request":{"method":"GET","header":[{"key":"Authorization","value":"Basic {{credentials_64}}"}],"url":"{{host}}/{{app}}/{{type}}/{{id}}","description":"<p>Get the <code>source</code> of a document with the specified <code>id</code>.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>app</td>\n<td>App name</td>\n</tr>\n<tr>\n<td>id</td>\n<td>Document ID (a unique string)</td>\n</tr>\n<tr>\n<td>credentials_64</td>\n<td>App's credentials encoded with base64</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["{{app}}","{{type}}","{{id}}"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"d62b0cb4-d004-4414-bc43-dd2774c6080f","name":"/:app/_doc/:id/_source","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Basic {{credentials_64_example}}"}],"url":"{{host}}/{{app_example}}/_doc/{{id_example}}/_source"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty/1.15.8.1"},{"key":"Date","value":"Mon, 30 Sep 2019 23:05:16 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Warning","value":"299 Elasticsearch-7.3.2-1c1faf1 \"[types removal] Specifying types in get_source and exist_sourcerequests is deprecated.\""},{"key":"X-Origin","value":"ES"},{"key":"Content-Encoding","value":"gzip"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"name\": \"appbase.io\",\n    \"text\": \"A quick brown fox jumps over the lazy dog.\"\n}"}],"_postman_id":"42383a96-959c-b1d8-9a80-202468c276a9"},{"name":"/:app/_termvectors/:id","id":"eeeea48c-e3cf-23c1-85af-dbac711a9c8a","request":{"method":"GET","header":[{"key":"Authorization","value":"Basic {{credentials_64}}"}],"url":"{{host}}/{{app}}/{{type}}/{{id}}/_termvector","description":"<p>Returns information and stats on terms in the fields of the document with the specified <code>id</code>. Read more <a href=\"https://www.elastic.co/guide/en/elasticsearch/reference/2.4/docs-termvectors.html\">here</a>.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>app</td>\n<td>App name</td>\n</tr>\n<tr>\n<td>id</td>\n<td>Document ID (a unique string)</td>\n</tr>\n<tr>\n<td>credentials_64</td>\n<td>App's credentials encoded with base64</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["{{app}}","{{type}}","{{id}}","_termvector"],"host":["{{host}}"],"query":[{"disabled":true,"description":{"content":"<p>comma separated</p>\n","type":"text/plain"},"key":"fields","value":"name"}],"variable":[]}},"response":[{"id":"d3ab25ef-7218-4888-9a39-0f94ead0794c","name":"/:app/_termvectors/:id","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Basic {{credentials_64_example}}"}],"url":{"raw":"{{host}}/{{app_example}}/_termvectors/{{id}}","host":["{{host}}"],"path":["{{app_example}}","_termvectors","{{id}}"],"query":[{"description":"comma separated","key":"fields","value":"name","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty/1.15.8.1"},{"key":"Date","value":"Mon, 30 Sep 2019 23:06:45 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Origin","value":"ES"},{"key":"Content-Encoding","value":"gzip"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"_id\": \"1\",\n    \"_index\": \"test-v7-yo\",\n    \"_type\": \"_doc\",\n    \"_version\": 1,\n    \"found\": true,\n    \"term_vectors\": {},\n    \"took\": 2\n}"}],"_postman_id":"eeeea48c-e3cf-23c1-85af-dbac711a9c8a"}],"id":"e6b69b36-2eb9-c25a-c086-1f5ecdcc737f","_postman_id":"e6b69b36-2eb9-c25a-c086-1f5ecdcc737f","description":""},{"name":"Update","item":[{"name":"/:app/_doc/:id/_update","id":"07c686a4-44af-c4d3-ddab-d49b9a9b3351","request":{"method":"POST","header":[{"key":"Authorization","value":"Basic {{credentials_64}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"doc\": {\n\t\t\"text\": \"A quick brown fox jumps over the lazy dog.\"\n\t}\n}"},"url":"{{host}}/{{app}}/{{type}}/{{id}}/_update","description":"<p>Save <strong>partial</strong> data as field(s) within the document with provided <code>id</code>. Note that the fields in the request body are wrapped inside a <code>doc</code> key. Read more <a href=\"https://www.elastic.co/guide/en/elasticsearch/reference/2.4/docs-update.html#_updates_with_a_partial_document\">here</a>.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>app</td>\n<td>App name</td>\n</tr>\n<tr>\n<td>id</td>\n<td>Document ID (a unique string)</td>\n</tr>\n<tr>\n<td>credentials_64</td>\n<td>App's credentials encoded with base64</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["{{app}}","{{type}}","{{id}}","_update"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"354288be-596a-47e2-a494-3d8fb715d44b","name":"/:app/_doc/:id/_update","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Basic {{credentials_64_example}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"doc\": {\n\t\t\"text\": \"A quick brown fox jumps over the lazy dog.\"\n\t}\n}"},"url":"{{host}}/{{app_example}}/_doc/{{id_example}}/_update"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty/1.15.8.1"},{"key":"Date","value":"Mon, 30 Sep 2019 23:08:50 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Warning","value":"299 Elasticsearch-7.3.2-1c1faf1 \"[types removal] Specifying types in document update requests is deprecated, use the endpoint /{index}/_update/{id} instead.\""},{"key":"X-Origin","value":"ES"},{"key":"Content-Encoding","value":"gzip"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"_id\": \"1\",\n    \"_index\": \"test-v7-yo\",\n    \"_shards\": {\n        \"failed\": 0,\n        \"successful\": 0,\n        \"total\": 0\n    },\n    \"_type\": \"_doc\",\n    \"_version\": 1,\n    \"result\": \"noop\"\n}"}],"_postman_id":"07c686a4-44af-c4d3-ddab-d49b9a9b3351"},{"name":"/:app/_doc/:id/_update (via script)","id":"1a814ae3-e706-e0c6-2a89-0b129220cffb","request":{"method":"POST","header":[{"key":"Authorization","value":"Basic {{credentials_64}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"script\" : {\n        \"inline\": \"ctx._source.text += params.tag\",\n        \"params\" : {\n            \"tag\" : \" I am an additional sentence.\"\n        }\n    }\n}"},"url":"{{host}}/{{app}}/{{type}}/{{id}}/_update","description":"<p>Save <strong>partial</strong> data as field(s) within the document with provided <code>id</code> via a script. Note that the fields in the request body are wrapped inside a <code>script</code> key. Read more <a href=\"https://www.elastic.co/guide/en/elasticsearch/reference/2.4/docs-update.html#_scripted_updates\">here</a>.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>app</td>\n<td>App name</td>\n</tr>\n<tr>\n<td>id</td>\n<td>Document ID (a unique string)</td>\n</tr>\n<tr>\n<td>credentials_64</td>\n<td>App's credentials encoded with base64</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["{{app}}","{{type}}","{{id}}","_update"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"f5189d14-4040-4b4b-93d0-3adfddcc4b38","name":"/:app/_doc/:id/_update (via script)","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Basic {{credentials_64_example}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"script\" : {\n        \"inline\": \"ctx._source.text += params.tag\",\n        \"params\" : {\n            \"tag\" : \" I am an additional sentence.\"\n        }\n    }\n}"},"url":"{{host}}/{{app_example}}/_doc/{{id_example}}/_update"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty/1.15.8.1"},{"key":"Date","value":"Mon, 30 Sep 2019 23:10:18 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Warning","value":"299 Elasticsearch-7.3.2-1c1faf1 \"[types removal] Specifying types in document update requests is deprecated, use the endpoint /{index}/_update/{id} instead.\""},{"key":"X-Origin","value":"ES"},{"key":"Content-Encoding","value":"gzip"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"_id\": \"1\",\n    \"_index\": \"test-v7-yo\",\n    \"_primary_term\": 5,\n    \"_seq_no\": 1,\n    \"_shards\": {\n        \"failed\": 0,\n        \"successful\": 2,\n        \"total\": 2\n    },\n    \"_type\": \"_doc\",\n    \"_version\": 2,\n    \"result\": \"updated\"\n}"}],"_postman_id":"1a814ae3-e706-e0c6-2a89-0b129220cffb"}],"id":"5c93757e-001d-72ee-b95a-8ce4c8098c03","_postman_id":"5c93757e-001d-72ee-b95a-8ce4c8098c03","description":""},{"name":"Delete","item":[{"name":"/:app/_doc/:id","id":"78f35119-22be-0a5e-cc13-21afb5d4e660","request":{"method":"DELETE","header":[{"key":"Authorization","value":"Basic {{credentials_64}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"appbase.io\"\n}"},"url":"{{host}}/{{app}}/{{type}}/{{id}}","description":"<p>Delete a JSON document with the specified id.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>app</td>\n<td>App name</td>\n</tr>\n<tr>\n<td>id</td>\n<td>Document ID (a unique string)</td>\n</tr>\n<tr>\n<td>credentials_64</td>\n<td>App's credentials encoded with base64</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["{{app}}","{{type}}","{{id}}"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"5bab7935-f6ab-455b-9846-8c82e2e329e5","name":"/:app/_doc/:id","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Basic {{credentials_64_example}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"appbase.io\"\n}"},"url":"{{host}}/{{app_example}}/_doc/{{id_example}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty/1.15.8.1"},{"key":"Date","value":"Mon, 30 Sep 2019 23:11:05 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Origin","value":"ES"},{"key":"Content-Encoding","value":"gzip"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"_id\": \"1\",\n    \"_index\": \"test-v7-yo\",\n    \"_primary_term\": 5,\n    \"_seq_no\": 2,\n    \"_shards\": {\n        \"failed\": 0,\n        \"successful\": 2,\n        \"total\": 2\n    },\n    \"_type\": \"_doc\",\n    \"_version\": 3,\n    \"result\": \"deleted\"\n}"}],"_postman_id":"78f35119-22be-0a5e-cc13-21afb5d4e660"}],"id":"e3763382-2244-d673-3f7c-12e809cd685b","_postman_id":"e3763382-2244-d673-3f7c-12e809cd685b","description":""},{"name":"Bulk","item":[{"name":"/:app/_bulk","id":"1162c8a2-733f-aee0-1c57-63fc3979feeb","request":{"method":"POST","header":[{"key":"Authorization","value":"Basic {{credentials_64}}"}],"body":{"mode":"raw","raw":"{ \"index\": { \"_type\": \"users\", \"_id\": \"2\" } }\n{ \"name\": \"appbase.io\", \"text\": \"I am groot!\" }\n{ \"delete\": { \"_id\": \"2\" } }"},"url":"{{host}}/{{app}}/_bulk","description":"<p>Make bulk requests on a specified <code>app</code>. Bulk requests can be any of <code>index</code>, <code>update</code> and <code>delete</code> requests.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>app</td>\n<td>App name</td>\n</tr>\n<tr>\n<td>credentials_64</td>\n<td>App's credentials encoded with base64</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["{{app}}","_bulk"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"20304858-a0fd-4d83-bf0c-f3f022ec9648","name":"/:app/_bulk","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Basic {{credentials_64_example}}"},{"key":"Content-Type","value":"application/x-ndjson","type":"text"}],"body":{"mode":"raw","raw":"{ \"index\": {\"_id\": \"2\" } }\n{ \"name\": \"appbase.io\", \"text\": \"I am groot!\" }\n{ \"delete\": { \"_id\": \"2\" } }\n"},"url":"{{host}}/{{app_example}}/_bulk"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty/1.15.8.1"},{"key":"Date","value":"Mon, 30 Sep 2019 23:13:16 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Origin","value":"ES"},{"key":"Content-Encoding","value":"gzip"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": false,\n    \"items\": [\n        {\n            \"index\": {\n                \"_id\": \"2\",\n                \"_index\": \"test-v7-yo\",\n                \"_primary_term\": 5,\n                \"_seq_no\": 2,\n                \"_shards\": {\n                    \"failed\": 0,\n                    \"successful\": 2,\n                    \"total\": 2\n                },\n                \"_type\": \"_doc\",\n                \"_version\": 2,\n                \"result\": \"created\",\n                \"status\": 201\n            }\n        },\n        {\n            \"delete\": {\n                \"_id\": \"2\",\n                \"_index\": \"test-v7-yo\",\n                \"_primary_term\": 5,\n                \"_seq_no\": 3,\n                \"_shards\": {\n                    \"failed\": 0,\n                    \"successful\": 2,\n                    \"total\": 2\n                },\n                \"_type\": \"_doc\",\n                \"_version\": 3,\n                \"result\": \"deleted\",\n                \"status\": 200\n            }\n        }\n    ],\n    \"took\": 61\n}"}],"_postman_id":"1162c8a2-733f-aee0-1c57-63fc3979feeb"},{"name":"/:app/_mget","id":"52d669a8-461e-8732-d0cd-1e18475c73ce","request":{"method":"POST","header":[{"key":"Authorization","value":"Basic {{credentials_64}}"}],"body":{"mode":"raw","raw":"{\n    \"docs\" : [\n        {\n            \"_id\" : \"1\"\n        },\n        {\n            \"_id\" : \"2\"\n        }\n    ]\n}"},"url":"{{host}}/{{app}}/_mget","description":"<p>Get multiple documents from a specified <code>app</code>.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>app</td>\n<td>App name</td>\n</tr>\n<tr>\n<td>type</td>\n<td>Type name (type is a logical namespace within an app)</td>\n</tr>\n<tr>\n<td>credentials_64</td>\n<td>App's credentials encoded with base64</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["{{app}}","_mget"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"17f7533f-db68-483b-b3cc-34a639079536","name":"/:app/_mget","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Basic {{credentials_64_example}}"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"docs\" : [\n        {\n            \"_id\" : \"1\"\n        },\n        {\n            \"_id\" : \"2\"\n        }\n    ]\n}"},"url":"{{host}}/{{app_example}}/_mget"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty/1.15.8.1"},{"key":"Date","value":"Mon, 30 Sep 2019 23:15:28 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Origin","value":"ES"},{"key":"Content-Encoding","value":"gzip"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"docs\": [\n        {\n            \"_id\": \"1\",\n            \"_index\": \"test-v7-yo\",\n            \"_type\": \"_doc\",\n            \"found\": false\n        },\n        {\n            \"_id\": \"2\",\n            \"_index\": \"test-v7-yo\",\n            \"_primary_term\": 5,\n            \"_seq_no\": 8,\n            \"_source\": {\n                \"name\": \"appbase.io\",\n                \"text\": \"I am groot!\"\n            },\n            \"_type\": \"_doc\",\n            \"_version\": 3,\n            \"found\": true\n        }\n    ]\n}"}],"_postman_id":"52d669a8-461e-8732-d0cd-1e18475c73ce"}],"id":"522b7cd3-56ac-8af4-ba04-cb1224eee8aa","_postman_id":"522b7cd3-56ac-8af4-ba04-cb1224eee8aa","description":""}],"id":"406a2aae-c90b-4ec1-3f81-135813eacdeb","description":"<p>The document APIs allow creating, updating, reading and deleting JSON documents from appbase.io.</p>\n","_postman_id":"406a2aae-c90b-4ec1-3f81-135813eacdeb"},{"name":"Search","item":[{"name":"/:app/_search?q","id":"5c527a62-c4ee-ec5d-2a8a-03a02914baec","request":{"method":"GET","header":[{"key":"Authorization","value":"Basic {{credentials_64}}"}],"url":"{{host}}/{{app}}/{{type}}/_search?q=*:*","description":"<p>Apply a search via querystring <code>q</code> querystring parameter.</p>\n<blockquote>\n<p>Note: Queries can be applied across multiple types.</p>\n</blockquote>\n","urlObject":{"path":["{{app}}","{{type}}","_search"],"host":["{{host}}"],"query":[{"description":{"content":"<p>Query string for the search term</p>\n","type":"text/plain"},"key":"q","value":"*:*"}],"variable":[]}},"response":[{"id":"430fda29-2a6b-4aab-a0ae-dd144ba9bea2","name":"/:app/_search?q","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Basic {{credentials_64_example}}"}],"url":{"raw":"{{host}}/{{app_example}}/_search?q=*:*","host":["{{host}}"],"path":["{{app_example}}","_search"],"query":[{"key":"q","value":"*:*","description":"Query string for the search term"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty/1.15.8.1"},{"key":"Date","value":"Mon, 30 Sep 2019 23:16:20 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Origin","value":"ES"},{"key":"Content-Encoding","value":"gzip"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"_shards\": {\n        \"failed\": 0,\n        \"skipped\": 0,\n        \"successful\": 3,\n        \"total\": 3\n    },\n    \"hits\": {\n        \"hits\": [\n            {\n                \"_id\": \"ySuUamsBE-2OOnXiV9Gy\",\n                \"_index\": \"test-v7-yo\",\n                \"_score\": 1,\n                \"_source\": {},\n                \"_type\": \"_doc\"\n            },\n            {\n                \"_id\": \"radohG0BvBPhFQgpa1K2\",\n                \"_index\": \"test-v7-yo\",\n                \"_score\": 1,\n                \"_source\": {\n                    \"name\": \"appbase.io\"\n                },\n                \"_type\": \"_doc\"\n            },\n            {\n                \"_id\": \"2\",\n                \"_index\": \"test-v7-yo\",\n                \"_score\": 1,\n                \"_source\": {\n                    \"name\": \"appbase.io\",\n                    \"text\": \"I am groot!\"\n                },\n                \"_type\": \"_doc\"\n            }\n        ],\n        \"max_score\": 1,\n        \"total\": {\n            \"relation\": \"eq\",\n            \"value\": 3\n        }\n    },\n    \"timed_out\": false,\n    \"took\": 699\n}"}],"_postman_id":"5c527a62-c4ee-ec5d-2a8a-03a02914baec"},{"name":"/:app/_search?scroll=1m","id":"b2a45217-bf0b-45b1-89e3-b14e45d8a0c3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Basic {{credentials_64}}"}],"url":"{{host}}/{{app}}/_search?scroll=1m","description":"<p>In order to get scroll_id for, initial search request can be made with scroll param. This param tells ElasticSearch how long it should keep search context. Check more about scroll context values <a href=\"https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-body.html#scroll-search-context\">here</a>.</p>\n","urlObject":{"path":["{{app}}","_search"],"host":["{{host}}"],"query":[{"key":"scroll","value":"1m"}],"variable":[]}},"response":[{"id":"bb67bc72-cedc-4880-9ef8-aa1b5beb6fdf","name":"/:app/_search?scroll=1m","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Basic {{credentials_64_example}}"}],"url":{"raw":"{{host}}/{{app_example}}/_search?scroll=1m","host":["{{host}}"],"path":["{{app_example}}","_search"],"query":[{"key":"scroll","value":"1m"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty/1.15.8.1"},{"key":"Date","value":"Mon, 30 Sep 2019 23:24:19 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Origin","value":"ES"},{"key":"Content-Encoding","value":"gzip"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"_scroll_id\": \"DnF1ZXJ5VGhlbkZldGNoAwAAAAAAF35LFjlwekVXSWV0VHlPajlCZnR6NEt0ZHcAAAAAABd-TBY5cHpFV0lldFR5T2o5QmZ0ejRLdGR3AAAAAAAXetsWaVd2dUlFd2ZRR3lhSlBscWNRbFotQQ==\",\n    \"_shards\": {\n        \"failed\": 0,\n        \"skipped\": 0,\n        \"successful\": 3,\n        \"total\": 3\n    },\n    \"hits\": {\n        \"hits\": [\n            {\n                \"_id\": \"ySuUamsBE-2OOnXiV9Gy\",\n                \"_index\": \"test-v7-yo\",\n                \"_score\": 1,\n                \"_source\": {},\n                \"_type\": \"_doc\"\n            },\n            {\n                \"_id\": \"radohG0BvBPhFQgpa1K2\",\n                \"_index\": \"test-v7-yo\",\n                \"_score\": 1,\n                \"_source\": {\n                    \"name\": \"appbase.io\"\n                },\n                \"_type\": \"_doc\"\n            },\n            {\n                \"_id\": \"2\",\n                \"_index\": \"test-v7-yo\",\n                \"_score\": 1,\n                \"_source\": {\n                    \"name\": \"appbase.io\",\n                    \"text\": \"I am groot!\"\n                },\n                \"_type\": \"_doc\"\n            }\n        ],\n        \"max_score\": 1,\n        \"total\": {\n            \"relation\": \"eq\",\n            \"value\": 3\n        }\n    },\n    \"timed_out\": false,\n    \"took\": 2\n}"}],"_postman_id":"b2a45217-bf0b-45b1-89e3-b14e45d8a0c3"},{"name":"/:app/_search/scroll?scroll_id","id":"900b50ad-e009-4744-9b80-53aa28942cb9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Basic {{credentials_64}}"}],"url":"{{host}}/{{app}}/_search/scroll?scroll_id=*:*&scroll=1m","description":"<p>While a search request returns a single “page” of results, the scroll API can be used to retrieve large numbers of results (or even all results) from a single search request, in much the same way as you would use a cursor on a traditional database.</p>\n<blockquote>\n<p>Note: scroll_id can be obtained using GET <code>/:app/_search?scroll=1m</code></p>\n</blockquote>\n","urlObject":{"path":["{{app}}","_search","scroll"],"host":["{{host}}"],"query":[{"description":{"content":"<p>Scroll id obtained from <code>/:app/_search?scroll=1m</code> api</p>\n","type":"text/plain"},"key":"scroll_id","value":"*:*"},{"description":{"content":"<p>Time for which ElasticSearch should hold search context</p>\n","type":"text/plain"},"key":"scroll","value":"1m"}],"variable":[]}},"response":[{"id":"5d2396b9-6940-42b3-b31f-95560e6ecb21","name":"/:app/_search/scroll?scroll_id=scroll_id&scroll=scroll_context_time","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Basic {{credentials_64_example}}","warning":""}],"url":{"raw":"https://scalr.api.appbase.io/{{app_example}}/_search/scroll?scroll_id=DnF1ZXJ5VGhlbkZldGNoAwAAAABAgyJCFlJ4UzhJRkJDUnhtVUpuTFZpZGhoVUEAAAAAQIyg7xY4QVhFZHlmQlE5cVNjX1BOckF5cHlnAAAAAEBZsZQWcEpxYWg3ZXRRQ0M4NFdwc0lNY3M0dw==&scroll=1m","protocol":"https","host":["scalr","api","appbase","io"],"path":["{{app_example}}","_search","scroll"],"query":[{"key":"scroll_id","value":"DnF1ZXJ5VGhlbkZldGNoAwAAAABAgyJCFlJ4UzhJRkJDUnhtVUpuTFZpZGhoVUEAAAAAQIyg7xY4QVhFZHlmQlE5cVNjX1BOckF5cHlnAAAAAEBZsZQWcEpxYWg3ZXRRQ0M4NFdwc0lNY3M0dw=="},{"key":"scroll","value":"1m"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"name":"connection","key":"connection","value":"keep-alive","description":""},{"name":"content-encoding","key":"content-encoding","value":"gzip","description":""},{"name":"content-type","key":"content-type","value":"application/json; charset=UTF-8","description":""},{"name":"date","key":"date","value":"Wed, 25 Oct 2017 15:44:04 GMT","description":""},{"name":"server","key":"server","value":"openresty/1.9.3.1","description":""},{"name":"transfer-encoding","key":"transfer-encoding","value":"chunked","description":""},{"name":"x-origin","key":"x-origin","value":"ES","description":""}],"cookie":[{"expires":"Wed Dec 09 2026 11:21:27 GMT+0000 (Coordinated Universal Time)","hostOnly":false,"httpOnly":false,"domain":".appbase.io","path":"/","secure":false,"session":false,"value":"oeu1481455287145r0.9644028947467729","key":"optimizelyEndUserId"},{"expires":"Tue Dec 12 2017 01:05:16 GMT+0000 (Coordinated Universal Time)","hostOnly":false,"httpOnly":true,"domain":".appbase.io","path":"/","secure":false,"session":false,"value":"dc55810861fe5caca682d5c8562f927f31481504716","key":"__cfduid"},{"expires":"Mon Mar 29 2027 14:07:51 GMT+0000 (Coordinated Universal Time)","hostOnly":false,"httpOnly":false,"domain":".appbase.io","path":"/","secure":false,"session":false,"value":"%7B%222208410945%22%3A%22false%22%2C%222218510216%22%3A%22referral%22%2C%222224370348%22%3A%22gc%22%7D","key":"optimizelySegments"},{"expires":"Mon Mar 29 2027 14:07:51 GMT+0000 (Coordinated Universal Time)","hostOnly":false,"httpOnly":false,"domain":".appbase.io","path":"/","secure":false,"session":false,"value":"%7B%7D","key":"optimizelyBuckets"},{"expires":"Thu May 24 2018 02:38:01 GMT+0000 (Coordinated Universal Time)","hostOnly":false,"httpOnly":false,"domain":".appbase.io","path":"/","secure":false,"session":false,"value":"04ebd187-d56f-4444-9342-117df59d5172","key":"__stripe_mid"},{"expires":"Sat Feb 24 2018 06:00:00 GMT+0000 (Coordinated Universal Time)","hostOnly":false,"httpOnly":false,"domain":".appbase.io","path":"/","secure":false,"session":false,"value":"1ff8078-15c3c7153c8-731d1fd0-4","key":"__unam"},{"expires":"Wed Nov 01 2017 15:19:55 GMT+0000 (Coordinated Universal Time)","hostOnly":false,"httpOnly":false,"domain":".appbase.io","path":"/","secure":false,"session":false,"value":"T2tKSkpmOWM2VDVEU0dOcVI2UlVXaUM3Y3lFR0l6QWp1Wm1GZzhwMUpxbmlrUFgvY1NUbU1ndmVWNC9QZWhnQy0tSXp3d1l5SmwyL05nTFN5cXNoenZWQT09--92a939dd0bcb68fe65e37567691cc50984896a0b","key":"intercom-session-jnzcgdd7"},{"expires":"Fri Oct 25 2019 15:40:35 GMT+0000 (Coordinated Universal Time)","hostOnly":false,"httpOnly":false,"domain":".appbase.io","path":"/","secure":false,"session":false,"value":"GA1.2.70833999.1481455287","key":"_ga"},{"expires":"Thu Oct 26 2017 15:40:35 GMT+0000 (Coordinated Universal Time)","hostOnly":false,"httpOnly":false,"domain":".appbase.io","path":"/","secure":false,"session":false,"value":"GA1.2.1164850515.1508764607","key":"_gid"}],"responseTime":null,"body":"{\"_scroll_id\": \"DnF1ZXJ5VGhlbkZldGNoAwAAAABAjYGwFjhBWEVkeWZCUTlxU2NfUE5yQXlweWcAAAAAQI2BsRY4QVhFZHlmQlE5cVNjX1BOckF5cHlnAAAAAEBakbsWcEpxYWg3ZXRRQ0M4NFdwc0lNY3M0dw==\",\"took\":16,\"timed_out\":false,\"_shards\":{\"total\":1,\"successful\":1,\"failed\":0},\"hits\":{\"total\":1,\"max_score\":0.70273256,\"hits\":[{\"_index\":\"RESTAPI\",\"_type\":\"users\",\"_id\":\"2\",\"_score\":0.70273256,\"_source\":{ \"name\": \"appbase.io\", \"text\": \"I am groot!\" }}]}}"}],"_postman_id":"900b50ad-e009-4744-9b80-53aa28942cb9"},{"name":"/:app/_search","id":"8ba42b07-46a6-0c0b-5ebc-cf4d54411fc7","request":{"method":"POST","header":[{"key":"Authorization","value":"Basic {{credentials_64}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"query\": {\n\t\t\"term\": {\n\t\t\t\"original_title\": \"\"\n\t\t}\n\t}\n}"},"url":"{{host}}/{{app}}/{{type}}/_search","description":"<p>Apply a search via the request <code>body</code>. The request body is constructed using the <a href=\"https://www.elastic.co/guide/en/elasticsearch/reference/2.4/query-dsl.html\">Query DSL</a>.</p>\n<p>Popular queries include:</p>\n<ol>\n<li><a href=\"https://www.elastic.co/guide/en/elasticsearch/reference/2.4/full-text-queries.html\">Full-text search</a></li>\n<li><a href=\"https://www.elastic.co/guide/en/elasticsearch/reference/2.4/term-level-queries.html\">Term Queries</a></li>\n<li><a href=\"https://www.elastic.co/guide/en/elasticsearch/reference/2.4/compound-queries.html\">Compound Queries</a></li>\n<li><a href=\"https://www.elastic.co/guide/en/elasticsearch/reference/2.4/geo-queries.html\">Geo Queries</a></li>\n<li><a href=\"https://www.elastic.co/guide/en/elasticsearch/reference/2.4/joining-queries.html\">Query Joins</a></li>\n<li><a href=\"https://www.elastic.co/guide/en/elasticsearch/reference/2.4/span-queries.html\">Span Queries</a></li>\n</ol>\n<blockquote>\n<p>Note: Queries can be applied across multiple types.</p>\n</blockquote>\n","urlObject":{"path":["{{app}}","{{type}}","_search"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"8a9acd65-b73a-49d9-9659-87b1e565a951","name":"/:app/_search","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Basic {{credentials_64_example}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"query\": {\n\t\t\"match_all\": {}\n\t}\n}"},"url":"{{host}}/{{app_example}}/_search"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty/1.15.8.1"},{"key":"Date","value":"Mon, 30 Sep 2019 23:27:40 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Origin","value":"ES"},{"key":"Content-Encoding","value":"gzip"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"_shards\": {\n        \"failed\": 0,\n        \"skipped\": 0,\n        \"successful\": 3,\n        \"total\": 3\n    },\n    \"hits\": {\n        \"hits\": [\n            {\n                \"_id\": \"ySuUamsBE-2OOnXiV9Gy\",\n                \"_index\": \"test-v7-yo\",\n                \"_score\": 1,\n                \"_source\": {},\n                \"_type\": \"_doc\"\n            },\n            {\n                \"_id\": \"radohG0BvBPhFQgpa1K2\",\n                \"_index\": \"test-v7-yo\",\n                \"_score\": 1,\n                \"_source\": {\n                    \"name\": \"appbase.io\"\n                },\n                \"_type\": \"_doc\"\n            },\n            {\n                \"_id\": \"2\",\n                \"_index\": \"test-v7-yo\",\n                \"_score\": 1,\n                \"_source\": {\n                    \"name\": \"appbase.io\",\n                    \"text\": \"I am groot!\"\n                },\n                \"_type\": \"_doc\"\n            }\n        ],\n        \"max_score\": 1,\n        \"total\": {\n            \"relation\": \"eq\",\n            \"value\": 3\n        }\n    },\n    \"timed_out\": false,\n    \"took\": 2\n}"}],"_postman_id":"8ba42b07-46a6-0c0b-5ebc-cf4d54411fc7"},{"name":"/:app/_search/scroll","id":"a9ce862a-5a9d-4f72-8d1c-b5ddf5a62c55","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Basic {{credentials_64}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"scroll\" : \"1m\", \n    \"scroll_id\" : \"DXF1ZXJ5QW5kRmV0Y2gBAAAAAAAAAD4WYm9laVYtZndUQlNsdDcwakFMNjU1QQ==\" \n}"},"url":"{{host}}/{{app}}/_search/scroll","description":"<p>While a search request returns a single “page” of results, the scroll API can be used to retrieve large numbers of results (or even all results) from a single search request, in much the same way as you would use a cursor on a traditional database.</p>\n<blockquote>\n<p>Note: scroll_id can be obtained using GET <code>/:app/_search?scroll=1m</code></p>\n</blockquote>\n","urlObject":{"path":["{{app}}","_search","scroll"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"e53f6d23-3190-4e04-a97f-59bc857abb5d","name":"/:app/_search/scroll","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Basic {{credentials_64_example}}","warning":""},{"key":"Content-Type","value":"application/json","warning":""}],"body":{"mode":"raw","raw":"{\n    \"scroll\" : \"1m\", \n    \"scroll_id\" : \"DnF1ZXJ5VGhlbkZldGNoAwAAAABAjYGwFjhBWEVkeWZCUTlxU2NfUE5yQXlweWcAAAAAQI2BsRY4QVhFZHlmQlE5cVNjX1BOckF5cHlnAAAAAEBakbsWcEpxYWg3ZXRRQ0M4NFdwc0lNY3M0dw==\" \n}"},"url":"https://scalr.api.appbase.io/{{app_example}}/_search/scroll"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"name":"access-control-allow-credentials","key":"access-control-allow-credentials","value":"true","description":""},{"name":"access-control-allow-origin","key":"access-control-allow-origin","value":"chrome-extension://aicmkgpgakddgnaphhhpliifpcfhicfo","description":""},{"name":"connection","key":"connection","value":"keep-alive","description":""},{"name":"content-encoding","key":"content-encoding","value":"gzip","description":""},{"name":"content-type","key":"content-type","value":"application/json; charset=UTF-8","description":""},{"name":"date","key":"date","value":"Wed, 25 Oct 2017 17:38:29 GMT","description":""},{"name":"server","key":"server","value":"openresty/1.9.3.1","description":""},{"name":"transfer-encoding","key":"transfer-encoding","value":"chunked","description":""},{"name":"vary","key":"vary","value":"Origin","description":""},{"name":"x-origin","key":"x-origin","value":"ES","description":""}],"cookie":[{"expires":"Wed Dec 09 2026 11:21:27 GMT+0000 (Coordinated Universal Time)","hostOnly":false,"httpOnly":false,"domain":".appbase.io","path":"/","secure":false,"session":false,"value":"oeu1481455287145r0.9644028947467729","key":"optimizelyEndUserId"},{"expires":"Tue Dec 12 2017 01:05:16 GMT+0000 (Coordinated Universal Time)","hostOnly":false,"httpOnly":true,"domain":".appbase.io","path":"/","secure":false,"session":false,"value":"dc55810861fe5caca682d5c8562f927f31481504716","key":"__cfduid"},{"expires":"Mon Mar 29 2027 14:07:51 GMT+0000 (Coordinated Universal Time)","hostOnly":false,"httpOnly":false,"domain":".appbase.io","path":"/","secure":false,"session":false,"value":"%7B%222208410945%22%3A%22false%22%2C%222218510216%22%3A%22referral%22%2C%222224370348%22%3A%22gc%22%7D","key":"optimizelySegments"},{"expires":"Mon Mar 29 2027 14:07:51 GMT+0000 (Coordinated Universal Time)","hostOnly":false,"httpOnly":false,"domain":".appbase.io","path":"/","secure":false,"session":false,"value":"%7B%7D","key":"optimizelyBuckets"},{"expires":"Thu May 24 2018 02:38:01 GMT+0000 (Coordinated Universal Time)","hostOnly":false,"httpOnly":false,"domain":".appbase.io","path":"/","secure":false,"session":false,"value":"04ebd187-d56f-4444-9342-117df59d5172","key":"__stripe_mid"},{"expires":"Sat Feb 24 2018 06:00:00 GMT+0000 (Coordinated Universal Time)","hostOnly":false,"httpOnly":false,"domain":".appbase.io","path":"/","secure":false,"session":false,"value":"1ff8078-15c3c7153c8-731d1fd0-4","key":"__unam"},{"expires":"Wed Nov 01 2017 15:19:55 GMT+0000 (Coordinated Universal Time)","hostOnly":false,"httpOnly":false,"domain":".appbase.io","path":"/","secure":false,"session":false,"value":"T2tKSkpmOWM2VDVEU0dOcVI2UlVXaUM3Y3lFR0l6QWp1Wm1GZzhwMUpxbmlrUFgvY1NUbU1ndmVWNC9QZWhnQy0tSXp3d1l5SmwyL05nTFN5cXNoenZWQT09--92a939dd0bcb68fe65e37567691cc50984896a0b","key":"intercom-session-jnzcgdd7"},{"expires":"Fri Oct 25 2019 17:41:00 GMT+0000 (Coordinated Universal Time)","hostOnly":false,"httpOnly":false,"domain":".appbase.io","path":"/","secure":false,"session":false,"value":"GA1.2.70833999.1481455287","key":"_ga"},{"expires":"Thu Oct 26 2017 17:41:00 GMT+0000 (Coordinated Universal Time)","hostOnly":false,"httpOnly":false,"domain":".appbase.io","path":"/","secure":false,"session":false,"value":"GA1.2.1164850515.1508764607","key":"_gid"},{"expires":"Wed Oct 25 2017 17:42:00 GMT+0000 (Coordinated Universal Time)","hostOnly":false,"httpOnly":false,"domain":".appbase.io","path":"/","secure":false,"session":false,"value":"1","key":"_gat"}],"responseTime":null,"body":"{\"_scroll_id\": \"DnF1ZXJ5VGhlbkZldGNoAwAAAABAjYGwFjhBWEVkeWZCUTlxU2NfUE5yQXlweWcAAAAAQI2BsRY4QVhFZHlmQlE5cVNjX1BOckF5cHlnAAAAAEBakbsWcEpxYWg3ZXRRQ0M4NFdwc0lNY3M0dw==\",\"took\":1,\"timed_out\":false,\"_shards\":{\"total\":1,\"successful\":1,\"failed\":0},\"hits\":{\"total\":3,\"max_score\":0.71231794,\"hits\":[{\"_index\":\"RESTAPI\",\"_type\":\"users\",\"_id\":\"AV9TMWUaGGwAESeFvHfT\",\"_score\":0.71231794,\"_source\":{\"name\":\"appbase.io\",\"text\":\"null I am an additional sentence.\"}},{\"_index\":\"RESTAPI\",\"_type\":\"users\",\"_id\":\"1\",\"_score\":0.71231794,\"_source\":{\"name\":\"appbase.io\",\"text\":\"A quick brown fox jumps over the lazy dog. I am an additional sentence. I am an additional sentence. I am an additional sentence.\"}},{\"_index\":\"RESTAPI\",\"_type\":\"users\",\"_id\":\"2\",\"_score\":0.71231794,\"_source\":{ \"name\": \"appbase.io\", \"text\": \"I am groot!\" }}]}}"}],"_postman_id":"a9ce862a-5a9d-4f72-8d1c-b5ddf5a62c55"},{"name":"/:app/_doc/_update_by_query","id":"f2dc51ce-3ef8-f810-c605-82b60a8a7841","request":{"method":"POST","header":[{"key":"Authorization","value":"Basic {{credentials_64}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"script\" : {\n        \"inline\": \"ctx._source.text += params.tag\",\n        \"params\" : {\n            \"tag\" : \" I am an additional sentence.\"\n        }\n    },\n    \"query\": {\n    \t\"match\": {\n    \t\t\"name\": \"appbase.io\"\n    \t}\n    }\n}"},"url":"{{host}}/{{app}}/{{type}}/_update_by_query","description":"<p>Update the documents that match the specified query. Read more <a href=\"https://www.elastic.co/guide/en/elasticsearch/reference/2.4/docs-update-by-query.html\">here</a>.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>app</td>\n<td>App name</td>\n</tr>\n<tr>\n<td>credentials_64</td>\n<td>App's credentials encoded with base64</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["{{app}}","{{type}}","_update_by_query"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"f40b930e-017d-4377-9d78-6ed686b41610","name":"/:app/_doc/_update_by_query","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Basic {{credentials_64_example}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"script\" : {\n        \"inline\": \"ctx._source.text += params.tag\",\n        \"params\" : {\n            \"tag\" : \" I am an additional sentence.\"\n        }\n    },\n    \"query\": {\n    \t\"match\": {\n    \t\t\"name\": \"appbase.io\"\n    \t}\n    }\n}"},"url":"{{host}}/{{app_example}}/_doc/_update_by_query"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty/1.15.8.1"},{"key":"Date","value":"Mon, 30 Sep 2019 23:29:15 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Warning","value":"299 Elasticsearch-7.3.2-1c1faf1 \"Deprecated field [inline] used, expected [source] instead\""},{"key":"X-Origin","value":"ES"},{"key":"Content-Encoding","value":"gzip"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"batches\": 1,\n    \"deleted\": 0,\n    \"failures\": [],\n    \"noops\": 0,\n    \"requests_per_second\": -1,\n    \"retries\": {\n        \"bulk\": 0,\n        \"search\": 0\n    },\n    \"throttled_millis\": 0,\n    \"throttled_until_millis\": 0,\n    \"timed_out\": false,\n    \"took\": 407,\n    \"total\": 2,\n    \"updated\": 2,\n    \"version_conflicts\": 0\n}"}],"_postman_id":"f2dc51ce-3ef8-f810-c605-82b60a8a7841"},{"name":"/:app/_delete_by_query","id":"b607e16a-cbe6-7642-2837-52923c2e9d6c","request":{"method":"POST","header":[{"key":"Authorization","value":"Basic {{credentials_64}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"query\": {\n\t\t\"match\": {\n\t\t\t\"name\": \"appbase.io\"\n\t\t}\n\t}\n}"},"url":"{{host}}/{{app}}/{{type}}/_delete_by_query","description":"<p>Delete documents that match the query in the request <code>body</code>. The request body is constructed using the <a href=\"https://www.elastic.co/guide/en/elasticsearch/reference/5.6/query-dsl.html\">Query DSL</a>.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>app</td>\n<td>App name</td>\n</tr>\n<tr>\n<td>credentials_64</td>\n<td>App's credentials encoded with base64</td>\n</tr>\n</tbody>\n</table>\n</div><p>Queries can be applied across multiple types by not using the <code>type</code> variable in the URL.</p>\n<blockquote>\n<p><strong>Note:</strong> This query has changed starting v5.x. It used to require a plugin and had a different endpoint signature in Elasticsearch v2.x.</p>\n</blockquote>\n","urlObject":{"path":["{{app}}","{{type}}","_delete_by_query"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"55cfaeb6-0760-45ed-9029-7313f5633b91","name":"/:app/_delete_by_query","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Basic {{credentials_64_example}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"query\": {\n\t\t\"match\": {\n\t\t\t\"name\": \"appbase.io\"\n\t\t}\n\t}\n}"},"url":"{{host}}/{{app_example}}/_delete_by_query"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty/1.15.8.1"},{"key":"Date","value":"Mon, 30 Sep 2019 23:31:41 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Origin","value":"ES"},{"key":"Content-Encoding","value":"gzip"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"batches\": 0,\n    \"deleted\": 0,\n    \"failures\": [],\n    \"noops\": 0,\n    \"requests_per_second\": -1,\n    \"retries\": {\n        \"bulk\": 0,\n        \"search\": 0\n    },\n    \"throttled_millis\": 0,\n    \"throttled_until_millis\": 0,\n    \"timed_out\": false,\n    \"took\": 3,\n    \"total\": 0,\n    \"version_conflicts\": 0\n}"}],"_postman_id":"b607e16a-cbe6-7642-2837-52923c2e9d6c"},{"name":"/:app/_msearch","id":"b39f9e47-e209-4fe0-9d10-580251757e34","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"","description":"<p>Multi-search - Send one or more search requests together</p>\n","urlObject":{"query":[],"variable":[]}},"response":[{"id":"8c649466-ea76-4e18-975d-796b7509c807","name":"/:app/_msearch","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Basic {{credentials_64_example}}","type":"text"},{"key":"Content-Type","value":"application/x-ndjson","type":"text"}],"body":{"mode":"raw","raw":"{}\n{\"query\": {\"match_all\": {}}}\n{}\n{\"query\": {\"term\": {\"name\": \"appbase.io\"}}}\n"},"url":"{{host}}/{{app_example}}/_msearch"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty/1.15.8.1"},{"key":"Date","value":"Mon, 30 Sep 2019 23:36:10 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Origin","value":"ES"},{"key":"Content-Encoding","value":"gzip"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"responses\": [\n        {\n            \"_shards\": {\n                \"failed\": 0,\n                \"skipped\": 0,\n                \"successful\": 3,\n                \"total\": 3\n            },\n            \"hits\": {\n                \"hits\": [\n                    {\n                        \"_id\": \"ySuUamsBE-2OOnXiV9Gy\",\n                        \"_index\": \"test-v7-yo\",\n                        \"_score\": 1,\n                        \"_source\": {},\n                        \"_type\": \"_doc\"\n                    },\n                    {\n                        \"_id\": \"2\",\n                        \"_index\": \"test-v7-yo\",\n                        \"_score\": 1,\n                        \"_source\": {\n                            \"name\": \"appbase.io\",\n                            \"text\": \"I am groot!\"\n                        },\n                        \"_type\": \"_doc\"\n                    }\n                ],\n                \"max_score\": 1,\n                \"total\": {\n                    \"relation\": \"eq\",\n                    \"value\": 2\n                }\n            },\n            \"status\": 200,\n            \"timed_out\": false,\n            \"took\": 1\n        },\n        {\n            \"_shards\": {\n                \"failed\": 0,\n                \"skipped\": 0,\n                \"successful\": 3,\n                \"total\": 3\n            },\n            \"hits\": {\n                \"hits\": [\n                    {\n                        \"_id\": \"2\",\n                        \"_index\": \"test-v7-yo\",\n                        \"_score\": 0.13353139,\n                        \"_source\": {\n                            \"name\": \"appbase.io\",\n                            \"text\": \"I am groot!\"\n                        },\n                        \"_type\": \"_doc\"\n                    }\n                ],\n                \"max_score\": 0.13353139,\n                \"total\": {\n                    \"relation\": \"eq\",\n                    \"value\": 1\n                }\n            },\n            \"status\": 200,\n            \"timed_out\": false,\n            \"took\": 2\n        }\n    ],\n    \"took\": 2\n}"}],"_postman_id":"b39f9e47-e209-4fe0-9d10-580251757e34"}],"id":"ec9088b7-8cd4-2f39-5ffb-f258b6d96531","description":"<p>The search APIs allow searching of JSON documents. appbase.io supports an extensive search API thanks to Elasticsearch's expressive Query DSL.</p>\n<p>If you are new to Elasticsearch, we recommend trying out the <a href=\"https://opensource.appbase.io/mirage\">Mirage</a> GUI for composing queries.</p>\n","_postman_id":"ec9088b7-8cd4-2f39-5ffb-f258b6d96531"}],"event":[{"listen":"prerequest","script":{"id":"d7c7256d-e4b7-4a24-a301-8fd963c56397","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"842d01df-8d17-4336-ad8d-25ee6a93a50c","type":"text/javascript","exec":[""]}}]}