octopian-configuration-apis 1.0.39 → 1.0.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -2767,7 +2767,7 @@ export async function GetKnowledgeList(AuthToken = null, Timeout = 30000) {
|
|
|
2767
2767
|
*/
|
|
2768
2768
|
export async function GetKnowledgeByOntologyId(Input, AuthToken = null, Timeout = 30000) {
|
|
2769
2769
|
let APIResponse = await apiHandler.GetMethod(
|
|
2770
|
-
ConfigurationAPIConstants.uriGetKnowledgeByOntologyId(Input.ontologyId, Input.conceptId),
|
|
2770
|
+
ConfigurationAPIConstants.uriGetKnowledgeByOntologyId(Input.ontologyId, Input.conceptId, Input.page, Input.pageSize),
|
|
2771
2771
|
AuthToken,
|
|
2772
2772
|
Timeout
|
|
2773
2773
|
);
|
|
@@ -216,8 +216,8 @@ export class ConfigurationAPIConstants {
|
|
|
216
216
|
static uriGetKnowledgeList() {
|
|
217
217
|
return ontologyURI + "/api/GetKnowledgeList";
|
|
218
218
|
}
|
|
219
|
-
static uriGetKnowledgeByOntologyId( id,conceptId = null ) {
|
|
220
|
-
return ontologyURI + `/api/GetKnowledgeByOntologyId?modelId=${id}` + (conceptId ? `&conceptGuid=${conceptId}` : '')
|
|
219
|
+
static uriGetKnowledgeByOntologyId( id,conceptId = null, page = 0, pageSize = 0 ) {
|
|
220
|
+
return ontologyURI + `/api/GetKnowledgeByOntologyId?modelId=${id}` + (conceptId ? `&conceptGuid=${conceptId}` : '') + `&pageIndex=${page}&pageSize=${pageSize}`;
|
|
221
221
|
}
|
|
222
222
|
static uriUpdateKnowledge() {
|
|
223
223
|
return ontologyURI + "/api/UpdateKnowledge";
|