Newer Version Available

This content describes an older version of this product. View Latest

ContentDocumentSubscription

Represents a subscription for a user following or commenting on a file in a library. This object is available in API version 42.0 and later.

Supported Calls

delete(), describeSObjects(), query(), retrieve()

Special Access Rules

Only users with Modify All Data permission have access to this object.

Fields

Field Details
ContentDocumentId
Type
reference
Properties
Filter, Group, Sort
Description
ID of the file.
IsCommentSub
Type
boolean
Properties
Defaulted on create, Filter, Group, Sort
Description
Specifies whether the user made comments on the file.
IsDocumentSub
Type
boolean
Properties
Defaulted on create, Filter, Group, Sort
Description
Specifies whether the user follows the file.
UserId
Type
reference
Properties
Filter, Group, Sort
Description
ID of the user following or commenting on the file.