idstringआवश्यक
Weibo post ID (required)
https://api.sandbase.ai/v1/api/weibo/web-v2/check-allow-comment-with-picChecks whether a specific Weibo post permits image attachments in user comments. Returns the image comment eligibility status using the provided post ID.
[
{
"data": {
"ok": 1,
"result": true
}
}
]प्लेग्राउंड में इसके इनपुट और परिणाम लोड करने के लिए कोई उदाहरण चुनें।
Returns whether a Weibo post allows users to attach images to their comments. It needs one input, the Weibo post id.
curl -X POST "https://api.sandbase.ai/v1/api/weibo/web-v2/check-allow-comment-with-pic" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"id": "5092682368025584"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Weibo post ID (required) |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"ok": 1,
"result": true
}
| Field | Meaning |
|---|---|
result | Image comment eligibility for the post. true means the post allows image attachments in comments, and false means it does not. |
ok | Status flag for the request. A value of 1 means the call went through. |
id as a string, for example 5092682368025584.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
curl -X POST "https://api.sandbase.ai/v1/api/weibo/web-v2/check-allow-comment-with-pic" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"id": "5092682368025584"
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
idstringआवश्यकWeibo post ID (required)
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
[
{
"data": {
"ok": 1,
"result": true
}
}
]और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
Weibo | $0.001 प्रति कॉल | JSON |
Weibo | $0.001 प्रति कॉल | JSON |
Weibo | $0.001 प्रति कॉल | JSON |
Weibo | $0.001 प्रति कॉल | JSON |
Weibo | $0.001 प्रति कॉल | JSON |
Weibo | $0.001 प्रति कॉल | JSON |
प्रश्न
https://api.sandbase.ai/v1/api/weibo/web-v2/check-allow-comment-with-pic पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.001 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: id (string)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। Weibo Image Comment Permission Check SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Weibo API access के लिए आवेदन करने की आवश्यकता नहीं है।