Skip to content

Commit

Permalink
fileType/temporaryUrl is no longer relevant
Browse files Browse the repository at this point in the history
  • Loading branch information
siers committed Nov 14, 2024
1 parent 00e9c2a commit 559609b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,6 @@ class KnoraSipiIntegrationV2ITSpec

val uploadedFile: SipiUploadResponseEntry = sipiUploadResponse.uploadedFiles.head
uploadedFile.originalFilename should ===(minimalZipOriginalFilename)
uploadedFile.fileType should equal("archive")

// Create the resource in the API.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,10 @@ case class SipiGetTextFileResponse(content: String)
*
* @param originalFilename the original filename that was submitted to Sipi.
* @param internalFilename Sipi's internal filename for the stored temporary file.
* @param temporaryUrl the URL at which the temporary file can be accessed.
* @param fileType `image`, `text`, or `document`.
*/
case class SipiUploadResponseEntry(
originalFilename: String,
internalFilename: String,
temporaryUrl: Option[String],
fileType: Option[String],
)

/**
Expand Down

0 comments on commit 559609b

Please sign in to comment.