Skip to content
x1s edited this page Jul 22, 2012 · 7 revisions

Photos

params:

upload without product (session scope) array of files files = [file1.jpg, file2.jpg]

photo to a product idProduct=:idProduct files=[file1.jpg, file2.jpg]

return

</td>
return
</td>
Method Auth? URL
GET true /photo?token=:token

get all photos from that token

an array with the photos [] - none photo [ {foto...} ]
</td> 
GET true /photo?token=:token&photo=:photo
the photo in a array [{ foto.... }]
POST true /photo/token=:token
DELETE true /photo/:photo/token=:token&idProduct=:idProduct

Clone this wiki locally