WIP: Submit transcoding jobs via a HTTP API #6

Draft
ansv7779 wants to merge 22 commits from api-submission into master
Showing only changes of commit 2cf6c9f947 - Show all commits

View File

@ -8,7 +8,7 @@ import java.net.URI;
public class TranscriptionNotFound extends ErrorResponseException { public class TranscriptionNotFound extends ErrorResponseException {
public TranscriptionNotFound(String id) { public TranscriptionNotFound(String id) {
super(HttpStatus.BAD_REQUEST); super(HttpStatus.BAD_REQUEST);
setType(URI.create("https://gitea.dsv.su.se/DMC/whisper-frontend/wiki/Errors#transcription-file-not-found")); setType(URI.create("https://gitea.dsv.su.se/DMC/whisper-frontend/wiki/Errors#transcription-not-found"));
setTitle("Transcription not found"); setTitle("Transcription not found");
setDetail("Transcription with id '" + id + "' not found"); setDetail("Transcription with id '" + id + "' not found");
} }