Skip to main content
GET
/
async-parsing
/
parsers
List all parsers
import requests

url = "https://{FUSION HOST}/async-parsing/parsers"

response = requests.get(url)

print(response.text)
[
  {
    "id": "_system",
    "enableMediaTypeDetection": true,
    "detectMediaTypeBasedOnExtension": true,
    "maxParserDepth": 16,
    "maxFieldLength": -1,
    "parserStages": [
      {
        "type": "archive",
        "enabled": true,
        "mediaTypes": [],
        "pathPatterns": [],
        "errorHandling": "mark",
        "id": "769b0235-2e17-4686-bf47-8ba426f74e69",
        "alwaysDetect": true,
        "inheritMediaTypes": true,
        "ignoredMediaTypes": [],
        "outputFieldPrefix": ""
      },
      {
        "type": "csv",
        "enabled": true,
        "mediaTypes": [],
        "pathPatterns": [],
        "errorHandling": "mark",
        "id": "7b0bf674-07e0-4d64-9e49-b36bee122a06",
        "charset": "detect",
        "ignoreBOM": false,
        "autoDetect": true,
        "hasHeaders": true,
        "headers": [],
        "fillValue": "<FILL>",
        "trimWhitespace": true,
        "skipEmptyLines": true,
        "includeRowNumber": true,
        "commentHandling": "ignore",
        "maxRowLength": 10485760,
        "maxNumColumns": 1000,
        "maxColumnChars": 10485760,
        "columnHandling": "default",
        "inheritMediaTypes": true,
        "ignoredMediaTypes": [],
        "outputFieldPrefix": ""
      },
      {
        "type": "json",
        "enabled": true,
        "mediaTypes": [],
        "pathPatterns": [],
        "errorHandling": "mark",
        "id": "677f3546-8d45-495a-9596-5d59c3f3fd22",
        "splitArrays": true,
        "includePath": false,
        "mappings": [],
        "listHandling": "multivalued",
        "expectJsonL": false,
        "maxLineSize": 8192,
        "inheritMediaTypes": true,
        "ignoredMediaTypes": [],
        "outputFieldPrefix": ""
      },
      {
        "type": "xml",
        "enabled": true,
        "mediaTypes": [],
        "pathPatterns": [],
        "errorHandling": "mark",
        "id": "87f3712c-6a5b-4505-991a-1dfef7e48ebd",
        "rootPaths": [
          "/async-parsing/"
        ],
        "maxSize": 65536,
        "listHandling": "multivalued",
        "inheritMediaTypes": true,
        "ignoredMediaTypes": [],
        "outputFieldPrefix": ""
      },
      {
        "type": "html",
        "enabled": true,
        "mediaTypes": [],
        "pathPatterns": [],
        "errorHandling": "mark",
        "id": "dc7e6cb1-797f-4544-b510-d47ce9e0ee48",
        "charset": "detect",
        "excludeFilters": [],
        "filterBeforeMapping": false,
        "filterBeforeExtractingLinks": false,
        "mappings": [],
        "keepParent": true,
        "extractHtmlLinks": false,
        "extractBodyText": true,
        "metatagsPrefix": "",
        "inheritMediaTypes": true,
        "ignoredMediaTypes": [],
        "outputFieldPrefix": ""
      },
      {
        "type": "text",
        "enabled": true,
        "mediaTypes": [],
        "pathPatterns": [],
        "errorHandling": "mark",
        "id": "bd914d01-ba1e-4d0d-b1c8-befe5e5f08bb",
        "charset": "detect",
        "ignoreBOM": false,
        "maxLength": 1048576,
        "maxLineLength": 1048576,
        "outputField": "body",
        "splitLines": false,
        "skipEmptyLines": false,
        "skipHeaderLines": 0,
        "trimWhitespace": false,
        "commentHandling": "include",
        "comment": "#",
        "commentField": "comment",
        "inheritMediaTypes": true,
        "ignoredMediaTypes": [],
        "outputFieldPrefix": ""
      },
      {
        "type": "tika",
        "enabled": true,
        "mediaTypes": [],
        "pathPatterns": [],
        "errorHandling": "mark",
        "id": "61bcd6a9-a95c-48ab-94c7-74503deffe4a",
        "includeImages": false,
        "flattenCompound": true,
        "addFailedDocs": false,
        "addOriginalContent": false,
        "contentEncoding": "binary",
        "returnXml": false,
        "keepOriginalStructure": false,
        "extractHtmlLinks": false,
        "extractOtherLinks": false,
        "excludeContentTypes": [],
        "zipBombCompressionRatio": 200,
        "zipBombMaxDepth": 200,
        "zipBombMaxPackageEntryDepth": 20,
        "inheritMediaTypes": true,
        "ignoredMediaTypes": [],
        "outputFieldPrefix": ""
      },
      {
        "type": "fallback",
        "enabled": true,
        "mediaTypes": [],
        "pathPatterns": [],
        "errorHandling": "mark",
        "id": "c3494af0-78c7-4374-82d2-3d2f735af140",
        "metadataOnly": false,
        "maxBytesToKeep": 1048576,
        "inheritMediaTypes": true,
        "ignoredMediaTypes": [],
        "outputFieldPrefix": ""
      }
    ]
  },
  {
    "id": "solr-update-parser",
    "enableMediaTypeDetection": true,
    "detectMediaTypeBasedOnExtension": true,
    "maxParserDepth": 16,
    "maxFieldLength": -1,
    "parserStages": [
      {
        "type": "solr-update",
        "enabled": true,
        "mediaTypes": [],
        "pathPatterns": [],
        "errorHandling": "mark",
        "id": "afa870ac-7829-426e-812e-d966e383c8e1",
        "enableXml": true,
        "enableJson": true,
        "enableCsv": true,
        "inheritMediaTypes": true,
        "ignoredMediaTypes": [],
        "outputFieldPrefix": ""
      }
    ]
  }
]

