LoadPicture
Draft documentation version
Documentation is partial and not validated !
Get picture stream
Version |
V1
|
Require User context
|
|
Authorization |
|
Errors |
|
Route
GET
/Picture/{PictureID}/{Size}
Parameters
Parameter |
Required |
Sample |
Description |
PictureID |
|
772b7e47-3404-45e9-95ba-007d5fe29e6a
|
Guid of Picture
|
Size |
|
Small
|
Size of Picture as FileSizeEnum
|
Remarks
- To override Content-type in your clients HTTP Accept Header, append the
.json
suffix or ?format=json
- To embed the response in a jsonp callback, append
?callback=myCallback
Post Data sample
cURL command sample
curl -k -H "Authorization: Bearer [YOUR_ACCESS_TOKEN]" -H "Content-Type:application/json" https://api.wit-datacenter.com/Picture/772b7e47-3404-45e9-95ba-007d5fe29e6a/Small-
Returned Entity
Picture stream with ContentType
JSON Sample
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
(HttpWebResponse)