Get a parser
import requests
url = "https://{FUSION HOST}/async-parsing/parsers/{id}"
response = requests.get(url)
print(response.text){
"id": "solr-update-parser",
"enableMediaTypeDetection": true,
"detectMediaTypeBasedOnExtension": true,
"maxParserDepth": 16,
"maxFieldLength": -1,
"parserStages": [
{
"type": "solr-update",
"enabled": true,
"mediaTypes": [],
"pathPatterns": [],
"errorHandling": "mark",
"id": "0a61cc5c-aa0c-4e1a-8099-2c5d30d64996",
"enableXml": true,
"enableJson": true,
"enableCsv": true,
"inheritMediaTypes": true,
"ignoredMediaTypes": [],
"outputFieldPrefix": ""
}
]
}Get a parser
Fetch the parser configuration as JSON by unique ID.
GET
/
async-parsing
/
parsers
/
{id}
Get a parser
import requests
url = "https://{FUSION HOST}/async-parsing/parsers/{id}"
response = requests.get(url)
print(response.text){
"id": "solr-update-parser",
"enableMediaTypeDetection": true,
"detectMediaTypeBasedOnExtension": true,
"maxParserDepth": 16,
"maxFieldLength": -1,
"parserStages": [
{
"type": "solr-update",
"enabled": true,
"mediaTypes": [],
"pathPatterns": [],
"errorHandling": "mark",
"id": "0a61cc5c-aa0c-4e1a-8099-2c5d30d64996",
"enableXml": true,
"enableJson": true,
"enableCsv": true,
"inheritMediaTypes": true,
"ignoredMediaTypes": [],
"outputFieldPrefix": ""
}
]
}Path Parameters
The ID of the parser to fetch.
Query Parameters
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.
Was this page helpful?
⌘I