Query Parameters

context
string

Filter the results by app, formatted as app:SomeApp. Results are empty if there is no matching app.

hidden
boolean

Objects marked as hidden are only returned when this parameter is set to true.

Response

200 - */*

OK

id
string
idField
string
enableMediaTypeDetection
boolean
detectMediaTypeBasedOnExtension
boolean
maxParserDepth
integer<int32>
maxFieldLength
integer<int32>
parserStages
object[]
Example:
[
{
"id": "_system",
"enableMediaTypeDetection": true,
"detectMediaTypeBasedOnExtension": true,
"maxParserDepth": 16,
"maxFieldLength": -1,
"parserStages": [
{
"type": "archive",
"enabled": true,
"mediaTypes": [],
"pathPatterns": [],
"errorHandling": "mark",
"id": "769b0235-2e17-4686-bf47-8ba426f74e69",
"alwaysDetect": true,
"inheritMediaTypes": true,
"ignoredMediaTypes": [],
"outputFieldPrefix": ""
},
{
"type": "csv",
"enabled": true,
"mediaTypes": [],
"pathPatterns": [],
"errorHandling": "mark",
"id": "7b0bf674-07e0-4d64-9e49-b36bee122a06",
"charset": "detect",
"ignoreBOM": false,
"autoDetect": true,
"hasHeaders": true,
"headers": [],
"fillValue": "<FILL>",
"trimWhitespace": true,
"skipEmptyLines": true,
"includeRowNumber": true,
"commentHandling": "ignore",
"maxRowLength": 10485760,
"maxNumColumns": 1000,
"maxColumnChars": 10485760,
"columnHandling": "default",
"inheritMediaTypes": true,
"ignoredMediaTypes": [],
"outputFieldPrefix": ""
},
{
"type": "json",
"enabled": true,
"mediaTypes": [],
"pathPatterns": [],
"errorHandling": "mark",
"id": "677f3546-8d45-495a-9596-5d59c3f3fd22",
"splitArrays": true,
"includePath": false,
"mappings": [],
"listHandling": "multivalued",
"expectJsonL": false,
"maxLineSize": 8192,
"inheritMediaTypes": true,
"ignoredMediaTypes": [],
"outputFieldPrefix": ""
},
{
"type": "xml",
"enabled": true,
"mediaTypes": [],
"pathPatterns": [],
"errorHandling": "mark",
"id": "87f3712c-6a5b-4505-991a-1dfef7e48ebd",
"rootPaths": ["/async-parsing/"],
"maxSize": 65536,
"listHandling": "multivalued",
"inheritMediaTypes": true,
"ignoredMediaTypes": [],
"outputFieldPrefix": ""
},
{
"type": "html",
"enabled": true,
"mediaTypes": [],
"pathPatterns": [],
"errorHandling": "mark",
"id": "dc7e6cb1-797f-4544-b510-d47ce9e0ee48",
"charset": "detect",
"excludeFilters": [],
"filterBeforeMapping": false,
"filterBeforeExtractingLinks": false,
"mappings": [],
"keepParent": true,
"extractHtmlLinks": false,
"extractBodyText": true,
"metatagsPrefix": "",
"inheritMediaTypes": true,
"ignoredMediaTypes": [],
"outputFieldPrefix": ""
},
{
"type": "text",
"enabled": true,
"mediaTypes": [],
"pathPatterns": [],
"errorHandling": "mark",
"id": "bd914d01-ba1e-4d0d-b1c8-befe5e5f08bb",
"charset": "detect",
"ignoreBOM": false,
"maxLength": 1048576,
"maxLineLength": 1048576,
"outputField": "body",
"splitLines": false,
"skipEmptyLines": false,
"skipHeaderLines": 0,
"trimWhitespace": false,
"commentHandling": "include",
"comment": "#",
"commentField": "comment",
"inheritMediaTypes": true,
"ignoredMediaTypes": [],
"outputFieldPrefix": ""
},
{
"type": "tika",
"enabled": true,
"mediaTypes": [],
"pathPatterns": [],
"errorHandling": "mark",
"id": "61bcd6a9-a95c-48ab-94c7-74503deffe4a",
"includeImages": false,
"flattenCompound": true,
"addFailedDocs": false,
"addOriginalContent": false,
"contentEncoding": "binary",
"returnXml": false,
"keepOriginalStructure": false,
"extractHtmlLinks": false,
"extractOtherLinks": false,
"excludeContentTypes": [],
"zipBombCompressionRatio": 200,
"zipBombMaxDepth": 200,
"zipBombMaxPackageEntryDepth": 20,
"inheritMediaTypes": true,
"ignoredMediaTypes": [],
"outputFieldPrefix": ""
},
{
"type": "fallback",
"enabled": true,
"mediaTypes": [],
"pathPatterns": [],
"errorHandling": "mark",
"id": "c3494af0-78c7-4374-82d2-3d2f735af140",
"metadataOnly": false,
"maxBytesToKeep": 1048576,
"inheritMediaTypes": true,
"ignoredMediaTypes": [],
"outputFieldPrefix": ""
}
]
},
{
"id": "solr-update-parser",
"enableMediaTypeDetection": true,
"detectMediaTypeBasedOnExtension": true,
"maxParserDepth": 16,
"maxFieldLength": -1,
"parserStages": [
{
"type": "solr-update",
"enabled": true,
"mediaTypes": [],
"pathPatterns": [],
"errorHandling": "mark",
"id": "afa870ac-7829-426e-812e-d966e383c8e1",
"enableXml": true,
"enableJson": true,
"enableCsv": true,
"inheritMediaTypes": true,
"ignoredMediaTypes": [],
"outputFieldPrefix": ""
}
]
}
]