Update API and write documentation (official website)
This commit is contained in:
parent
2afbff41be
commit
9997e1f7b1
@ -237,6 +237,10 @@ Available variables:
|
||||
|
||||
For more details, have a look to the class `vendor/PicoFeed/Filter.php`.
|
||||
|
||||
### Where is the API documentation?
|
||||
|
||||
<http://miniflux.net/api.html>
|
||||
|
||||
### How to create a theme for Miniflux?
|
||||
|
||||
It's very easy to write a custom theme for Miniflux.
|
||||
|
@ -74,7 +74,7 @@ $server->register('item.bookmark.create', function ($item_id) {
|
||||
});
|
||||
|
||||
// Remove a bookmark
|
||||
$server->register('item.bookmark.remove', function ($item_id) {
|
||||
$server->register('item.bookmark.delete', function ($item_id) {
|
||||
|
||||
return Model\set_bookmark_value($item_id, 0);
|
||||
});
|
||||
@ -122,7 +122,7 @@ $server->register('item.mark_as_read', function($item_id) {
|
||||
});
|
||||
|
||||
// Mark item as unread
|
||||
$server->register('item.mark_as_read', function($item_id) {
|
||||
$server->register('item.mark_as_unread', function($item_id) {
|
||||
|
||||
return Model\set_item_unread($item_id);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user