Get Permissions

End point: [RemoteTM URL]/permissions
Send a GET request with these headers:
Header Value
Session  The ticket received from Authorization Request
Content-Type application/json
Inlude this parameter in the request URL:
Parameter Value
id  ID of the memory to query
Example:
https://tm.mydomain.com:8443/RemoteTM/permissions?id=1619955225759
RemoteTM responds with a JSON object.
On success, field 'status' is set to 'OK' and memory access rights are listed in the 'permissions' field. Example:
{
    "permissions": [{
        "memory": "1619955225759",
        "read": true,
        "user": "projman",
        "write": true,
        "export": true
    },{
        "memory": "1619955225759",
        "read": true,
        "user": "linguist",
        "write": false,
        "export": false
    },{
        "memory": "1619955225759",
        "read": true,
        "user": "sysadmin",
        "write": true,
        "export": true
    }],
    "status": "OK"
}
On error, field 'status' is set to 'Error' and field 'reason' contains the error cause. Example:
{
    "reason": "Invalid memory",
    "status": "Error"
}