mirror of
https://github.com/friendica/friendica
synced 2024-11-09 23:02:54 +00:00
Add changes to the Photo entries in Friendica API endpoint
This commit is contained in:
parent
e28a0ed59c
commit
dacda1b364
1 changed files with 67 additions and 0 deletions
|
@ -908,6 +908,13 @@ Identical to [the Twitter Media Object](https://developer.twitter.com/en/docs/tw
|
||||||
<td>Resource ID (32 hex chars)</td>
|
<td>Resource ID (32 hex chars)</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td><code>media-id</code></td>
|
||||||
|
<td>String (Integer) </td>
|
||||||
|
<td>ID used for attaching to a Mastodon Post Status</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>created</code></td>
|
<td><code>created</code></td>
|
||||||
<td>String (Date)</td>
|
<td>String (Date)</td>
|
||||||
|
@ -1001,6 +1008,14 @@ Mutually exclusive with <code>data</code> <code>datasize</code>.
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td><code>scales</code></td>
|
||||||
|
<td>Array of Photo Scales</td>
|
||||||
|
<td>
|
||||||
|
List of Scale objects listing the id, scale, link, etc. of each scale
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>datasize</code></td>
|
<td><code>datasize</code></td>
|
||||||
<td>Integer</td>
|
<td>Integer</td>
|
||||||
|
@ -1040,6 +1055,58 @@ Mutually exclusive with <code>link</code>.
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
## Photo Scale
|
||||||
|
|
||||||
|
<table class="table table-condensed table-striped table-bordered">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th>Attribute</th>
|
||||||
|
<th>Type</th>
|
||||||
|
<th align="center">Nullable</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td><code>id</code></td>
|
||||||
|
<td>String (Integer)</td>
|
||||||
|
<td>Row ID of this photo scale</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td><code>scale</code></td>
|
||||||
|
<td>Integer</td>
|
||||||
|
<td>Scale number</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td><code>link</code></td>
|
||||||
|
<td>String (URL)</td>
|
||||||
|
<td>URL to this scale's image</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td><code>height</code></td>
|
||||||
|
<td>Integer</td>
|
||||||
|
<td>Image height in pixels</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td><code>width</code></td>
|
||||||
|
<td>Integer</td>
|
||||||
|
<td>Image width in pixels</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td><code>size</code></td>
|
||||||
|
<td>Integer</td>
|
||||||
|
<td>Image size in bytes</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
## Photo List Item
|
## Photo List Item
|
||||||
|
|
||||||
<table class="table table-condensed table-striped table-bordered">
|
<table class="table table-condensed table-striped table-bordered">
|
||||||
|
|
Loading…
Reference in a new issue