Knowledge Base

Retrieving Articles

Article ID: 382
Last updated: 30 Oct, 2019

All API URLs listed here must be prefixed by the root API URL.
Example: http://domain.com/kb/ or https://kb.domain.com/

Retrieve an Article

GET api.php?call=articles&id=[id]

Arguments:

  • skip_hit (optional) - Do not count entry hit. If this argument is omitted, it defaults to 0.
  • img_rpath (optional) - Use relative path for images in article body instead of absolute path. If this argument is omitted, it defaults to 0.

List of Articles

GET api.php?call=articles

Arguments: 

  • cid (optional) - The id of the category. If specified, only articles posted to the category will be returned.
  • method (optional) - Specifies method. If specified, sort and page argument will be ignored.
    Valid values include: 
     - recent (recently updated articles will be returned).
     - popular (most viewed articles will be returned).
     - featured (featured articles will be returned).
  • limit (optional) - Number of articles to return per page. If this argument is omitted, it defaults to 10. The maximum allowed value is 100.
  • page (optional) - The page number of results to return. If this argument is omitted, it defaults to 1.
  • sort (optional) - Specifies how to sort results. If this argument is omitted, it defaults to date-updated-desc.
    Valid values include: title-asc, title-desc, order-asc, order-desc, date-posted-asc, date-posted-desc, date-updated-asc, date-updated-desc, hits-asc, hits-desc, rating-asc, rating-desc.
Article ID: 382
Last updated: 30 Oct, 2019
Revision: 16
Access: Public
Views: 6566
Comments: 0