Skip to content

Instantly share code, notes, and snippets.

@silentsudo
Created January 11, 2017 18:24
Show Gist options
  • Save silentsudo/7db8dc2d7441369f481894a0d54865c9 to your computer and use it in GitHub Desktop.
Save silentsudo/7db8dc2d7441369f481894a0d54865c9 to your computer and use it in GitHub Desktop.
Elastic search postman collection
{
"id": "0c45385d-7359-15da-b7c3-1b605de97d51",
"name": "ElasticSearch",
"description": "Elastic Search indexing searching and more...",
"order": [
"d87d6360-248b-7cbb-df59-a5c90f8f6e50",
"4f44462b-7d52-44c3-baad-1ca171aab0c0",
"e9efbbd2-7dad-3e42-9c34-e557090e774a",
"5c47039e-b910-4e5f-4e34-e11866efff89",
"91d64fe8-acc6-b245-30fd-0149c157b285",
"d8241904-1ccd-661e-6a8d-44befdf8c9bd"
],
"folders": [],
"timestamp": 1484158159754,
"owner": 0,
"public": false,
"requests": [
{
"id": "4f44462b-7d52-44c3-baad-1ca171aab0c0",
"headers": "Content-Type: application/json\n",
"url": "localhost:9200/blog/post/1",
"pathVariables": {},
"preRequestScript": null,
"method": "POST",
"collectionId": "0c45385d-7359-15da-b7c3-1b605de97d51",
"data": [],
"dataMode": "raw",
"name": "Create Blog Post",
"description": "{\n\t\"user\":\"ashish\",\n\t\"date\":\"11-Jan-2016\",\n\t\"title\":\"Feature Of Java\",\n\t\"content\":\"The Java Programming Language solves all the above problems. The Java programming language platform provides a portable, interpreted, high-performance, simple, object-oriented programming language and supporting run-time environment.\"\n}",
"descriptionFormat": "html",
"time": 1484158366368,
"version": 2,
"responses": [],
"tests": null,
"currentHelper": "normal",
"helperAttributes": {},
"rawModeData": "{\n\t\"user\":\"ashish\",\n\t\"date\":\"11-Jan-2016\",\n\t\"title\":\"Feature Of Java\",\n\t\"content\":\"The Java Programming Language solves all the above problems. The Java programming language platform provides a portable, interpreted, high-performance, simple, object-oriented programming language and supporting run-time environment.\"\n}"
},
{
"id": "5c47039e-b910-4e5f-4e34-e11866efff89",
"headers": "",
"url": "localhost:9200/blog/post/2?pretty=false",
"preRequestScript": null,
"pathVariables": {},
"method": "GET",
"data": null,
"dataMode": "params",
"tests": null,
"currentHelper": "normal",
"helperAttributes": {},
"time": 1484158595368,
"name": "Get Item at Index",
"description": "",
"collectionId": "0c45385d-7359-15da-b7c3-1b605de97d51",
"responses": []
},
{
"id": "91d64fe8-acc6-b245-30fd-0149c157b285",
"headers": "",
"url": "localhost:9200/blog/post/_search?q=content:the",
"preRequestScript": null,
"pathVariables": {},
"method": "GET",
"data": null,
"dataMode": "params",
"tests": null,
"currentHelper": "normal",
"helperAttributes": {},
"time": 1484158867474,
"name": "Search Index",
"description": "localhost:9200/blog/post/_search?q=content:the",
"collectionId": "0c45385d-7359-15da-b7c3-1b605de97d51",
"responses": []
},
{
"id": "d8241904-1ccd-661e-6a8d-44befdf8c9bd",
"headers": "",
"url": "localhost:9200/blog/post/_search?q=-title:stack",
"preRequestScript": null,
"pathVariables": {},
"method": "GET",
"data": null,
"dataMode": "params",
"tests": null,
"currentHelper": "normal",
"helperAttributes": {},
"time": 1484158901169,
"name": "Get More query",
"description": "localhost:9200/blog/post/_search?q=-title:stack\nGet all blog whose title does not contains stack",
"collectionId": "0c45385d-7359-15da-b7c3-1b605de97d51",
"responses": []
},
{
"id": "d87d6360-248b-7cbb-df59-a5c90f8f6e50",
"headers": "",
"url": "localhost:9200",
"preRequestScript": null,
"pathVariables": {},
"method": "GET",
"data": null,
"dataMode": "params",
"tests": null,
"currentHelper": "normal",
"helperAttributes": {},
"time": 1484158193607,
"name": "Test Server Running",
"description": "",
"collectionId": "0c45385d-7359-15da-b7c3-1b605de97d51",
"responses": []
},
{
"id": "e9efbbd2-7dad-3e42-9c34-e557090e774a",
"headers": "Content-Type: application/json\n",
"url": "localhost:9200/blog/post/2",
"preRequestScript": null,
"pathVariables": {},
"method": "POST",
"data": [],
"dataMode": "raw",
"tests": null,
"currentHelper": "normal",
"helperAttributes": {},
"time": 1484158471617,
"name": "Blog Post 2",
"description": "{\n\t\"user\":\"ashish\",\n\t\"date\":\"11-Jan-2016\",\n\t\"title\":\"Stack Memory\",\n\t\"content\":\"Stack is a special region in computer memory, that stores temporary variables like local variables, parameters, function calls etc.,Stack works in last in first out (LIFO) order. Whenever a new local variable initialized inside a function, it is pushed onto the stack, when the function finished execution, all the local variables pushed by that function onto the stack are removed from the stack.CPU organizes the stack memory for function calls, local variables creation, recursion. CPU organizes stack memory so efficiently, so reading from and writing to stack variables is very fast. There is a limit on the size of variables that can be stored on the stackThe default stack size depends on the platform\"\n}",
"collectionId": "0c45385d-7359-15da-b7c3-1b605de97d51",
"responses": [],
"rawModeData": "{\n\t\"user\":\"ashish\",\n\t\"date\":\"11-Jan-2016\",\n\t\"title\":\"Stack Memory\",\n\t\"content\":\"Stack is a special region in computer memory, that stores temporary variables like local variables, parameters, function calls etc.,Stack works in last in first out (LIFO) order. Whenever a new local variable initialized inside a function, it is pushed onto the stack, when the function finished execution, all the local variables pushed by that function onto the stack are removed from the stack.CPU organizes the stack memory for function calls, local variables creation, recursion. CPU organizes stack memory so efficiently, so reading from and writing to stack variables is very fast. There is a limit on the size of variables that can be stored on the stackThe default stack size depends on the platform\"\n}"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment