PhotostreamImageData
struct PhotostreamImageData : Content
Returns info about a single Photo from the Photostream.
Incorporated into PhotostreamListData
, which is returned by: GET /api/v3/photostream
-
The ID of the photostream record (NOT the id of the image)..
Declaration
Swift
var postID: Int
-
The time the image was taken–not necessarily the time the image was uploaded..
Declaration
Swift
var createdAt: Date
-
The post’s author.
Declaration
Swift
var author: UserHeader
-
The filename of the image.
Declaration
Swift
var image: String
-
The schedule event this image was tagged with, if any. Stream photos will be tagged with either an event or a location.
Declaration
Swift
var event: EventData?
-
The boat location this image was tagged with, if any. Value will be a raw string from
PhotoStreamBoatLocation
or nil. Stream photos will be tagged with either an event or a location.Declaration
Swift
var location: String?
-
Declaration
Swift
init(streamPhoto: StreamPhoto, author: UserHeader) throws