Open jmartinm opened 8 years ago
A new api.py file needs to be created in https://github.com/inspirehep/invenio-record-editor/tree/master/invenio_record_editor with the following functionality:
api.py
/validate
A new
api.py
file needs to be created in https://github.com/inspirehep/invenio-record-editor/tree/master/invenio_record_editor with the following functionality:/validate
- will receive the JSON from the editor, run validation functions and return the error messages following the format https://github.com/inspirehep/ng2-json-editor/blob/master/example/assets/mock-data/error-map.json.