Photo

This entity represents a photo. It can be standalone or nested in a StatusMessage

Properties

Property Type (Length) Description
author diaspora* ID The diaspora* ID of the author of the photo.
guid GUID The GUID of the photo.
public Boolean true if the photo is public.
created_at Timestamp The create timestamp of the photo.
remote_photo_path URL The URL to the photo, without filename (see remote_photo_name)
remote_photo_name String (255) The filename of the photo.

Optional Properties

Property Type (Length) Description
text String (65535) Description text for the photo.
status_message_guid GUID The GUID of the StatusMessage to which the photo is attached.
height Integer The height of the photo in pixels.
width Integer The width of the photo in pixels.

Example

<photo>
  <guid>0ae691e029ea013487753131731751e9</guid>
  <author>alice@example.org</author>
  <public>true</public>
  <created_at>2016-07-11T23:06:37Z</created_at>
  <remote_photo_path>https://example.org/uploads/images/</remote_photo_path>
  <remote_photo_name>f2a41e9d2db4d9a199c8.jpg</remote_photo_name>
  <text>what you see here...</text>
  <height>480</height>
  <width>800</width>
</photo>