Interface IPhoto

The Photo object contains info about a user's photos on SkyDrive. The Live Connect REST API supports creating, reading, updating, and deleting Photo objects. Use the wl.photos scope to read Photo objects. Use the wl.contacts_photos scope to read any albums, photos, videos, and audio that other users have shared with the user. Use the wl.skydrive_update scope to create, update, or delete Photo objects.

Index

Properties

Properties

public camera_make: string

The manufacturer of the camera that took the photo.

public camera_model: string

The brand and model number of the camera that took the photo.

public comments_count: number

The number of comments associated with the photo.

public comments_enabled: boolean

A value that indicates whether comments are enabled for the photo. If comments can be made, this value is true; otherwise, it is false.

public created_time: string

The time, in ISO 8601 format, at which the photo was created.

public description: string

A description of the photo, or null if no description is specified.

public exposure_denominator: number

The denominator of the shutter speed (for example, the "15" in "1/15 s") that the photo was taken at.

public exposure_numerator: number

The numerator of the shutter speed (for example, the "1" in "1/15 s") that the photo was taken at.

public focal_length: number

The focal length that the photo was taken at, typically expressed in millimeters for newer lenses.

public focal_ratio: number

The f-number that the photo was taken at.

public from: IUserInfo

Info about the user who uploaded the photo.

public height: number

The height, in pixels, of the photo.

public id: string

The Photo object's ID.

public images: IImageInfo[]

Info about various sizes of the photo.

public is_embeddable: boolean

A value that indicates whether this photo can be embedded. If this photo can be embedded, this value is true; otherwise, it is false.

public link: string

A URL of the photo, hosted in SkyDrive.

public location: ILocation

The location where the photo was taken. Note: The location object is not available for shared photos.

public name: string

The file name of the photo.

public parent_id: string

The ID of the folder where the item is stored.

public picture: string

A URL of the photo's picture.

public shared_with: ISharedWith

The object that contains permissions info for the photo.

public size: number

The size, in bytes, of the photo.

public source: string

The download URL for the photo. Warning: This value is not persistent. Use it immediately after making the request, and avoid caching.

public tags_count: number

The number of tags on the photo.

public tags_enabled: boolean

A value that indicates whether tags are enabled for the photo. If users can tag the photo, this value is true; otherwise, it is false.

public type: string

The type of object; in this case, "photo".

public updated_time: string

The time, in ISO 8601 format, at which the photo was last updated.

public upload_location: string

The URL to upload photo content hosted in SkyDrive. This value is returned only if the wl.skydrive scope is present.

public when_taken: string

The date, in ISO 8601 format, on which the photo was taken, or null if no date is specified.

public width: number

The width, in pixels, of the photo.