This repository was archived by the owner on Mar 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "name" : " getindexify" ,
3- "version" : " 0.0.26 " ,
3+ "version" : " 0.0.27 " ,
44 "description" : " This is the TypeScript client for interacting with the Indexify service." ,
55 "main" : " ./dist/index.js" ,
66 "module" : " ./dist/index.mjs" ,
Original file line number Diff line number Diff line change @@ -350,6 +350,19 @@ class IndexifyClient {
350350 this . extractionPolicies = policies ;
351351 return policies ;
352352 }
353+
354+ async ingestRemoteFile (
355+ url : string ,
356+ mime_type : string ,
357+ labels : Record < string , string >
358+ ) : Promise < AxiosResponse > {
359+ const resp = await this . client . post ( "ingest_remote_file" , {
360+ url,
361+ mime_type,
362+ labels,
363+ } ) ;
364+ return resp
365+ }
353366}
354367
355368export default IndexifyClient ;
You can’t perform that action at this time.
0 commit comments