Skip to main content

ResourceInput

An input for mutations affecting Resource

input ResourceInput {
id: String
title: String
url: String
blob: String
blobType: String
accordId: String
ownerId: String
version: Int
deletedAt: Datetime
updatedAt: Datetime
createdAt: Datetime
workspaceId: String
internal: Boolean
resourceId: String
parentFolderId: String
isPinned: Boolean
pinnedAt: Datetime
libraryResourceVersionId: String
description: String
fileName: String
previewImageUrl: String
pinnedOrder: Int
content: String
uploadedPreviewImageUrl: String
ownerWorkspacePlaceholderRoleId: String
allDomains: Boolean
}

Fields​

ResourceInput.id ● String scalar​

ResourceInput.title ● String scalar​

ResourceInput.url ● String scalar​

ResourceInput.blob ● String scalar​

Inline-stored content for uploaded or embedded resources, as an alternative to a linked url.

ResourceInput.blobType ● String scalar​

Discriminator for the resource kind: folder marks the row as a folder, which is the value every folder check in the API and the webapp keys on. The webapp writes only folder or null.

ResourceInput.accordId ● String scalar​

ResourceInput.ownerId ● String scalar​

ResourceInput.version ● Int scalar​

ResourceInput.deletedAt ● Datetime scalar​

ResourceInput.updatedAt ● Datetime scalar​

ResourceInput.createdAt ● Datetime scalar​

ResourceInput.workspaceId ● String scalar​

ResourceInput.internal ● Boolean scalar​

When true, the resource is visible only to the internal seller side, not the customer.

ResourceInput.resourceId ● String scalar​

Lineage pointer to the resource this one was copied from, used to pair a copy with its source when steps are re-copied.

ResourceInput.parentFolderId ● String scalar​

When set, the folder resource this one is nested under.

ResourceInput.isPinned ● Boolean scalar​

Whether the resource is pinned to surface prominently on the accord.

ResourceInput.pinnedAt ● Datetime scalar​

ResourceInput.libraryResourceVersionId ● String scalar​

The library-resource version this resource was instantiated from.

ResourceInput.description ● String scalar​

ResourceInput.fileName ● String scalar​

Original filename, for uploaded-file resources.

ResourceInput.previewImageUrl ● String scalar​

Auto-generated thumbnail/preview image URL.

ResourceInput.pinnedOrder ● Int scalar​

Display order among pinned resources.

ResourceInput.content ● String scalar​

Rendered text content, for embedded rich-text resources.

ResourceInput.uploadedPreviewImageUrl ● String scalar​

User-supplied override for the preview image.

ResourceInput.ownerWorkspacePlaceholderRoleId ● String scalar​

Placeholder role that owns the resource, when ownership is assigned to a role rather than a specific person. Mutually exclusive with owner_id — a check constraint rejects setting both, though leaving both null is allowed.

ResourceInput.allDomains ● Boolean scalar​

Partner scoping for this resource: true opens it to every partner domain, false leaves access to its resource_entitlement domain rows. Scoping — here or on the library resource it was instantiated from — hides it from customers who are not partners; with neither it is visible to every customer. An internal resource cannot be opened to partners; a check constraint rejects setting both.

Member Of​

CreateResourceInput input