Rational Test Control Panel Environment Locking API Reference

Forward compatibility

Important: To improve forward compatibility of clients of the REST API, no manual construction of URLs should be performed, except for the construction of the Query URL.

URLs should be generated by resolving the relative hrefs provided in the XML. These should be resolved against the URL that they were returned from.

Query URL

GET request

Resources

Environment

GET request

Environment lock

GET request on environment lock: Retrieve information on the existing lock, if any.

POST request on environment lock: Create an exclusive lock on an environment.

DELETE request on environment lock: Release the lock.

This can only be performed if the specified user either owns the lock or is an administrator.