cern-sis / issues-inspire

0 stars 0 forks source link

Add Validation Endpoint for Records in InspireHEP #574

Open drjova opened 2 weeks ago

drjova commented 2 weeks ago

We need to add a validation endpoint to the InspireHEP service to validate different types of records, specifically for author workflows. The endpoint should accept a record as a payload and validate it according to the specified type.

TECH NOTES

Expected Behavior:

Acceptance Criteria:

PascalEgn commented 2 weeks ago

We first have to make some changes to inspire-schemas 🫠 pyyaml and urllib3 versions need to be bumped in order to use it in inspire backoffice. They needed changes are included in: https://github.com/inspirehep/inspire-schemas/pull/465

PascalEgn commented 1 week ago

Added validation endpoint in https://github.com/inspirehep/backoffice/pull/115

I think it makes sense to wait for https://github.com/inspirehep/inspirehep/pull/3246, to add the validation call in record editor