Skip to main content
Version: 1.0.0

Item

Item is a data type representing a content item returned by many Content SDK event handlers.

Attributes

Item comes from the sas-drive service, and has a goal of containing all attributes that could be useful to a consumer or web client. The following are most likely to be of use in the Content SDK.

id: string

The unique id of the item in the drive service. This is the value to use for an ItemIdentifier of type driveItemId.

name: string

The display name of the content item.

resource.id: string

The uri of the content item, such as the report uri or folder uri.

resource.type.sasType: string

The SAS type of the content item, such as 'report', 'folder', or 'file'.

resource.type.typeDefName: string

The name of the SAS type definition for the content item, such as 'jobDefinition'. Use this when the sasType is not specific enough to identify the content.