settings/srx
Retrieves the list of all SRX rules with ID, name and language.
These rules serve to decompose the content of a file into sentences or small translation units. Split points are for example the full stops. Rules are generally language specific and can be customized online.
This method returns just the list of available rule sets. Use settings/srx/{id} to retrieve the actual XML-formatted rules.
URL
(GET) /api/settings/srx
PARAMETERS
The method has no parameters.
RESULTS
The result is a JSON array with one element per SRX rule set:
id | Unique identifier of rule set. | int |
loc | Language of rule set. This can be:
| string |
name | Optional name for the rule set. Names are used when you add your own rules. | string? |
desc | Optional description. | bool |
To retrieve the actual SRX rules for a rule set, use this method:
EXAMPLES
[
{
"id": 1,
"loc": "ar",
"name": null,
"desc": null
},
{
"id": 3,
"loc": "bg",
"name": null,
"desc": null
},
{
"id": 4,
"loc": "ca",
"name": null,
"desc": null
},
{
"id": 6,
"loc": "da",
"name": null,
"desc": null
},
{
"id": 7,
"loc": "de",
"name": null,
"desc": null
},
{
"id": 8,
"loc": "default",
"name": null,
"desc": null
},
{
"id": 10,
"loc": "en",
"name": null,
"desc": null
},
{
"id": 11,
"loc": "es",
"name": null,
"desc": null
},
{
"id": 12,
"loc": "et",
"name": null,
"desc": null
},
{
"id": 13,
"loc": "fi",
"name": null,
"desc": null
}
]