Skip to main content

ResourcePatch

Represents an update to a Resource. Fields that are set will be updated.

input ResourcePatch {
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

ResourcePatch.id ● String scalar

ResourcePatch.title ● String scalar

ResourcePatch.url ● String scalar

ResourcePatch.blob ● String scalar

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

ResourcePatch.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.

ResourcePatch.accordId ● String scalar

ResourcePatch.ownerId ● String scalar

ResourcePatch.version ● Int scalar

ResourcePatch.deletedAt ● Datetime scalar

ResourcePatch.updatedAt ● Datetime scalar

ResourcePatch.createdAt ● Datetime scalar

ResourcePatch.workspaceId ● String scalar

ResourcePatch.internal ● Boolean scalar

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

ResourcePatch.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.

ResourcePatch.parentFolderId ● String scalar

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

ResourcePatch.isPinned ● Boolean scalar

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

ResourcePatch.pinnedAt ● Datetime scalar

ResourcePatch.libraryResourceVersionId ● String scalar

The library-resource version this resource was instantiated from.

ResourcePatch.description ● String scalar

ResourcePatch.fileName ● String scalar

Original filename, for uploaded-file resources.

ResourcePatch.previewImageUrl ● String scalar

Auto-generated thumbnail/preview image URL.

ResourcePatch.pinnedOrder ● Int scalar

Display order among pinned resources.

ResourcePatch.content ● String scalar

Rendered text content, for embedded rich-text resources.

ResourcePatch.uploadedPreviewImageUrl ● String scalar

User-supplied override for the preview image.

ResourcePatch.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.

ResourcePatch.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

UpdateResourceByNodeIdInput input ● UpdateResourceInput input