]> git.mxchange.org Git - friendica.git/blob - view/templates/api_photo_detail_xml.tpl
notifications - add docu & pagination
[friendica.git] / view / templates / api_photo_detail_xml.tpl
1
2 <photo>
3         <id>{{$photo.id}}</id>
4         <created>{{$photo.created}}</created>
5         <edited>{{$photo.edited}}</edited>
6         <title>{{$photo.title}}</title>
7         <desc>{{$photo.desc}}</desc>
8         <album>{{$photo.album}}</album>
9         <filename>{{$photo.filename}}</filename>
10         <type>{{$photo.type}}</type>
11         <height>{{$photo.height}}</height>
12         <width>{{$photo.width}}</width>
13         <datasize>{{$photo.datasize}}</datasize>
14         <profile>1</profile>
15         <links type="array">{{foreach $photo.link as $scale => $url}}
16                 <link type="{{$photo.type}}" scale="{{$scale}}" href="{{$url}}" />
17         {{/foreach}}</links>
18         {{if $photo.data}}
19         <data encode="base64">{{$photo.data}}</data>
20         {{/if}}
21 </photo>