diff --git a/bl-plugins/api/plugin.php b/bl-plugins/api/plugin.php index cdddbb0a..39cefa83 100644 --- a/bl-plugins/api/plugin.php +++ b/bl-plugins/api/plugin.php @@ -33,24 +33,29 @@ class pluginAPI extends Plugin { $html .= ''; $html .= '
'; - $html .= '

Show all posts: '.DOMAIN_BASE.'api/show/all/posts/'.$this->getDbField('authKey').'

'; + $html .= '

Show all posts: '.DOMAIN_BASE.'api/show/all/posts?key='.$this->getDbField('authKey').'

'; $html .= '
Get all posts from this site.
'; $html .= '
'; $html .= '
'; - $html .= '

Show all pages: '.DOMAIN_BASE.'api/show/all/pages/'.$this->getDbField('authKey').'

'; + $html .= '

Show all pages: '.DOMAIN_BASE.'api/show/all/pages?key='.$this->getDbField('authKey').'

'; $html .= '
Get all pages from this site.
'; $html .= '
'; $html .= '
'; - $html .= '

Show post: '.DOMAIN_BASE.'api/show/post/{POST-NAME}

'; + $html .= '

Show post: '.DOMAIN_BASE.'api/show/post/{POST-NAME}?key='.$this->getDbField('authKey').'

'; $html .= '
Get a particular post, change the {POST-NAME} with the post friendly url.
'; $html .= '
'; $html .= '
'; - $html .= '

Show page: '.DOMAIN_BASE.'api/show/page/{PAGE-NAME}

'; + $html .= '

Show page: '.DOMAIN_BASE.'api/show/page/{PAGE-NAME}?key='.$this->getDbField('authKey').'

'; $html .= '
Get a particular page, change the {PAGE-NAME} with the page friendly url.
'; $html .= '
'; + + $html .= '
'; + $html .= '

Show posts by tag filter: '.DOMAIN_BASE.'api/show/tag/{TAG-NAME}/{PER-PAGE}/{PAGE-NUM}?key='.$this->getDbField('authKey').'

'; + $html .= '
Get all posts filterd by a tag name , per page limit and page number.
'; + $html .= '
'; return $html; }