End point: [RemoteTM URL]/memories
Send a POST request with these headers:
Include these parameters in a JSON body:
command |
memoryProjects |
memory |
ID of the memory to query |
Example:
{
"command": "memoryProjects",
"memory": "1619955225759"
}
RemoteTM responds with a JSON object.
On success, field 'status' is set to 'OK'. Example:
{
"projects":["remotetm.ditamap","swordfish.ditamap"],
"status":"OK"
}
On error, field 'status' is set to 'Error' and field 'reason' contains the error cause.
Example:
{
"status": "Error",
"reason": "Access denied"
}