Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Global Configuration : parameters for "/gc/gc.webui.findUse" REST request

With ELM 6.0.6.1, we use the following REST request to find where a RM local configuration is used in a global configuration :

https://elm702/gc/gc.webui.findUse?uri=https%3A%2F%2Felm702%2Frm%2Fcm%2Fbaseline%2F_5JlNEC0REe62aK8rs_Kr-g

But in ELM 7.0.2, this request return a 409 HTTP code with the message :

{"summary":"Missing the required web parameter \"personalStreamScope\".","type":"ERROR"}

We search a detailed documentation on GC REST API, to update our code.

Regards.

0 votes



2 answers

Permanent link

Looks like you're using an internal API - that's unsupported.


gc has documented API information on your https://SERVER:PORT/gc/doc/scenarios

You can get contribution information using this API https://SERVER:PORT/gc/doc/scenario?id=GetFlatListOfContributionsForGcHiearchy

1 vote

Comments

Thank you, Ian.


But when you display the link content https://elm702/gc/doc/serviceInterface?serviceInterfaceUrl=com.ibm.team.gc.web.frontservice.search.IFindUseService

The page is ... empty ...

https://SERVER:PORT/gc/doc/scenarios is for the documentation. Don't know where "serviceInterface,..." comes from in your URL.


For that API to get contributions, as per that documentation page you'll use:
  • To get a flat list of contributions for a GC hierachy, perform a GET on appContextRoot/gcsdk-api/flatListOfContributionsForGcHierarchy specifying the following parameters:

i.e. assuming /gc is the context root for GCM then https://SERVER:PORT/gc/gcsdk-api/flatListOfContributionsForGcHierarchy
(plus parameters)


com.ibm.team.gc.web.frontservice is a package for private undocumented services that are unsupported for 3rd party use. Please do not use them.


Permanent link
As Ian rightly said, the REST APIs under /gc/gc.webui are private internal APIs that are undocumented and unsupported for 3rd party use. They are subject to change without notice, and implementations calling them are likely to be fragile. Please do not use them

GC has a rich set of public REST APIs.You can find information about public APIs at https://jazz.net/wiki/bin/view/Deployment/CLMProductAPILanding. This has links to application specific APIs including GCM and the GC SDK.

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938
× 7,495
× 1,325

Question asked: Jul 28 '23, 5:58 a.m.

Question was seen: 1,109 times

Last updated: Jul 28 '23, 7:54 a.m.

Confirmation Cancel Confirm