photools.com Community

IMatch Discussion Boards => IMatch Scripting and Apps => Topic started by: Jingo on June 23, 2019, 07:55:05 PM

Title: All endpoints not listed by /discover?
Post by: Jingo on June 23, 2019, 07:55:05 PM
Hi Mario - was just trying to play around with an APP idea to grab keywords from the thesaurus.. but could only locate 2 thesaurus endpoints in the documentation: v1/thesaurus and v1/thesaurus/paths.  Using the /discover endpoint, those are confirmed to be the only 2 items in IMWS... however, I did find mention of v1/thesaurus/import used by the LR-Importer script so I am curious why /discover did not also return this and was wondering what other endpoints may be available but not listed (I assume there is a thesaurus/export as well - could there also be a thesaurus/search?).

Thx...
Title: Re: All endpoints not listed by /discover?
Post by: Mario on June 23, 2019, 08:12:10 PM
As far as I can tell, all official endpoints are documented. There are some unofficial endpoints, or endpoints which are not documented because I consider them for internal use only.

Use only documented endpoints. Undocumented endpoints can be changed or removed with any IMatch version.
Sometimes unofficial endpoints become official. But the thesaurus import was a quick shot, purpose-built tool for the Lr Importer app only.
Title: Re: All endpoints not listed by /discover?
Post by: Jingo on June 23, 2019, 08:25:46 PM
Quote from: Mario on June 23, 2019, 08:12:10 PM
As far as I can tell, all official endpoints are documented. There are some unofficial endpoints, or endpoints which are not documented because I consider them for internal use only.

Use only documented endpoints. Undocumented endpoints can be changed or removed with any IMatch version.
Sometimes unofficial endpoints become official. But the thesaurus import was a quick shot, purpose-built tool for the Lr Importer app only.

Thanks Mario... !