/api/create/ (POST)

Creates a report. All parameters should be sent as form data.

Parameters:

sequence
The optional protein sequence, otherwise send an accession code.
uniprot_ac
The optional uniprot accession code.
pdb_ac
The optional pdb accession code.
position
The position of the mutation in the sequence.
mutant
The mutant amino acid letter.

Returns:

The id of the report.


/api/statistics/ (GET)

Get the statistics for the total number of jobs in HOPE.

Parameters:

Returns:

the number of PENDING, STARTED, SUCCESS, FAILURE and total number of jobs


/api/status/<report_id>/ (GET)

Get the status of a previous job submission.

Parameters:

report_id
The id returned by a call to the create method.

Returns:

Either PENDING, STARTED, SUCCESS, FAILURE, RETRY, or REVOKED.