Create new context

POST: /tm/context
Request params
Parameters 説明
secret_key
public_key
Response params
Parameters 説明
uuid unique uuid for context in TM
parent parent context (uuid) for the newly context, given by caller in the request
name context's name given by caller in the request

Request Example

curl --request POST "https://www.onehourtranslation.com/api/2/tm/context" --data "secret_key=<secret_key>&public_key=<public_key>&context_name=test_context"

Response Example

{
 "status":
  {
   "code":0,
   "msg":"ok"
  },
 "results":
  {
   "acl":
    {
     "public_write":0,
     "public_read":0
     },
    "uuid":"c-ddb4270a4dc1",
    "parent":"",
    "name":"test_context"
   },
 "errors":[]
}