コンストラクター
コンストラクター
• new CommunityNotesClient(client): CommunityNotesClient
新しい community notes クライアントインスタンスを作成します
パラメーター
戻り値
CommunityNotesClient
定義場所
community_notes/client.ts:186メソッド
searchEligiblePosts
▸ searchEligiblePosts(testMode, options): Promise<Response>
Search for Posts Eligible for Community Notes
Returns all the posts that are eligible for community notes.
パラメーター
戻り値
Promise<Response>
API レスポンスに解決される Promise。requestOptions.raw が true の場合は生の Response を返します
定義場所
community_notes/client.ts:231 ▸ searchEligiblePosts(testMode, options?): Promise<Get2NotesSearchPostsEligibleForNotesResponse>
パラメーター
戻り値
Promise<Get2NotesSearchPostsEligibleForNotesResponse>
定義場所
community_notes/client.ts:244evaluate
▸ evaluate(options): Promise<Response>
Evaluate a Community Note
Endpoint to evaluate a community note.
パラメーター
戻り値
Promise<Response>
API レスポンスに解決される Promise。requestOptions.raw が true の場合は生の Response を返します
定義場所
community_notes/client.ts:535 ▸ evaluate(options?): Promise<EvaluateNoteResponse>
パラメーター
戻り値
Promise<EvaluateNoteResponse>
定義場所
community_notes/client.ts:544searchWritten
▸ searchWritten(testMode, options): Promise<Response>
Search for Community Notes Written
Returns all the community notes written by the user.
パラメーター
戻り値
Promise<Response>
API レスポンスに解決される Promise。requestOptions.raw が true の場合は生の Response を返します
定義場所
community_notes/client.ts:640 ▸ searchWritten(testMode, options?): Promise<Get2NotesSearchNotesWrittenResponse>
パラメーター
戻り値
Promise<Get2NotesSearchNotesWrittenResponse>
定義場所
community_notes/client.ts:653delete
▸ delete(id, options): Promise<Response>
Delete a Community Note
Deletes a community note.
パラメーター
戻り値
Promise<Response>
API レスポンスに解決される Promise。requestOptions.raw が true の場合は生の Response を返します
定義場所
community_notes/client.ts:826 ▸ delete(id): Promise<DeleteNoteResponse>
パラメーター
戻り値
Promise<DeleteNoteResponse>
定義場所
community_notes/client.ts:839create
▸ create(options): Promise<Response>
Create a Community Note
Creates a community note endpoint for LLM use case.
パラメーター
戻り値
Promise<Response>
API レスポンスに解決される Promise。requestOptions.raw が true の場合は生の Response を返します
定義場所
community_notes/client.ts:926 ▸ create(options?): Promise<CreateNoteResponse>
パラメーター
戻り値
Promise<CreateNoteResponse>