curl --request POST \
--url https://{FUSION HOST}/api/parsers/{id}/parse \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: multipart/form-data' \
--form offset=123 \
--form limit=123
{
"diagnostics": [
{
"cause": "<string>",
"code": 123,
"diagnosticId": "<string>",
"filter": "<string>",
"parserStageId": "<string>",
"parserStageType": "<string>",
"result": true
}
],
"documents": [
{
"id": "<string>",
"fields": [
{
"name": "<string>",
"value": {},
"metadata": {},
"annotations": [
{
"type": "<string>",
"start": 123,
"end": 123,
"features": {},
"label": "<string>",
"featureCount": 123
}
]
}
],
"metadata": {},
"commands": [
{
"name": "<string>",
"params": {}
}
],
"hints": {}
}
],
"errors": [
{
"context": {},
"message": "<string>"
}
],
"parsedStreams": 123,
"totalDocuments": 123,
"totalTimeMs": 123
}
curl --request POST \
--url https://{FUSION HOST}/api/parsers/{id}/parse \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: multipart/form-data' \
--form offset=123 \
--form limit=123
{
"diagnostics": [
{
"cause": "<string>",
"code": 123,
"diagnosticId": "<string>",
"filter": "<string>",
"parserStageId": "<string>",
"parserStageType": "<string>",
"result": true
}
],
"documents": [
{
"id": "<string>",
"fields": [
{
"name": "<string>",
"value": {},
"metadata": {},
"annotations": [
{
"type": "<string>",
"start": 123,
"end": 123,
"features": {},
"label": "<string>",
"featureCount": 123
}
]
}
],
"metadata": {},
"commands": [
{
"name": "<string>",
"params": {}
}
],
"hints": {}
}
],
"errors": [
{
"context": {},
"message": "<string>"
}
],
"parsedStreams": 123,
"totalDocuments": 123,
"totalTimeMs": 123
}
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Id of the parser to be used.
OK
The response is of type object
.
Was this page helpful?