This method provides information if and how a user can access segments in the given scope . A scope can be a job, project, global search, a translation memory and so on.
Gives full answers to:
This information can be used if you build a translation editing interface and you need to know in advance what information the user can access and modify.
(POST) /api/resources/segments/rights
The message body contains a JSON object:
BODY | The scope json object. For example, for a job, project, memory, term base, global search etc. Example for a job:
Example for a project:
See Scope (Object) for more details. | object, Mandatory |
The method returns all the information for the scope.
See Rights (Object)
Requesting information for a scope the user is not authorized to access at all, will return an error.
For example, an external translator will not be able to obtain information for a project-scope. He/She may get information for authorized jobs only (such as assigned jobs).