IBM License Metric Tool (ILMT)

IBM License Metric Tool (ILMT)

Connect with Db2, Informix, Netezza, open source, and other data experts to gain value from your data, share insights, and solve problems.

 View Only
  • 1.  ILMT REST API in RAML or JSON format

    Posted 6 days ago

    Was advised to open an 'Open-ended Discussion' as the 'Question to be answered' is having issues with other folks replying to it.

    Support -

    We have a need to get the API definitions for some ILMT API's in RAML or JASON format.

    Could you provide a link to where we can find these?
    We have been unable to locate them.

    Thank you,



    ------------------------------
    C Powers
    ------------------------------


  • 2.  RE: ILMT REST API in RAML or JSON format

    Posted 4 days ago

    Hello,

    you can use associations to retrieve definitions in json format of most API requests:
    https://www.ibm.com/docs/en/license-metric-tool/9.2.0?topic=api-rest-associations



    ------------------------------
    Thank you,
    Oktawian

    Oktawian Powązka, L3 Support
    IBM License Metric Tool
    ------------------------------



  • 3.  RE: ILMT REST API in RAML or JSON format

    Posted 13 hours ago

    Unfortunately, those REST APIs are not what we are looking for.

    We are needing the API definitions for the below API's in RAML or JSON format:

    • disconnected_scanner_downloads
    • can_results_upload

    Thank you,



    ------------------------------
    C Powers
    ------------------------------



  • 4.  RE: ILMT REST API in RAML or JSON format

    Posted 11 hours ago

    To be honest I have no idea what kind of info would you like to get for those two.
    There are no such things as schema description & columns for those two...



    ------------------------------
    Thank you,
    Oktawian

    Oktawian Powązka, L3 Support
    IBM License Metric Tool
    ------------------------------



  • 5.  RE: ILMT REST API in RAML or JSON format

    Posted 11 hours ago

    From what I have gathered, an API definition in RAML (RESTful API Modeling Language) format is a way to describe the structure and behavior of a RESTful API.

    It provides a clear and standardized way to document how different parts of the API work, including the resources, methods, parameters, and responses. Here's a simple breakdown:

    An example:

    Title: The name of the API.
    Version: The version of the API.
    Base URI: The root URL for the API.
    Media Type: The default data format (e.g., JSON, XML).
    Resources: The endpoints or URLs that the API exposes.
    Methods: The HTTP methods (GET, POST, PUT, DELETE, etc.) supported by each resource.
    Parameters: The inputs required or optional for each method.
    Responses: The outputs or results returned by the API for each method.

    #%RAML 1.0
    title: Hello <your login id>
    version: v1
    description: NIS Hello World API
    baseUri: https://ssp.dev.nit-nis-api.awscfs.frb.pvt/hello-<your login id>
    mediaType: application/json


    /health:
      get:

    /hello:
      get:
        description: |
          My first API - Hello
        queryParameters:
          name:
            required: false
            type: string
            example: John
        responses:
          200:
            description: OK, request has succeeded
            body:
              application/json:
                example: |
                  { "message": "Hello" }

    Let me know if this helps some.



    ------------------------------
    C Powers
    ------------------------------