Add ML Backend
Changed onAdd an ML backend to a project using the Label Studio UI or by sending a POST request using the following cURL
command:
```bash
curl -X POST -H 'Content-type: application/json' http://localhost:8000/api/ml -H 'Authorization: Token abc123'\
--data '{"url": "http://localhost:9090", "project": {project_id}}'
Request
- Base URLhttp://localhost:8000
- URLhttp://localhost:8000/api/ml/
- AuthAPI key in header Authorization
Request body
Response
Changes
- breaking
request body became required
- breaking
the request property
became required - breaking
the request property
became required - breaking
the
request property's minLength was increased from0to1 - breaking
the
request property type changed fromobjectto no type - info
added the new optional request property
- info
added the new optional request property
- info
added the media type
application/x-www-form-urlencodedto the request body - info
added the media type
multipart/form-datato the request body - info
the request optional property
became write-only - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the
request property type was generalized fromintegertonumber, and format from no format todouble
- breaking