Translation

Determine CSV dialect settings for import

Determine CSV dialect settings for import from a sample string.

post/pimcore-studio/api/translations/csv-settings

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /pimcore-studio/api/translations/csv-settings
  • Auth: none declared

Request body

samplestring required

Sample CSV content (first few lines)

Example request

{
  "sample": "name,value\\n\"John Doe\",123\\n\"Jane Smith\",456"
}

Response

Detected CSV dialect settings

additionalAttributesobject

AdditionalAttributes

delimiterstring required

Field delimiter character

quoteCharstring required

Quote character for fields

escapeCharstring required

Escape character

lineTerminatorstring required

Line terminator character

Example response

{
  "delimiter": ";",
  "quoteChar": "\"",
  "escapeChar": "\\"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.