Browse Source

Update API help

pull/24/head
Teknikode 5 years ago
parent
commit
81939e95b6
2 changed files with 12 additions and 0 deletions
  1. 1
    0
      api/api.php
  2. 11
    0
      help/api.php

+ 1
- 0
api/api.php View File

@@ -263,6 +263,7 @@ if (isset($_GET['component']))
'id' => $id,
'url' => get_page_url("ricehalla", $CONF).'/'.$id,
'image_src' => get_page_url("u", $CONF).'/'.$image_src,
'rank' => $rank,
'votes' => $user_vote,
'owner' => $username,
'date_posted' => $date_posted,

+ 11
- 0
help/api.php View File

@@ -351,6 +351,17 @@
The direct url to the image source.
</td>
</tr>
<tr>
<td>
<code>rank</code>
</td>
<td>
<code>integer</code>
</td>
<td>
The current rank of the image.
</td>
</tr>
<tr>
<td>
<code>votes</code>

Loading…
Cancel
Save