Possible to pose more fine-grained queries via REST API?
Hi,
judging from RQM's REST API documentation (https://jazz.net/wiki/bin/view/Main/RqmApi), it is possible to retrieve either a single resource or all resources of a certain type (such as executionresult).
However, I'm wondering if it is possible to pose more specific queries via the REST API? An example would be to fetch only the executionresult records that belong to a certain testcase. Can I submit such a query via the REST API or would I need to fetch all executionresults and do the filtering on the client-side?
best regards, Peter
judging from RQM's REST API documentation (https://jazz.net/wiki/bin/view/Main/RqmApi), it is possible to retrieve either a single resource or all resources of a certain type (such as executionresult).
However, I'm wondering if it is possible to pose more specific queries via the REST API? An example would be to fetch only the executionresult records that belong to a certain testcase. Can I submit such a query via the REST API or would I need to fetch all executionresults and do the filtering on the client-side?
best regards, Peter
One answer
Peter,
You'll currently have to do all filtering client side but you'll find enhancements in 2.0.1 and onward to support the type of querying you are looking for.
I know the OSLC work in 2.0.1 will at least partially meet that goal.
Regards,
John
You'll currently have to do all filtering client side but you'll find enhancements in 2.0.1 and onward to support the type of querying you are looking for.
I know the OSLC work in 2.0.1 will at least partially meet that goal.
Regards,
John
Hi,
judging from RQM's REST API documentation (https://jazz.net/wiki/bin/view/Main/RqmApi), it is possible to retrieve either a single resource or all resources of a certain type (such as executionresult).
However, I'm wondering if it is possible to pose more specific queries via the REST API? An example would be to fetch only the executionresult records that belong to a certain testcase. Can I submit such a query via the REST API or would I need to fetch all executionresults and do the filtering on the client-side?
best regards, Peter