It's all about the answers!

Ask a question

How to get list of all DNG Views available in module and then delete it


Rajat Krishnan (722223) | asked Mar 05, 4:23 a.m.
Hello,
Our users keep on creating shared view based on export need but now the problem is there too many export views are created and now its really tough for us(admin) to go to UI and delete them manually one by one
So i am looking for an OSLC Api that could first fetch me the list of all view present under module and then an API to delete the view
Problem is i can find many Re portable REST API but i believe it can only do the GET operation not DELETE compared to OSLC API (please correct me)

Thank you

Comments
Chidambaram L commented Oct 24, 5:09 a.m.

@rajat860, can you share the Reportable REST API to get the list of Shared Views (ViewUUID and view definition) in a Module.

One answer



permanent link
Ian Barnard (2.3k714) | answered Mar 05, 10:26 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

 Hi Rajat


There is an OSLC Query capability for views - this will return URLs for all shared views. Never tried it so not sure if you can delete them using the API.

HTH
Ian


Comments
Ian Barnard commented Oct 30, 5:09 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

AFAIK you can't delete views through any API.

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.