Browse Source

Fixed wording in previous commit

pull/76/head
Yuriy Shevchuk 11 years ago
parent
commit
51f47e36b0
  1. 6
      doc/CHANNELING-API.txt
  2. 7
      doc/REST-API.txt

6
doc/CHANNELING-API.txt

@ -309,10 +309,10 @@ Additional types for session listing and notifications
} }
'buddyPicture' can be in two formats: 'buddyPicture' can be in next formats:
1. image of the user as Base64 encoded string of an image. 1. Base64 encoded string of an image.
Example: data:image/jpeg;base64,/9j/4... Example: data:image/jpeg;base64,/9j/4...
2. url subpath to query REST API. Please refer to REST API for more info 2. url subpath to query REST API. Please refer to REST API for more information
Example: img:8nG33oDk8Yv8fvK6IphL/6vjI2NLigcET/picture.jpg Example: img:8nG33oDk8Yv8fvK6IphL/6vjI2NLigcET/picture.jpg
Note: buddyPicture content needs to be in the format of HTML data urls'. Note: buddyPicture content needs to be in the format of HTML data urls'.

7
doc/REST-API.txt

@ -154,13 +154,12 @@ Available end points with request methods and content-type:
GET application/x-www-form-urlencoded GET application/x-www-form-urlencoded
details: details:
flags: at the moment the only know flag is s{icon_size_in_pixels}, flags: at the moment the only known flag is s{icon_size_in_pixels},
the icons are always squares so only one dimension is needed the icons are always squares so only one dimension is needed
example: s46 example: s46
imageid and idx: image id received via Channeling API (please refer to Channeling API for details) imageid and idx: image id received via channeling API (please refer to channeling API for details)
example: https://example.com/static/img/buddy/s46/8nG33oDk8Yv8fvK6IphL/6vjI2NLigcET/picture.jpg example: https://example.com/static/img/buddy/s46/8nG33oDk8Yv8fvK6IphL/6vjI2NLigcET/picture.jpg
Response 200: Response 200: image
{image}

Loading…
Cancel
Save