{ "opencollection": "1.0.0", "info": { "name": "Elasticsearch REST API", "version": "8.x" }, "request": { "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "items": [ { "info": { "name": "Index", "type": "folder" }, "items": [ { "info": { "name": "Get index info", "type": "http" }, "http": { "method": "GET", "url": "https://{host}:{port}/:index", "params": [ { "name": "index", "value": "", "type": "path" } ] }, "docs": "Get index info" }, { "info": { "name": "Create index", "type": "http" }, "http": { "method": "PUT", "url": "https://{host}:{port}/:index", "params": [ { "name": "index", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create index" }, { "info": { "name": "Delete index", "type": "http" }, "http": { "method": "DELETE", "url": "https://{host}:{port}/:index", "params": [ { "name": "index", "value": "", "type": "path" } ] }, "docs": "Delete index" } ] }, { "info": { "name": "Document", "type": "folder" }, "items": [ { "info": { "name": "Get document", "type": "http" }, "http": { "method": "GET", "url": "https://{host}:{port}/:index/_doc/:id", "params": [ { "name": "index", "value": "", "type": "path" }, { "name": "id", "value": "", "type": "path" } ] }, "docs": "Get document" }, { "info": { "name": "Index a document", "type": "http" }, "http": { "method": "PUT", "url": "https://{host}:{port}/:index/_doc/:id", "params": [ { "name": "index", "value": "", "type": "path" }, { "name": "id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Index a document" }, { "info": { "name": "Delete a document", "type": "http" }, "http": { "method": "DELETE", "url": "https://{host}:{port}/:index/_doc/:id", "params": [ { "name": "index", "value": "", "type": "path" }, { "name": "id", "value": "", "type": "path" } ] }, "docs": "Delete a document" }, { "info": { "name": "Bulk operations", "type": "http" }, "http": { "method": "POST", "url": "https://{host}:{port}/_bulk", "body": { "type": "json", "data": "{}" } }, "docs": "Bulk operations" } ] }, { "info": { "name": "Search", "type": "folder" }, "items": [ { "info": { "name": "Search documents (URI)", "type": "http" }, "http": { "method": "GET", "url": "https://{host}:{port}/:index/_search", "params": [ { "name": "index", "value": "", "type": "path" }, { "name": "q", "value": "", "type": "query" } ] }, "docs": "Search documents (URI)" }, { "info": { "name": "Search documents (DSL)", "type": "http" }, "http": { "method": "POST", "url": "https://{host}:{port}/:index/_search", "params": [ { "name": "index", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Search documents (DSL)" } ] }, { "info": { "name": "Cluster", "type": "folder" }, "items": [ { "info": { "name": "Cluster health", "type": "http" }, "http": { "method": "GET", "url": "https://{host}:{port}/_cluster/health" }, "docs": "Cluster health" } ] }, { "info": { "name": "Cat", "type": "folder" }, "items": [ { "info": { "name": "Cat indices", "type": "http" }, "http": { "method": "GET", "url": "https://{host}:{port}/_cat/indices" }, "docs": "Cat indices" } ] } ], "bundled": true }