{ "opencollection": "1.0.0", "info": { "name": "Searchcraft Authentication Synonyms API", "version": "1.0" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "Synonyms", "type": "folder" }, "items": [ { "info": { "name": "Returns the synonyms configured for an index.", "type": "http" }, "http": { "method": "GET", "url": "https://your-cluster.searchcraft.io/index/:index/synonyms", "params": [ { "name": "index", "value": "", "type": "path", "description": "The name of the index." } ] }, "docs": "Returns the synonyms configured for an index." }, { "info": { "name": "Adds synonyms to an index using the \"synonym:original-term\" format.", "type": "http" }, "http": { "method": "POST", "url": "https://your-cluster.searchcraft.io/index/:index/synonyms", "params": [ { "name": "index", "value": "", "type": "path", "description": "The name of the index." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Adds synonyms to an index using the \"synonym:original-term\" format." }, { "info": { "name": "Deletes specific synonyms from an index.", "type": "http" }, "http": { "method": "DELETE", "url": "https://your-cluster.searchcraft.io/index/:index/synonyms", "params": [ { "name": "index", "value": "", "type": "path", "description": "The name of the index." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Deletes specific synonyms from an index." }, { "info": { "name": "Deletes all synonyms from an index.", "type": "http" }, "http": { "method": "DELETE", "url": "https://your-cluster.searchcraft.io/index/:index/synonyms/all", "params": [ { "name": "index", "value": "", "type": "path", "description": "The name of the index." } ] }, "docs": "Deletes all synonyms from an index." } ] } ], "bundled": true }