Skip to main content

BidFile

A file attached to a bid, kept in private storage. Open it through bidFileDownloadUrl.

type BidFile {
bidId: ID!
contentType: String!
createdAt: DateTime!
declaredSize: Int!
fileName: String!
id: ID!
kind: BidFileKind!
sizeBytes: Int
status: BidFileStatus!
updatedAt: DateTime!
version: Int!
}

Fields​

BidFile.bidId ● ID! non-null scalar​

The bid.

BidFile.contentType ● String! non-null scalar​

The file's content type.

BidFile.createdAt ● DateTime! non-null scalar​

When the upload was requested.

BidFile.declaredSize ● Int! non-null scalar​

The size in bytes the uploader declared before uploading.

BidFile.fileName ● String! non-null scalar​

The file's name, without any folder.

BidFile.id ● ID! non-null scalar​

The file's id.

BidFile.kind ● BidFileKind! non-null enum​

What the file is.

BidFile.sizeBytes ● Int scalar​

The stored size in bytes, once the upload is confirmed.

BidFile.status ● BidFileStatus! non-null enum​

Where the upload is.

BidFile.updatedAt ● DateTime! non-null scalar​

When the file last changed.

BidFile.version ● Int! non-null scalar​

The edit version; send it back as expectedVersion to remove the file.

Returned By​

bidFiles query ● confirmBidFileUpload mutation ● removeBidFile mutation

Member Of​

BidFileUpload object