Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)
Paste
Pasted as Groovy by Pavel ( 12 years ago )
def files = [:]
return render (contentType: "text/json") {files [
["name": "picture1.jpg", "size": 902604, "url": "http://example.org/files/picture1.jpg",
"thumbnailUrl": "http://example.org/files/thumbnail/picture1.jpg",
"deleteUrl": "http://example.org/files/picture1.jpg",
"deleteType": "DELETE"
]
,
["name": "picture2.jpg",
"size": 841946,
"url": "http://example.org/files/picture2.jpg",
"thumbnailUrl": "http://example.org/files/thumbnail/picture2.jpg",
"deleteUrl": "http://example.org/files/picture2.jpg",
"deleteType": "DELETE"]
]}
Revise this Paste
Parent: 70497
Children: 70499