• API Overall Design

    Here is the English translation of the provided Chinese content, maintaining the original structure and HTML:OverviewBased on the functional modules (Module of Z-BlogPHP, they can be divided into the following nine modules:User ModuleArticle Module...

  • API Documentation

    API Address Pattern: https://example.com/zb_system/api.php?mod=<module_name>[&act=<action_name>][&other...]For act=post requests of each "API module", the request parameters are the data field definitions corresponding t...

  • Custom API

    Using interfaces in the API module makes it convenient to extend custom APIs.This article uses the newapi plugin as an example to extend an API module and define an API command.Create PluginAssuming the plugin ID is newapi, the content of its include...

  • Local API Call (1.7.3 Supported)

    1.7.3 Added the ApiExecute function, which can be used to call and execute APIs from public modules and private modules and return the results.Function Definition:/** * API Execution. * * @param string  ...

  • Frequently Asked Questions (API)

    Output Custom JSON Format (Supported in 1.7.2 The system API defaults to outputting JSON content with fields code, data, error, and message.How to output custom fields? For example, outputting errno, msg fields://Define the return arra...

No more