PhotostreamUploadData
struct PhotostreamUploadData : Content
Uploads a photo to the photostream. Either the eventID or the locationName must be set.
Sent in request body to: POST /api/v3/photostream/upload.
-
The image data.
Declaration
Swift
var image: Data -
The time the image was taken–not necessarily the time the image was uploaded..
Declaration
Swift
var createdAt: Date -
The Schedule Event the photo was taken at, if any. ID must refer to an event that is currently happening–that is, an event that
/api/v3/photostream/placenamesreturns. Either the eventID or locationName field must be non-nil.Declaration
Swift
var eventID: UUID? -
Where the picture was taken. Valid values come from
/api/v3/photostream/placenamesand are transient. Names include titles of events currently happening..Declaration
Swift
var locationName: String?
View on GitHub