oidstringwajib
Weibo video/object ID.
https://api.sandbase.ai/v1/api/weibo/tv-componentGet Weibo TV video details for a colon-delimited object ID (OID). Use it to look up a known TV video for content review, cataloging, or downstream processing.
Output Anda akan muncul di sini
Lengkapi input, lalu klik Run.
This API takes a Weibo object ID (oid) for a TV video and returns the video's play component data. The oid is colon-delimited, for example 1022:2309405359416706203708.
oid during content review.oid into a pipeline that reads the play component data.curl -X POST "https://api.sandbase.ai/v1/api/weibo/tv-component" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"oid": "1022:2309405359416706203708"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
oid | string | Yes | Weibo video/object ID. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"code": "100000",
"data": {
"Component_Play_Playinfo": null
},
"msg": "succ"
}
| Field | Meaning |
|---|---|
code | Status code of the response. The sample shows 100000. |
msg | Status message. The sample shows succ. |
data | Container for the result of the lookup. |
data.Component_Play_Playinfo | Play information for the video. It is null in the sample response, so no play details came back for this oid. |
oid has two parts separated by a colon. The example is 1022:2309405359416706203708.code of 100000 with msg set to succ can still return data.Component_Play_Playinfo as null. Check that field before you use the result.$0.014286 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Mulai membangun
Endpoint API platform dengan autentikasi dan pelacakan penggunaan terpadu.
curl -X POST "https://api.sandbase.ai/v1/api/weibo/tv-component" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"oid": "1022:2309405359416706203708"
}'Atur SandBase API key Anda di environment server Anda. Permintaan menggunakan autentikasi Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Simpan key Anda di server. Jangan tampilkan di kode browser.
oidstringwajibWeibo video/object ID.
Contoh respons yang disimpan untuk API ini; tidak ada permintaan langsung yang dibuat saat melihatnya.
Belum ada respons tersimpan yang dipublikasikan. Jalankan API di Playground untuk melihat responsnya.
Jelajahi lebih lanjut
| API | Harga | Respons |
|---|---|---|
Weibo TV Video DetailsAPI ini Weibo | $0.014286 per panggilan | JSON |
Weibo | $0.001 per panggilan | JSON |
Weibo | $0.001 per panggilan | JSON |
Weibo | $0.001 per panggilan | JSON |
Weibo | $0.001 per panggilan | JSON |
Weibo | $0.001 per panggilan | JSON |
Pertanyaan
Kirim permintaan POST ke https://api.sandbase.ai/v1/api/weibo/tv-component dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.
$0.014286 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.
Wajib: oid (string). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.
Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.
Tidak. Weibo TV Video Details berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API Weibo secara terpisah.