MLAPI
MlApi
| Method | HTTP request | Description |
|---|---|---|
| httpmlget | GET /v1/ml/moss/{bucket} | Machine Learning endpoint for batch processing of objects using MOSS (Multi-Object Streaming Service) |
httpmlget
Object httpmlget(request, tid)
Machine Learning endpoint for batch processing of objects using MOSS (Multi-Object Streaming Service)
Request model: MossReq
Example: Get ml
curl -i -L -X GET \
-H 'Content-Type: application/json' \
-d '{"in":[{"objname":"<object-name>","bucket":"<bucket-name>","provider":"<provider>"},{"objname":"<object-name>","start":<start-offset>,"length":<length>}],"mime":"<mime-type>","coer":<continue-on-error>,"onob":<only-object-name>,"strm":<stream-output>}' \
'AIS_ENDPOINT/v1/ml/moss/{bucket}?tid=<value>'
Parameters
| tid | String | designated target |
Return type
Object
HTTP request headers
- Content-Type: Not defined
- Accept: /