End point: [RemoteTM URL]/memories
Send a POST request with these headers:
Include these parameters in a JSON body:
command |
addMemory |
owner |
ID of the user that owns the memory |
name |
The name of the new memory |
project |
Optional description of a related project |
subject |
Optional description of the related subject |
client |
Optional description of a related client |
Example:
{
"command": "addMemory",
"name": "Terminology",
"owner": "sysadmin",
"project": "",
"subject": "Terminology data",
"client: ""
}
RemoteTM responds with a JSON object.
On success, field 'status' is set to 'OK'. Example:
{
"status": "OK"
}
On error, field 'status' is set to 'Error' and field 'reason' contains the error cause.
Example:
{
"status": "Error",
"reason": "Access denied"
}