【GET】API Endpoint: http://cloud.yourzuq.xyz/zqbox/bbs/apigetall.php Usage: Send a direct request to retrieve data (JSON format). Example Response: [
{
"id": "6a3d12f700437",
"author": "ZUQSTUDIO",
"title": "Posting Guidelines",
"content": "1. Heated discussions are allowed, but personal attacks and excessive profanity are prohibited.\r\n2. Please avoid posting low-quality content (\"water posts\"). Our server storage is limited, and posts may be deleted periodically.\r\n3. This forum uses the ZUQCLOUD account system for login and registration (same as ZQBOX accounts). Do not register again if you already have an account.\r\n4. Do not post cracked software, pornography, or other prohibited content.",
"time": 1782387447,
"replies": [
{
"author": "Ancient",
"content": "Are water comments allowed?",
"time": 1784123922
},
{
"author": "ZUQSTUDIO",
"content": "No, our servers can't handle it. Next person.",
"time": 1784182531
},
{
"author": "Ancient",
"content": "Will we be notified when posts are deleted?",
"time": 1784355588
},
{
"author": "ZUQSTUDIO",
"content": "Depends on whether the admin sends you a notification.",
"time": 1784359607
},
{
"author": "YuanZhirui",
"content": "??? Do you know about the Treehole feature in YuanCode? @ZUQ",
"time": 1784592577
},
{
"author": "ZUQSTUDIO",
"content": "Yes, but this runs on its own servers.",
"time": 1784633640
},
{
"author": "Moyiqing",
"content": "Lol, I missed this message and just posted some junk. What now?",
"time": 1784635440
},
{
"author": "ZUQSTUDIO",
"content": "It's fine this time, but don't let it happen again.",
"time": 1784693582
}
],
"is_top": true,
"is_essence": true
}]
2. Reply to Post
【GET】API Endpoint: http://cloud.yourzuq.xyz/zqbox/bbs/apihf.php?action=reply&post_id=POST_ID&user=USERNAME&content=CONTENT Usage: Send a direct request. You don't need to check the response (test it yourself if curious). Replace 【POST_ID】 with the actual post ID (found in the 'id' field from the Get All Posts API). Replace 【USERNAME】 with the commenter's name (can be a ZUQCLOUD account, 214 account, etc.). Replace 【CONTENT】 with the reply text. Do not modify any other parameters mentioned here unless you fully understand their function. Example Response: [None. Test it yourself to see.]
3. Create New Post
【GET】API Endpoint: http://cloud.yourzuq.xyz/zqbox/bbs/newapi.php?title=TITLE&user=USERNAME&content=CONTENT Usage: Send a direct request. You don't need to check the response (test it yourself if curious). Replace 【TITLE】 with the post title. Replace 【USERNAME】 with the poster's name (can be a ZUQCLOUD account, 214 account, etc.). Replace 【CONTENT】 with the post body. Do not modify any other parameters mentioned here unless you fully understand their function. Advanced Parameters: You may add the "circle_id" parameter to post to a specific circle. Additional parameters exist but are currently undisclosed. Stay tuned. Example Response: [None. Test it yourself to see.]