OBJECT
ProductionFile
A print production, ebook or audio file. When uploading a file using a resourceFileName, the mutation will return a presigned URL to upload the file to. Once the file has been uploaded, it will be processed in the background.
link GraphQL Schema definition
- type ProductionFile {
- # Whether the production file is distributable
- ProductionFileAllowDistribution! :
- # The epublication accessibility summary extracted from an analysed epub file.
- String :
- # The analysis status of the production file
- ProductionFileAnalysisStatus! :
- # The approval status of the production file
- ProductionFileApprovalStatus! :
- # Whether the file contains bookmarks
- Boolean! :
- # The date and time the file was created
- ISO8601DateTime :
- # The status of the associated delayed job, if any
- String :
- # Whether the uploaded file exists or not
- Boolean! :
- # The short form of the file type, such as PDF
- String :
- # File size in bytes
- BigInt :
- # The file type of the production file
- String @deprecated( reason: "Use fileVariant, approvalStatus and allowDistribution instead" ) :
- # The file variant of the production file
- ProductionFileFileVariant! :
- # The name of the file uploaded to Consonance
- String :
- # The Consonance unique identifier
- Int :
- # Whether the file can be analysed for accessibility
- Boolean! :
- # The content type accessibility features extracted from an analysed epub file.
- ONIXCode!]! : [
- # The epublication accessibility features extracted from an analysed epub file.
- ONIXCode!]! : [
- # The table of contents generated from the file bookmarks
- #
- # Arguments
- # depth: The number of nested levels for the table of contents
- Int!): String ( :
- # The IDs of products linked to this supporting resource
- Int!]! : [
- # A presigned expirable URL from which to download the file.
- #
- # Checks that the
- #
- # Arguments
- # expirySeconds: The number of seconds after which the URL will
- # expire. Default 86,400 (one day).
- #
- # Values between 60 and 86,400 are valid. Values outside of this range will be
- # silently changed to 60 or 86,400 as appropriate.
- # asAttachment: Set to true for the response_content_disposition
- # to be set to attachment instead of inline
- # name: Sets the filename in the response_content_disposition.
- # Omit this to use the original name of the uploaded file
- Int, : Boolean, : String): String ( :
- }
link Require by
- CreateProductionFilePayloadAutogenerated return type of CreateProductionFile.
- DeleteProductionFilePayloadAutogenerated return type of DeleteProductionFile.
- UpdateProductionFilePayloadAutogenerated return type of UpdateProductionFile.
- WorkA unique item of intellectual property on which products are based