Skip to main content

SaveResourceToLibraryInput

No description

input SaveResourceToLibraryInput {
resourceId: String!
libraryName: String!
defaultTitle: String!
description: String
url: String
fileName: String
internal: Boolean
isFolder: Boolean
approvedAt: Datetime
previewImageUrl: String
uploadedPreviewImageUrl: String
originUrl: String
ownerWorkspaceAccountId: String
expirationDate: Date
}

Fields

SaveResourceToLibraryInput.resourceId ● String! non-null scalar

Accord resource to save into the library. If it is a folder, its contents are saved recursively.

SaveResourceToLibraryInput.libraryName ● String! non-null scalar

Name for the new library resource.

SaveResourceToLibraryInput.defaultTitle ● String! non-null scalar

Default display title for the library resource.

SaveResourceToLibraryInput.description ● String scalar

Optional description for the library resource.

SaveResourceToLibraryInput.url ● String scalar

URL the resource points at, for link/file resources.

SaveResourceToLibraryInput.fileName ● String scalar

Original file name, for uploaded file resources.

SaveResourceToLibraryInput.internal ● Boolean scalar

Whether the library resource is internal-only (not customer-visible).

SaveResourceToLibraryInput.isFolder ● Boolean scalar

Whether the resource being saved is a folder.

SaveResourceToLibraryInput.approvedAt ● Datetime scalar

Timestamp marking the library resource as approved, if pre-approved.

SaveResourceToLibraryInput.previewImageUrl ● String scalar

URL of an externally hosted preview image.

SaveResourceToLibraryInput.uploadedPreviewImageUrl ● String scalar

URL of a preview image uploaded to our storage.

SaveResourceToLibraryInput.originUrl ● String scalar

Original source URL the resource was imported from.

SaveResourceToLibraryInput.ownerWorkspaceAccountId ● String scalar

Workspace account to record as the owner of the library resource.

SaveResourceToLibraryInput.expirationDate ● Date scalar

Date the resource content expires and should no longer be used.

Member Of

saveResourceToLibrary mutation