Index of pictures
Planned.
Create picture
Planned.
Read picture
URL: GET http://www.myexperiment.org/picture.xml?id=38
Example output:
<?xml version="1.0" encoding="UTF-8" ?>
<picture uri="http://www.myexperiment.org/picture.xml?id=38" resource="http://www.myexperiment.org/users/22/pictures/38">
<data encoding="base64" type="binary">
/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEB
AQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/
2wBDAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEB
AQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/wAARCAHgAeADASIAAhEBAxEB/8QA
HwAAAAYDAQEBAAAAAAAAAAAABAUGBwgJAAMKAgEL/8QAWRAAAQMCBAQCBQkE
</data>
</picture>
Update picture
Planned.
Delete picture
Planned.
Elements for picture
- data - raw data of the picture file encoded in base64
- id - the id of the picture