Skip to main content
PUT
/
async-parsing
/
parsers
/
{id}
Update a parser
curl --request PUT \
  --url https://{FUSION HOST}/async-parsing/parsers/{id} \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "solr-update-parser",
  "maxParserDepth": 8
}'
{
  "id": "solr-update-parser",
  "enableMediaTypeDetection": true,
  "detectMediaTypeBasedOnExtension": true,
  "maxParserDepth": 8,
  "maxFieldLength": 1048576,
  "parserStages": []
}

Headers

ifMatch
object

An entity tag to match

Path Parameters

id
string
required

The ID of the parser to update.

Query Parameters

context
string

Validates which app the entity should be part of by specifying, for example, app:SomeApp. If the entity is not part of the app, this request fails. Any other comma-separated contexts in the context parameter are allowed but ignored.

Body

application/json
id
string
idField
string
enableMediaTypeDetection
boolean
detectMediaTypeBasedOnExtension
boolean
maxParserDepth
integer
maxFieldLength
integer
parserStages
object[]

Response

200 - */*

OK

id
string
idField
string
enableMediaTypeDetection
boolean
detectMediaTypeBasedOnExtension
boolean
maxParserDepth
integer
maxFieldLength
integer
parserStages
object[]
I