All API URLs listed here must be prefixed by the root API URL
Example: http://domain.com/kb/ or https://kb.domain.com/
Retrieve a File
GET api.php?call=files&id=[id]
Arguments:
- skip_hit (optional) - Do not count entry hit. If this argument is omitted, it defaults to 0.
List of Files
GET api.php?call=files
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 arguments will be ignored.
Valid values include:
- recent (recently updated articles will be returned).
- popular (most viewed 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.