Skip to main content
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

id
string
required

The ID of the parser to fetch.

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.

Response

200 - */*

OK

id
string
idField
string
enableMediaTypeDetection
boolean
detectMediaTypeBasedOnExtension
boolean
maxParserDepth
integer<int32>
maxFieldLength
integer<int32>
parserStages
object[]