Authorizations
Basic authentication using an API key, e.g. {Authorization: Bearer aff_0bb4fbdf97b7e4111ff6c0015471094155f91}
.
You can find your API key within the Settings page of the Affinda web app. You can obtain an API key by signing up for a free trial.
Body
List of annotation ids that were validated
[1, 2, 3]
The kebab-case slug of the validation rule that was applied
"supplier-name-is-alphanumeric"
Message explaining why the validation failed
"Expected 'ThisInputShouldMatch' to match regex pattern '[0-9]*"
Unique identifier for the document
Whether the validation passed or not, null if the validation was not applicable
true
Response
Successfully created a validation result.
Validation result arising from a ValidationRule
Validation Result's ID
x >= 1
1
List of annotation ids that were validated
[1, 2, 3]
Whether the validation passed or not, null if the validation was not applicable
true
The kebab-case slug of the validation rule that was applied
"supplier-name-is-alphanumeric"
Message explaining why the validation failed
"Expected 'ThisInputShouldMatch' to match regex pattern '[0-9]*"
Unique identifier for the document