생성자
constructor
• 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
Community Notes에 적합한 모든 게시물을 반환합니다.
매개변수
반환값
Promise<Response>
API 응답 또는 requestOptions.raw가 true인 경우 원본 Response로 해결되는 Promise
정의 위치
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
Community Note를 평가하는 엔드포인트.
매개변수
반환값
Promise<Response>
API 응답 또는 requestOptions.raw가 true인 경우 원본 Response로 해결되는 Promise
정의 위치
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
사용자가 작성한 모든 community notes를 반환합니다.
매개변수
반환값
Promise<Response>
API 응답 또는 requestOptions.raw가 true인 경우 원본 Response로 해결되는 Promise
정의 위치
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
community note를 삭제합니다.
매개변수
반환값
Promise<Response>
API 응답 또는 requestOptions.raw가 true인 경우 원본 Response로 해결되는 Promise
정의 위치
community_notes/client.ts:826 ▸ delete(id): Promise<DeleteNoteResponse>
매개변수
반환값
Promise<DeleteNoteResponse>
정의 위치
community_notes/client.ts:839create
▸ create(options): Promise<Response>
Create a Community Note
LLM 사용 사례를 위한 community note 엔드포인트를 생성합니다.
매개변수
반환값
Promise<Response>
API 응답 또는 requestOptions.raw가 true인 경우 원본 Response로 해결되는 Promise
정의 위치
community_notes/client.ts:926 ▸ create(options?): Promise<CreateNoteResponse>
매개변수
반환값
Promise<CreateNoteResponse>