Creates the list of synonyms
post/admin/config/synonyms
Creates the list of synonyms for synonym searching. If there is an existing list, it will be overwritten.
1{2 "links": [3 {4 "method": "GET",5 "rel": "self",6 "href": "/svi-sand/admin/config/synonyms?start=0&limit=20",7 "uri": "/svi-sand/admin/config/synonyms?start=0&limit=20",8 "type": "application/vnd.sas.collection",9 "itemType": "application/vnd.sas.sand.synonym"10 },11 {12 "method": "GET",13 "rel": "collection",14 "href": "/svi-sand/admin/config/synonyms",15 "uri": "/svi-sand/admin/config/synonyms",16 "type": "application/vnd.sas.collection",17 "itemType": "application/vnd.sas.sand.synonym"18 },19 {20 "method": "POST",21 "rel": "createSynonyms",22 "href": "/svi-sand/admin/config/synonyms",23 "uri": "/svi-sand/admin/config/synonyms",24 "type": "application/vnd.sas.collection",25 "itemType": "application/vnd.sas.sand.synonym"26 },27 {28 "method": "DELETE",29 "rel": "deleteSynonyms",30 "href": "/svi-sand/admin/config/synonyms",31 "uri": "/svi-sand/admin/config/synonyms"32 }33 ],34 "name": "synonyms",35 "accept": "application/vnd.sas.sand.synonym",36 "start": 0,37 "count": 7,38 "items": [39 {40 "terms": "ant,spider=>insect"41 },42 {43 "terms": "buffalo,cow,pig,sheep=>farm"44 },45 {46 "terms": "cat,deer,dog,donkey,elephant,fox,gorilla,horse,hound,lion,monkey,moose,mouse,rabbit,racoon,rat,tiger=>mammal"47 },48 {49 "terms": "shark,whale=>fish"50 },51 {52 "terms": "frog,toad=>amphibian"53 },54 {55 "terms": "dinosaur,dragon=>reptile"56 },57 {58 "terms": "eagle,parrot,pheasant,puffin,quail,owl=>bird"59 }60 ],61 "limit": 20,62 "version": 263}
A collection of synonyms for synonym searching.
Name | Type | Required | Description |
---|---|---|---|
accept | string | false | A space-delimited list of media types from which an |
count | integer<int64> | false | If populated indicates the number of items in the collection. |
limit | integer | false | The number of items that were requested for the collection. |
links | array [object] | false | The links that apply to the collection. |
name | string | false | The name of the collection. |
start | integer<int64> | false | The zero-based index of the first item in the collection. |
version | integer | false | The version number of the collection representation. This representation is version 2. |
items | array [object] | false | The array of |
Status | Meaning | Description | ||
---|---|---|---|---|
201 | Created | The request succeeded. | Schema | |
400 | Bad Request | The request is malformed or contains invalid parameter values. | Schema |