specific syntax for calls to for "get" endpoints and attributes

Started by bnewman, December 24, 2020, 11:21:49 PM

Previous topic - Next topic

bnewman

I am unable to find documentation that defines the syntax for issuing a call to IMatch.get for specific endpoints and the data structure of the returned response when complete. I did find that the IMatch endpoints are documented via the Documentation App in IMatch. Using that I have found that the "v1/files/categories" that I was looking for and the provided examples. However, I cannot find what the actual syntax for making the IMatch.get call in Javascript, and the data structure of the response when the operation completes.

Also, I couldn't find any endpoint that would get me the attributes of a given file. I'm sure that there must be one. It might be "v1/attributes" however, once again, the documentation I could find is almost there but not enough.

Please point me in the right direction. Thanks.

Bernie.

Mario

See
https://www.photools.com/dev-center/doc/imatch/
https://www.photools.com/dev-center/doc/imatch/tutorial-recipes.html

You can always see what the endpoints return by looking at the result in the Network tab of your browser.
For categories and attributes the result depends on the fields you request. If you request no fields at all, you get the full result.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook