Hi,
As shown in CodeBeamer documents, baselines can be created for a project or a tracker.
When we retrieve a tracker using Restful API, can we specify a baseline then? The document for Restful API shows nothing related to baseline. Did I miss something here please?
Thanks,
From the Swagger ( `/v3/swagger/editor.spr` on a Codebeamer instance) there is an option for specifying baselines on a specific tracker item but not as part of the item search.
`/v3/trackers/{trackerId}/items` will return all the items for a tracker but does not appear to have a way to specify a baseline to be looking at.
`/v3/trackers/{trackerId}/baselines` will return the baselines that involve the tracker you are looking at.
`/v3/items/{itemId}` has a query parameter for baselineId documented which will return a 404 status if the item does not exist on that baseline or the details of the item if it does.
Example URL for the GET call would be:
/api/v3/items/6669?baselineId=39338With "6669" being the item ID.
Hi @RR_12247123,
I wanted to see if you got the help you needed.
If so, please mark the appropriate reply as the Accepted Solution. It will help other members who may have the same question.
Of course, if you have more to share on your issue, please pursue the conversation.
Thanks,
Anurag
