Pattern Encodings¶
/api/admin/patternencodings
Get¶
-
GET/api/admin/patternencodings¶ Lists the available pattern encodings that can be applied to a repository
GET /api/admin/patternencodings HTTP/1.1
Accept: application/json
The response will be a Standard Response.
The columns displayed for each encoding are:
| Human Name | Column Name | Description |
|---|---|---|
| Pattern ID | PATTERN_ID | Pattern ID |
| Description | _description | Description |
| Repertoire | REPERTOIRE | Repertoire |
| Language | LANGUAGE | Language |
| Arguments | ARGS | Arguments |
The rows array will contain one element for each encoding:
{
"dataRow": [
"1",
"default eg. $Aabc pa4",
"",
"",
"discovery_latin1_a 1"
]
}
The list of available pattern encodings is displayed to the end-user when creating or editing a repository.