cURL
curl --request POST \ --url https://api.x.com/2/compliance/jobs \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "type": "tweets", "name": "my-job", "resumable": true } '
{ "errors": [ { "title": "<string>", "type": "<string>", "detail": "<string>", "status": 123 } ] }
指定した type の新しい Compliance Job を作成します。
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
新しいバッチコンプライアンスジョブを作成するリクエスト。
取得するコンプライアンスジョブの種類。
tweets
users
コンプライアンスジョブに対してユーザーが指定した名前。
64
"my-job"
true の場合、このエンドポイントは再開可能アップロードが有効な事前署名付き URL を返します。
リクエストは正常に完了しました。
Show child attributes
1
IETF RFC 7807 (https://tools.ietf.org/html/rfc7807) で定義された HTTP Problem Details オブジェクト。