…
首页 API 参考 链接举报 播放链接举报:从电影的链接中移除来源 POST /v1/legal/stream-reports 立即把一个播放来源从电影的 streams 回答中移除,不事先审核。权利人及其代理发送 tmdb_id、source_id(或 all)和简短声明。无需 API 密钥,举报人从不公开。
更新于 2026年11月17日 以 Markdown 查看
请求 curl JavaScript Python PHP Go
bash js py php go 复制 curl -X POST "https://api.amodb.dev/v1/legal/stream-reports" \
--max-time 10 \
-H "Authorization: Bearer $AMODB_KEY " \
-H "Content-Type: application/json" \
-d '{"media_type":"movie","tmdb_id":961,"source_id":"46e480b976b249ea","name":"Rights desk","email":"rights@example.org","statement":"We hold the rights to this restoration and its score.","good_faith":true,"accurate":true}' const res = await fetch ( "https://api.amodb.dev/v1/legal/stream-reports" , {
method : "POST" ,
headers : { Authorization : `Bearer ${ process . env . AMODB_KEY } ` , "Content-Type" : "application/json" },
body : JSON . stringify ({
media_type : "movie" ,
tmdb_id : 961 ,
source_id : "46e480b976b249ea" ,
name : "Rights desk" ,
email : "rights@example.org" ,
statement : "We hold the rights to this restoration and its score." ,
good_faith : true ,
accurate : true ,
}),
signal : AbortSignal . timeout ( 10000 ),
});
const data = await res . json (); import os
import requests
res = requests . post (
"https://api.amodb.dev/v1/legal/stream-reports" ,
headers ={ "Authorization" : f "Bearer {os . environ [ 'AMODB_KEY' ] } " },
json ={ "media_type" : "movie" , "tmdb_id" : 961 , "source_id" : "46e480b976b249ea" , "name" : "Rights desk" , "email" : "rights@example.org" , "statement" : "We hold the rights to this restoration and its score." , "good_faith" : True , "accurate" : True },
timeout = 10 ,
)
data = res . json () <? php
$ch = curl_init ( "https://api.amodb.dev/v1/legal/stream-reports" );
curl_setopt_array ( $ch , [
CURLOPT_CUSTOMREQUEST => "POST" ,
CURLOPT_RETURNTRANSFER => true ,
CURLOPT_TIMEOUT => 10 ,
CURLOPT_HTTPHEADER => [ "Authorization: Bearer " . getenv ( "AMODB_KEY" ), "Content-Type: application/json" ],
CURLOPT_POSTFIELDS => json_encode ([ "media_type" => "movie" , "tmdb_id" => 961 , "source_id" => "46e480b976b249ea" , "name" => "Rights desk" , "email" => "rights@example.org" , "statement" => "We hold the rights to this restoration and its score." , "good_faith" => true , "accurate" => true ]),
]);
$data = json_decode ( curl_exec ( $ch ), true ); body := strings . NewReader ( `{"media_type":"movie","tmdb_id":961,"source_id":"46e480b976b249ea","name":"Rights desk","email":"rights@example.org","statement":"We hold the rights to this restoration and its score.","good_faith":true,"accurate":true}` )
req , _ := http . NewRequest ( "POST" , "https://api.amodb.dev/v1/legal/stream-reports" , body )
req . Header . Set ( "Authorization" , "Bearer " + os . Getenv ( "AMODB_KEY" ))
req . Header . Set ( "Content-Type" , "application/json" )
client := & http . Client { Timeout : 10 * time . Second }
res , err := client . Do ( req )
if err != nil {
log . Fatal ( err )
}
defer res . Body . Close ()
var data map [ string ] any
json . NewDecoder ( res . Body ). Decode (& data ) {
"success" : true ,
"id" : "3f9c0d2e7a1b4c5d6e7f" ,
"status" : "active" ,
"media_type" : "movie" ,
"tmdb_id" : 961 ,
"source_id" : "46e480b976b249ea" ,
"created_at" : "2026-11-20T09:14:02.511Z"
} 本页内容怎样举报一个播放来源? 请求体 回答 响应示例 怎样查看举报的状态? 实用提示
以 JSON 请求体发送 POST https:/ / api.amodb.dev/ v1/ legal/ stream-reports。你指定的来源(它在 播放链接接口 中的 source_id),或用 "all" 指定这部电影的全部来源,会立即从这部电影的 streams 回答中移除。先移除来源,工作人员之后再阅读举报。
curl -sf -X POST "https://api.amodb.dev/v1/legal/stream-reports" \
-H "Content-Type: application/json" \
-d '{"media_type":"movie","tmdb_id":961,"source_id":"46e480b976b249ea","name":"Rights desk","email":"rights@example.org","statement":"We hold the rights to this restoration and its score.","good_faith":true,"accurate":true}'
字段 必填 说明 media_type是 movie。tmdb_id是 电影的 TMDB id。 source_id是 链接的 16 位十六进制 source_id,或 all。 stream_url否 你看到的链接。 name是 你或你公司的名称,2 到 120 个字符。 email是 工作人员联系你的邮箱。 organization否 你代表谁行事。 statement是 20 到 4,000 个字符:你拥有什么权利,为什么这个副本必须移除。 good_faith是 true:你善意地相信这种使用未经许可。accurate是 true:举报内容准确,且你有权代表权利人行事。
HTTP 响应体 201 { success: true, id, status: "active", media_ type, tmdb_ id, source_ id, created_ at }400 { success: false, error },指出第一个错误字段,例如 email 或 statement。429 同一地址 24 小时内发出 20 份举报后返回 { success: false, error: "too_ many" }。
{
"success" : true ,
"id" : "3f9c0d2e7a1b4c5d6e7f" ,
"status" : "active" ,
"media_type" : "movie" ,
"tmdb_id" : 961 ,
"source_id" : "46e480b976b249ea" ,
"created_at" : "2026-11-20T09:14:02.511Z"
}
GET / v1/ legal/ stream-reports/ {id} 返回 id、status(active 或 lifted)、media_type、tmdb_id、source_id、created_at 和 lifted_at。它从不显示举报人。
一个 source_id 对应一部电影的一个网站。你拥有权利的每部电影请分别举报。
当这部电影的任何副本都不得列出时,例如其状态存在争议期间,请使用 all。
对于其他回答中的数据,例如海报或剧情简介,请改用 滥用举报 。