Documentation Index
Fetch the complete documentation index at: https://generaltranslation.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
कम्युनिटी नोट्स ऑपरेशनों के लिए क्लाइंट
यह क्लाइंट X API के कम्युनिटी नोट्स एंडपॉइंट्स के साथ इंटरैक्ट करने के लिए मेथड उपलब्ध कराता है।
यह कम्युनिटी नोट्स से जुड़े सभी ऑपरेशनों के लिए प्रमाणीकरण, अनुरोध फ़ॉर्मैटिंग और रिस्पॉन्स
पार्सिंग को संभालता है।
• new CommunityNotesClient(client): CommunityNotesClient
कम्युनिटी नोट्स Client का एक नया इंस्टेंस बनाता है
| नाम | type | विवरण |
|---|
client | Client | मुख्य X API Client इंस्टेंस |
CommunityNotesClient
community_notes/client.ts:186
▸ searchEligiblePosts(testMode, options): Promise<Response>
कम्युनिटी नोट्स के लिए पात्र पोस्ट्स खोजता है
उन सभी पोस्ट्स को लौटाता है जो कम्युनिटी नोट्स के लिए पात्र हैं।
| Name | Type | Description |
|---|
testMode | boolean | यदि true है, तो परीक्षण के लिए पोस्ट्स की एक सूची लौटाएँ। यदि false है, तो उन पोस्ट्स की एक सूची लौटाएँ जिन पर बॉट्स प्रोडक्ट के लिए प्रस्तावित नोट्स लिख सकते हैं। |
options | SearchEligiblePostsOptions & { requestOptions: { raw: true } } | - |
Promise<Response>
वह Promise जो API रिस्पॉन्स पर resolve होता है, या यदि requestOptions.raw true है, तो raw Response पर
community_notes/client.ts:231
▸ searchEligiblePosts(testMode, options?): Promise<Get2NotesSearchPostsEligibleForNotesResponse>
| नाम | type |
|---|
testMode | boolean |
options? | SearchEligiblePostsOptions |
Promise<Get2NotesSearchPostsEligibleForNotesResponse>
community_notes/client.ts:244
▸ evaluate(options): Promise<Response>
किसी कम्युनिटी नोट का मूल्यांकन करें
कम्युनिटी नोट का मूल्यांकन करने के लिए एंडपॉइंट।
| नाम | type |
|---|
options | EvaluateOptions & { requestOptions: { raw: true } } |
Promise<Response>
API रिस्पॉन्स पर रिज़ॉल्व होने वाला Promise, या यदि requestOptions.raw true है, तो raw Response
community_notes/client.ts:535
▸ evaluate(options?): Promise<EvaluateNoteResponse>
| नाम | type |
|---|
options? | EvaluateOptions |
Promise<EvaluateNoteResponse>
community_notes/client.ts:544
▸ searchWritten(testMode, options): Promise<Response>
लिखे गए कम्युनिटी नोट्स खोजता है
उपयोगकर्ता द्वारा लिखे गए सभी कम्युनिटी नोट्स लौटाता है।
| नाम | type | विवरण |
|---|
testMode | boolean | यदि true है, तो परीक्षण के लिए कॉलर द्वारा लिखे गए notes लौटाएँ। यदि false है, तो product पर कॉलर द्वारा लिखे गए notes लौटाएँ। |
options | SearchWrittenOptions & { requestOptions: { raw: true } } | - |
Promise<Response>
ऐसा Promise जो API रिस्पॉन्स पर रिज़ॉल्व होता है, या यदि requestOptions.raw true है, तो raw Response
community_notes/client.ts:640
▸ searchWritten(testMode, options?): Promise<Get2NotesSearchNotesWrittenResponse>
| नाम | type |
|---|
testMode | boolean |
options? | SearchWrittenOptions |
Promise<Get2NotesSearchNotesWrittenResponse>
community_notes/client.ts:653
▸ delete(id, options): Promise<Response>
किसी कम्युनिटी नोट को हटाएँ
यह किसी कम्युनिटी नोट को हटाता है।
| नाम | type | विवरण |
|---|
id | string | हटाई जाने वाली कम्युनिटी नोट की id। |
options | Object | - |
options.requestOptions | Object | - |
options.requestOptions.raw | true | - |
Promise<Response>
API रिस्पॉन्स पर resolve होने वाला Promise, या यदि requestOptions.raw true है, तो raw Response
community_notes/client.ts:826
▸ delete(id): Promise<DeleteNoteResponse>
Promise<DeleteNoteResponse>
community_notes/client.ts:839
▸ create(options): Promise<Response>
एक कम्युनिटी नोट बनाएँ
यह LLM उपयोग के मामले के लिए कम्युनिटी नोट endpoint बनाता है।
| नाम | type |
|---|
options | CreateOptions & { requestOptions: { raw: true } } |
Promise<Response>
API रिस्पॉन्स पर resolve होने वाला Promise, या यदि requestOptions.raw true है, तो raw Response
community_notes/client.ts:926
▸ create(options?): Promise<CreateNoteResponse>
| नाम | type |
|---|
options? | CreateOptions |
Promise<CreateNoteResponse>
community_notes/client.ts:935