ML Functions
Operations related to Machine Learning Functions that execute ML algorithms within the platform to update user profile scores.
Datamart owning the machine learning function
Organisation owning the machine learning function
Community owning the machine learning function
Offset from which the search must be performed
Number of maximum items that shall be return by this search
Fields used to order the result
The keywords to match with machine learning function names
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/ml_functions HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"data": [
{
"version_id": "text",
"name": "text",
"status": "INITIAL",
"batch_mode": false,
"query": "text",
"group_id": "text",
"artifact_id": "text",
"id": "text",
"datamart_id": "text",
"field_name": "text",
"expiration_period": "text",
"version_value": "text",
"hosting_object_type_name": "text",
"organisation_id": "text",
"field_type_name": "text"
}
],
"max_results": 1,
"first_result": 1,
"count": 1,
"status": "ok",
"total": 1
}falseA valid ISO 8601 Period String
Success !
Error response
Error response
Error response
Error response
Error response
Error response
POST /v1/ml_functions HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 259
{
"name": "text",
"status": "INITIAL",
"batch_mode": false,
"query": "text",
"group_id": "text",
"artifact_id": "text",
"datamart_id": "text",
"field_name": "text",
"expiration_period": "text",
"hosting_object_type_name": "text",
"organisation_id": "text",
"field_type_name": "text"
}{
"status": "ok",
"data": {
"version_id": "text",
"name": "text",
"status": "INITIAL",
"batch_mode": false,
"query": "text",
"group_id": "text",
"artifact_id": "text",
"id": "text",
"datamart_id": "text",
"field_name": "text",
"expiration_period": "text",
"version_value": "text",
"hosting_object_type_name": "text",
"organisation_id": "text",
"field_type_name": "text"
}
}The machine learning function id
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/ml_functions/{id}/properties HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok",
"data": [
{
"writable": false,
"value": {},
"origin": "PLUGIN_STATIC",
"technical_name": "text",
"deletable": false
}
],
"count": 1
}The machine learning function id
falsefalseSuccess !
Error response
Error response
Error response
Error response
Error response
Error response
POST /v1/ml_functions/{id}/properties HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 96
{
"writable": false,
"value": {},
"origin": "PLUGIN_STATIC",
"technical_name": "text",
"deletable": false
}{
"status": "ok",
"data": {
"writable": false,
"value": {},
"origin": "PLUGIN_STATIC",
"technical_name": "text",
"deletable": false
}
}The machine learning function id
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/ml_functions/{id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok",
"data": {
"version_id": "text",
"name": "text",
"status": "INITIAL",
"batch_mode": false,
"query": "text",
"group_id": "text",
"artifact_id": "text",
"id": "text",
"datamart_id": "text",
"field_name": "text",
"expiration_period": "text",
"version_value": "text",
"hosting_object_type_name": "text",
"organisation_id": "text",
"field_type_name": "text"
}
}The machine learning function id
falseA valid ISO 8601 Period String
Success !
Error response
Error response
Error response
Error response
Error response
Error response
PUT /v1/ml_functions/{id} HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 259
{
"name": "text",
"status": "INITIAL",
"batch_mode": false,
"query": "text",
"group_id": "text",
"artifact_id": "text",
"datamart_id": "text",
"field_name": "text",
"expiration_period": "text",
"hosting_object_type_name": "text",
"organisation_id": "text",
"field_type_name": "text"
}{
"status": "ok",
"data": {
"version_id": "text",
"name": "text",
"status": "INITIAL",
"batch_mode": false,
"query": "text",
"group_id": "text",
"artifact_id": "text",
"id": "text",
"datamart_id": "text",
"field_name": "text",
"expiration_period": "text",
"version_value": "text",
"hosting_object_type_name": "text",
"organisation_id": "text",
"field_type_name": "text"
}
}The machine learning function id
Success response
Error response
Error response
Error response
Error response
Error response
Error response
DELETE /v1/ml_functions/{id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok"
}Update machine learning function property
The machine learning function id
The machine learning function property technical name
falsefalseSuccess !
Error response
Error response
Error response
Error response
Error response
Error response
PUT /v1/ml_functions/{id}/properties/technical_name={technical_name} HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 96
{
"writable": false,
"value": {},
"origin": "PLUGIN_STATIC",
"technical_name": "text",
"deletable": false
}{
"status": "ok",
"data": {
"writable": false,
"value": {},
"origin": "PLUGIN_STATIC",
"technical_name": "text",
"deletable": false
}
}Last updated
Was this helpful?