OptionalexpandThe name of the relationship. This method supports the 'favourite' (i.e. 'save for later') relationship as well as any other relationship types created via Create relationship.
The identifier for the source entity:
sourceType is user, then specify either current (logged-in user), the user key of the user, or the account
ID of the user. Note that the user key has been deprecated in favor of the account ID for this parameter. See
the migration
guide
for details.sourceType is 'content', then specify the content ID.sourceType is 'space', then specify the space key.OptionalsourceThe status of the source. This parameter is only used when the sourceType is 'content'.
The source entity type of the relationship. This must be 'user', if the relationName is 'favourite'.
OptionalsourceThe version of the source. This parameter is only used when the sourceType is 'content' and the sourceStatus is
'historical'.
The identifier for the target entity:
targetType is user, then specify either current (logged-in user), the user key of the user, or the account
ID of the user. Note that the user key has been deprecated in favor of the account ID for this parameter. See the
migration
guide for
details.targetType is 'content', then specify the content ID.targetType is 'space', then specify the space key.OptionaltargetThe status of the target. This parameter is only used when the targetType is 'content'.
The target entity type of the relationship. This must be 'space' or 'content', if the relationName is
'favourite'.
OptionaltargetThe version of the target. This parameter is only used when the targetType is 'content' and the targetStatus is
'historical'.
A multi-value parameter indicating which properties of the response object to expand.
relationDatareturns information about the relationship, such as who created it and when it was created.sourcereturns the source entity.targetreturns the target entity.