FileInput
No description
input FileInput {
namespaceId: ID!
owner: String
size: BigInt!
md5Hash: String!
location: URL!
mime: Mime!
nature: FileNature!
originalName: String
relatedEntities: [URL!]
derivedFromId: ID
}
Fields
FileInput.namespaceId
● ID!
non-null scalar
The ID of the file's namespace.
FileInput.owner
● String
scalar
A string identifying the owner/uploader of the file.
FileInput.size
● BigInt!
non-null scalar
The file size in bytes.
FileInput.md5Hash
● String!
non-null scalar
The md5 digest of the file's content, base16 encoded.
FileInput.location
● URL!
non-null scalar
A URL to the file's storage location.
FileInput.mime
● Mime!
non-null scalar
The file's RFC6838-encoded media type.
FileInput.nature
● FileNature!
non-null enum
The nature/purpose of the file.
FileInput.originalName
● String
scalar
The name the file had when it was first put into the system.
FileInput.relatedEntities
● [URL!]
list scalar
The list of entity IDs (Publication, License, etc.) referenced by or linked to the file.
FileInput.derivedFromId
● ID
scalar
The file ID from which this one was derived from. In the case of a generated sample for example.
Member of
createFile
mutation