Web services documentation
Function: module_mobileapi_upload_blog_post
Description: | Upload a blog post into one of user's blogs |
Component: | module/mobileapi |
Class: | module_mobileapi_upload |
Method: | upload_blog_post |
Arguments
blogid: int Required The blog to post it to title: string Required Title of the post body: string Required Body of the post isdraft: bool Default (true) Put the new post in draft status allowcomments: bool Default (false) Allow comments on the post tags: Default <array> Tags to apply to the blog post list of ( string Required Text of tag ) fileattachments: Default <array> Files to attach to the blog post list of ( string (file) Required Uploaded file )
Response
General structure Required object { blogpost: int Required ID of the blog post created files: Optional IDs of file artefacts created list of ( int Required )}