Create an index for a single type
post/admin/indices/{type}
Ensures that an index exists for the specified type when the searchable query parameter is set to true, otherwise creates a new unsearchable index. This is especially required when re-indexing data from a source database (see example Use Case Five). No errors will be reported if the index already exists. Returns the name of the newest index for the specified type.
1{2 "type": "report",3 "name": "sand__report__1468507165442",4 "links": [5 {6 "method": "GET",7 "rel": "self",8 "href": "/svi-sand/admin/indices/report",9 "uri": "/svi-sand/admin/indices/report",10 "type": "application/vnd.sas.sand.index"11 },12 {13 "method": "POST",14 "rel": "create",15 "href": "/svi-sand/admin/indices/report?searchable=true",16 "uri": "/svi-sand/admin/indices/report?searchable=true",17 "responseType": "application/vnd.sas.sand.index"18 },19 {20 "method": "DELETE",21 "rel": "delete",22 "href": "/svi-sand/admin/indices/report",23 "uri": "/svi-sand/admin/indices/report"24 }25 ]26}