We are trying to use the set of APIs to send a file to a channel from an andriod app. Here are the set of APIs if we trace through the mattermost.log
/api/v1/files/upload -> this is use to upload the file /api/v1/files/get_info//........../errors.txt -> this returns the file details.. /api/v1/channels//update_last_viewed_at /api/v1/channels/posts/