In addition to the PUT method to start a manual validity check it might be worthwhile to take a hint from cijoe and have a uri for last full validity check, independent of specific job. So it would return:
200 - OK (last check was successful)
412 - PRECONDITION FAILED (like cijoe) or 500 error??
Could include last modified headers for when job was completed.
A payload could be retrieved with specific errors.
Should this information be added to the metadata returned when listing bags, rather than calling the validation url for each bag. It would also give 3rd parties a quick way to know which bags have been 'finished'
In addition to the PUT method to start a manual validity check it might be worthwhile to take a hint from cijoe and have a uri for last full validity check, independent of specific job. So it would return:
Could include last modified headers for when job was completed.
A payload could be retrieved with specific errors.