iink SDK Web

Answered

Cloud Recognition Not work today

Cloud Recognition worked fine in the past, but suddenly not work today.  I use this link append with ApplicationKey and HMAC key. This link seems not working

https://cloud.myscript.com/api/v3.0/recognition/rest/text/doSimpleRecognition.json


Best Answer

Dear User,


the easier is that you refer to our swagger UI page, that will show how you can format REST requests with the V4 API: https://swaggerui.myscript.com/


Best regards,


Olivier


Dear User,


thank you for contacting us.


Currently, it is likely you were using the legacy V3 API, which we removed yesterday.


The only solution is that you switch your application to the V4 API. In order to make your development easier and faster, we recommend you use our iinkJS: https://developer.myscript.com/docs/interactive-ink/2.0/web/iinkjs/get-started/


You can also find examples at the following link: https://myscript.github.io/iinkJS/examples/


Please find below the email that was sent to customers to mention switching to the V4 API.


Best regards,


Olivier


Dear Company,


The CDK toolkit was deprecated alongside the release of iink SDK 1.3, in December 2018, and CDK reached its ends of support on November 30th, 2020.

In January 2021, we announced that CDK service was planned to terminate date of May 29, 2021.

The CDK service has been extended until now, but we are about to terminate it in the next coming days. Applications calling the CDK API (v3 API) will thus stop working in a short time.


Based on our internal dashboard, it seems you are still using the V3 API.

As this V3 API is no longer available, your existing applications based on the V3 API must be updated as soon as possible to use our latest 1.5 iink Web APIs, to avoid your users experiencing service interruption.


To use our latest 1.5 iink Web APIs:

If you were using the REST V3 API previously, this page https://developer.myscript.com/docs/interactive-ink/latest/web/rest/migration/ will help you migrate to the 1.5 iink REST API.

If you want to embrace interactivity (https://developer.myscript.com/docs/concepts/interactive-ink/), you must integrate the WebSocket API within your application. Along with iinkJS for the browser integration, it will let the user discover a new way to interact with your application. WebSocket is the only way to benefit from gestures. Currently, only Math and Text are supported. https://developer.myscript.com/docs/interactive-ink/1.5/web/iinkjs/get-started/ is the most straightforward way to start.


If you need further help, feel free to submit any question you may have on our developer forum: https://developer-support.myscript.com/support/discussions


The MyScript team

Thanks for your reply. Is there any example using REST api to post strokes with new API on iOS and Android platforms. I find it totally different from V3 api with new one. But all of the example code is based on javascript. And the JSON structure is different, I have to find the fastest way to update both my iOS and Android app which seems not so easy if there is no iOS and Android example here.

Answer

Dear User,


the easier is that you refer to our swagger UI page, that will show how you can format REST requests with the V4 API: https://swaggerui.myscript.com/


Best regards,


Olivier