Skip to content

Instantly share code, notes, and snippets.

@tybenz
Created July 24, 2014 17:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tybenz/2129f043f725a8b937ce to your computer and use it in GitHub Desktop.
Save tybenz/2129f043f725a8b937ce to your computer and use it in GitHub Desktop.

Image Upload to S3

url: https://localhost:8083/api/v0/uploadImage
type: POST
Data: { ids: { id: <issue_id>, publication_id: <publication_id>, image_id: <image_uuid> }, file: <image file> }
returns: { result: true/false, publishedURL, error }

Publish

url: https://localhost:8083/api/v0/publish
type: POST
Data: { issueJSON: <issueJSON> }
returns: { result: true/false, publishedURL, error }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment