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

Rest API with query parameters

 Hi team,


Can we able to give filters in rest API query for DNG version 7.0.2?
Or can we able to use query parameters in Restful API queries like OSLC APIs?

Thanks

0 votes

Comments
Please be more specific about which REST APIs you are asking about. The answer is likely to depend on which APIs you ask about. It would be helpful to give a specific use case and explain what you're trying to do. As it stands, your post is likely to be too vague to get any meaningful responses. Please read https://jazz.net/forum/questions/203755/how-should-i-ask-a-question-in-the-forum-if-i-want-to-receive-useful-answers.

If you mean can DN OSLC Query APIs use filters like the DN Reportable REST API - No. If you mean can DN Reportable REST API use filters similar to those in e.g. ETM Reportable REST API - No. Or if you don't mean those then as David said: clarify your question and be specific about which exact API(s) and which filters you're referring to. Preferably give a very specific example of the query you want to do, in words like "I want to query for modules created since a specific date such as 1-Jan-2023"

 Hi team, Thanks for the guidance and support. I want to hit restful API to get all modules in particular DNG project area  For the same I can able to get all modules using rest API url but if I want more filter answer e.g. getting modules of particular artifact type , then is it possible to give the query parameter or any filter which will append to rest API to get specific answer. Thanks

The APIs provide what they provide. Read the documentation, we have shared the API landing page several times already.  "But I want more filter"  is not a requirement. Look up the documentation for the APIs you work with. 


Be the first one to answer this question!

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

Question asked: Feb 28 '23, 7:19 a.m.

Question was seen: 1,991 times

Last updated: Mar 01 '23, 4:11 a.m.

Confirmation Cancel Confirm