Toutiao รายละเอียดบทความ API (V1)
สถานะสุขภาพของ API
สถานะดี มีสภาพ จำกัด ส่วนใหญ่ไม่มีสภาพ ไม่มีข้อมูล
กำลังโหลดสถานะสุขภาพ...
สืบค้นข้อมูลรายละเอียดของบทความบน Toutiao ที่ระบุด้วย ID บทความ ใช้เพื่อค้นหาบทความที่รู้จักเพื่อการวิเคราะห์เนื้อหา การจัดเก็บข้อมูล หรือการวิเคราะห์สื่อที่เกี่ยวข้อง
พารามิเตอร์
| ชื่อ | ตำแหน่ง | ชนิดข้อมูล | จำเป็น | ค่าเริ่มต้น | คำอธิบาย |
|---|---|---|---|---|---|
token |
query | string |
ใช่ | - | ต้องใช้โทเค็นยืนยันตัวตนเพื่อเข้าถึง API |
id |
query | string |
ใช่ | - | ตัวระบุเฉพาะของบทความ Toutiao. |
ตัวอย่างโค้ด
bash
curl --max-time 120 -X GET 'https://api.justoneapi.com/api/toutiao/get-article-detail/v1?token=YOUR_API_KEY&id=VALUE'
text
ฉันต้องการใช้ API "รายละเอียดบทความ (V1)" จาก JustOneAPI.
URL หลัก: https://api.justoneapi.com.
เส้นทาง API: /api/toutiao/get-article-detail/v1?token=YOUR_API_KEY&id=VALUE
เอนด์พอยต์ API: BASE_URL + /api/toutiao/get-article-detail/v1?token=YOUR_API_KEY&id=VALUE
เมธอด HTTP: GET
การยืนยันตัวตน: เพิ่มพารามิเตอร์ "token" เข้าไปใน URL.
คำนิยาม OpenAPI: https://docs.justoneapi.com/openapi/toutiao/article-details-v1-th.json
พารามิเตอร์:
- token (query): ต้องใช้โทเค็นยืนยันตัวตนเพื่อเข้าถึง API (จำเป็น)
- id (query): ตัวระบุเฉพาะของบทความ Toutiao. (จำเป็น)
รูปแบบที่ส่งกลับ: จัดการ JSON หรือข้อความอย่างปลอดภัยตามค่า Content-Type ที่ได้รับจริง
การจัดการผลตอบกลับและรหัสข้อผิดพลาด:
1. ตรวจสอบผลการทำงานจากฟิลด์ "code" ในผลตอบกลับ (รหัส 0 หมายถึงสำเร็จ)
2. แนะนำให้ตั้งระยะเวลารอ 120 วินาที หาก 120 วินาทีนานเกินไป ให้ตั้งอย่างน้อย 60 วินาที แต่คำขอบางรายการอาจหมดเวลาก่อนได้รับผลลัพธ์
3. รหัสผลลัพธ์:
- 0: สำเร็จ
- 100: โทเคนไม่ถูกต้องหรือถูกปิดใช้งาน
- 301: ดึงข้อมูลไม่สำเร็จ โปรดลองอีกครั้ง
- 302: เกินขีดจำกัดอัตราการเรียก
- 303: ใช้โควตารายวันครบแล้ว
- 400: พารามิเตอร์ไม่ถูกต้อง
- 500: ข้อผิดพลาดภายในเซิร์ฟเวอร์
- 600: ไม่มีสิทธิ์เข้าถึง
- 601: ยอดเงินคงเหลือไม่เพียงพอ
- 602: ถึงวงเงินของโทเคนแล้ว
4. รหัส 601 หมายถึงยอดเงินที่ใช้ร่วมกันของบัญชีไม่เพียงพอ รหัส 602 หมายถึงโทเคน API ถึงวงเงินสะสมของตนเองแล้ว การกำหนดวงเงินโทเคนจะไม่โอนเงินออกจากยอดเงินที่ใช้ร่วมกันของบัญชี
กรุณาช่วยเขียนสคริปต์ในภาษาโปรแกรมที่ฉันชื่นชอบเพื่อเรียกใช้ API และจัดการการตอบกลับ.
python
import requests
BASE_URL = "https://api.justoneapi.com" # ให้โดยเซิร์ฟเวอร์ OpenAPI
url = BASE_URL + "/api/toutiao/get-article-detail/v1?token=YOUR_API_KEY&id=VALUE"
response = requests.get(url, timeout=120)
print(response.status_code)
if response.content:
content_type = response.headers.get("content-type", "").lower()
if "json" in content_type:
try:
print(response.json())
except ValueError:
print(response.text)
elif content_type.startswith("text/") or "xml" in content_type or content_type.split(";", 1)[0].strip() in {"application/javascript", "application/x-www-form-urlencoded", "application/graphql"}:
print(response.text)
else:
with open("response.bin", "wb") as output:
output.write(response.content)
print(f"Saved {len(response.content)} bytes to response.bin")
js
const BASE_URL = "https://api.justoneapi.com"; // ให้โดยเซิร์ฟเวอร์ OpenAPI
const url = BASE_URL + "/api/toutiao/get-article-detail/v1?token=YOUR_API_KEY&id=VALUE";
const response = await fetch(url, {
method: "GET",
signal: AbortSignal.timeout(120000)
});
console.log(response.status);
const responseBytes = await response.arrayBuffer();
if (responseBytes.byteLength) {
const contentType = (response.headers.get("content-type") || "").toLowerCase();
const mediaType = contentType.split(";", 1)[0].trim();
const textual = contentType.startsWith("text/") || contentType.includes("json") || contentType.includes("xml") || ["application/javascript", "application/x-www-form-urlencoded", "application/graphql"].includes(mediaType);
if (textual) {
const responseText = new TextDecoder().decode(responseBytes);
let data = responseText;
if (contentType.includes("json")) {
try { data = JSON.parse(responseText); } catch { /* Keep the raw body. */ }
}
console.log(data);
} else {
console.log(`Received ${responseBytes.byteLength} binary bytes`);
}
}
java
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.time.Duration;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;
public class Main {
public static void main(String[] args) throws Exception {
final String BASE_URL = "https://api.justoneapi.com"; // ให้โดยเซิร์ฟเวอร์ OpenAPI
final String url = BASE_URL + "/api/toutiao/get-article-detail/v1?token=YOUR_API_KEY&id=VALUE";
HttpClient client = HttpClient.newBuilder().connectTimeout(Duration.ofSeconds(120)).build();
HttpRequest.Builder builder = HttpRequest.newBuilder()
.uri(URI.create(url))
.timeout(Duration.ofSeconds(120))
.method("GET", HttpRequest.BodyPublishers.noBody());
HttpRequest request = builder.build();
HttpResponse<byte[]> response = client.send(request, HttpResponse.BodyHandlers.ofByteArray());
System.out.println(response.statusCode());
String contentType = response.headers().firstValue("content-type").orElse("").toLowerCase();
String mediaType = contentType.split(";", 2)[0].trim();
if (contentType.startsWith("text/") || contentType.contains("json") || contentType.contains("xml") || mediaType.equals("application/javascript") || mediaType.equals("application/x-www-form-urlencoded") || mediaType.equals("application/graphql")) {
System.out.println(new String(response.body(), StandardCharsets.UTF_8));
} else {
Files.write(Path.of("response.bin"), response.body());
System.out.println("Saved " + response.body().length + " bytes to response.bin");
}
}
}
go
package main
import (
"fmt"
"io"
"os"
"strings"
"net/http"
"time"
)
const BASE_URL = "https://api.justoneapi.com" // ให้โดยเซิร์ฟเวอร์ OpenAPI
func main() {
client := &http.Client{Timeout: 120 * time.Second}
url := BASE_URL + "/api/toutiao/get-article-detail/v1?token=YOUR_API_KEY&id=VALUE"
req, _ := http.NewRequest("GET", url, nil)
resp, _ := client.Do(req)
defer resp.Body.Close()
fmt.Println(resp.StatusCode)
bodyBytes, _ := io.ReadAll(resp.Body)
contentType := strings.ToLower(resp.Header.Get("Content-Type"))
mediaType := strings.TrimSpace(strings.SplitN(contentType, ";", 2)[0])
if strings.HasPrefix(contentType, "text/") || strings.Contains(contentType, "json") || strings.Contains(contentType, "xml") || mediaType == "application/javascript" || mediaType == "application/x-www-form-urlencoded" || mediaType == "application/graphql" {
fmt.Println(string(bodyBytes))
} else {
os.WriteFile("response.bin", bodyBytes, 0600)
fmt.Printf("Saved %d bytes to response.bin\n", len(bodyBytes))
}
}
php
<?php
$BASE_URL = 'https://api.justoneapi.com'; // ให้โดยเซิร์ฟเวอร์ OpenAPI
$url = $BASE_URL . '/api/toutiao/get-article-detail/v1?token=YOUR_API_KEY&id=VALUE';
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_TIMEOUT, 120);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
$response = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
$contentType = strtolower((string) curl_getinfo($ch, CURLINFO_CONTENT_TYPE));
curl_close($ch);
echo $status . PHP_EOL;
$mediaType = trim(explode(';', $contentType, 2)[0]);
if (str_starts_with($contentType, 'text/') || str_contains($contentType, 'json') || str_contains($contentType, 'xml') || in_array($mediaType, ['application/javascript', 'application/x-www-form-urlencoded', 'application/graphql'], true)) {
echo $response;
} else {
file_put_contents('response.bin', $response);
echo 'Saved ' . strlen($response) . ' bytes to response.bin' . PHP_EOL;
}
ฟิลด์ที่ได้รับการตอบกลับ
ฟิลด์สำคัญในผลการตอบกลับที่สำเร็จ (code = 0).
บทความและการเผยแพร่21 ฟิลด์
data.data
เนื้อหาของบทความ รวมถึงข้อมูลเมตาดาต้าและรูปแบบสื่อ。
| ฟิลด์ | ชนิดข้อมูล | คำอธิบาย |
|---|---|---|
content |
string |
เนื้อหาบทความที่ส่งกลับมาในรูปแบบ HTML ทั่วไป |
group_id |
integer |
ID กลุ่มบทความที่เป็นตัวเลขตามธรรมชาติ。ใช้ h5_extra.str_group_id เพื่อรักษาตัวเลขที่แม่นยำใน JavaScript。 |
item_id |
integer |
ID บทความที่เป็นตัวเลขตามธรรมชาติ。ใช้ h5_extra.str_item_id เพื่อรักษาตัวเลขที่แม่นยำใน JavaScript。 |
media_user_id |
integer |
ตัวระบุผู้จัดทำที่ส่งกลับมาในรูปแบบจำนวนเต็ม。 |
video_count |
integer |
จำนวนวิดีโอของบทความตามที่รายงาน |
audio_id |
string |
ตัวระบุเสียงที่ส่งกลับมาพร้อมกับบทความในรูปแบบ text。 |
h5_extra |
object |
ข้อมูลบทความสาธารณะ ผู้จัดทำ และข้อมูลการมีส่วนร่วม。 |
h5_extra.title |
string |
ชื่อเรื่องของบทความที่ส่งกลับ |
h5_extra.name |
string |
ชื่อผู้จัดทำที่แสดงพร้อมกับบทความ。 |
h5_extra.source |
string |
การระบุแหล่งที่มาของผู้จัดทำที่แสดงพร้อมกับบทความ。 |
h5_extra.src_link |
string |
ลิงก์แหล่งที่มาที่ส่งกลับกับบทความ หากมี |
h5_extra.avatar |
string |
URL ภาพลักษณ์ของผู้จัดทำที่แสดงพร้อมกับบทความ。 |
h5_extra.publish_stamp |
string |
เวลาการเผยแพร่ในรูปแบบเวลา Unix ด้วยวินาที ส่งกลับมาในรูปแบบ text。 |
h5_extra.publish_time |
string |
เวลาการเผยแพร่แสดงเป็น text บางครั้งอาจไม่มีปี。ค่าที่ตรวจสอบจะตรงกับ UTC+8。 |
h5_extra.str_group_id |
string |
หมายเลขกลุ่มบทความที่ถูกส่งกลับมาในรูปแบบข้อความ ใช้ฟิลด์นี้เพื่อเก็บตัวเลขทุกตัวขณะประมวลผล ID。 |
h5_extra.str_item_id |
string |
หมายเลขบทความที่ถูกส่งกลับมาในรูปแบบข้อความ ใช้ฟิลด์นี้เพื่อเก็บตัวเลขทุกตัวขณะประมวลผล ID。 |
h5_extra.media_user_id |
string |
หมายเลขผู้ใช้ของผู้จัดทำที่ถูกส่งกลับมาในรูปแบบข้อความ。 |
h5_extra.is_original |
boolean |
ว่าบทความนั้นถูกจัดทำเป็นบทความต้นฉบับหรือไม่。 |
h5_extra.video_count |
integer |
จำนวนวิดีโอที่รายงานในเมทาดักติกาการแสดงผลของบทความ。 |
h5_extra.diversity |
object |
ข้อมูลการเชื่อมโยงที่ปรากฏพร้อมกับบทความ。 |
h5_extra.diversity.publish_loc_info |
string |
ป้ายกำกับสถานที่เผยแพร่ที่ถูกส่งกลับมาเพื่อการแสดงผล。 |
ข้อมูลประวัติผู้จัดพิมพ์19 ฟิลด์
data.data.h5_extra
| ฟิลด์ | ชนิดข้อมูล | คำอธิบาย |
|---|---|---|
media |
object |
ข้อมูลโปรไฟล์สื่อเผยแพร่สาธารณะที่ปรากฏพร้อมกับบทความ。 |
media.id |
integer |
หมายเลขตัวเลขที่รายงานสำหรับข้อมูลโปรไฟล์สื่อเผยแพร่。 |
media.creator_id |
integer |
หมายเลขตัวเลขของผู้สร้างที่ถูกส่งกลับมาสำหรับข้อมูลโปรไฟล์สื่อเผยแพร่。 |
media.name |
string |
ชื่อที่ปรากฏสำหรับข้อมูลโปรไฟล์สื่อเผยแพร่。 |
media.description |
string |
คำอธิบายโปรไฟล์สาธารณะที่ถูกส่งกลับมาสำหรับผู้จัดทำ。 |
media.avatar_url |
string |
URL ของรูปภาพอวตารที่ถูกส่งกลับมาสำหรับข้อมูลโปรไฟล์สื่อเผยแพร่。 |
media.auth_info |
string |
ข้อความยืนยันสาธารณะที่แสดงสำหรับข้อมูลโปรไฟล์สื่อเผยแพร่。 |
media.user_verified |
boolean |
ว่าข้อมูลโปรไฟล์สื่อเผยแพร่ถูกจัดทำเป็นข้อมูลที่ได้รับการยืนยันหรือไม่。 |
media.v |
boolean |
ป้ายสัญลักษณ์การยืนยันที่รายงานสำหรับข้อมูลโปรไฟล์สื่อเผยแพร่。 |
media.can_be_praised |
boolean |
ว่าสื่อดังรายงานว่าผู้จัดทำสามารถได้รับคำชื่นชมหรือไม่。 |
itemCell.userInfo |
object |
ข้อมูลโปรไฟล์ผู้จัดทำสาธารณะที่มีในบัตรบทความเมื่อมี |
itemCell.userInfo.userID |
integer |
ตัวระบุผู้ใช้ตัวเลขที่ return สำหรับโปรไฟล์สาธารณะนี้ |
itemCell.userInfo.mediaID |
integer |
ตัวระบุสื่อตัวเลขที่ return สำหรับโปรไฟล์สาธารณะนี้ |
itemCell.userInfo.mediaType |
integer |
รหัสประเภทสื่อของแพลตฟอร์มสำหรับโปรไฟล์สื่อสาธารณะนี้ |
itemCell.userInfo.name |
string |
ชื่อที่แสดงสำหรับโปรไฟล์ผู้ใช้สาธารณะนี้ |
itemCell.userInfo.description |
string |
ข้อความคำอธิบายที่ return สำหรับโปรไฟล์ผู้ใช้สาธารณะนี้ |
itemCell.userInfo.avatarURL |
string |
URL ของรูปภาพ Avatar ที่ return สำหรับโปรไฟล์ผู้ใช้สาธารณะนี้ |
itemCell.userInfo.userVerified |
integer |
ตัวชี้วัดการยืนยันที่ return สำหรับโปรไฟล์ผู้ใช้นี้ |
itemCell.userInfo.verifiedContent |
string |
คำอธิบายการยืนยันที่แสดงสำหรับโปรไฟล์ผู้ใช้นี้ |
จำนวนการมีส่วนร่วม8 ฟิลด์
data.data.h5_extra.itemCell.itemCounter
จำนวนการแสดงผลและการมีส่วนร่วมที่แพลตฟอร์มรายงาน
| ฟิลด์ | ชนิดข้อมูล | คำอธิบาย |
|---|---|---|
readCount |
integer |
จำนวนการอ่านที่รายงานเกี่ยวกับเนื้อหา |
showCount |
integer |
จำนวนการแสดงผลที่รายงานสำหรับบทความ |
commentCount |
integer |
จำนวนความคิดเห็นที่รายงานเกี่ยวกับเนื้อหา |
diggCount |
integer |
จำนวนคนที่แสดงความชื่นชมสำหรับบทความ |
repinCount |
integer |
จำนวนคนที่กดติดตามบทความสำหรับบทความ |
forwardCount |
integer |
จำนวนการโพสต์ซ้ำที่รายงานสำหรับบทความ |
shareCount |
integer |
จำนวนคนที่แชร์บทความสำหรับบทความ |
videoWatchCount |
integer |
จำนวนการดูวิดีโอที่รายงานในเมทาดาต้าของบทความ |
ภาพของบทความ24 ฟิลด์
data.data
| ฟิลด์ | ชนิดข้อมูล | คำอธิบาย |
|---|---|---|
image_detail |
array |
ข้อมูลรูปภาพที่ return สำหรับบทความ |
image_detail[].uri |
string |
ตัวระบุทรัพยากรรูปภาพที่ Toutiao return |
image_detail[].url |
string |
URL รูปภาพหลักที่ return สำหรับเวอร์ชันนี้ |
image_detail[].width |
integer |
ความกว้างของรูปแบบภาพนี้ตามที่รายงานมา。 |
image_detail[].height |
integer |
ความสูงของรูปแบบภาพนี้ตามที่รายงานมา。 |
image_detail[].image_type |
integer |
รหัสประเภทของรูปภาพสำหรับรูปแบบนี้。 |
image_detail[].url_list |
array |
URL ที่รายงานสำหรับรูปแบบภาพนี้。สามารถมี URL หลักได้เช่นกัน。 |
image_detail[].url_list[].url |
string |
URL ของรูปภาพหนึ่งสำหรับรูปแบบนี้。 |
main_image_list |
array |
รูปแบบภาพหลักที่ให้ไว้สำหรับบทความนี้。 |
main_image_list[].uri |
string |
ตัวระบุทรัพยากรรูปภาพที่ Toutiao return |
main_image_list[].url |
string |
URL รูปภาพหลักที่ return สำหรับเวอร์ชันนี้ |
main_image_list[].width |
integer |
ความกว้างของรูปแบบภาพนี้ตามที่รายงานมา。 |
main_image_list[].height |
integer |
ความสูงของรูปแบบภาพนี้ตามที่รายงานมา。 |
main_image_list[].image_type |
integer |
รหัสประเภทของรูปภาพสำหรับรูปแบบนี้。 |
main_image_list[].url_list |
array |
URL ที่รายงานสำหรับรูปแบบภาพนี้。สามารถมี URL หลักได้เช่นกัน。 |
main_image_list[].url_list[].url |
string |
URL ของรูปภาพหนึ่งสำหรับรูปแบบนี้。 |
origin_image_list |
array |
รูปแบบภาพต้นฉบับที่รายงานสำหรับบทความนี้。 |
origin_image_list[].uri |
string |
ตัวระบุทรัพยากรรูปภาพที่ Toutiao return |
origin_image_list[].url |
string |
URL รูปภาพหลักที่ return สำหรับเวอร์ชันนี้ |
origin_image_list[].width |
integer |
ความกว้างของรูปแบบภาพนี้ตามที่รายงานมา。 |
origin_image_list[].height |
integer |
ความสูงของรูปแบบภาพนี้ตามที่รายงานมา。 |
origin_image_list[].image_type |
integer |
รหัสประเภทของรูปภาพสำหรับรูปแบบนี้。 |
origin_image_list[].url_list |
array |
URL ที่รายงานสำหรับรูปแบบภาพนี้。สามารถมี URL หลักได้เช่นกัน。 |
origin_image_list[].url_list[].url |
string |
URL ของรูปภาพหนึ่งสำหรับรูปแบบนี้。 |
ภาพขนาดย่อและภาพหัวข้อ27 ฟิลด์
data.data
| ฟิลด์ | ชนิดข้อมูล | คำอธิบาย |
|---|---|---|
thumb_image |
array |
รูปภาพขนาดเล็กที่ส่งกลับมาสำหรับบทความนี้。 |
thumb_image[].uri |
string |
ตัวระบุทรัพยากรรูปภาพที่ Toutiao return |
thumb_image[].url |
string |
URL รูปภาพหลักที่ return สำหรับเวอร์ชันนี้ |
thumb_image[].width |
integer |
ความกว้างของรูปแบบภาพนี้ตามที่รายงานมา。 |
thumb_image[].height |
integer |
ความสูงของรูปแบบภาพนี้ตามที่รายงานมา。 |
thumb_image[].image_type |
integer |
รหัสประเภทของรูปภาพสำหรับรูปแบบนี้。 |
thumb_image[].url_list |
array |
URL ที่รายงานสำหรับรูปแบบภาพนี้。สามารถมี URL หลักได้เช่นกัน。 |
thumb_image[].url_list[].url |
string |
URL ของรูปภาพหนึ่งสำหรับรูปแบบนี้。 |
webp_image_detail |
array |
รายละเอียดรูปภาพของบทความที่ส่งกลับมาในรายการรูปแบบ WebP。 |
webp_image_detail[].uri |
string |
ตัวระบุทรัพยากรรูปภาพที่ Toutiao return |
webp_image_detail[].url |
string |
URL รูปภาพหลักที่ return สำหรับเวอร์ชันนี้ |
webp_image_detail[].width |
integer |
ความกว้างของรูปแบบภาพนี้ตามที่รายงานมา。 |
webp_image_detail[].height |
integer |
ความสูงของรูปแบบภาพนี้ตามที่รายงานมา。 |
webp_image_detail[].image_type |
integer |
รหัสประเภทของรูปภาพสำหรับรูปแบบนี้。 |
webp_image_detail[].url_list |
array |
URL ที่รายงานสำหรับรูปแบบภาพนี้。สามารถมี URL หลักได้เช่นกัน。 |
webp_image_detail[].url_list[].url |
string |
URL ของรูปภาพหนึ่งสำหรับรูปแบบนี้。 |
webp_thumb_image |
array |
รูปภาพขนาดเล็กที่ส่งกลับมาในรายการรูปแบบ WebP。 |
webp_thumb_image[].uri |
string |
ตัวระบุทรัพยากรรูปภาพที่ Toutiao return |
webp_thumb_image[].url |
string |
URL รูปภาพหลักที่ return สำหรับเวอร์ชันนี้ |
webp_thumb_image[].width |
integer |
ความกว้างของรูปแบบภาพนี้ตามที่รายงานมา。 |
webp_thumb_image[].height |
integer |
ความสูงของรูปแบบภาพนี้ตามที่รายงานมา。 |
webp_thumb_image[].image_type |
integer |
รหัสประเภทของรูปภาพสำหรับรูปแบบนี้。 |
webp_thumb_image[].url_list |
array |
URL ที่รายงานสำหรับรูปแบบภาพนี้。สามารถมี URL หลักได้เช่นกัน。 |
webp_thumb_image[].url_list[].url |
string |
URL ของรูปภาพหนึ่งสำหรับรูปแบบนี้。 |
title_image |
object |
รูปภาพสำหรับหัวข้อบทความที่มีอยู่เมื่อมี。 |
title_image.title_image_url |
string |
URL รูปภาพสำหรับหัวข้อบทความในการแสดงผลตามค่าเริ่มต้น。 |
title_image.title_image_night_url |
string |
URL รูปภาพสำหรับหัวข้อบทความในโหมดการแสดงผลแบบมืด。 |
เสียง5 ฟิลด์
data.data.h5_extra.audio_info
ข้อมูลเสียงที่แนบมาด้วยกับบทความเมื่อมี
| ฟิลด์ | ชนิดข้อมูล | คำอธิบาย |
|---|---|---|
audioID |
integer |
ตัวระบุเสียงตัวเลขที่รายงานพร้อมกับเมทาดาต้าเสียง |
audioGroupID |
string |
ตัวระบุกลุ่มที่ return สำหรับเสียงในรูปแบบข้อความ |
audioDuration |
integer |
ค่าความยาวของเสียงที่รายงาน หน่วยเวลาไม่ได้รับการยืนยัน |
audioWatchCount |
integer |
จำนวนการฟังเสียงที่รายงาน |
audioWatchCountShowText |
string |
ข้อความที่แสดงสำหรับจำนวนการฟังเสียง |
หน้าประกาศและการแชร์10 ฟิลด์
data.data.h5_extra.itemCell
ข้อมูลบัตรบทความและการมีส่วนร่วมที่รายงาน。
| ฟิลด์ | ชนิดข้อมูล | คำอธิบาย |
|---|---|---|
articleBase |
object |
หมายเลขสาธารณะและเมทาดักติกาภูมิภาคสำหรับบทความ。 |
articleBase.gidStr |
string |
หมายเลขกลุ่มบทความที่ถูกส่งกลับมาในรูปแบบข้อความ。 |
articleBase.articleVersion |
integer |
หมายเลขเวอร์ชันที่รายงานสำหรับบทความ。 |
articleBase.itemStatus |
integer |
รหัสสถานะบทความที่รายงานโดย Toutiao。 |
articleClassification |
object |
ฟิลด์ประเภทบทความที่สาธารณะถูกส่งกลับมาโดย Toutiao。 |
articleClassification.articleType |
integer |
รหัสประเภทเนื้อหาของสื่อดังสำหรับบทความ。 |
articleClassification.articleSubType |
integer |
รหัสประเภทย่อของเนื้อหาของสื่อดังสำหรับบทความ。 |
articleClassification.isOriginal |
boolean |
ว่าบทความนั้นมีการระบุว่าเป็นผลงานต้นฉบับในข้อมูลการจำแนกประเภทหรือไม่ |
shareInfo |
object |
ข้อมูลการแชร์สาธารณะสำหรับบทความ |
shareInfo.shareURL |
string |
ลิงก์แบ่งปันบทความที่ส่งกลับมาจาก Toutiao. |
สถานะของแพลตฟอร์ม1 ฟิลด์
data
รายละเอียดบทความของ Toutiao และสถานะของแพลตฟอร์มที่รายงาน。
| ฟิลด์ | ชนิดข้อมูล | คำอธิบาย |
|---|---|---|
message |
string |
ข้อความสถานะที่ส่งกลับมาพร้อมกับผลลัพธ์บทความของ Toutiao。 |
ตัวอย่างผลการตอบกลับ
กำลังโหลดตัวอย่างการตอบกลับ...