mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[ACS-8025] Add new service and API for predictions (#9714)
* [ACS-8025] Add new service and API for predictions * [ACS-8025] Fix update type
This commit is contained in:
14
lib/js-api/src/api/hxi-connector-api/docs/Prediction.md
Normal file
14
lib/js-api/src/api/hxi-connector-api/docs/Prediction.md
Normal file
@@ -0,0 +1,14 @@
|
||||
# Prediction
|
||||
|
||||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**id** | **string** | Identifier of a prediction |
|
||||
**modelId** | **string** | Identifier of a model that made the prediction |
|
||||
**confidenceLevel** | **number** | Prediction confidence level |
|
||||
**predictionDateTime** | **Date** | Prediction creation date |
|
||||
**property** | **string** | Name of the property that prediction was made for |
|
||||
**previousValue** | any | Previous property value |
|
||||
**predictionValue** | any | Predicted value |
|
||||
**updateType** | [**UpdateType**](../model/prediction.ts) | Update type |
|
||||
**reviewStatus** | [**ReviewStatus**](../model/prediction.ts) | Prediction review status |
|
@@ -0,0 +1,8 @@
|
||||
# PredictionEntry
|
||||
|
||||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**entry** | [**Prediction**](Prediction.md) | |
|
||||
|
||||
|
@@ -0,0 +1,8 @@
|
||||
# PredictionPaging
|
||||
|
||||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**list** | [**PredictionPagingList**](PredictionPagingList.md) | |
|
||||
|
||||
|
@@ -0,0 +1,9 @@
|
||||
# PredictionPagingList
|
||||
|
||||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**pagination** | [**Pagination**](../../content-rest-api/docs/Pagination.md) | |
|
||||
**entries** | [**PredictionEntry[]**](PredictionEntry.md) | |
|
||||
|
||||
|
23
lib/js-api/src/api/hxi-connector-api/docs/PredictionsApi.md
Normal file
23
lib/js-api/src/api/hxi-connector-api/docs/PredictionsApi.md
Normal file
@@ -0,0 +1,23 @@
|
||||
# PredictionsApi
|
||||
|
||||
All URIs are relative to *https://localhost/alfresco/api/-default-/private/hxi/versions/1*
|
||||
|
||||
Method | HTTP request | Description
|
||||
------------- | ------------- | -------------
|
||||
[**getPredictions**](PredictionsApi.md#getPredictions) | **GET** /nodes/{nodeId}/predictions | Get predictions for node.
|
||||
|
||||
<a name="getPredictions"></a>
|
||||
# **getPredictions**
|
||||
> PredictionPaging getPredictions(nodeId)
|
||||
|
||||
Get predictions for a node.
|
||||
|
||||
### Parameters
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**nodeId** | **string**| The identifier of a node. |
|
||||
|
||||
### Return type
|
||||
|
||||
[**PredictionPaging**](PredictionPaging.md)
|
Reference in New Issue
Block a user