メインコンテンツへスキップ
GET
Spaces を検索

承認

Authorization
string
header
必須

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

Scopes

space.read

View all Spaces you have access to.

tweet.read

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

users.read

View any account you can see, including protected accounts.

クエリパラメータ

query
string
必須

検索クエリ。

Required string length: 1 - 2048
例:

"crypto"

state
enum<string>
デフォルト:all

検索する Spaces の状態。

利用可能なオプション:
live,
scheduled,
all
max_results
integer<int32>
デフォルト:100

返却する結果数。

必須範囲: 1 <= x <= 100
space.fields
enum<string>[]

表示する Space のフィールドを指定するカンマ区切りのリストです。 Space オブジェクトで利用可能なフィールドです。

Minimum array length: 1
利用可能なオプション:
created_at,
creator_id,
ended_at,
host_ids,
id,
invited_user_ids,
is_ticketed,
lang,
participant_count,
scheduled_start,
speaker_ids,
started_at,
state,
subscriber_count,
title,
topic_ids,
updated_at
例:
expansions
enum<string>[]

展開するフィールドのカンマ区切りのリスト。 Space オブジェクトに対して展開可能なフィールドの一覧です。ID を持つフィールドは、完全なオブジェクトとして展開できます。

Minimum array length: 1
利用可能なオプション:
creator_id,
host_ids,
invited_user_ids,
speaker_ids,
topic_ids
例:
user.fields
enum<string>[]

表示する User フィールドを指定するカンマ区切りのリストです。 User オブジェクトで利用可能なフィールドです。

Minimum array length: 1
利用可能なオプション:
affiliation,
confirmed_email,
connection_status,
created_at,
description,
entities,
id,
is_identity_verified,
location,
most_recent_tweet_id,
name,
parody,
pinned_tweet_id,
profile_banner_url,
profile_image_url,
protected,
public_metrics,
receives_your_dm,
subscription,
subscription_type,
url,
username,
verified,
verified_followers_count,
verified_type,
withheld
例:
topic.fields
enum<string>[]

表示する Topic のフィールドを指定するカンマ区切りのリストです。 Topic オブジェクトで利用可能なフィールドです。

Minimum array length: 1
利用可能なオプション:
description,
id,
name
例:

レスポンス

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

data
object[]
Minimum array length: 1
errors
object[]
Minimum array length: 1

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

includes
object
meta
object