Web API changed overnight and has broken our toolsSolved

Hi,

We've just discovered that your web API changed overnight without any warning. Specifically this API call:
https://wyday.com/limelm/help/api/limelm.pkey.find/

It used to be the case that you were able to ignore version_id (pass any argument) if you you pass the key in the email field. Quoting the docs:

If you've passed in a product key for the "email" paramater, then this version_id parameter will be ignored and LimeLM will search your entire account for the product key.

If the "email" parameter has an "@" character in it then LimeLM will search for product keys matching the email provided. If the "email" parameter does not contain an "@" character then LimeLM will assume it's a product key and return the matching product key details.

This is used to work for years and we build our tools around that. Unfortunately it stopped working overnight without any warning.

It now returns the following:

{'stat': 'fail', 'code': 108, 'message': 'The version id is missing.', 'elapsed': datetime.timedelta(microseconds=166935)}

Can you please fix it?

, edited
Answer

Hey Piotr,

That was old, hacky, accidental behavior that “became” a “feature” because a handful of customers depended on it way-back-when.

Unfortunately because of how the “feature” came into existence the documentation in code was lacking (allowing the break to happen).

At any rate, the bug has been fixed and the hacky-behavior is back. Thanks for reporting this.

Th correct way to get product key details from a product key is https://wyday.com/limelm/help/api/limelm.pkey.getID/

Thank you for your quick reply!

We had no way to know that's a “hacky” way. We have now changed our code to use the recommended way instead.