Skip to content

Commit 04ef507

Browse files
authored
feat: Add support for /operations/schema_changes endpoint (#110)
* Feat: Add support for operations/schema_changes endpoint * Fix: Syntax
1 parent e8dacf3 commit 04ef507

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

src/Operations.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,13 @@ public function perform(string $operationName, array $queryParameters = []): arr
4545
$queryParameters
4646
);
4747
}
48+
49+
/**
50+
* @return array
51+
* @throws TypesenseClientError|HttpClientException
52+
*/
53+
public function getSchemaChangeStatus(): array
54+
{
55+
return $this->apiCall->get(sprintf('%s/%s', static::RESOURCE_PATH, 'schema_changes'), []);
56+
}
4857
}

0 commit comments

Comments
 (0)