Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

From version 8.9.7, SQL Dm for MySQL exposes a new ‘Get’API. This API aims to get information from the tool.

General ‘Get’ API

The endpoint for all ‘Get’ requests looks like:

...

  • _action: It should be ‘get’.
  • _details: This value determines what data to fetch.

getlicenseinfo 

API to fetch license-related details:

...

  • _details=getlicenseinfo
  • The API returns:
    • RegName
    • Expiry date (time in seconds)
    • Current version
    • MaxServerLimit
  • If a non-admin users fetch the API, then the ExpiryDate and MaxServerLimit are returned.
  • Return format JSON.
  • For the trial build Regname is empty and no ExpiryDate and MaxServerLimit are sent.

Example 

Code Block
themeConfluence
$ curl"34.225.194.88:5555/?_object=MONyogAPI&_action=get&_details=getlicenseinfo&_user=admin"

- {"STATUS": "SUCCESS", "RESPONSE": "{ "Version": "8.9.7", "RegName": "Ankush" , "ExpiryDate":1868745599, "MaxServerLimit": 400 }"}
Scroll pdf ignore
Newtabfooter
aliasIDERA
urlhttp://www.idera.com
|
Newtabfooter
aliasProducts
urlhttps://www.idera.com/productssolutions/sqlserver
|
Newtabfooter
aliasPurchase
urlhttps://www.idera.com/buynow/onlinestore
|
Newtabfooter
aliasSupport
urlhttps://idera.secure.force.com/
|
Newtabfooter
aliasCommunity
urlhttp://community.idera.com
|
Newtabfooter
aliasResources
urlhttp://www.idera.com/resourcecentral
|
Newtabfooter
aliasAbout Us
urlhttp://www.idera.com/about/aboutus
|
Newtabfooter
aliasLegal
urlhttps://www.idera.com/legal/termsofuse