Skip to content
This repository was archived by the owner on Mar 28, 2025. It is now read-only.

Commit 3666b8b

Browse files
chore: updated API params
Signed-off-by: Adithya Krishna <aadithya794@gmail.com>
1 parent dbd31b2 commit 3666b8b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/client.ts

+7
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,8 @@ class IndexifyClient {
336336
extractionPolicy: string,
337337
params?: {
338338
namespace: string;
339+
extractionGraph: string;
340+
extractionPolicy: string;
339341
contentId?: string;
340342
outcome?: string;
341343
startId?: string;
@@ -345,6 +347,7 @@ class IndexifyClient {
345347
): Promise<ITask[]> {
346348

347349
const defaultParams = {
350+
namespace: this.namespace,
348351
extractionGraph: extractionGraph,
349352
extractionPolicy: extractionPolicy,
350353
returnTotal: false,
@@ -550,7 +553,10 @@ class IndexifyClient {
550553

551554
async listContent(
552555
extractionGraph: string,
556+
namespace?: string,
553557
params?: {
558+
namespace: string;
559+
extractionGraph: string;
554560
source?: string;
555561
parentId?: string;
556562
labelsFilter?: string[];
@@ -561,6 +567,7 @@ class IndexifyClient {
561567
): Promise<{ contentList: IContentMetadata[]; total?: number }> {
562568

563569
const defaultParams = {
570+
namespace: namespace,
564571
extractionGraph: extractionGraph,
565572
returnTotal: false,
566573
...params

0 commit comments

Comments
 (0)