oidstringrequerido
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.
Su salida aparecerá aquí
Complete las entradas y luego haga clic en Ejecutar.
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.
Empiece a construir
Endpoint de la API de la plataforma con autenticación unificada y seguimiento de uso.
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"
}'Configure su clave de API de SandBase en el entorno de su servidor. Las solicitudes usan autenticación Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserve su clave en el servidor. No la exponga en código del navegador.
oidstringrequeridoWeibo video/object ID.
Respuesta de ejemplo guardada para esta API; no se realiza ninguna solicitud en vivo al verla.
No se ha publicado ninguna respuesta guardada. Ejecute la API en Playground para inspeccionar su respuesta.
Explorar más
| API | Precio | Respuesta |
|---|---|---|
Weibo TV Video DetailsEsta API Weibo | $0.014286 por llamada | JSON |
Weibo | $0.001 por llamada | JSON |
Weibo | $0.001 por llamada | JSON |
Weibo | $0.001 por llamada | JSON |
Weibo | $0.001 por llamada | JSON |
Weibo | $0.001 por llamada | JSON |
Preguntas
Envía una solicitud POST a https://api.sandbase.ai/v1/api/weibo/tv-component con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.
$0.014286 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.
Requeridos: oid (string). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.
Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.
No. Weibo TV Video Details funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de Weibo por separado.