Update formatting settings for specific language
PATCH {{baseUrl}}/api/languages/:id/formattingSettings
Update formatting settings for specific Language. You provide the request body as of list of replace operations to be performed on the value of array of nodes with the path URI containing the corresponding project id that needs to be updated.
Body
PARAM
Key | Datatype | Required | Description |
fields
|
null | Comma-separated, top-level field whitelist that allows the client to selectively retrieve part of the response model. If specified, extra filtering is applied, and for top-level object (if root model is an array, each array element), only the listed fields are kept in the response. For example, "id,elements" keeps only the "id" field and whole "elements" array field, omitting all other fields in the top-level response model. |
HEADERS
Key | Datatype | Required | Description |
X-MSTR-AuthToken
|
string | (Required) Authorization token |
RESPONSES
status OK
{
"formattingSettings": {
"timeInterval": {
"minutes15": "H:mm",
"minutes30": "H:mm",
"hour": "H",
"day": "dd/MM",
"week": "dd/MM",
"hourOfDay": "H:mm",
"month": "MMM",
"quarter": "qqq",
"year": "yyyy"
}
}
} |
ENDPOINTS