Like

This entity represents a like to some kind of post (e.g. status message).

The parent_type can be one of:

See also: Relayable

Properties

Property Type Description
author diaspora* ID The diaspora* ID of the author of the like.
guid GUID The GUID of the like.
parent_guid GUID The GUID of the parent entity.
parent_type Type The entity type of the parent.
positive Boolean true if it is a like, false if it is a dislike.
author_signature Signature The signature from the author of the like.

Examples

<like>
  <positive>true</positive>
  <guid>947a88f029f7013487753131731751e9</guid>
  <parent_type>Post</parent_type>
  <parent_guid>947a854029f7013487753131731751e9</parent_guid>
  <author>alice@example.org</author>
  <author_signature>gk8e+K7XRjVRblv8B8PVOf7BpURbf5HrXO5rmq8D/AkPO7lA0+Akwouu5JGKAHIhPR3dfXVp0o6bIDD+e8gtMYRdDd5IHRfBGNk3WsQecnbhmesHy40Qca/dCQcdcXd5aeWHJKeyUrSAvS55U6VUpk/DK/4IIEZfnr0T9+jM8I0=</author_signature>
</like>