NewsFeedRequest
public enum NewsFeedRequest : URLRequestConvertible
                Enumeration of network requests for News Feed.
- 
                  
                  
Get all available flags for news feed module.
Declaration
Swift
case getNewsFeedFlags - 
                  
                  
Get all posts with optional
Parameters.Declaration
Swift
case getPosts(parameters: Parameters?) - 
                  
                  
Get a specific post with ID.
Declaration
Swift
case getPost(id: String) - 
                  
                  
Create a new post with body and attachments in a specific feed.
Declaration
Swift
case addNewPost(body: String, assets: [URL], feedName: String?) - 
                  
                  
Delete a specific post with ID.
Declaration
Swift
case deletePost(id: String) - 
                  
                  
Like a specific post with ID.
Declaration
Swift
case likePost(id: String) - 
                  
                  
Unlike a specific post with ID.
Declaration
Swift
case unlikePost(id: String) - 
                  
                  
Flag a specific post with ID with
Post.Flagkey.Declaration
Swift
case flagPost(flag: String, id: String) - 
                  
                  
Unflag a specific post with ID.
Declaration
Swift
case unflagPost(id: String) - 
                  
                  
Get all comments in a specific post with ID.
Declaration
Swift
case getComments(postId: String, parameters: Parameters?) - 
                  
                  
Create a new comment inside a specific post with ID.
Declaration
Swift
case addNewComment(body: String, postId: String) - 
                  
                  
Delete a specific comment with ID.
Declaration
Swift
case deleteComment(commentId: String, postId: String) - 
                  
                  
Like a specific comment with ID.
Declaration
Swift
case likeComment(commentId: String, postId: String) - 
                  
                  
Unlike a specific comment with ID.
Declaration
Swift
case unlikeComment(commentId: String, postId: String) - 
                  
                  
Flag a specific comment with ID with
Post.Flagkey.Declaration
Swift
case flagComment(flag: String, commentId: String, postId: String) - 
                  
                  
Unflag a specific comment with ID.
Declaration
Swift
case unflagComment(commentId: String, postId: String) - 
                  
                  
Declaration
Swift
public var method: HTTPMethod { get } - 
                  
                  
Declaration
Swift
public var path: String { get } - 
                  
                  
Declaration
Swift
public var parameters: Parameters? { get } - 
                  
                  
Declaration
Swift
public var multipartAttachments: URLRequest.MultipartAttachments? { get } 
View on GitHub
        NewsFeedRequest Enumeration Reference