POST /parsers-engine-rpc
Execute the Parsers Engine against a given input and Parsers Rules.
Route
Method: POST
Authentication: required
Url:
https://api.specifyapp.com/v2/parsers-engine-rpcHeaders
Content-Type: application/json
Authorization: PAT <your-personal-access-token>Request Body
type ParsersEngineRPCRequestBody = {
dataBox: ParsersEngineDataBox;
rules: Array<ParserRule>;
returnedKeys?: {
output?: boolean;
next?: boolean;
errorMessages?: boolean;
warningMessages?: boolean;
informationMessages?: boolean;
};
};Name
Type
Description
rules
Array<ParserRule>
The parser rule definitions to instruct the transformation and generation pipelines.
returnedKeys
Record<string, boolean | undefined> | undefined
Select which response keys should be present. Defaults to true.
Response Body
The route always respond with a 200 code. Error state is represented by the status property in response object.
Example
Here's a simple example to get the raw tokens in JSON from a repository called all-design-datain the @acme-inc workspace:
Last updated
Was this helpful?