Skip to main content

CreateDocumentInput

Input for creating a new document

input CreateDocumentInput {
collectionIds: [ID!]!
name: String!
uploadUrl: String!
originalUrl: String
}

Fields

CreateDocumentInput.collectionIds ● [ID!]! non-null scalar

The ID of the collections for the document to be added to

CreateDocumentInput.name ● String! non-null scalar

The name for the document

CreateDocumentInput.uploadUrl ● String! non-null scalar

The upload URL of the content for the document, as returned by initiateUploadDocument

CreateDocumentInput.originalUrl ● String scalar

The original url for document, if any

Member Of

createDocument mutation