メインコンテンツへスキップ
GET
id を指定してニュース記事を取得する

承認

Authorization
string
header
必須

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Scopes

tweet.read

View all Posts you can see, including those from protected accounts.

users.read

View any account you can see, including protected accounts.

パスパラメータ

id
string
必須

ニュース記事の ID。 ニュース記事の一意の識別子。

Pattern: ^[0-9]{1,19}$
例:

"2244994945"

クエリパラメータ

news.fields
enum<string>[]

取得する News フィールドをカンマ区切りで指定します。 News オブジェクトで使用できるフィールドです。

Minimum array length: 1
利用可能なオプション:
category,
cluster_posts_results,
contexts,
disclaimer,
hook,
id,
keywords,
name,
summary,
updated_at
例:

レスポンス

リクエストは成功しました。

data
object

AI が生成したニュース記事です。

errors
object[]
Minimum array length: 1

IETF RFC 7807 (https://tools.ietf.org/html/rfc7807) で定義された HTTP Problem Details オブジェクト。