{"info":{"_postman_id":"2a81119c-f6bd-4dea-a008-228e833c2792","name":"design_patent","description":"<html><head></head><body><p>API documentation to Be able to Search with ES, get the indexed results and then query to postgreSQL</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"9325142","collectionId":"2a81119c-f6bd-4dea-a008-228e833c2792","publishedId":"2s9YJjQden","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-10-11T05:08:44.000Z"},"item":[{"name":"healthcheck","id":"00394974-d6d1-472f-a4bd-92aaf459bd26","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:3000/health","description":"<p>healthcheck route to check service status.</p>\n","urlObject":{"protocol":"http","port":"3000","path":["health"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"c1df762f-b655-4362-a709-df04489b2fa0","name":"Success","originalRequest":{"method":"GET","header":[],"url":"http://127.0.0.1:3000/health"},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"Date","value":"Wed, 11 Oct 2023 05:03:13 GMT"},{"key":"Content-Type","value":"text/plain; charset=utf-8"},{"key":"Content-Length","value":"16"}],"cookie":[],"responseTime":null,"body":"Running fine bro"}],"_postman_id":"00394974-d6d1-472f-a4bd-92aaf459bd26"},{"name":"search ES","id":"9f18357d-185a-4cc2-a571-af8b07a53bcc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:3000/search?q=an&from=1&size=20","description":"<p>This search route gets all the indexed hits from the ES server for a table view and has a query paramater <code>q</code> , the value passed with <code>q</code> is the search key.</p>\n","urlObject":{"protocol":"http","port":"3000","path":["search"],"host":["127","0","0","1"],"query":[{"key":"q","value":"an"},{"key":"from","value":"1"},{"key":"size","value":"20"}],"variable":[]}},"response":[{"id":"d19058e7-b7d0-4c32-a407-e1436d892e4d","name":"search ES","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://127.0.0.1:3000/search?q=an&from=1&size=20","protocol":"http","host":["127","0","0","1"],"port":"3000","path":["search"],"query":[{"key":"q","value":"an"},{"key":"from","value":"1"},{"key":"size","value":"20"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 11 Oct 2023 05:36:59 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Content-Length","value":"64"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"hits\": [\n        {\n            \"_id\": \"Pt4bGYsBRizNTziT-wPF\",\n            \"_index\": \"design_patent\",\n            \"_score\": 3.5059474,\n            \"_source\": {\n                \"ApplicationDate\": \"20210616\",\n                \"Assignee\": \"PD Games, LLC\",\n                \"Authors\": [\n                    \"Joshua M. Carman\",\n                    \"Jason R. Carman\"\n                ],\n                \"DesignClass\": \"D21387\",\n                \"IssueDate\": \"20230502\",\n                \"PatentNumber\": \"D0985059\",\n                \"PatentTitle\": \"Suction dart\"\n            },\n            \"_type\": \"_doc\"\n        },\n        {\n            \"_id\": \"xN4bGYsBRizNTziT-wLE\",\n            \"_index\": \"design_patent\",\n            \"_score\": 2.6455884,\n            \"_source\": {\n                \"ApplicationDate\": \"20221020\",\n                \"Assignee\": \"Ferrari S.p.A.\",\n                \"Authors\": [\n                    \"Flavio Manzoni\"\n                ],\n                \"DesignClass\": \"D12173\",\n                \"IssueDate\": \"20230502\",\n                \"PatentNumber\": \"D0984936\",\n                \"PatentTitle\": \"Part of an automobile\"\n            },\n            \"_type\": \"_doc\"\n        },\n        {\n            \"_id\": \"5N4bGYsBRizNTziT-wPG\",\n            \"_index\": \"design_patent\",\n            \"_score\": 2.6455884,\n            \"_source\": {\n                \"ApplicationDate\": \"20210106\",\n                \"Assignee\": \"\",\n                \"Authors\": [\n                    \"Richard Elden\"\n                ],\n                \"DesignClass\": \"D34 25\",\n                \"IssueDate\": \"20230502\",\n                \"PatentNumber\": \"D0985225\",\n                \"PatentTitle\": \"Stair climbing collapsible cart\"\n            },\n            \"_type\": \"_doc\"\n        },\n        {\n            \"_id\": \"xd4bGYsBRizNTziT-wLE\",\n            \"_index\": \"design_patent\",\n            \"_score\": 2.356452,\n            \"_source\": {\n                \"ApplicationDate\": \"20210816\",\n                \"Assignee\": \"Dr. Ing. h.c. F. Porsche Aktiengesellschaft\",\n                \"Authors\": [\n                    \"Emiel Burki\"\n                ],\n                \"DesignClass\": \"D12190\",\n                \"IssueDate\": \"20230502\",\n                \"PatentNumber\": \"D0984937\",\n                \"PatentTitle\": \"Body part for motor vehicle\"\n            },\n            \"_type\": \"_doc\"\n        },\n        {\n            \"_id\": \"xt4bGYsBRizNTziT-wLE\",\n            \"_index\": \"design_patent\",\n            \"_score\": 2.356452,\n            \"_source\": {\n                \"ApplicationDate\": \"20210816\",\n                \"Assignee\": \"Dr. Ing. h.c. F. Porsche Aktiengesellschaft\",\n                \"Authors\": [\n                    \"Emiel Burki\"\n                ],\n                \"DesignClass\": \"D12190\",\n                \"IssueDate\": \"20230502\",\n                \"PatentNumber\": \"D0984938\",\n                \"PatentTitle\": \"Body part for motor vehicle\"\n            },\n            \"_type\": \"_doc\"\n        },\n        {\n            \"_id\": \"J94bGYsBRizNTziT-wPF\",\n            \"_index\": \"design_patent\",\n            \"_score\": 2.356452,\n            \"_source\": {\n                \"ApplicationDate\": \"20210608\",\n                \"Assignee\": \"GRIPWIQ HOLDING ApS\",\n                \"Authors\": [\n                    \"Mads Møller Pedersen\",\n                    \"Rene Nørgaard\"\n                ],\n                \"DesignClass\": \"D15199\",\n                \"IssueDate\": \"20230502\",\n                \"PatentNumber\": \"D0985036\",\n                \"PatentTitle\": \"Part of an industrial robot\"\n            },\n            \"_type\": \"_doc\"\n        }\n    ],\n    \"max_score\": 3.5059474,\n    \"total\": {\n        \"relation\": \"eq\",\n        \"value\": 6\n    }\n}"}],"_postman_id":"9f18357d-185a-4cc2-a571-af8b07a53bcc"},{"name":"query from postgres","id":"9ab5b7c7-1528-4462-ad0a-14b0688a8830","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:3000/query?patent_number=D0984779","description":"<p>This Query route gets the uniquely queried metadata from the postgreSQL server for a complete view and has a query paramater <code>patent_number</code> , the value passed with <code>patent_number</code>is the unique patent number obtained from the ES search results.</p>\n","urlObject":{"protocol":"http","port":"3000","path":["query"],"host":["127","0","0","1"],"query":[{"key":"patent_number","value":"D0984779"}],"variable":[]}},"response":[{"id":"2b5b04ac-ebba-40b4-8086-b5729fe97102","name":"query from postgres","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://127.0.0.1:3000/query?patent_number=D0984779","protocol":"http","host":["127","0","0","1"],"port":"3000","path":["query"],"query":[{"key":"patent_number","value":"D0984779"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 11 Oct 2023 05:03:22 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1011"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"PatentNumber\": \"D0984779\",\n    \"PatentTitle\": \"Bra\",\n    \"Authors\": [\n        \"Greta Brucker\",\n        \"Lisa Mechanic\"\n    ],\n    \"Assignee\": \"NIKE, Inc.\",\n    \"ApplicationDate\": \"1634860800\",\n    \"IssueDate\": \"1682985600\",\n    \"DesignClass\": \"D 2706\",\n    \"ReferencesCited\": [\n        \"Walters\",\n        \"Amyot\",\n        \"Katz\",\n        \"Katz\",\n        \"Katz\",\n        \"Nelson\",\n        \"Glick\",\n        \"Levy\",\n        \"Sider\",\n        \"Williamson\",\n        \"Guss\",\n        \"Dicker\",\n        \"Pezzimenti et al.\",\n        \"Pezzimenti et al.\",\n        \"Scott\",\n        \"Lee et al.\",\n        \"Lee et al.\",\n        \"Lee\",\n        \"Staub\",\n        \"Staub\",\n        \"Staub\",\n        \"Carpenter et al.\",\n        \"Rendone\",\n        \"Hu\",\n        \"Wang\",\n        \"Blibech\",\n        \"DeVoe\",\n        \"Roddis\",\n        \"Ceylan\",\n        \"Scott\",\n        \"Schnadt\"\n    ],\n    \"Description\": [\n        \"is a left, front perspective view of a bra, showing our new design;\",\n        \"is a front view thereof;\",\n        \"is a right, front perspective view thereof;\",\n        \"is a left side view thereof;\",\n        \"is a right side view thereof; and,\",\n        \"is a bottom view thereof.\",\n        \"The broken lines illustrating portions of the bra represent features that form no part of the claimed design. The broken lines immediately adjacent to the shaded area represent boundaries of the claim and form no part of the claimed design.\"\n    ]\n}"}],"_postman_id":"9ab5b7c7-1528-4462-ad0a-14b0688a8830"}]}