Page tree
Skip to end of metadata
Go to start of metadata

You can generate a key for a private content item with the generateContentItemViewKey method.

Parameters

ParameterTypeDescription
credentials (required)credentialsRead the description of the Credentials object.
contentItemId (required)stringID of a private content item, for which you want to generate a key.

 

Retun Value

After the request has been completed, the system returns an object with the following properties:

ParameterTypeDescription
viewKeystringGenerated key for the specified private content item.

 

Possible Errors

ErrorDescription
not allowedIt's not a private content item, or its isViewedOnce property is false.

 

Sample Call

Sample Response

 

  •