Api clients
/
Ruby
/
V1
/
Methods
Mar. 31, 2022
Export Synonyms | Ruby API Client V1 (Deprecated)
This version of the Ruby API client has been deprecated in favor of the latest version of the Ruby API client.
Required API Key: any key with the
settings
ACL
Method signature
index.export_synonyms
About this method# A
Retrieve an index’s complete list of synonyms.
The list includes all synonyms - whether created on the dashboard or pushed by the API.
The method returns an iterator.
Examples# A
Copy
1
2
3
4
5
$iterator = $index->browseSynonyms();
foreach ($iterator as $synonym) {
var_dump($synonym);
}
Parameters# A
Response# A
Returns a synonym iterator.
Did you find this page helpful?