REST API GET Method's JSON Format for SCM Systems
GET method for SCM systems is a strictly formatted set of properties. The information required for GET URI is passed via URI format.
{
"valid": "N",
"message": "Workspace status is invalid."
}
The property 'valid' can have either 'Y', which stands for a valid branch, or 'N', which stands for an invalid or an already closed branch. 'Message' can contain a string with the reason for declaring the branch invalid or any message for valid branch (such as list of affected files).