Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 1.05 KB

restart_validation.md

File metadata and controls

37 lines (28 loc) · 1.05 KB

POST "/v1/restart_validation/"

This route alters a submission's jobs' statuses so they are no longer complete (requiring a regeneration and revalidation for all steps), uncaches all generated files, then restarts A/B/C or FABS validations for the specified submission.

Body (JSON)

{
  "submission_id": 1,
  "is_fabs": True
}

Body Description

  • submission_id: (required, integer) the ID of the submission for which the validations should be restarted.
  • is_fabs: (boolean) indicates whether this is a DABS or FABS submission (True for FABS), defaults to False when not provided

Response (JSON)

{
  "message": "Success"
}

Response Attributes

  • message: (string) A message indicating whether or not the action was successful. Any message other than "Success" indicates a failure.

Errors

Possible HTTP Status Codes:

  • 400:
    • Submission does not exist
    • Missing submission_id
    • Submission is revalidating or publishing
  • 401: Login required
  • 403: Permission denied, user does not have permission to edit this submission