lmucs / cher-ami

Exclusive Content Sharing
10 stars 2 forks source link

Add "image" field to JSON payload for message creation #19

Open ebramanti opened 9 years ago

ebramanti commented 9 years ago

We need to add an image attribute in addition to content and circles. Users can pass in a direct link to an image, and it is the client's job to render this image and provide upload services.

Example:

{
    "content": "A text message",
    "circles": [],
    "image": "http://i.imgur.com/...[.jpg | .png | etc.]"
}
ebramanti commented 9 years ago

I think I might have actually completed this task, but I'm not sure. Just gonna close.