It's all about the answers!

Ask a question

Recommended API for New Widgets on 7.0.2


Eduard Hasa (112) | asked Aug 16 '23, 2:19 p.m.

We currently have a few widgets at my organization that have the javascript making http calls to our java backend which uses oslc. I have noticed developments being made on rest apis with json. I am wondering if it is possible or recommended to eliminate the java/oslc backend and instead develop all widget functionalities using only client side javascript. I have looked at the GCM api documentation but it doesnt seem to have CRUD functionality like creating streams or baselines. If we were starting new development right now to create advanced widgets on DNG 7.0.2, what apis does IBM recommend we use?

One answer



permanent link
Ian Barnard (1.9k613) | answered Aug 17 '23, 4:54 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited Aug 17 '23, 4:56 a.m.

The documentation entry point for all public+supported APIs is here https://jazz.net/wiki/bin/view/Deployment/CLMProductAPILanding


The GCM API docs are here https://jazz.net/gc/doc/scenarios - I can see scenarios for Create, Query (i.e. a style of Retrieve), Update. I've never considered deleting gc configs but you can probably do this by doing an Update (PUT) with an archived flag set to true - so if you think something's missing please be less vague/more specific.

How you implement/use APIs is entirely up to you.


Comments
Eduard Hasa commented Aug 17 '23, 9:13 a.m. | edited Aug 17 '23, 9:19 a.m.

Im sorry if I was not clear in my question but your answer does not clear any of my confusion. In your links all I am seeing is OSLC apis. As I said, I am trying to get away from OSLC and turtle/rdf in an effort to simplify things. Is there any api that I can use that is not OSLC/turtle/rdf/xml but rather rest with json which would be much easier to work with. I know there are private apis but im looking for officially supported apis.

GCM.client object in the widget code for example would be really beneficial if we could just use that to create streams and handle other tasks but to me that seems to have very very minimal functionality which is just to showDialogueScreen and some other minor functionality. 

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.