It's all about the answers!

Ask a question

Reportable Rest API to query files in a SCM component

Praveen Kumar (371822) | asked Oct 18 '13, 11:04 a.m.
You can use the following API to query components in the SCM of a project.  


Similarly is there any API to query files from an individual component

2 answers

permanent link
Michael Valenta (3.7k3) | answered Oct 18 '13, 2:46 p.m.
In general, you need a context in order to access the files of the component. A context could be a workspace, stream, snapshot or baseline. Also, the main method of accessing these files is either by traversing the file tree or accessing the files by path. Is either of these the type of query you are asking about? If not, perhaps you can provide more details on the type of information you want to query.

Praveen Kumar commented Oct 22 '13, 9:38 a.m.

In this case work space is our context. The work space used for a project build. 

Basically we want to retrieve each component and the files under each of these components.  

The end objective is to identify things like
  •  Which part of the module is committed more often (Probably this part is more buggy)
  • What are the open source libraries used in a module
  •  Who are the frequent committers in the module.

permanent link
Michael Valenta (3.7k3) | answered Oct 22 '13, 10:38 a.m.

At the current time, we are not in a good position to point you at documentation describing the API that supports those types of operations. However, we have a plan item for defining and support an RTC SDK ([CCM] Design SDK API (272836)). What I would suggest you do is either comment on that work item describing the API you require or open a new RFE describing what you need and link it to the work item I mentioned. The advantage of doing this is that we can then work on outlining how you might be able to do what you need today (which may require the use of non-API) while, at the same time, create a record that can be used to ensure the required API is included in the SDK.


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.