Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Yes, it is possible to retrieve the P4 Swarm Review for a specific P4 Change using the Swarm REST API or the P4 command-line interface.

Using the Swarm REST API, you can retrieve the review for a specific change by making a GET request to the URL:

http://[swarm-server]/api/v9/reviews?swarm-refs=change/[change-number]

where [swarm-server] is the URL of the Swarm server and [change-number] is the number of the P4 change you want to retrieve the review for.

Using the P4 command-line interface, you can retrieve the review for a specific change by using the following command:

p4 review -c [change-number]

where [change-number] is the number of the P4 change you want to retrieve the review for.